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);
Consider Paul's rocket mass heater. |