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);
I like tacos! And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|