How to use javax.xml.ws without interface of soap webService



I want to use a SOAP webservice with below URL:


http://ift.tt/1FhxahQ


According to post at How to do a call through a javax.xml.ws.Service I developed below code:



URL url= new URL("http://ift.tt/1FhxahQ");


QName qname= new QName("http://ift.tt/1ImKvuw","MessageRelayService");


Service service = Service.create(url, qname);


but at next step I do not now how to use service.getPort(Claas arg0) because I have not the interface of my SOAP web service. The only thing I have is the above URL.


By the way my question is that how can I use the web-service?


Thanks,


No comments:

Post a Comment