Vijay Allam wrote:
> 
> Here is the stub that works
> 
>  
> private static final QName SERVICE_NAME = new
> QName("http://blah.com","MyService";);
> private static final QName PORT_NAME = new QName("http://blah.com";,
> "MyPort");
> 
> javax.xml.ws.Service service = Service.create(SERVICE_NAME);
> service.addPort(PORT_NAME,
> avax.xml.ws.soap.SOAPBinding.SOAP11HTTP_BINDING,
> portUrl);        
> 
> MyService port = service.getPort(PORT_NAME,MyService .class);
> 

Thanks for your help, but I'm still getting an exception when I try this:

javax.xml.ws.soap.SOAPFaultException: Found element metadata but could not
find matching RPC/Literal part
        at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:211)

-- 
View this message in context: 
http://www.nabble.com/Client-without-a-WSDL--tp17141977p17150590.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to