This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I am trying to use the SOAPJMSChannel that comes with WebSphere 5.1 to perform the protocol transformation. I am receiving a class cast exception from Gateway. The JMSChannel works fine if i use the rpc style binding. I also noticed that the actual service is reaching the provider wide, and WSGW also receives the response from the provider. I can see the response from the provide in WSGW trace files. It is failing in Gateway when it tries to process the response. I see the following line in the WebSphere trace file: [3/31/04 14:03:15:628 CST] 3d7138a7 SOAPJMSProvid > com.ibm.wsgw.channels.soapjms.SOAPJMSProvider constructSoapResponse Entry true com.ibm.ws.webservices.engine.xmlsoap.ext.RequestResponse@738c3886 <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Body/> </Envelope> com.ibm.ws.webservices.engine.Message@48203886 [3/31/04 14:03:15:628 CST] 3d7138a7 WSIFContextIm > com.ibm.wsgw.context.WSIFContextImpl getName Entry [3/31/04 14:03:15:628 CST] 3d7138a7 WSIFContextIm < com.ibm.wsgw.context.WSIFContextImpl getName Exit <null> [3/31/04 14:03:15:628 CST] 3d7138a7 PivotHandlerW d com.ibm.ws.webservices.engine.PivotHandlerWrapper Caught WebServicesFault [3/31/04 14:03:15:638 CST] 3d7138a7 PivotHandlerW d com.ibm.ws.webservices.engine.PivotHandlerWrapper The following exception was logged WebServicesFault faultCode: Server.generalException faultString: javax.xml.soap.SOAPException: java.lang.ClassCastException: com.ibm.ws.webservices.engine.xmlsoap.SOAPEnvelope faultActor: null faultDetail: