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

    Problem with JbossESB 4.5 + responseAsOgnlMap

    Naga srinivas Newbie

      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.