2008-01-01から1年間の記事一覧

ServiceMix on Geronimo

Geronimo 2.1.1 に ServiceMix 3.2.1 を載せる。1.servicemix のソースパッケージを入手する。 Windows版は展開できなかったので tarball を展開した。 2.src/platform/geronimo/deployer-servicemix/pom.xml を開く。 org.apache.geronimo.buildsupport…

SOAPバージョン判定

ついでにメモ。SOAPエンベロープの名前空間を見る。 http://schemas.xmlsoap.org/soap/envelope/ → SOAP 1.1 http://www.w3.org/2003/05/soap-envelope → SOAP 1.2

クライアントが動かない(Axis2編)

ServiceMix 上の Webサービスにアクセスするクライアントをどう作るかを調査中。次は Axis2 を試してみた。 wsdl2java でスタブを生成 Axis2付属のquickstartサンプルを改造してクライアントクラス作成 実行 すると Exception in thread "main" org.apache.a…

クライアントが動かない

http://www.sra.co.jp/soa/asima/wiki/doku.php?id=tech を参考にして、Webサービスクライアントを作ってるんだけど動かない。 ServiceMix 3.2.1 とバージョンが違う所為かなぁ。

WSDL の自己流解釈

wsdl:type XML Schema による型定義。例:サイズ型は寸法(int)と単位コード(string)から成る。 wsdl:message 電文フォーマット定義。電文IDと電文中のデータ名。例:商品サイズ要求電文(返信)は、サイズ型のデータを持つ。 wsdl:portType 特定ポートで送受…

JSR-181 第三章の勉強

サービス実装 Bean は・・・ public クラスに書け。final や abstract にするな。 public なデフォルトコンストラクタを書け。 finalize() メソッドを書くな。 @WebService アノテーションを書け。 サービスエンドポイントインタフェースを参照してもいい。 …

JSR-181 第四章の勉強

javax.jws.WebService name Webサービス名。wsdl:portType にマッピングされる。【既定値:クラス・インタフェースの名前】 targetNamespace サービスエンドポイントインタフェースにある場合、wsdl:portType の名前空間となる。サービスエンドポイントイン…

archetype 一覧

http://servicemix.apache.org/maven-archetypes.html の archetype 一覧部分の訳 archetype JBI component contents of xbean.xml 備考 servicemix-bean-service-unit servicemix-bean beanエンドポイント定義 MyBeanサンプル生成 servicemix-camel-service…

情報源

本家 http://servicemix.apache.org/http://www.arclamp.jp/blog/archives/000737.html↑でリンクされている丸山先生の資料 http://www.c-sq.com/modules/article/article66.htmlhttp://d.hatena.ne.jp/koichiarchi/searchdiary?word=%2a%5bServiceMix%5d

Tutorial やってみる

3.1. Starting a new project でハマる。http://servicemix.apache.org/31-starting-a-new-project.html の「Create the servicemix-camel SU project」のところ。 mvn archetype:create -DarchetypeArtefactId=servicemix-...でエラーが出る。よく見ると「A…