Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

Sign in to participate Previous Next
Subject: Web Service Consumer Java
Feedback Type: Question
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Customization
Platform: Windows XP client
Release: 8.5.1
Reproducible: Unknown

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.

Agent Code:

import NET.webserviceX.www.StockQuoteLocator;
import NET.webserviceX.www.StockQuoteSoapStub;
import lotus.domino.*;

public class JavaAgent extends AgentBase {

public void NotesMain() {

try {
Session session = getSession();
AgentContext agentContext = session.getAgentContext();

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:

Web Service Consumer Java (Ike Eagle 16.Jan.10)
. . Java agent (Nicola NS Senno... 19.Jan.10)




Printer-friendly

Search this forum


Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support


 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM Web Content Manager
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite