When setting up a Web Service Consumer I'm getting the following error stack:
java.rmi.RemoteException: No operation description was found for the service {http://www.webserviceX.NET/}StockQuote
at lotus.domino.websvc.client.Call.invoke(Unknown Source)
at NET.webserviceX.www.StockQuoteSoapStub.getQuote(StockQuoteSoapStub.java:11)
at JavaAgent.NotesMain(Unknown Source)
at lotus.domino.AgentBase.runNotes(Unknown Source)
at lotus.domino.NotesThread.run(Unknown Source)
What am I missing?
Here's the code in my Agent. The rest is generated by the Web Service Consumer design element when importing wsdl file. Just point to http://www.webservicex.net/stockquote.asmx?WSDL to do so.
StockQuoteLocator service = new StockQuoteLocator();
java.net.URL endpointURL = new java.net.URL(service.getStockQuoteSoapAddress());
StockQuoteSoapStub thisBinding = new StockQuoteSoapStub(endpointURL, service);
thisBinding.getQuote("KO");
} catch(Exception e) {
e.printStackTrace();
}
}
}
Feedback number WEBB7ZRUKU created by Ike Eagle on 01/16/2010
Status: Open
Comments: