Calling External Webservices in WAS 6.1 Cluster? - Websphere

This is a discussion on Calling External Webservices in WAS 6.1 Cluster? - Websphere ; Hi All, We are currently migrating from WAS v5.1 to WAS v6.1. In our existing producution setup there were so many external(intranet) webservice calls which are deployed in WebSphere Interchange Server. Webservices are working in 5.1 env. but the same ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Calling External Webservices in WAS 6.1 Cluster?

  1. Calling External Webservices in WAS 6.1 Cluster?

    Hi All,

    We are currently migrating from WAS v5.1 to WAS v6.1. In our existing producution setup there were so many external(intranet) webservice calls which are deployed in WebSphere Interchange Server.

    Webservices are working in 5.1 env. but the same call is failing in WAS v6.1 env with cannot parse message.

    Error Trace:

    *
    org.apache.wsif.WSIFException: null; nested exception is:
    Cannot Parse the message
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.bsnl.wpsc.eai.oms.CreateOrderPortTypeProxy.cre ateOrder(CreateOrderPortTypeProxy.java:93)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.Subsc riptionInfoMgrBean.pushSubscriptionDetailsToOM(Unk nown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.EJSLo calStatelessSubscriptionInfoMgr_0bf74f92.pushSubsc riptionDetailsToOM(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.TaskI nfoMgrBean.pushDataToOM(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.TaskI nfoMgrBean.chngTaskStatus(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.TaskI nfoMgrBean.closeTask(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.TaskI nfoMgrBean.initiateReceivePaymentTaskFlow(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.EJSLo calStatelessTaskInfoMgr_b79c5c87.initiateReceivePa ymentTaskFlow(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.Payme ntsMgrBean.paymentRealizationThruEAI(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.EJSLo calStatelessPaymentsMgr_7681426d.paymentRealizatio nThruEAI(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.Payme ntsMgrBean.savePaymentInfo(Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session.EJSRe moteStatelessPaymentsMgr_7681426d.savePaymentInfo( Unknown Source)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session._EJSR emoteStatelessPaymentsMgr_7681426d_Tie.savePayment Info(_EJSRemoteStatelessPaymentsMgr_7681426d_Tie.j ava:305)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at india.bsnl.data.nib2.project3.portal.session._EJSR emoteStatelessPaymentsMgr_7681426d_Tie._invoke(_EJ SRemoteStatelessPaymentsMgr_7681426d_Tie.java:108)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHa ndler(ServerDelegate.java:621)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerD elegate.java:474)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.rmi.iiop.ORB.process(ORB.java:503)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.CORBA.iiop.ORB.process(ORB.java:1571)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.rmi.iiop.Connection.respondTo(Connection.j ava:2703)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.rmi.iiop.Connection.doWork(Connection.java :2577)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl. java:62)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.ja va:118)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1473)
    [3/4/09 14:27:35:000 IST] 00000038 SystemErr R Caused by: WebServicesFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultString: Cannot Parse the message
    faultActor: SOAPHTTPListener1
    faultDetail:

    Cannot Parse the message
    at com.ibm.ws.webservices.engine.xmlsoap.builders.Web ServicesFaultProcessor.createFault(WebServicesFaul tProcessor.java:420)
    at com.ibm.ws.webservices.engine.xmlsoap.SOAPFault.ge tFault(SOAPFault.java:598)
    at com.ibm.ws.webservices.engine.SOAPPart.getFault(SO APPart.java:1097)
    at com.ibm.ws.webservices.engine.SOAPPart.getFault(SO APPart.java:754)
    at com.ibm.ws.webservices.engine.Message.getFault(Mes sage.java:900)
    at com.ibm.ws.webservices.engine.Message.ifFaultThrow Self(Message.java:880)
    at com.ibm.ws.webservices.engine.PivotHandlerWrapper. invoke(PivotHandlerWrapper.java:281)
    at com.ibm.ws.webservices.engine.WebServicesEngine.in voke(WebServicesEngine.java:336)
    at com.ibm.ws.webservices.engine.client.Connection.in vokeEngine(Connection.java:929)
    at com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:722)
    at com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:673)
    at com.ibm.ws.webservices.engine.client.Connection.in voke(Connection.java:495)
    at com.ibm.ws.webservices.engine.client.Call.invoke(C all.java:1728)
    at com.ibm.ws.webservices.engine.client.Call.invoke(C all.java:1679)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.invokeSOAPRPCStyle(WSIFOperation_SOAP. java:2040)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.invokeRequestResponseOperation(WSIFOpe ration_SOAP.java:1708)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.executeRequestResponseOperation(WSIFOp eration_SOAP.java:1076)
    at com.bsnl.wpsc.eai.oms.CreateOrderPortTypeProxy.exe cute(CreateOrderPortTypeProxy.java:689)
    at com.bsnl.wpsc.eai.oms.CreateOrderPortTypeProxy.cre ateOrder(CreateOrderPortTypeProxy.java:76)
    *

    how do i troubleshoot this issue. please help it is urgent..

    Thanks and Regards

    Selva

  2. Re: Calling External Webservices in WAS 6.1 Cluster?

    selva.b@aol.in wrote:
    > Hi All,
    >
    > We are currently migrating from WAS v5.1 to WAS v6.1. In our existing producution setup there were so many external(intranet) webservice calls which are deployed in WebSphere Interchange Server.
    >
    > Webservices are working in 5.1 env. but the same call is failing in WAS v6.1 env with cannot parse message.
    >
    > Error Trace:
    >
    > *
    > org.apache.wsif.WSIFException: null; nested exception is:
    > Cannot Parse the message
    > [3/4/09 14:27:35:000 IST] 00000038 SystemErr R at com.bsnl.wpsc.eai.oms.CreateOrderPortTypeProxy.cre ateOrder(CreateOrderPortTypeProxy.java:93)


    [snip]
    >
    > how do i troubleshoot this issue. please help it is urgent..
    >
    > Thanks and Regards
    >
    > Selva


    I'd open up to CreateOrderPortTypeProxy and see what causes it to throw
    this exception. I'd expect that there's a version difference in some
    code it's depending on, like XML parsing or maybe some wsif something.

    Ken

  3. Re: Calling External Webservices in WAS 6.1 Cluster?

    Hi All,

    We found some information, actually the ICS system is getting the request and rejecting it since the msg is not in expected format.

    When we send the request from WAS v5.1, soap msg is like this

    ....






    .....

    But the same request if we sent from WAS v6.1, those attributes name are converted to camel case like below

    ........








    ..........

    How do i configure this in WAS v6.1?

    Please help...

    Thanks and Regards
    Selva

  4. Re: Calling External Webservices in WAS 6.1 Cluster?

    when i enable trace in WAS, i can see the following error msgs

    java.lang.ClassNotFoundException: org.tempuri.CreateOrder.ServiceClassBroadBandVPNOb j_Helper
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:163)
    at com.ibm.ws.webservices.engine.utils.ClassUtils$2.r un(ClassUtils.java:258)
    at com.ibm.ws.security.util.AccessController.doPrivil eged(AccessController.java:63)
    at com.ibm.ws.webservices.engine.utils.ClassUtils.loa dClass(ClassUtils.java:210)
    at com.ibm.ws.webservices.engine.utils.ClassUtils.for Name(ClassUtils.java:136)
    at com.ibm.ws.webservices.engine.description.TypeDesc .getTypeDescForClass(TypeDesc.java:214)
    at com.ibm.ws.webservices.wsif.providers.soap.ser.Bea nDescLite.getBeanDescForClass(BeanDescLite.java:11 2)
    at com.ibm.ws.webservices.wsif.providers.soap.ser.Bea nSerializerFactory. (BeanSerializerFactory.java:103)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.registerDynamicTypes(WSIFOperation_SOA P.java:2997)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.prepare(WSIFOperation_SOAP.java:2751)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.invokeRequestResponseOperation(WSIFOpe ration_SOAP.java:1666)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.executeRequestResponseOperation(WSIFOp eration_SOAP.java:1076)
    at com.bsnl.wpsc.eai.oms.CreateOrderPortTypeProxy.exe cute(CreateOrderPortTypeProxy.java:689)
    .............................
    followed by

    3/24/09 9:29:25:390 IST 00000041 TypeDesc 1 com.ibm.ws.webservices.engine.description.TypeDesc getTypeDescForClass getTypeDescForClass caught exception - processing continues
    java.lang.ClassNotFoundException: com.ibm.wsif.format.jca.WSIFFormatPartImpl_Helper
    at java.lang.Class.forNameImpl(Native Method)
    at java.lang.Class.forName(Class.java:163)
    at com.ibm.ws.webservices.engine.utils.ClassUtils$2.r un(ClassUtils.java:258)
    at com.ibm.ws.security.util.AccessController.doPrivil eged(AccessController.java:63)
    at com.ibm.ws.webservices.engine.utils.ClassUtils.loa dClass(ClassUtils.java:210)
    at com.ibm.ws.webservices.engine.utils.ClassUtils.for Name(ClassUtils.java:136)
    at com.ibm.ws.webservices.engine.description.TypeDesc .getTypeDescForClass(TypeDesc.java:214)
    at com.ibm.ws.webservices.engine.encoding.utils.BeanD esc.getBeanDescForClass(BeanDesc.java:146)
    at com.ibm.ws.webservices.engine.encoding.utils.BeanD esc._prime(BeanDesc.java:413)
    at com.ibm.ws.webservices.wsif.providers.soap.ser.Bea nDescLite.getBeanDescForClass(BeanDescLite.java:14 2)
    at com.ibm.ws.webservices.wsif.providers.soap.ser.Bea nSerializerFactory.(BeanSerializerFactory.java:103 )
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.registerDynamicTypes(WSIFOperation_SOA P.java:2997)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.prepare(WSIFOperation_SOAP.java:2751)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.invokeRequestResponseOperation(WSIFOpe ration_SOAP.java:1666)
    at com.ibm.ws.webservices.wsif.providers.soap.WSIFOpe ration_SOAP.executeRequestResponseOperation(WSIFOp eration_SOAP.java:1076)
    ...............................

    In this ServiceClassBroadBandVPNObj is one of the BO in the client proxy. But it is checking something ServiceClassBroadBandVPNObj_Helper which is not exist in client proxy

    and com.ibm.wsif.format.jca.WSIFFormatPartImpl class can be found in wsatlib.jar, but it is checking for something com.ibm.wsif.format.jca.WSIFFormatPartImpl_Helper.

    but it proceeding furthur,... after these kind of errors only i can see the generated SOAP msg.

    What might be the issue?

    Thanks and Regards
    Selva

+ Reply to Thread