Hi, > May be it is to do with a double forward slash ? > "http://somenamespace.at//dto/shipping"<http://somenamespace.at//dto/shipping> Sorry, that was just a typo when i adopted the code for the list.
I wasn't able to get anything working, so I started with the tutorial-code ( https://cwiki.apache.org/CXF20DOC/a-simple-jax-ws-service.html ) from scratch, and still get the same exception. The files are located in a public SVN place at: https://www.assembla.com/code/AIC1/subversion/nodes/AIC1/src/aic1/playground I would be really thankful if somebody could have a quick look. I've spent all the day trying to get the sample running. There are just the four files from the tutorial: Server, Client, Interface, Implementation Thank you in advance, Clemens PS: This is the Exception thrown from the Client: WARNING: Interceptor has thrown exception, unwinding now org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:48) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:472) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:302) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:123) at $Proxy45.sayHiToUser(Unknown Source) at aic1.playground.WSClient.main(WSClient.java:32) Caused by: java.net.MalformedURLException: Invalid address. Endpoint address cannot be null. at org.apache.cxf.transport.http.HTTPConduit.getURL(HTTPConduit.java:808) at org.apache.cxf.transport.http.HTTPConduit.getURL(HTTPConduit.java:793) at org.apache.cxf.transport.http.HTTPConduit.setupURL(HTTPConduit.java:720) at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:491) at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46) ... 8 more Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Could not send Message. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:143) at $Proxy45.sayHiToUser(Unknown Source) at aic1.playground.WSClient.main(WSClient.java:32) Caused by: java.net.MalformedURLException: Invalid address. Endpoint address cannot be null. at org.apache.cxf.transport.http.HTTPConduit.getURL(HTTPConduit.java:808) at org.apache.cxf.transport.http.HTTPConduit.getURL(HTTPConduit.java:793) at org.apache.cxf.transport.http.HTTPConduit.setupURL(HTTPConduit.java:720) at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:491) at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:472) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:302) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:123) ... 2 more Java Result: 1
