aspose file tools*
The moose likes Websphere and the fly likes Problem may be with saaj.jar and AXIS,WAS,WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Problem may be with saaj.jar and AXIS,WAS,WSAD" Watch "Problem may be with saaj.jar and AXIS,WAS,WSAD" New topic
Author

Problem may be with saaj.jar and AXIS,WAS,WSAD

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi,

I have successfully developed and deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test Environment. I have even able to access the EJB using UTC(Universal Test Client) in WSAD and by launching the j2ee client module using
WebSphere lauchClient program.

Basically I have below directory structure:

a.ear
--|-----axis.war
-----------|------ lib
--------------------|--- all axis related jars are here
--|-----demoEjb.jar (has java jar dependencies set to axis.war\lib jars



I have now exposed this ejb as web service using AXIS 1.2 RC2 deployed as web module inside WSAD. This web service is properly exposed as web service as I can see it and access its wsdl when I access axis web services.

Now I have written a standalone-outside-wsad web service client that uses AXIS stubs and when I try to consume to this ejb web service I am getting below error.


AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (500)Internal Server Error
faultActor:
faultNode:
faultDetail:
{}:return code: 500
Error 500: class org.apache.axis.SOAPPart does not implement interface org.w3c.dom.Document

{http://xml.apache.org/axis/}HttpErrorCode:500

(500)Internal Server Error
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:663)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:94)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
at org.apache.axis.client.Call.invoke(Call.java:2702)
at org.apache.axis.client.Call.invoke(Call.java:2378)
at org.apache.axis.client.Call.invoke(Call.java:2301)
at org.apache.axis.client.Call.invoke(Call.java:1758)
at com.sosnoski.test.DemoBindingStub.getAccountHistory(DemoBindingStub.java:194)
at com.sosnoski.test.Client.query(Client.java:63)
at com.sosnoski.test.Client.main(Client.java:100)




I read somewhere with axis mailing lists that it is problem related to axis's saaj.jar and wsad's websphere 5.0
test environment's webservices.jar so I even replaced my wsad installation's D:\Program Files\IBM\WebSphere Studio\Application Developer\v5.1.2\runtimes\base_v5\lib\webservices.jar with
saaj.jar but this did not help and even I have added an references to saaj.jar usign wsad's websphere 5.0 test environment
environment tab->ws.ext.dirs property and even this did not help.

Can anyone please tell me why is error occurring and how to solve it ?



Thanks & Regards,


RR Kumaran
SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem may be with saaj.jar and AXIS,WAS,WSAD