The main thing i don't get about that one is how this connects with your 'stub' classes which define how you interact with the webservice... or do you not use them with these methods because you're using call.invoke?
i'm getting a 401 error because i haven't authenticated.
String wsdlLoc = "https://SOMEURL/SalesServer/Service.asmx?WSDL";
QName serviceName = new QName("http://SOMURL/webservices", "Service");
ServiceFactory sFactory = ServiceFactory.newInstance( );
/**BOMBS OUT ON THIS LINE **/
javax.xml.rpc.Service service = sFactory.createService(new URL(wsdlLoc), serviceName);
Paddy spent all of his days in the O'Furniture back yard with this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|