MultiRef Response

Hi,
I have configured XI to call SOAP axis web service - using SOAP adapter. But the response message from the web service contains multiref.
Which looks like this (tested using soapui) ::
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <ns1:getCustAcctHierarchyDtlsResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://eai.pegasus.singtel/wsesm/server">
         <custHierarchyDO href="#id0"/>
      </ns1:getCustAcctHierarchyDtlsResponse>
      <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:CustHierarchyDO" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://pegasus/WsEsm">
         <custAcctList xsi:type="soapenc:Array" soapenc:arrayType="ns2:AcctInfoDO[2]">
            <item href="#id1"/>
            <item href="#id2"/>
         </custAcctList>
But when the message comes into XI, the payload only has this and all the multirefs are missing :
  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Call Adapter
  -->
- <ns1:getCustAcctHierarchyDtlsResponse xmlns:ns1="http://pegasus/WsEsm" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <custHierarchyDO href="#id0" />
  </ns1:getCustAcctHierarchyDtlsResponse>
Any idea where/how to view the multiref and get it into R/3?
I'm using SOAP receiver communication channel. I did not check any of the options under 'Coversion Parameters'.

> One last qns :Does R/3 proxy means it does not require XI/PI at all? it's R/3 directly calling the web service, right?
I mean ABAP proxy. The message response goes over PI unchanged to the ABAP proxy. There you read the attachments and puzzle the message together.
> Unfortunately, the web service owner is not willing to change - as it would affect other java applications.
I know this kind of discussion. The interface owners are never willing to change anything.
It would be much less effort to provide an addtional web service as dealing with the structure in PI.
But of course, it would be more effort for hin, less for you, so you can imaging the aswer...

