HiI have a webservice on a Domino server.
When I test this webservice with soapUI (http://www.soapui.org/) it works fine
I try to create a consumer in a other database. I import the WDSL URL. The I create a agent that imports the web service consumer.
My agent code:
Session session = getSession();
AgentContext agentContext = session.getAgentContext();
PrintWriter pw=getAgentOutput();
GetHelloWorldPortType stub = new GetHelloWorldelementNameLocator().getGetHelloWorldServicePort();
pw.println(stub.getHelloWorld());
When I access the agent with a browser I get this error on the server console
2010-05-11 22:04:06 HTTP JVM: WebServiceEngineFault
2010-05-11 22:04:06 HTTP JVM: faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
2010-05-11 22:04:06 HTTP JVM: faultSubcode:
2010-05-11 22:04:06 HTTP JVM: faultString: Error while reading data from server, Network operation did not complete in a reasonable amount of time; please retry
2010-05-11 22:04:06 HTTP JVM: faultActor:
2010-05-11 22:04:06 HTTP JVM: faultNode:
2010-05-11 22:04:06 HTTP JVM: faultDetail:
2010-05-11 22:04:06 HTTP JVM: Error while reading data from server, Network operation did not complete in a reasonable amount of time; please retry
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.InternalFault.makeFault(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.transport.http.HTTPSender.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.strategies.InvocationStrategy.visit(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.SimpleChain.doVisiting(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.SimpleChain.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.client.AxisClient.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.client.Call.invokeEngine(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.client.Call.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.client.Call.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.client.Call.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.client.Call.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.websvc.client.Call.invoke(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at GetHelloWorldServicePortSoapBindingStub.getHelloWorld(GetHelloWorldServicePortSoapBindingStub.java:9)
2010-05-11 22:04:06 HTTP JVM: at JavaAgent.NotesMain(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.AgentBase.runNotes(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.NotesThread.run(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: Caused by:
2010-05-11 22:04:06 HTTP JVM: Error while reading data from server, Network operation did not complete in a reasonable amount of time; please retry
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.transport.http.NotesSocket.access$200(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.transport.http.NotesSocket$IS.read(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: at java.io.BufferedInputStream.fill(BufferedInputStream.java:229)
2010-05-11 22:04:06 HTTP JVM: at java.io.BufferedInputStream.read(BufferedInputStream.java:248)
2010-05-11 22:04:06 HTTP JVM: at lotus.domino.axis.transport.http.HTTPSender.readHeadersFromSocket(Unknown Source)
2010-05-11 22:04:06 HTTP JVM: … 15 more
Question:
Why can’t I use my agent/consumer with a Domino-webservice? If I use a webserice on other server it works fine.