I need to add ServiceName and PortName information on a W3CEndpointReference, but even if I add those to the W3CEndpointReferenceBuilder, this information won't show on the resulting EPR.
This is preventing me from successfully creating a proxy to consume the service, getting the following error when I call epr.getPort(InterfaceClass.class)
:
javax.ejb.EJBException: javax.xml.ws.WebServiceException:
Cannot get port meta data for: package.ClassName
My tech. stack:
- JBoss 5.1.0
- JDK 6
- JAXWS-RI 2.1.7 (on the JSE client side of my app).
Is there a workaround to fill this meta data?
Thanks in advance!