0
Ich verwende einen SOAP-Webdienst. Wenn der Dienst aufgerufen wird, bekomme ich diese Ausnahme:Abrufen von URISyntaxException beim Aufrufen des SOAP-Webdiensts
java.io.IOException: java.net.URISyntaxException: Illegal character in path at index 66:
Ich habe versucht:
encodedUrl = URLEncoder.encode(encodedUrl, "UTF-8");
und ich habe diesen Fehler:
java.lang.IllegalArgumentException: URI is not absolute
at java.net.URI.toURL(URI.java:1088) [rt.jar:1.8.0_91]
at org.apache.cxf.transport.http.URLConnectionHTTPConduit.createConnection(URLConnectionHTTPConduit.java:92)
at org.apache.cxf.transport.http.URLConnectionHTTPConduit.setupConnection(URLConnectionHTTPConduit.java:103)
at org.apache.cxf.transport.http.HTTPConduit.prepare(HTTPConduit.java:478)
at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:46)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:572)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:481)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:382)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:335)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:136)
können Sie den URL-Wert angeben? – MozenRath
Dies ist die URL http://10.21.9.38:9408/corporateservices/maintainaccountprofile/v2 – KiranKumar
es sollte ein http: // oder https: // davor haben – MozenRath