Hi,
I have a webservice issue.
I'm trying to implement a Java Web service using IBM Application Studio. D2SPDFSigner is my stateless session bean. For this session bean I let IBM Application Studio generate a proxies namely D2SPDFSignerService.
Although the proxy can be found I receive an exception that the web can't be found. On the the other hand the execution of the link
http://localhost:9080/D2SSignWebService/services/D2SPDFSigner"/ works fine. Does somebody have any clue what the problem for this issue could be.
Does somebody now a tool to trace such problem? I have already verifed my ear file using the verifier.bat tool of Sun and the result is that my ear file should be fine.
If somebody knows what the sollution would be this would be great!
Thanks in advance,
Guy
E-mail:
gvaniseghem@yahoo.com Part of genrated D2SPDFSignerProxy:
------------------------------------
public byte[] calculateHashSize(java.lang.String arg0) throws java.rmi.RemoteException{
if (d2SPDFSigner == null) {
_initD2SPDFSignerProxy(); //is ok
}
return d2SPDFSigner.calculateHashSize(arg0);
}
Caused exception:
-----------------
13-dec-2004 17:19:35 com.ibm.ws.webservices.engine.client.Connection invoke
INFO: WSWS3243I: Info: Mapping Exception to WebServicesFault.
WebServicesFault
faultCode: {http://websphere.ibm.com/webservices/}HTTP
faultString: (500)Internal Server Error
faultActor: null
faultDetail:
null: WSWS3192E: Error: return code: 500
Error 500: WSWS3142E: Error: Could not find Web services engine.
.
(500)Internal Server Error
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.readFromSocket(HTTPSender.java:818)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:168)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:253)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:686)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:610)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:440)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:659)
at com.dsoft.server.D2S.webservice.D2SPDFSignerSoapBindingStub.calculateHashSize(D2SPDFSignerSoapBindingStub.java:107)
at com.dsoft.server.D2S.webservice.D2SPDFSignerProxy.calculateHashSize(D2SPDFSignerProxy.java:72)
at com.dsoft.client.SigningUtility.testcalculateHashSize(SigningUtility.java:100)
at com.dsoft.client.SigningUtility.signDocument(SigningUtility.java:52)
at com.dsoft.client.NavigatorPanel$3.actionPerformed(NavigatorPanel.java:289)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
My Web.xml:
-------------
"<web-app id="WebApp">
<display-name>D2SSignWebService</display-name>
<servlet>
<servlet-name>D2SPDFSigner</servlet-name>
<display-name>D2SPDFSigner</display-name>
<servlet-lass> com.ibm.ws.webservices.engine.transport.http.WebServicesServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>D2SPDFSigner</servlet-name>
<url-pattern>/services/D2SPDFSigner</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>D2SSigning.htm</welcome-file>
</welcome-file-list>
</web-app>
"
A part of the WSDL:
--------------------
"<wsdl:service name="D2SPDFSignerService">
<wsdl

ort binding="impl

2SPDFSignerSoapBinding" name="D2SPDFSigner">
<wsdlsoap:address location ="http://localhost:9080/D2SSignWebService/services/D2SPDFSigner"/>
</wsdl

ort>
</wsdl:service>
"
[ December 14, 2004: Message edited by: Guy Van Iseghem ]