yulinxp wrote:
Using browser, when type in the url defined in <soap:address>,
browser should be able to locate the page, right?
It depends on the service implementation.
CXF support to use http get method to access the service , you can find
more information here[1]
1) For example, for ebay wsdl
http://developer.ebay.com/webservices/latest/ShoppingService.wsdl
<wsdlsoap:address location="http://open.api.ebay.com/shopping"/>
using browser to access http://open.api.ebay.com/shopping
Not Found
The requested URL /shopping was not found on this server.
Is this still correct?
2) I have another NET wsdl which define <soap:address> like this,
<soap:address location="http://aaa.company.com/service/request.asmx"/>
Use browser to access http://aaa.company.com/service/request.asmx , it
returns
Server not found
Firefox can't find the server at aaa.company.com.
Is this right? Is the error the same with previouse ebay example?
Using CXF client to connect, it returns
Caused by: java.net.UnknownHostException: aaa.company.com
Can you get the IP address by ping aaa.company.com?
[1]The James Mao Chinese blog
http://maomaode.bokeland.com/blog/3/187/2006/12/02/103205
Willem.