3 Replies Latest reply on Mar 4, 2009 1:30 AM by nagasrinivas

    Problem with JbossESB 4.5 + responseAsOgnlMap

    nagasrinivas

      Hi All,

      I am working with JbossESB 4.5. My requirement is to communicate with the webservice which is running remote server. I configured my "jboss-esb.xml" as follows :

      <actions mep="OneWay">
      
      <action name="request-mapper" class="com.sub.esb.example2.MyRequestAction" />
      
      <action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient">
      <property name="wsdl" value="http://localhost:9393/axis/services/TestService?wsdl"/>
      <property name="SOAPAction" value="check"/>
      <property name="responseAsOgnlMap" value="true"/>
      </action>
      
      <action name="response-mapper" class="com.sub.esb.example2.MyResponseAction" />
      
      </actions>


      Here, i am able to send the request to webservice successfully, but i am facing error in response message of the webservice. It is returning empty MAP in body of the response message. Error is as follows :

      body: [ objects: {org.jboss.soa.esb.message.defaultEntry-set-stack=java.lang.Exception: setPayload stack trace for 'org.jboss.soa.esb.message.defaultEntry'., o
      rg.jboss.soa.esb.message.defaultEntry={}} ]


      Can anyone help me to solve this problem.


        • 1. Re: Problem with JbossESB 4.5 + responseAsOgnlMap
          kconner

          Sorry, but what was wrong with your initial thread? Why create a new one?

          This is a forum and, sometimes, you need to wait for responses. It is not a replacement for support and is handled on a 'best-effort' basis.

          • 2. Re: Problem with JbossESB 4.5 + responseAsOgnlMap
            nagasrinivas

            Hi,

            I am sorry, i could not attached the code content in my previous thread. That is the reasion, why i have created the new thread with code base.

            • 3. Re: Problem with JbossESB 4.5 + responseAsOgnlMap
              nagasrinivas

              Hi All,

              I got the solution to my problem. Here, i would like to share my work experience of JBOSS ESB with all of you, so that it may be helpfull to some one.

              As i mention in this thread, i was facing problem while receiving the response from external webservice. This was because of that webservice was using binding as "RPC - Encoded". I changed external webservice binding to "RPC - Literal", then it was getting proper reply.

              Fom this exercise, i came to know that JBoss ESB does not support those webservices which are having their binding as "RPC - Encoded", rather it suopportes "RPC - Literal" or "DOC - Literal".

              Is my understanding correct?. If not, please let me know your comments.