129.7. Web サービスへのアクセス
http://foo.com/bar で Web サービスを呼び出すには、単純にルートを定義します。
from("direct:example").to("spring-ws:http://foo.com/bar")
そしてメッセージを送信してください:
template.requestBody("direct:example", "<foobar xmlns=\"http://foo.com\"><msg>test message</msg></foobar>");
SOAP サービスを呼び出す場合は、SOAP タグを含めないでください。Spring-WS は XML から SOAP へのマーシャリングを実行します。