SOAP クライアントにクエリを送信しようとしています。
現在、次のことを行っています。
Configured Tomcat7 to run on my linux VMWare.
Installed Java, Eclipse, Axis2, and Axis2 plugins for Eclipse.
Run the Axis2 plugins and generated: ContentServiceCallbackHandler.java, ContentServiceFaultException.java, and ContentServiceStub.java
JUnit テストを実行すると、32/32 実行されますが、16 エラーが発生します。
SOAP メッセージをサーバーに送信するには、今何をする必要がありますか? 送信したいサービスによって提供されるサンプルの SOAP メッセージがあります。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://content.tripadvisor.com" xmlns:api="http://api.content.tripadvisor.com">
<soapenv:Header/>
<soapenv:Body>
<con:getPhotos>
<con:in0>
<api:clientLoginID>3CFC3B05146B40048B0C105A6CB9748F</api:clientLoginID>
<api:domain>en</api:domain>
<api:locationId>321151</api:locationId>
<api:numPhotos>3</api:numPhotos>
</con:in0>
</con:getPhotos>
</soapenv:Body>
</soapenv:Envelope>
JUnit テストが失敗することを心配する必要がありますか。また、SOAP メッセージを作成して送信するにはどうすればよいですか?
ありがとう