Similar Messages

  • OSB - Handling multiRef responses?

    I have to connect to an Axis webservice which forces multiRef.
    Does anyone have suggestions for working with the response? Is there any Oracle tools which will help here so I can properly use XPath?
    (I've also noticed behavior difference between Service Callout and Route, shown below)
    *Here is what OSB gets in the body coming back from Proxy Service Route to the business service:*
    <ns1:getHeaderResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://bd.ews.xxxxx.com" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <getHeaderReturn href="#id0"/>
    </ns1:getHeaderResponse>
    *Yet here is the SOAP response when I test the Business Service directly or call it via Proxy Service Service Callout*:
         <soapenv:Body>
         <ns1:getHeaderResponse      soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://bd.ews.xxxxx.com">
         <getHeaderReturn      href="#id0"/>
         </ns1:getHeaderResponse>
         <multiRef      id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:DealHeader" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ews-structs">
         <agent_deal_fl      xsi:type="xsd:string">N</agent_deal_fl>
         <attach_fl      xsi:type="xsd:string">N</attach_fl>
         <bd_id      xsi:type="xsd:string">5449DDF</bd_id>
         <bd_version_nr      xsi:type="xsd:int">1</bd_version_nr>
         <beg_dt      xsi:type="xsd:string">16-Jul-2010 00:00</beg_dt>
         <end_dt      xsi:type="xsd:string">30-Sep-2011 00:00</end_dt>
    <!---- snip --->
    </multiRef>
    </soapenv:Body>
    I also found this thread stating SOA/BPEL team does not support it -- hoping Aqualogic did provide some type of support...
    About multiRef

    Anuj Dwivedi wrote:
    I could successfully get the value of bd_version_nr using below expression -
    Assign [ $body/multiRef/bd_version_nr/text() ] to [ var1 ]The limitation and problem here is if I had multiple multiRef responses. I don't want to hard-code id0 as its dynamic. See below for example. It would be easiest if OSB would sort out appropriate multiRef structures since it knows the schema already.
    example:
    +<soapenv:Body>+
    +<ns1:getHeaderResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://bd.ews.xxxxx.com">+
    *+<getHeaderReturn href="#id0"/>+*
    *+<getHeaderExtensions href="#id1"/>+*
    +</ns1:getHeaderResponse>+
    +<*multiRef id="id0"* soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:DealHeader" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ews-structs">+
    +<agent_deal_fl xsi:type="xsd:string">N</agent_deal_fl>+
    +<attach_fl xsi:type="xsd:string">N</attach_fl>+
    +<bd_id xsi:type="xsd:string">5449DDF</bd_id>+
    *+<bd_version_nr xsi:type="xsd:int">1</bd_version_nr>+*
    +<beg_dt xsi:type="xsd:string">16-Jul-2010 00:00</beg_dt>+
    +<end_dt xsi:type="xsd:string">30-Sep-2011 00:00</end_dt>+
    +<!---- snip --->+
    +<*multiRef id="id1"* soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:DealHeader" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ews-structs">+
    *+<bd_version_nr xsi:type="xsd:int">1</bd_version_nr>+*
    +<extra elements />+
    +<!---- snip --->+
    +</multiRef>+
    +</soapenv:Body>+
    Anuj Dwivedi wrote:
    As far as I know, you can convert the multiref xml to normal structure using XSLT or similar conversion technologies but I have never tried this. It's an interesting use case and I would at least try it once at my end.I will try it when I get time. Are you saying that you are also going to try it yourself?
    Edited by: jjhowey on Oct 7, 2010 10:25 AM
    Edited by: jjhowey on Oct 7, 2010 10:28 AM
    Edited by: jjhowey on Oct 7, 2010 10:29 AM

  • How to handle multiRef responses in OSB 10.3???

    We are using OSB 10.3 version.
    I am getting difficulty to get the multiRef soap response in the Service Callout*:
    When I check the SBConsole Invocation Trace the whole response body is appearing in business service but returning part of the response.
    Its missing the multiRef as below:
    <ns4:getProductServiceRequestForUserResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="abc:ProductManagementService">
    <getProductServiceRequestForUserReturn href="#id0"/>
    </ns4:getProductServiceRequestForUserResponse>
    It should return
    <soapenv:Body>
    <ns4:getProductServiceRequestForUserResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="abc:ProductManagementService">
    <getProductServiceRequestForUserReturn href="#id0"/>
    </ns4:getProductServiceRequestForUserResponse>
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:ProductLinkRequest"
              xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns5="http://ato.domain.services.abc.com">
    <id xsi:type="xsd:long">3068</id>
    <requestStatus href="#id1"/>
    <modifiedDate xsi:type="xsd:dateTime">2009-06-23T01:22:02.000Z</modifiedDate>
    <prd xsi:type="xsd:string">249249</prd>
    <serviceNo href="#id2"/>
    <statusReason xsi:type="xsd:string">Delivery completed</statusReason>
    </multiRef>
    </soapenv:Body>
    After Service Callout, I have tried to assign the reponse to valriable but it returns missing multiRef
    $body/multiRef
    Any suggestions??
    Thank you
    Edited by: user11310683 on Sep 1, 2011 5:20 AM
    Edited by: user11310683 on Sep 2, 2011 2:48 PM

    Getting difficulty to use Java Callout.
    I have written my java class to call webservice and kept all necessary jars in the lib with MANIFEST file.
    I kept all my jars in project/Resources/JAR/*.jar and included all dependency jar to my generated jar.
    But the Java Callout is thowing java.lang.NoClassDefFoundError: javax/wsdl/OperationType
         at org.apache.axis.description.OperationDesc.<clinit>(OperationDesc.java:59)
    Its working fine when I copied all jars in user_project/domains/proj_domain/lib.
    But I don't want to put all my jars at user_project/domains/proj_domain/lib.

  • About multiRef

    Can bpel convert multiref response of service in good struct!?

    No. we do not support multiref. There is an option in axis to turn them off. Please turn them off if you want that service to be invoked by BPEL. -Edwin

  • WS to PI with multiRef

    Hi all,
    I have a problem consuming a ws, the problem is that the ws returs a multiRef structure:
    soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    How can cofigure the adapter to process this ws return?, according the wsdl this ws return a integer field
    Thakns a lot.
    Raú

    > I have use the SOAP Axis adapter, but we have 2 documents in the payload, how we  have only the document with the real response??
    When I see something like this, I really would like to know which guy designs a multiref response structure, to transport just one single integer value.
    I would ask the guy to change the structure of the response.
    Note: Not everything that is valid is really good design.
    Sorry, there is no standard way to handle this in PI, so if you cannot change the response structure, you have to code an adapter module.
    Edited by: Stefan Grube on Oct 5, 2011 8:47 PM

  • Presence of multiref tag in soap response message

    We are having a problem when we try to call a web service in PI. The web services called is provided by an Axis server.
    We tried to use the plain HTTP protocol in the definition of the communication channel as shown here:
    Adapter type: SOAP
    Transport protocol: HTTP
    Message protocol: SOAP 1.1
    Adapter engine: Central Adapter Engine
    We got the followong error response in SXMB_MONI:
    The payload shown in SXNB_MONI is:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!-- XML Validation Inbound Channel Response -->
    <ns1:cedstr_obt_cle_elem_v2_Response xmlns:ns1='urn:CEDSTR' soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
    <tab_cle soapenc:arrayType='ns1:cedstr_cle_elem_v1[3]' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' xsi:type='soapenc:Array'>
    <item href='#id0'/>
    <item href='#id1'/>
    <item href='#id2'/>
    </tab_cle><nb_cle xsi:type='xsd:int'>3</nb_cle><stat_elem href='#id3'/>
    <cdr href='#id4'/>
    </ns1:cedstr_obt_cle_elem_v2_Response>
    The expected payload is:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <soapenv:Body>
    - <ns1:cedstr_obt_cle_elem_v2_Response soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:CEDSTR">
    - <tab_cle xsi:type="soapenc:Array" soapenc:arrayType="ns1:cedstr_cle_elem_v1[3]" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
      <item href="#id0" />
      <item href="#id1" />
      <item href="#id2" />
      </tab_cle>
      <nb_cle xsi:type="xsd:int">3</nb_cle>
      <stat_elem href="#id3" />
      <cdr href="#id4" />
      </ns1:cedstr_obt_cle_elem_v2_Response>
    - <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:cedstr_cle_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:CEDSTR">
      <id_structure_det xsi:type="xsd:int">118406</id_structure_det>
      <ordinal xsi:type="xsd:int">2648545</ordinal>
      <appareil xsi:type="xsd:string">C3D1E</appareil>
      <type_cable xsi:type="xsd:string">H</type_cable>
      </multiRef>
    - <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:cedstr_cle_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns3="urn:CEDSTR">
      <id_structure_det xsi:type="xsd:int">984806</id_structure_det>
      <ordinal xsi:type="xsd:int">2723425</ordinal>
      <appareil xsi:type="xsd:string">O5C3X</appareil>
      <type_cable xsi:type="xsd:string">H</type_cable>
      </multiRef>
    - <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns4:cedstr_cle_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns4="urn:CEDSTR">
      <id_structure_det xsi:type="xsd:int">1163686</id_structure_det>
      <ordinal xsi:type="xsd:int">3144641</ordinal>
      <appareil xsi:type="xsd:string">Y0A6B</appareil>
      <type_cable xsi:type="xsd:string">H</type_cable>
      </multiRef>
    - <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:cedstr_stat_elem_v1" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns5="urn:CEDSTR">
      <tension xsi:type="xsd:string">MT</tension>
      <nb_concess xsi:type="xsd:int">0</nb_concess>
      <nb_restr xsi:type="xsd:int">0</nb_restr>
      <localisation xsi:type="xsd:string">DEVILLERS EST DE BEAUREGARD</localisation>
      <remarque xsi:type="xsd:string" />
      </multiRef>
    - <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:utlgen_cdr" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns6="urn:CEDSTR">
      <succes xsi:type="xsd:int">1</succes>
      <code xsi:type="xsd:int">0</code>
      <message xsi:type="xsd:string" />
      </multiRef>
      </soapenv:Body>
      </soapenv:Envelope>
      </ns1:cedptr_obt_cle_di_v1_HResponse>
    What I can see is that PI seems to ignore the multiref tag in the SOAP response message. Does anybody knows if there is an issue with the mutiref tag in PI ?
    Thanks for your help.

    The SOAP adapter does not support more than one body child.
    If a SOAP message with several body childs arrive, then only the first body child is considered, all other body childs are ignored.
    Regards
    Stefan

  • How to insert the partner link (xml)response to data base adapter in BPEL:

    Hi to every one,
    I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
    I am developing one central reporting server for this I have the following requirement.
    I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
    I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
    I written one common xsd file for request and response for N departmental server.
    Following are the SOAP request and response formats for your reference.
    <!-- =========== request formate ========= -->
    <Reportreq xsi:type="rep:Reportreq">
    <reqdate xsi:type="xsd:string">01-01-2010</reqdate>
    <reqtime xsi:type="xsd:string">1100</reqtime>
    </Reportreq>
    <!-- ======= Response Formate ================================ -->
    <multiRef id="id0" soapenc:root="0"
         soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:ns2="ReportServer">
         <errorcode xsi:type="xsd:string"/>
         <errordesc xsi:type="xsd:string" xsi:nil="true"/>
    <reportres xsi:type="xsd:string">
    <![CDATA[<response:getTransData>
              <transdate>01-01-2010</transdate>
              <transtime>1100</transtime>
              <distcode>03</distcode>
    <transdata>
    <centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
    <cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
    <chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
    <cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>RBVP</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <transdata><centre>RKBH</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
    <epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
    <transdata><centre>ARLV</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>NTRS</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <!-- I will get “transdata” tag nearly 1000 to 10000 -->     
         </response:getTransData> ]]>
    </reportres>
    </multiRef>
    In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
    Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
    Let me know if you have any idea or small example to achieve my requirement.
    Note: All partner services were implemented in bottom up approach.
    Have a good day,
    Thanks in advance,
    Regards,
    Ishmayel.v

    Hi to every one,
    I have little bit knowledge in oracle SOA suit and having knowledge in java technologies,
    I am developing one central reporting server for this I have the following requirement.
    I need to call ‘N’ departmental servers (partner links) daily at specific time I need to insert all the transaction details (xml) response in central database (db adapter).
    I’m able to call the ‘N’ partner links but I’m facing the problem while inserting ‘N’ servers response into central db using db adapter.
    I written one common xsd file for request and response for N departmental server.
    Following are the SOAP request and response formats for your reference.
    <!-- =========== request formate ========= -->
    <Reportreq xsi:type="rep:Reportreq">
    <reqdate xsi:type="xsd:string">01-01-2010</reqdate>
    <reqtime xsi:type="xsd:string">1100</reqtime>
    </Reportreq>
    <!-- ======= Response Formate ================================ -->
    <multiRef id="id0" soapenc:root="0"
         soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    xsi:type="ns2:ResponseBean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
         xmlns:ns2="ReportServer">
         <errorcode xsi:type="xsd:string"/>
         <errordesc xsi:type="xsd:string" xsi:nil="true"/>
    <reportres xsi:type="xsd:string">
    <![CDATA[<response:getTransData>
              <transdate>01-01-2010</transdate>
              <transtime>1100</transtime>
              <distcode>03</distcode>
    <transdata>
    <centre>GVLH</centre><deptcode>15</deptcode><servicecode>1</servicecode>
    <cashtrans>1</cashtrans><cashamt>165</cashamt><chqtrans>0</chqtrans>
    <chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt>
    <cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>RBVP</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>3000</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <transdata><centre>RKBH</centre><deptcode>15</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>412</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans><ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt><epaytrans>0</epaytrans>
    <epayamt>0</epayamt><userchrgs>0</userchrgs></transdata>
    <transdata><centre>ARLV</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>1</cashtrans><cashamt>125</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans><cardamt>0</cardamt>
    <epaytrans>0</epaytrans><epayamt>0</epayamt><userchrgs>0</userchrgs>
    </transdata>
    <transdata><centre>NTRS</centre><deptcode>101</deptcode>
    <servicecode>1</servicecode><cashtrans>7</cashtrans><cashamt>2567</cashamt>
    <chqtrans>0</chqtrans><chqamt>0</chqamt><ddtrans>0</ddtrans>
    <ddamt>0</ddamt><cardtrans>0</cardtrans>
    <cardamt>0</cardamt><epaytrans>0</epaytrans><epayamt>0</epayamt>
    <userchrgs>0</userchrgs></transdata>
    <!-- I will get “transdata” tag nearly 1000 to 10000 -->     
         </response:getTransData> ]]>
    </reportres>
    </multiRef>
    In java I hold the response XML string between the <response> tag and with the DOM parser I am able to insert the response data into central server.
    Now I want to do this in BPEL, I am getting the response from N partner links but I am facing the problem while inserting the response data into central database.
    Let me know if you have any idea or small example to achieve my requirement.
    Note: All partner services were implemented in bottom up approach.
    Have a good day,
    Thanks in advance,
    Regards,
    Ishmayel.v

  • Problem with array type in SOAP response for sync interface

    Hi,
    We have a Synchronous Interface from SAP -->PI-->Unifier .The WSDL response has array type and when WSDL is imported it is showing red (I was able to activate  and use it in mapping) .We are able to send the request successfully and when retrieving the response we are getting mapping error .Please find the attachment for reference and response message from unifier .I feel that the error is because of array type .Could someone throw some light how we can solve this soon as it was a bit urgent .
    http://scn.sap.com/thread/326591
    I tried to create the Data Type and use the same instead of using the WSDL from External Definition but did not helped.Request your help in this.I have attached the WSDL for reference .
    The response is received as shown below which is giving mapping error :
    <ns1:getUDRDataResponse xmlns:ns1='http://diran:12020/ws/services/mainservice' soapenv:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'><getUDRDataReturn href='#id0'/></ns1:getUDRDataResponse>
    The complete response looks like below where PI is not able to receive (this is retrieved from SOAP UI)
    <?xml version="1.0" encoding="utf-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    - <soapenv:Body> 
    - <ns1:getUDRDataResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://general.service.webservices.skire.com"> 
    <getUDRDataReturn href="#id0" /> 
    </ns1:getUDRDataResponse>
    - <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:XMLObject" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="mainservice"> 
    <errorStatus soapenc:arrayType="xsd:string[0]" xsi:type="soapenc:Array" /> 
    <statusCode xsi:type="xsd:int">200</statusCode> 
    <xmlcontents xsi:type="xsd:string"><?xml version="1.0" encoding="UTF-8"?> <report> <report_header> <c1>Name</c1> <c2>Number</c2> <c3>Status</c3> <c4>Location</c4> <c5>Phase</c5> </report_header> <report_row> <c1>Test - Sprint 1 - v10</c1> <c2>GB424</c2> <c3>Active</c3> <c4>/North Sea</c4> <c5></c5> </report_row> <report_row> <c1>Test Training 3</c1> <c2>GB424-TRN3</c2> <c3>Active</c3> <c4>/North Sea</c4> <c5></c5> </report_row> </report></xmlcontents> 
    </multiRef>
    </soapenv:Body>
    </soapenv:Envelope>

    Hi Praveen and Mark,
    Thanks for the help.I tried to use XSLT mapping for request and try to read Response as a single string but i was getting an error in SXMB_MONI with Cannot display document format,Do you want too save it to harddisk and i could not get rid of this even after pressing Yes in popup .
    Can some one help to extract only the xmlcontents  from the above response and map it to target where the target structure looks like
    <report>
    <report_header>
    <report_row>
    Please help .

  • PI soap receiver cannot transform attachments in WSDL response message

    Hi,
    Need a solution for this, urgently?
    In synchronous proxy to webservice scenario, the response message payload has <multiref> tag in it.
    After going through sdn, help, etc got to know that PI doesn’t support multiref in soap-messages.
    Then whats the solution for this.
    1. Server-config.wsdd" in section <globalConfiguration>. Adding this line <parameter name="sendMultiRefs" value="false"/> didnt made any difference.
    help highly appreciated, 
    Thanks
    Pratibha

    As far as I understand you may receive multiref messages as attachments. Have you checked the Keep Attachment check box in receiver communication channel?
    Regards,
    Prateek

  • RFC - XI - WebService :: Not getting complete Response from WS

    Hi
    I am working on a following Synchronous scenario
    <b>SAP R/3 --> Sender RFC Adapter --> XI --> Rec. SOAP Adapter --> MI Web Service</b>
    Now I tested the structure of Request/Response Message from WebService in XML Spy, & designed my Request/Response Message structure in XI based on that.
    Now when I am sending the request from <u>XML Spy</u>,the Response message which is coming is this -->
    <i><?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:getResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://www.MI/util">
                   <getReturn href="#id0"/>
              </ns1:getResponse>
              <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AddressDTO" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://to.MIutil.com">               
                   <latitude href="#id1"/>               
                   <longitude href="#id2"/>               
                   <postcode xsi:type="soapenc:string">111</postcode>
                   <state xsi:type="soapenc:string">XYZ</state>
                   <streetName xsi:type="soapenc:string">NYDEL</streetName>
                   <streetNumber xsi:type="soapenc:string">444</streetNumber>
                   <streetType xsi:type="soapenc:string">ST</streetType>
                   <suburb xsi:type="soapenc:string">SQY</suburb>               
              </multiRef>
              <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:double" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">-33.87571285585008</multiRef>
              <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:double" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">51.20783220341076</multiRef>
         </soapenv:Body>
    </soapenv:Envelope></i>
    { <b>Pls. take note that it is referring variables</b>}
    But when I am sending the Request from SAP R/3 <u>using SAP XI</u>, I am getting the Response message from WebService like this -->
    <i><?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <ns1:getResponse xmlns:ns1="http://www.MI/util" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <getReturn href="#id0" />
      </ns1:getResponse></i>
    which suggest that operation is getting called successfully & response is coming back.
    Can you tell me what is the reason that why I am not getting the rest of the response .
    Regards
    - Lalit Chaudhary -

    Hi,
    Yes it can be possible, you have to maintain SOAP Header.
    please see the below links..
    How to extract XI-header fields from XI-message in JAVA?
    /people/sap.user72/blog/2005/12/11/how-to-apply-themes-in-exchange-infrastructure
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c50cddbb-0601-0010-92a7-f2a40ca68e6d
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=href%20%20in%20xi&cat=sdn_all
    Regards
    Chilla..

  • Parsing multiref elements

    hi!
    I am trying to parse xml documents with elements like the following.
                    <ns1:fullRequestResponse xmlns:ns1="http://some.name.space">
                   <token href="#ID1"/>
                   <result href="#ID2"/>
                   <charged href="#ID3"/>
              </ns1:fullRequestResponse>...
              <ns1:response id="ID2" xsi:type="ns1:response">
                   <result xsi:type="xsd:string">accepted</result>
                   <text xsi:type="xsd:string">accepted</text>
              </ns1:response>Using DOM I only get an element with the attribute href="#ID2", the child element ( response ) is not accessible. Do I have to resolve the multiref by myself or can I use DOM (or JDOM, SAX., ...) to do that for me?
    cheers,,
    Philipp

    I am currently faced with a similar issue. The following are the details. Any insights?
    *** XML Document ***
    <ns1:Body xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/">
    <ns1:echoObjectResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://localhost:8080/axis/EchoHeaders.jws" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <ns1:echoObjectReturn href="#id0"/>
    </ns1:echoObjectResponse>
    <multiRef id="id0" soapenc:root="0" ns1:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    <description xsi:type="ns2:string" xsi:nil="true" xmlns:ns2="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
    <id href="#id1"/>
    <name xsi:type="soapenc:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">Internet Widget</name>
    </multiRef>
    <multiRef id="id1" soapenc:root="0" ns1:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">1</multiRef>
    </ns1:Body>
    *** Code for parsing ***
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.parse("c:\\sample.xml");
    System.out.println("Printing multi-ref info: " + document.getElementsByTagNameNS("http://localhost:8080/axis/EchoHeaders.jws", "echoObjectResponse").getLength());
    //// above prints the value 0
    Thanks,
    -ac

  • Multiref elements in SOAP

    Hi,
    When I call a webservice from SAP XI with the SOAP adapter then I get a response message in SAP XI without multiref elements from the webservice.
    When I do the same thing with XMLspy I get a correct
    message with multiref elements.
    What do I wrong in SAP XI?
    kind regards,
    H. Hendriks

    Hi Stefan,
    Yes I had set the keep attachment parameter.
    kind regards,
    H. Hendriks

  • The multiRef elements are missing.

    hello friends
    I'm using the receiver soap adapters for consuming the axis 1.0 web services, in order to do this, i'm using the message types referenced in the wsdl imported.
    But, the multiref elements are missing in the response message.
    what I must do?
    Regards.
    Sergio Gómiz

    hello Deviprasad !
    I already imported the wsdl file like as external definition as WSDL Category Then I reused  his message types for making the interface message.
    The problem is that not recognizes following response payload (<altaInspeccionReturn href="#id0"/>)...
    <?xml version="1.0" encoding="UTF-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <soapenv:Body>
              <ns1:altaInspeccionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://mansub.webservice.mansub.gom.com/">
                   <altaInspeccionReturn href="#id0"/>
              </ns1:altaInspeccionResponse>
              <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:RespuestaOperacion" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:ServicioIntegracionMansub">
                   <codigoError xsi:type="xsd:int">0</codigoError>
                   <dato xsi:type="xsd:string" xsi:nil="true"/>
                   <mensaje xsi:type="xsd:string">inspeccion dada de alta</mensaje>
              </multiRef>
         </soapenv:Body>
    </soapenv:Envelope>
    In the monitoring adapter (runtime workbench) it appear this payload ...
    - <ns1:altaInspeccionResponse xmlns:ns1="http://mansub.webservice.mansub.gom.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <altaInspeccionReturn href="#id0" />
      </ns1:altaInspeccionResponse>

  • How to create a ComplexType (MULTIREF) soap element using SAAJ

    Hello,
    Bieng a SOAP newbie, I am faced with the task of creating a simple POST message using SAAJ, and then get a response. I have had no problems until now, since I cannot find out how to create the proper "element" to represent a complex type. Basically, I need to pass an object ("OBJECT") which contains three parameters (a, b,c). What is the correct syntax in order to do this? For example, how can I emulate the follwoing multiref xml snippet using the SAAJ API:
    <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:Object" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="Object">
         <a xsi:type="xsd:string"></a>
         <b xsi:type="xsd:string"></b>
         <c xsi:type="xsd:string"></c>
    </multiRef>
    I have tried various versions of the Name and SOAPBodyElement, as well as the SOAPElement but to no avail. AM I missing something obvious here?
    Thanks in advance for any suggestions!

    Hello,
    I have exactly the same question. I want to generate a soaprequest dummy; the parameters should have no value.
    Is there any solution or do I have to generate I manually?
    Regards,
    Dak

  • Responsive Mobile Menus: Open and close on browser, but not in mobile?

    I have two responsive jquery menus I am working with. In the desktop browser they both look and operate fine (full screen and mobile size), but when that same responsive page with menu is viewed on an actual phone (Android and iphone), the menus both: SHOW FULLY OPENED WITH ALL PARENT AND CHILDREN?
    I believe I installed everyting properly (especially since it resizes and works perfect in a normal desk browser) -Dropsdown and Contracts back.
    Does anyone have any experience with this issue (Responsive menus works fine in a desktop browser, but shows completely opened, and will not drop or contract when viewed on an actual mobile phone, like Android or iphone?), and if so any guidance?
    Thanks very much

    Wow, you save me alot of time and headaches. You really know alot and are very helpful and taught me alot. Thank you for helping me, this is my first site I am still trying to build/get up, after years of on-off trying / learning/ abandoning (for other pursuits). This site is really important for me, and would mean alot for me to finally follow through on building.
    Do you know if this forums allows (or do you ever) add friends/contacts so you can message each other? I am somewhat a 'newbie', so I understand if problem, I would not bug/bother you, just curious and fully understand if not. (or do you ever contact via email, website, or other)?
    Also re: Vanilla Testing: I always test all my stuff on a blank HTML page with only the Boilerplate and JS that Dreamweaver provides. I don't know if I have the capability to fully do in something like notepad? Will this method (Boiler, JS, and blank HTML) suffice--No other Scripts--Not even my stylesheet?
    What do you think about this menu. Features seem good, has the most sales, good developer and support?
    http://themes.pixelworkshop.fr/?theme=MegaMenuCompleteSet

Maybe you are looking for

  • HT204053 The entire family has used one itunes account for years. How do we all set up separate iCloud accounts now?

    The entire family has used one itunes account for years. How do we all set up separate iCloud accounts now? Or should we? 5 macbooks, 2 ipads, 4 iphones, 2 itouch, 2 imacs.   How does one decide what to sync, share and what not to? Green Jeans.

  • Abap and visual composer - portal

    hi gurus, i was tasked to develop a functionality for managers to see their employees personnel number on the portal. The dropdown should only show employees reporting to manager based on the reporting structure. I have developed the function module

  • Pages '09: Can't select multiple objects with mouse?

    Hello! I want to select some shapes. I know that I can hold down shift and click on them individually one by one, but they're very many and grouped together, so I just want to draw a 'selection-rectangle' with the mouse, just as it works in all other

  • How Do I Secure an Emailed PDF to the Recipient's PC?

    Hi All, How can an emailed PDF be tied to a recipient's PC so that it can only be viewed on that PC? I do not want to use password control or high-end 3rd party systems, e.g. FileOpen, LockLizard, etc. I only care about restricting access (viewing),

  • How to get UIGraph as image ?

    Hi, I bind my chart component to managed bean. It's represented as oracle.adf.view.faces.bi.component.graph.UIGraph class. I need programmaticaly get it as gif or jpeg. How to do it ? Kuba