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

Similar Messages

  • 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.

  • How to handle utl_http response

    Hi,
    I use the below code to call a https using POST method
    utl_http.set_proxy(apex_application.g_proxy_server, NULL);
    utl_http.set_persistent_conn_support(TRUE);
    utl_http.set_transfer_timeout(300);
    utl_http.set_wallet(p_wallet, p_wallet_pwd);
    l_http_req := utl_http.begin_request(p_api_url, 'POST');
    utl_http.set_header(l_http_req, 'Proxy-Connection', 'Keep-Alive');
    utl_http.set_header(l_http_req, 'Content-Type', 'application/x-www-form-urlencoded; charset=utf-8');
    utl_http.set_header(l_http_req, 'Content-Length', length(l_post));
    utl_http.write_text(l_http_req, l_post);
    l_http_resp := utl_http.get_response(l_http_req);
    utl_http.read_text(l_http_resp, l_response);
    The url return a respose with below l_response content
    <html>
    <head>
    <META HTTP-EQUIV='content-type' CONTENT='text/html; charset=UTF8'>
    </head>
    <title>Payment Page</title>
         <form method="POST" name="ePayment" action="http://www.testing.com">
         <input type="hidden" name="MerchantCode" value="M01247"><br>
         <input type="hidden" name="PaymentId" value="2"><br>
         <input type="hidden" name="RefNo" value="0001"><br>
         <input type="hidden" name="Amount" value="1"><br>
         <input type="hidden" name="Currency" value="MYR"><br>
         <input type="hidden" name="Remark" value="Testing1"><br>
         <input type="hidden" name="TransId" value=""><br>
         <input type="hidden" name="AuthCode" value=""><br>
         <input type="hidden" name="Status" value="0"><br>
         <input type="hidden" name="ErrDesc" value="Permission not allow"><br>
         <input type="hidden" name="Signature" value=""><br>
         </form>
         <script language="JavaScript">
              document.ePayment.submit();
         </script>
    </html>
    Apparently it will redirect to http://www.testing.com,
    how should my procedure handle this response so it will redirect to the url?
    Thanks.
    Vincent pek
    Edited by: [email protected] on May 3, 2010 7:09 AM

         <script language="JavaScript">
              document.ePayment.submit();
         </script>
    </html>
    Apparently it will redirect to http://www.testing.com,
    how should my procedure handle this response so it will redirect to the url?
    Thanks.
    Vincent pekYour procedure should be able to run JavaScript, which it isn't.
    Therefore, I would recommend that you talk to the website administrator and discuss using a webservice.

  • How to handle soap responses

    I am following this tutorial to handle SOAP responses but it does not work http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_6.html
    using code blew I am trying to parse the following soap response.
        <?xml version="1.0" encoding="utf-8"?>
        <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                         xmlns:s="library://ns.adobe.com/flex/spark"
                                         xmlns:mx="library://ns.adobe.com/flex/mx"
                                         xmlns:components="components.*"
                                         xmlns:hellos="services.hellos.*"
                                         height="957"  creationComplete="initApp()" >
                  <fx:Style source="Styles.css"/>
                  <fx:Script>
                            <![CDATA[
                                      import mx.controls.Alert;
                                      private namespace invesbot = "http://Services.com";
                                      use namespace invesbot;
                                      private namespace a = "http://schemas.xmlsoap.org/soap/envelope/";
                                      private namespace b = "http://www.w3.org/2001/XMLSchema";
                                      private namespace c = "http://www.w3.org/2001/XMLSchema-instance";
                                      use namespace a;
                                      use namespace b;
                                      use namespace c;
                                      [Bindable]
                                      var _result:*
                                      private function initApp():void
                                                myService.mycustomers();
                            ]]>
                  </fx:Script>
                  <fx:Declarations>
                            <mx:WebService id="myService" wsdl="http://localhost:8081/WebServiceTest/services/Hellos?wsdl"
                                                             showBusyCursor="true"
                                                             fault="Alert.show(event.fault.faultString), 'Error'">
                                      <mx:operation name="mycustomers" resultFormat="e4x">
                                                <mx:request>
                                                </mx:request>
                                      </mx:operation>
                            </mx:WebService>
                  </fx:Declarations>
        <mx:HBox>
                            <mx:Text
                                      text="{myService.mycustomers.lastResult.mycustomersReturn.name}"
                                      />
                  </mx:HBox>
        </s:Application>
    The SOAP response is as following
        <?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>
            <mycustomersResponse xmlns="http://Services.com">
              <mycustomersReturn>
                <age>28</age>
                <name>John</name>
              </mycustomersReturn>
              <mycustomersReturn>
                <age>29</age>
                <name>Alex</name>
              </mycustomersReturn>
              <mycustomersReturn>
                <age>30</age>
                <name>Jack</name>
              </mycustomersReturn>
            </mycustomersResponse>
          </soapenv:Body>
        </soapenv:Envelope>
    Using the above code the output will be
        <name xmlns="http://Services.com" 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">John</name>
        <name xmlns="http://Services.com" 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">Alex</name>
        <name xmlns="http://Services.com" 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">Jack</name>
    but when I use the following code to put the result in dropdown box it gives the following error
        <s:FormItem label="Employee:">
                            <s:DropDownList id="dropDownList3"
                                                                    labelField="name"
                                                                    dataProvider ="{myService.mycustomers.lastResult.mycustomersReturn}"/>
                  </s:FormItem>
    TypeError: Error #1034: Type Coercion failed: cannot convert XMLList@106e9af1 to mx.collections.IList.

    Hi Ashish,
    You can use Catch All error handler within scope of InvokeService action. By specifying SOAP Fault variable name there, response soap fault will be populated in variable.
    In 11g(As per observation), split joins are strict towards definition of input and output message based on WSDL of target service which causes exception for invalidMessage in InvokeService action.
    Hope this helps.

  • Application Issue - Adobe connect unable to handle "unreachable" responses

    Hi,
    We've discovered what seems to be a bug with the Adobe Connect application/flash player.
    For some reason when you have a proxy in place adobe connect still attempts to establish a direct connection to the adobe servers (for example na7fms2.adobeconnect.com), if these packets get dropped video plays with no issue.
    However in our case we have ACL's setup on our Cisco routing core (which do not allow this traffic), which in turn respond with "Destination Unreachable (Communication administratively filtered)".
    Adobe Connect seems to be unable to handle these responses and goes into a loop continiously attempting a direct connection (around every 10-12 seconds), therefore causing streaming video's to restart every 10-12 seconds.
    Below is a screenshot of the packet capture of the accurance.
    Basically we managed to create two of the following scenarios in our network.
    Video restarts every 10-12 seconds:
    Video plays with no issues:
    Now this "Destination Unreachable" response is completely legal in terms of RFC http://www.ietf.org/rfc/rfc792.txt
    It would be great if this issue could be raised as a bug and fixed in future versions.
    Thanks,
    Daniil

    Seeing the same issue.    Did anyone find any solution?.
    Only solution that I could see was opening HTTPS at firewall for only Adobe Connect servers.  Wasn't able to locate anything that published the network ranges for the Adobe Connect servers however.  Wasn't really a solution that I was happy with anyway.
    Only need to do this to allow 1 employee to access a recorded Adobe Connect meeting.
    Thanks
    Iain.

  • AJAX handling multiple responses

    Hi,
    I have a problem in handling multiple responses from server.
    I am sending requests simultaniously (response for the first requset comes sending other request) but i am getting only the response for the last request all previous request responses are lost.
    how to handle thi situation.is there a way to handle?
    pls help me asap.

    since it is for sure using a single connection to the server, it is quite normal
    can't you manke the request sequentialy?

  • File To Proxy : Handle the response from ECC to send mail without BPM

    Hi,
    Scenario: FILE To Proxy
    Requirement: We are receiving xml acknowledgement file from bank with IDoc number and status in SAP PI and the file is used to send the status number, message and and IDoc number to ECC. After request is received in ECC BAPI is executed to update the original status of outbound IDOC.
    There would be multiple records in file and PI will send all IDoc acknowledgement to ECC to update the IDoc status.
    Issue: Since PI send all records to ecc, if any single IDoc status update is failing in ECC how would it can be communicated to support.
    ECC can send success or error response in proxy but how we can use the same in PI to send mail to support. Or is there any better error handling we can go for in such scenario.
    Thanks,
    Vertika

    Hi everyone
    thanks for response.
    Interface 1: IDoc (ECC) to File (Bank) --> Done
    Interface 2: Acknowledgment File (Bank) to BAPI (ECC) where BAPI will update the status of IDoc sent in first interface.
    For Interface 2 : PI will receive file from Bank with multiple records i.e multiple IDoc numbers and their status. PI will invoke proxy to send the IDoc number and status number (eg 16) for all the records together. Now if BAPI fails to update status of any single IDoc in that file how support team will know that the particular record is failed. To handle this error ECC is saying they can send Error and Success back to PI. But the problem is how we can use that response in PI in the same interface to send emails to support team. Bank does not want any response back in this case. This is just to ensure proper error handling since this is bank related interface.
    Splitting the interface in two interfaces will definitely help. But is there some way which can be used in same interface and based on error response from ECC mail is triggered.
    If any one has better suggestion for such kind of error handling, please post the same.
    Thanks,
    Vertika

  • IDoc to SOAP: client handler for response

    Hello All,
    I have a scenario with IDOC to Web services.
    Is it possible to establish synchronous communication?
    We do not want to use BPM.
    I tried with importing IDOC structure into External definition, and then defining it as Synchronous Interface like this
    IDOC Interface(Outbound) -> output:'ZINVOIC'
                                               input: 'Response'
    WSDL Interface(Inbound) ->   input:'Request'
                                               output:'Response'
    But this did not work as the response is still going from Web services to the sender channel which is IDoc adapter
    If asynchronous, the web service party is telling me to set up a client handler to listen to the responce that web service is sending. Is it possible? and if possible, please explain the steps.
    Please help me out with this!
    Thanks,
    Lakshmi

    Hello Lakshmi,
    We also had similar requirement. This cannot be synchronous. IDOC to Webservice is always an asyn communication.
    Hope this helps.
    Thanks
    -Kulwant

  • Does OCSPChecker handle multiple responses yet?

    I have been trying to get DavMail java application to access an Exchange server that requires the use of OCSP. I have not been able to get it to work. In my research, I have found references to a bug that the OCSP procedure handles only the first response from the OCSP server and so probably returns a fail if multiple responses are received.
    Several bug reports on this indicate that this is fixed, but a later bug report indicates that it is not. Does anyone know which it is?
    Thanks
    Edited by: 834601 on Mar 15, 2011 5:26 AM

    Found out that the answer is YES.

  • 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...

  • OSB with request response MQ business service

    Hi,
    We have OSB webservice whice interacts with MQ via business service. We need to send the request to MQ request queue and get the response from the response queue.
    For this, we have configured a business with MQ transport, request-response is enabled, message id is set for the correlation, auto generate correlation value is chosen.
    The business service sends the message but unable receive the response from the response queue. Failing with the error message like
    The invocation resulted in an error: [WliSbTransports:381918]Failed to receive response, within the configured timeout, for request message with id 42454BD3E5F7647914544E793F9F0000013EC9DF03918057 and correlation id 42454BD3E5F7647914544E793F9F0000013EC9DF03918057.
    But we checked with the end system, the response is sent tot he response queue in no time. We also increased the time out but still same issue.
    We noticed that if we dont send the message id, we are getting the response but not response of the request sent but some other response.
    Please suggest what needs to be done to fix the issue.

    Open your business service and navigate to HTTP Transport configuration page and check what is the http type is enabled.
    Look to me its with GET method, change it to POST and re-try.
    If the above solution is not helping, try to check the Follow HTTP redirects check box below the Advanced Setting in same page.
    Thanks,
    Vijay

  • OSB and WSDL response message

    Hi all,
    from the WSDL, that I put at bottom of this post, I've created a new OSB project importing the WSDL itself and creating a proxy service based on it.
    I've implemented it using the fn-bea:execute-sql function:
    <ctx:route><ctx:service>{   
    fn-bea:execute-sql (
    $myDataSource,
    'resultset',
    'SELECT id, name, type_id, domi_country_id, open_date, close_date FROM myTable WHERE id=?',
    xs:string($body/urn:clientDataLookup/portfolioNumber/text())
    }</ctx:service></ctx:route>
    For getting the response, in the pipeline reponse I added a REPLACE action:
    Replace [ node contents ] of [ . ]
    in [ body ] with
    [ <urn:clientDataLookupResponse>
    <xmlCntent>{ $result/con:service/resultset }</xmlCntent>
    </urn:clientDataLookupResponse>
    I deduced the above xml response message using the OSB xquery wizard navigating through variable structure section and selecting $body - clientDataLookup (response) variable:
    $body/urn:clientDataLookupResponse/xmlCntent
    from that xpath expression I deduced the above xml response message.
    My question: is that approach correct ? Why should I rewrite the xml response message ?
    I'm wondering how to allow OSB to generate the correct xml response message in automatic way and then use it as template and fill only the xmlCntent param.
    Thanks in advance
    ferp
    <definitions name="ClientDataLookup"
    targetNamespace="http://wsdl/ClientDataLookup.wsdl"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:tns="http://wsdl/ClientDataLookup.wsdl"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <message name="ClientDataRequest">
    <part name="buId" type="xsd:string"/>
    <part name="portfolioNumber" type="xsd:string"/>
    </message>
    <message name="ClientDataResponse">
    <part name="xmlCntent" type="xsd:string"/>
    </message>
    <portType name="ClientData_PortType">
    <operation name="clientDataLookup">
    <input message="tns:ClientDataRequest"/>
    <output message="tns:ClientDataResponse"/>
    </operation>
    </portType>
    <binding name="ClientData_Binding" type="tns:ClientData_PortType">
    <soap:binding style="rpc"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="clientDataLookup">
    <soap:operation soapAction="clientDataLookup"/>
    <input>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:bsource:dataservice"
    use="encoded"/>
    </input>
    <output>
    <soap:body
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    namespace="urn:bsource:clientdataservice"
    use="encoded"/>
    </output>
    </operation>
    </binding>
    <service name="ClientDataService">
    <documentation>WSDL File for Client Data Lookup</documentation>
    <port binding="tns:ClientData_Binding" name="ClientData_Port">
    <soap:address
    location="http://localhost:8080/soap/servlet/rpcrouter"/>
    </port>
    </service>
    </definitions>

    In most common use cases a service bus transforms the messages from one format to other. In your case you are actually doing the same. You are transforming the message from database structure to the structure which is defined by the WSDL. The snippet you are using is not XML, its an XQuery snippet. There is nothing unusual about it. The tree structure in the left side is given for that purpose only, to facilitate writing XPaths and XQuery snippets. If you do not want to type anything and want to get it graphically (or example when its a big XML), use Eclipse IDE of OSB and create a XQuery transformation which you can call from OSB message flow.
    Edited by: AbhishekJ on Nov 11, 2011 12:57 AM

  • Regarding the OSB Project WSDL Response

    Hi i have developed a service in eclipse with XQuery , while testing this service in soap ui i am not getting the WSDL response .can u plase any one help me on this it's very urgent...................

    Does your operation have response tag ?
    Check your WSDL file that you used to create OSB service, to see whether the operation that you have used is having request and response tags and messages configured to it.
    Otherwise you can share your WSDL file here.
    Thanks,
    VJY

  • Android: Handling error responses

    I'm working on an app that makes use of a public api that sends back xml responses.  When everything goes well, air handles the xml and creates as components to turn the results into typed objects.  The problem arises when submitting information to the api that results in an api error.  The xml payload is completely reformatted.  How do I set up flashbuilder (burrito) so that it recognizes when a server error is returned?

    Hi,
    Using function module 'FORMAT_MESSAGE' you can capture the messages.
    Here is a sample of the program code for that:
      LOOP AT it_messtab.
      CALL FUNCTION 'FORMAT_MESSAGE'
        EXPORTING
          id     = it_messtab-msgid
          lang   = it_messtab-msgspra
          no     = it_messtab-msgnr
          v1     = it_messtab-msgv1
          v2     = it_messtab-msgv2
        IMPORTING
        msg    =  g_msg
      EXCEPTIONS
          OTHERS = 0.
      IF it_messtab-msgtyp = 'S'.
        it_sucess-sucess_rec = g_msg.
        it_sucess-lifnr = it_header-lifnr." Based on your field
        it_sucess-tabix = v_lines.
        APPEND it_sucess.
      ELSEIF it_messtab-msgtyp = 'E'.
        it_error-error_rec = g_msg.
        it_error-lifnr = it_header-lifnr.
        it_error-tabix = v_lines.
        APPEND it_error.
      ELSE.
        it_info-info_rec = g_msg.
        it_info-lifnr    = it_header-lifnr.
        it_info-tabix    = v_lines.
        APPEND it_info.
      ENDIF.
    ENDLOOP.
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • How OSB handling null element?

    hi Guys,
    I having question about how to handling a null node during trasnfortation and mapping using oracle workshop for OSB 10g.
    Well i have a consumer that not sending the element into the proxy, so during the proxy i will need to transform it into null element to the provider. what's in my mind is transform the element tag into something like this
    { if (fn:nilled($getAssetAttribReqParam1/RequestHdr/ns1:RequestId)) then
    <ns1:RequestId xsi:null = "true"/>
    else
    (<ns1:RequestId>{ data($getAssetAttribReqParam1/RequestHdr/ns1:RequestId) }</ns1:RequestId>)
    but when i doing testing it still showing this
    <ns1:RequestId></ns1:RequestId>
    i will need to sent the element something like this to the provider. because if this element is date format it will fail in the validation if i sending *<ns1:RequestId></ns1:RequestId>*
    <ns1:RequestId xsi:null = "true"/>

    I think your case should be addressed like -
    if ($getAssetAttribReqParam1/RequestHdr/ns1:RequestId) then
    <ns1:RequestId>{ fn:data($getAssetAttribReqParam1/RequestHdr/ns1:RequestId) }</ns1:RequestId>
    else
    <ns1:RequestId/>
    Regards,
    Anuj

Maybe you are looking for

  • Cd/dvd drive disappeared and spits out cds and dvds

    hi all, i got a plastic case 24" imac 2.33 with osx tiger. i noticed the drive hadnt showed in my finder folder quite awhile now but paid no mind to it. a week ago a friend brought over a rush dvd to watch and it spit it out everytime i put it in, i

  • Help! Does anyone know what technical support's hours are?

    Went to bed with iPhone updating to 4.0.1 and came back to check and process was frozen in the middle. Then, tried to restore and that froze too. I am going out of town in the morning and now have no phone. I tried to call support and recording said

  • Solid sleep light - not pulsing

    Didn't want to just tack this onto another question, and I didn't see any answers when I searched here, so I hope no one minds another thread. What does it mean when the sleep light stays on, but doesn't pulse like it does when it's sleeping? The onl

  • URL error when downloading Premiere Elements 11?

    Whenever I try to download Premiere Elements 11, after putting in my code and hitting the download button, I get an error from https://red.protexis.net/ saying "The URL you are trying to reach is not a valid URL. If you clicked on a link in an email,

  • Can iron port supports auto mail reply for external domains

    Hi everybody, We have a requirement, that our mail security gateway (ironport) should be configured in such a way that it should send the automatic mail reply for  the external domains. Can any one suggest, It can be configured or not....Post any rel