File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes MessageContext.class not found 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 » Java » Web Services
Bookmark "MessageContext.class not found" Watch "MessageContext.class not found" New topic
Author

MessageContext.class not found

Suhem Programmer
Greenhorn

Joined: Feb 13, 2007
Posts: 21
Hi all,

I am using RAD 7.0.0.1 and Websphere 6.1

While running my web service I am getting error as class Xyz not instantiated. When I degub my programme I came to know that it requires webservices.jar file and thats why I added that perticular jar file in that project(which is client to webservice). But I dont understand it is still not getting MessageContext.class which is there in that jar file.
I am stuck with this problem for a day. Any help is appreciated.

Thanks,
Suhem
Suhem Programmer
Greenhorn

Joined: Feb 13, 2007
Posts: 21
Please find the error log below

Apr 16, 2008 11:54:02 AM com.ibm.ws.util.ImplFactory
WARNING: WSVR0072W
Apr 16, 2008 11:54:03 AM com.ibm.ws.ssl.config.SSLConfigManager
INFO: ssl.disable.url.hostname.verification.CWPKI0027I
WebServicesFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
faultString: WSWS3422E: Error: Can not instantiate com.testpackserv.TestClass.
faultActor: null
faultDetail:

WSWS3422E: Error: Can not instantiate com.testpackserv.TestClass.
at com.ibm.ws.webservices.engine.xmlsoap.builders.WebServicesFaultProcessor.createFault(WebServicesFaultProcessor.java:419)
at com.ibm.ws.webservices.engine.xmlsoap.SOAPFault.getFault(SOAPFault.java:500)
at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:1097)
at com.ibm.ws.webservices.engine.SOAPPart.getFault(SOAPPart.java:754)
at com.ibm.ws.webservices.engine.Message.getFault(Message.java:898)
at com.ibm.ws.webservices.engine.Message.ifFaultThrowSelf(Message.java:878)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:280)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:227)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:332)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:738)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:659)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:617)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:452)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:908)
at com.testpackserv.TestClassSoapBindingStub.setString(TestClassSoapBindingStub.java:87)
at com.testserv.TestingService.main(TestingService.java:38)
Suhem Programmer
Greenhorn

Joined: Feb 13, 2007
Posts: 21
Hi all,

If anybody knows the solution Please help me with it.

Suhem
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MessageContext.class not found