You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by yulinxp <yu...@gmail.com> on 2008/02/20 21:28:07 UTC
soap address question
Using browser, when type in the url defined in <soap:address>,
browser should be able to locate the page, right?
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
--
View this message in context: http://www.nabble.com/soap-address-question-tp15597951p15597951.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: soap address question
Posted by Willem Jiang <wi...@gmail.com>.
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.