All,
can someone please provide (or point to) an example of passing a proper
W3CEndpointReference into the
service.createDispatch(EndpointReference, ...)
method?
I cannot figure out how the EPR must look like in order NOT to receive
the following stack trace:
Caused by: javax.xml.ws.WebServiceException: EPR does nt have
EndpointName in the Metadata
at
com.sun.xml.ws.client.WSServiceDelegate.getPortNameFromEPR(WSServiceDelegate.java:527)
at
com.sun.xml.ws.client.WSServiceDelegate.addPortEpr(WSServiceDelegate.java:468)
at
com.sun.xml.ws.client.WSServiceDelegate.createDispatch(WSServiceDelegate.java:372)
at javax.xml.ws.Service.createDispatch(Service.java:437)
Thanks in advance & best regards,
Andreas
--
Andreas Loew
Java Architect
Sun Microsystems (Germany)