Q. How does a JGroups transport protocol decide which address to bind to ?
There's two ways in which the bind address can be specified:
Using the
bind.address
system property
Specifying the
bind_addr
XML attribute in any of the transport protocols
えーと、つまりバインドするアドレスを特定して利用できるってこと?Oracle BPEL Process ManagerではJGroupsを使って内部通信しているのだが、それに応用できるかなぁ。UDPマルチキャストするためだけのネットワーク組んだりとか?メリットがあんまり見当たらないけど、手当たり次第バインドされるのも何かやだしな…。
例えば以前(誰かが)作成したWSDLなWebサービスがあるとする。これはひょっとしたらrpc/encodedなやつかもしれない。REST化する前のYahooのWebサービスなど、encodedなメッセージをやり取りするようにWSDLが書かれていると、wsdl2javaは動作しない(Encoded use is not supported、と出力される)。 何故ならAxis2はdocument/literalなWebサービス・メッセージ交換を念頭に置いているからで、rpc/encodedなWebサービスはAxis1.xでやり終えた感があるから、っぽい。つまり現時点での選択肢は
D:\tmp\rakutenItemSearch>d:\20_software\axis2-1.3\bin\wsdl2java -uri http://api. rakuten.co.jp/rws/soap/ItemSearch/2007-10-25?wsdl Using AXIS2_HOME: d:\20_software\axis2-1.3 Using JAVA_HOME: D:\20_software\jdk Retrieving schema at 'http://api.rakuten.co.jp:80/rws/soap/ItemSearch/2007-10-25 ?xsd=1', relative to 'http://api.rakuten.co.jp/rws/soap/ItemSearch/'. D:\tmp\rakutenItemSearch>
pcmcia: axnet_cs: invalid hash for product string "MELCO": is 0x0, should be 0x481e0094 pcmcia: see Documentation/pcmcia/devicetable.txt for details pcmcia: axnet_cs: invalid hash for product string "LPC-PCM-CLX": is 0x0, should be 0xf3a8d51d pcmcia: see Documentation/pcmcia/devicetable.txt for details