-
1. Re: Difference on webservice invocations
njiang Jun 13, 2011 7:58 PM (in response to rogelio_sevilla1)Hi,
Your jaxws client's address is wrong. please change the address attribute to a real one which start with "http://".
<jaxws:client id="servidorProxy" serviceClass="mycompany.osgi_wsdl_first.Greeter" wsdlLocation="wsdl/helloworld.wsdl" address="/GreeterService" />
Willem
-
2. Re: Difference on webservice invocations
rogelio_sevilla1 Jun 14, 2011 12:31 PM (in response to njiang)Maaan, I just had a "Duh" moment, thanks a lot for pointing out my mistake mr. Willem, that was quite silly error on my part.
Also I had another error, with the same level of silliness, after changing what mr. Willem said, the error persisted because my client was trying to access
{mycompany.osgi_wsdl_first}GreeterService
And my service was registered as
{mycompany.osgi_wsdl_first}SOAPService
so I added on my client spring file, on the beans tag, this line:
xmlns:tns="mycompany.osgi_wsdl_first"
And I added this on my jaxws:client tag
serviceName="tns:SOAPService"
That was it. Thanks a lot for your help mr. Willem :-D
-
3. Re: Difference on webservice invocations
njiang Jun 14, 2011 9:21 PM (in response to rogelio_sevilla1)It's good to see you finally find a way out. It's important to make sure the client and server share the same configuration information