I am new to  apache-cxf 2.7.5 and using wsdl2java tool to generate client
code based on a wsdl.

Here is a snippet of my code

URL wsdlURL = new URL("DeployedServiceURL");
        DeployedService ss = new DeployedService(wsdlURL, SERVICE_NAME);
        SVC port = ss.getDeployedService();
        RetrieveResponse retrieve  _return = port.retrieve(retrieveRequest);

When I invoke the method on the port, I get the following exception
################
java.io.IOException: java.net.URISyntaxException: Invalid address. Endpoint
address cannot be null. at index 0: <null>
###############

This error is similar to the one mentioned here
http://stackoverflow.com/questions/3007793/cxf-client-webservice-ping-has-thrown-exception-could-not-send-message-invalid?rq=1

but the solution here is not relevant for me.
Can anybody point me to the right direction?

Reply via email to