I am trying to generate a client for a web service with the WSDL_LOCATION: http://localhost:8089/SWIStoZZZws/SWIStoZZZws.asmx?WSDL
I'm using an Apache CXF 2.6.2. machine.
However, the client somehow ignores port 8089 and sent HTTP request to http://localhost/SWIStoZZZws/SWIStoZZZws.asmx?WSDL
and as a result I have following error:
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://localhost/SWIStoZZZws/SWIStoZZZws.asmx
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1619)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1530)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1438)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:660)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
... 54 more
Any idea? Please help... I've been struggling with this for daaaaays. Cheers!