G
Gelöschtes Mitglied 31731
Gast
Hallo,
habe einen Webservice mit Java mit jaxws programmiert und bekommen, wenn ich den client starten will, folgenden fehler.
Was mache ich falsch. Habe schon alles probiert.
Danke
habe einen Webservice mit Java mit jaxws programmiert und bekommen, wenn ich den client starten will, folgenden fehler.
Code:
Run client:
[code=Java] Exception in thread "main" javax.xml.ws.WebServiceException: Could not send Message.
[code=Java] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
[code=Java] at $Proxy19.prepareValidationWithDefaultLease(Unknown Source)
[code=Java] at de.htwaalen.webservice.client.Client.main(Client.java:62)
[code=Java] Caused by: java.net.MalformedURLException: Invalid address. Endpoint address cannot be null.
[code=Java] at org.apache.cxf.transport.http.HTTPConduit.getURL(HTTPConduit.java:735)
[code=Java] at org.apache.cxf.transport.http.HTTPConduit.getURL(HTTPConduit.java:719)
[code=Java] at org.apache.cxf.transport.http.HTTPConduit.setupURL(HTTPConduit.java:666)
[code=Java] at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:459)
[code=Java] at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
[code=Java] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
[code=Java] at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:519)
[code=Java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:449)
[code=Java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:352)
[code=Java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:304)
[code=Java] at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
[code=Java] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
[code=Java] ... 2 more
[code=Java] Java Result: 1
BUILD SUCCESSFUL
Total time: 2 seconds
Was mache ich falsch. Habe schon alles probiert.
Danke