Hi, I am using CXF 2.6.1 with Java 1.5.0_22 on Win XP.
I have a case where the SOAP service I am dealing with does NOT support ?WSDL requests for the WSDL - it's some kind of custom proxy I have to use. I read from the link below (point 1 by Daniel), that it is instead possible to use a WSDL loaded from the local file system (via a file:/ url), and use an overridden URL for the real SOAP endpoint, as a way of avoiding the need to fetch a WSDL from a remote endpoint, via the http://host:port/.../?wsdl method when calls are made: http://stackoverflow.com/questions/8945780/when-generated-an-apache-cxf-client-why-is-the-wsdl-still-needed-when-instantia When I try this, however, I check with WireShark, and I can still see a http://host:port/.../?wsdl being sent - but cxf then also POSTs the soap request with the correct data. It is blocking at the stack back-trace below ... Is there anything else I need to do to avoid the initial http://host:port/.../?wsdl fetch ? Thanks Andrew Thread [main] (Suspended) SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method] SocketInputStream.read(byte[], int, int) line: 129 BufferedInputStream.fill() line: 218 BufferedInputStream.read1(byte[], int, int) line: 256 BufferedInputStream.read(byte[], int, int) line: 313 HttpClient.parseHTTPHeader(MessageHeader, ProgressSource, HttpURLConnection) line: 681 HttpClient.parseHTTP(MessageHeader, ProgressSource, HttpURLConnection) line: 626 HttpURLConnection.getInputStream() line: 983 HttpURLConnection(HttpURLConnection).getResponseCode() line: 367 HTTPConduit$WrappedOutputStream.handleResponseInternal() line: 1577 HTTPConduit$WrappedOutputStream.handleResponse() line: 1520 HTTPConduit$WrappedOutputStream.close() line: 1428 HTTPConduit(AbstractConduit).close(Message) line: 56 HTTPConduit.close(Message) line: 658 MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(Message) line: 62 PhaseInterceptorChain.doIntercept(Message) line: 262 ClientImpl.doInvoke(ClientCallback, BindingOperationInfo, Object[], Map<String,Object>, Exchange) line: 532 ClientImpl.invoke(BindingOperationInfo, Object[], Map<String,Object>, Exchange) line: 464 ClientImpl.invoke(BindingOperationInfo, Object[], Exchange) line: 367 ClientImpl.invoke(BindingOperationInfo, Object...) line: 320 JaxWsClientProxy(ClientProxy).invokeSync(Method, BindingOperationInfo, Object[]) line: 89 JaxWsClientProxy.invoke(Object, Method, Object[]) line: 134 ... (application code) -- View this message in context: http://cxf.547215.n5.nabble.com/Unable-to-suppress-initial-remote-endpoint-wsdl-fetch-from-a-client-tp5713685.html Sent from the cxf-user mailing list archive at Nabble.com.
