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.

Similar Messages

  • How to handle Asynchronous calls using OSB?

    Hi There,
    How to handle Asynchronous calls using OSB?
    Please help me out??
    -Venkat

    Hello friend, here is what you need.
    Oracle Service Bus, invoke asynchronous webservices | Oracle .. Java .. OpenSource .. SOA

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

  • How to handle multiple responses in Receiver Mail adapter?

    Hello,
    I have a scenario where I get n number of responses which has to be sent as an email.
    My response looks like this -
       <Response>
          <Status/>
          <Text>TEST 1</Text>
       </Response>
       <Response>
          <Status/>
          <Text>TEST 2</Text>
       </Response>
    Please let me know if there is any way to send this response as email.
    Thanks

    Hello,
    Check below mapping and change it as per ur source (response) and target (content) fields.
    Note - In below mapping i have used return as xml functionality on Record node, u have to use the same on ur source field.
    After implementing above mapping, just execute ur E2E scenario and check how content is getting generated in ur mail?
    Thanks
    Amit Srivastava

  • How to handle JSON response in XSL-Fo templates during PDF creation of the page

    XSL-FO in CQ5 converts xml output to PDF so for each new XML tag I need to introduce xsl-templates.
    But For ext-js javascript widget on the page that’s not part of CRX Node/page that shows result by making Ajax call and render JSON output. How to address that inside PDF page creation.
    Please share your thought.
    Thanks Chandra

    Declaratevly You can't do this.
    I use two event handler for state remembering:
    public static EventResult goToPage(BajaContext context,
    Page page,
    PageEvent pageEvent) {
    Page newPage = new Page(page.getProperty("nextPageName"));
    page.setProperty(NEXT_PAGE_NAME, null);
    newPage.setPropertyAsPage("returnPage", page, context.getPageEncoder());
    return new EventResult(newPage);
    public EventResult returnToPage(BajaContext context,
    Page page,
    PageEvent pageEvent) {
    Page oldPage = page.getPropertyAsPage("returnPage", context.getPageDecoder());
    return new EventResult(oldPage);
    StartPage.uix
    <handlers>
    <event name="nextPage">
    <bc4j:chaining>
    <bc4j:setPageProperty name="nextPageName" value="NextPage"/>
    <method class="..." method="goToPage"/>
    </bc4j:chaining>
    </event>
    </handlers>
    NextPage.uix
    <handlers>
    <event name="nextPage">
    <bc4j:chaining>
    <method class="..." method="returnToPage"/>
    </bc4j:chaining>
    </event>
    </handlers>
    method setPropertyAsPage save all page properties and state informations for page.
    On every page I use ctrl:page or ctrl:pageState DataObjectLists.
    On pages with search criteria I use ctrl:httpSession DataObjectList to save all criteria in one session. You must write event handler when you make search or trigger FIND event. In this event handler you must put every search form parameter in session.
    That's all from me! I hope this help You to resolve problems!

  • How to handle stored procedure response having multiple queries

    Hi Friends,
    While working in JDBC to RFC scenario,I faced an issue that my stored procedure is having multiple SQL queries in it. First Select and then update and again some select options.So,how to handle the response of the stored procedure. I read that while using sender JDBC
    " db.processDBSQLStatement=<SQL-Select-Statement>
    Either specify a valid SQL SELECT statement to select the data to be sent from the specified database, or specify an SQL EXECUTE statement to execute a stored procedure that contains exactly one SELECT statement  "
    So, please suggest me is there any other way to catch the output of the stored procedure.Because, if select statement is working fine but if any other quires fails then data inconsistencies can happen.Kindly help me out.
    Thanks and Regards,
    Nutan

    Hi nutan,
    >>Already exception is handled in SP.But,issue is that select will never fail so, sender adapter will get the resultset from select and continue process.But if later any other query fails in SP adpter wont be getting any response.
    Along with exception you need to handle the case when some other query fails. A SP is like a procedure which will do a certain list of activities before providing the output. So during this activity if some query fail then you can send back the response with a message!!!! And in XI handle this error (by routing it to some error receiver etc)
    >>I need to try something like creating a temporary table and inserting the resultset of slect statement in that. and perform all other operations and after successful completion of all the queries.Again i want to get all the values from the temporary table. So,whether I can write such query in the sender communication channel.Please suggest me for this.
    Approach looks ok, but think of the delay for JDBC sender adapter. IT will invoke your SP and will wait for it to fill a table and do all the processing. I guess this may become a issue for you.
    Check on the frequency of this interface and message size before taking this design approach
    Regards
    Suraj

  • How to handle http 302 response in OEG

    how to handle http 302 response.
    The URL has moved <a href="https://............................
    I am using "Connect to URL" and "Reflect message" filters and I am getting http 302 response. In the http esponse body/content I have the "The URL has moved <a href="https://............................"
    How to connect to this url.
    Thank you very much for your help.

    hi
    I took your advise on the second approach and added new filter to catch 302 response and read the new URL from Location. Here is the flow.
    Connect to URL --> Is HTTP CODe =302 --> Retrieve Location from Http Header- Rewrite URL - Dynamic Router - Connection
    I am getting a new error as below. I verified the certificates using the below open ssl comands and added them to the certificate store in OEG. The error comes from the Redirect URL which is cs12.salesforce.com
    C:\Program Files\GnuWin32\bin>openssl s_client -connect test.salesforce.com:443 -showcerts
    and
    C:\Program Files\GnuWin32\bin>openssl s_client -connect cs12.salesforce.com:443 -showcerts
    thank you for your time and help.
    ERROR 06/May/2012:00:22:23.125 [14e0] nested fault: SSL protocol error
    error:140CF086:SSL routines:SSL_VERIFY_CERT_CHAIN:certificate verify fai
    led
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate veri
    fy failed:
    java.lang.RuntimeException: SSL protocol error
    error:140CF086:SSL routines:SSL_VERIFY_CERT_CHAIN:certificate verify fai
    led
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate veri
    fy failed
    at com.vordel.dwe.ConnectionCache.getConnection(Native Method)
    at com.vordel.circuit.net.ConnectionProcessor$State.tryTransaction(Conne
    ctionProcessor.java:482)
    at com.vordel.circuit.net.ConnectionProcessor.invoke(ConnectionProcessor
    .java:650)
    at com.vordel.circuit.InvocationEngine.invokeFilter(InvocationEngine.jav
    a:154)
    at com.vordel.circuit.InvocationEngine.invokeCircuit(InvocationEngine.ja
    va:43)
    at com.vordel.circuit.InvocationEngine.processMessage(InvocationEngine.j
    ava:229)
    at com.vordel.circuit.SyntheticCircuitChainProcessor.invoke(SyntheticCir
    cuitChainProcessor.java:36)
    at com.vordel.dwe.http.HTTPPlugin.invokeDispose(HTTPPlugin.java:290)
    at com.vordel.dwe.http.HTTPPlugin.invoke(HTTPPlugin.java:131)

  • SAP Idocs -How to handle response from target system

    Hi,
    I am working on a scenario in which I will send Idocs asynchronously from SAP thro a SOAP adapter to a  webservice deployed on the target system.
    After the Idoc data is posted in the target system,the target system will send the acknowledgement for the receipt(basically response message).How to handle this scenario?
    SAP Idoc( outbound asynchronous)---> SAP XI3.0(soap adapter) ---> Target system(inbound synchronous)
    Do I need to go for BPM to handle this situation?
    Is there any alterantive to BPM.
    If any of the forum members who have worked on the similar scenario could help me in finding a better solution,I will be thankful to them.
    Thanks,
    Leo

    Hi Udo,
    Thanks for the info.My scenario is like this.
    SAP R/3 Idoc -> SAP XI 3.0 <-> Webservice in the target system.
    The webservice in the target system will receive the Idoc as a request messsage and send a response message synchronously.
    Since Idoc is sent asynchronously( I believe Idocs sent from SAP are always asynchronous),there is no Proxy waiting in SAP R/3 to receive the response message from the target system.
    If I go for BPM for the above scenario,will the BPM steps look like the following.
    1)Receive Idoc from SAP.
    2)Send Idoc sysnchronously to webservice
    3)Receive the response from the webservice synchronously.
    4.Post the response message to a proxy which can handle it further in SAP R/3.
    Please note that my knowledge in BPM is limited and correct me if I am wrong.
    Thanks in advance
    S.Banukumar

  • How to handle empty Dats field received from SAP RFC response

    Hi All,
    I am invoking a SAP RFC which gives me a Dats field in response.
    A valid dats fields is successfully received by my pipelines.
    But when an empty Dats field is received, My pipeline fails and i get error.
    How to handle the empty Dats field from SAP

    Hi Anant,
    This is because the legacy SAP adapter accepted RFC messages with date field empty. In the new version, the same call results in an error. WCF-SAP adapter doesn't allow blank XML nodes.
    You need to use the below custom pipeline component as a workaround.
    Refer:
    Pipeline component for enabling legacy behavior in WCF-SAP adapter.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • How to handle response.sendRedirect(url) in a portlet w/ webflow?

    I am using a webflow to navigate within a portlet. There are three jsp pages or
    nodes in the portlet. One of the jsp pages has the following logic:
    if (A) { response.sendRedirect(url1)}
    else if(B) { response.sendRedirect(url2)}
    else{display rest of this jsp page}
    I think I have the correct portlet urls. I used WebflowJSPHelper.createWebflowURL(...).
    The problem is when it tries to redirect, the whole portlet disapears leaving
    only the title bar. I check the weblogic log file and there is an exception about
    RuleSetNotFoundException. Does anybody know how to handle this problem? Can
    I use sendRedirect method in a portlet?
    thanks,

    Go to dev2dev.bea.com source code library and copy the redirect sample code in
    your application domain. This program expects you to make come changes in the
    portal workflow.
    ciao
    "Edoardo Boechat" <[email protected]> wrote:
    >
    Dear James,
    Maybe I'll be boring, but I'll give you my expirience with "sendRedirect".
    When you use sendRedirect you send back to the browser a new URL that
    him will
    use to obtain the content that will be exposed, in other words, It's
    a client
    side operation.
    The portlet machanism work on the server side of the application. So
    why you are
    using sendRedirect? If one of that conditions happen, are you interesting
    in expose
    a content of another web site?
    If you want to expose the content of another web site, use the wizard
    to generate
    a example jsp page who do this correct in a portlet and adapt the code
    to your
    situation.
    Otherwise, you are using a wrong concept. If it's a server side operation
    you
    need to use "forward" or "include" operation to do what you want.
    I expect be helpfull,
    Edoardo Boechat.
    "James" <[email protected]> wrote:
    I am using a webflow to navigate within a portlet. There are threejsp
    pages or
    nodes in the portlet. One of the jsp pages has the following logic:
    if (A) { response.sendRedirect(url1)}
    else if(B) { response.sendRedirect(url2)}
    else{display rest of this jsp page}
    I think I have the correct portlet urls. I used WebflowJSPHelper.createWebflowURL(...).
    The problem is when it tries to redirect, the whole portlet disapears
    leaving
    only the title bar. I check the weblogic log file and there is an exception
    about
    RuleSetNotFoundException. Does anybody know how to handle this problem?
    Can
    I use sendRedirect method in a portlet?
    thanks,

  • How to configure proxy services in OSB for Rest based services?

    how to configure proxy services in OSB for Rest based services implemented using Jersey (Rest).
    The Client need to contact OSB proxy servies by posting application/xml using jersey client and OSB proxy service will call the OSB business service.
    i would like to know how to get this request in OSB proxy service and send it to the business service and get the response back.

    I would suggest you refer to the below links:
    https://blogs.oracle.com/jeffdavies/entry/restful_services_with_oracle_s_1
    https://blogs.oracle.com/jamesbayer/entry/using_rest_with_oracle_service
    Hope this helps.
    Thanks,
    Patrick

  • How to create a new Oracle OSB project automaticaly with script without IDE

    Hello,
    I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
    I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
    I'm using Oracle service bus 10.3.1
    Thank you for your help.

    Thank you for your response,
    I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
    Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
    The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
    So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
    So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
    I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
    I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
    Regards,
    Tarik

  • How to handle Big FIles in SAP PI Sender file adapter

    Hi all ,
    I have developed a interface , where it is File to Proxy, it is fine when i do with small and normal files
    The structure contain one  Header unbounded  detail and one  Trailer, how to handle when the file size is more than 40 MB
    Thanking you
    Sridhar

    Hi Sridhar Gautham,
    We can set a limit on the request body message length that can be accepted by the HTTP Provider Service on the Java dispatcher. The system controls this limit by inspecting the Content-Length header of the request or monitoring the chunked request body (in case chunked encoding is applied to the message). If the value of the Content-Length header exceeds the maximum request body length, then the HTTP Provider Service will reject the request with a 413 u201CRequest Entity Too Largeu201D error response. You can limit the length of the request body using the tting MaxRequestContentLength property of the HTTP Provider Service running on the Java dispatcher. By default, the maximum permitted value is 131072 KB (or 128MB).You can configure the MaxRequestContentLength property using the Visual Administrator tool. Proceed as follows:
           1.      Go to the Properties tab of the HTTP Provider Service running on the dispatcher.
           2.      Choose MaxRequestContentLength property and enter a value in the Value field. The length is specified in KB.
           3.      Choose Update to add it to the list of properties.
           4.      To apply these changes, choose  (Save Properties).
    The value of the parameter MaxRequestContentLength has to be set to a high value.
    The Visual administartor tool may be accessed using this link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40a08db9-59b6-2c10-5e8f-a4b2a9aaa3d2?quicklink=index&overridelayout=true
    In short  ICM parameters to reset values for this case are
    icm/HTTP/max_request_size_KB
    icm/server_port_ TIMEOUT
    rdisp/max_wprun_time
    zttp/max_memreq_MB
    Please look into this thread to know more about ICM parameters
    http://help.sap.com/saphelp_nw04/helpdata/en/61/f5183a3bef2669e10000000a114084/frameset.htm
    Second solution is that you must split the source file, so that each file is less than 5MB in size, then PI would not cause problem for file size between 1MB-5MB. you can insert header and trailer for individual smaller file obtained after split. All this can be done using scripts or conventional programing provided individual records within file are independent of each other. Finally you have to rename each new file created and put them in PI folder in sequential manner. All this can be achieved by simple shell script/batch file, a C code or java code. If you are going for a C or Java code you need a script to call them from PI communication channel parameter  "run operating system command before message processing".
    regards
    Anupam

Maybe you are looking for

  • Action Condition

    Hi I have created an action which needs to send an email in case a transaction of certain type has been created in CRMD_ORDER. the BO for Activity is: BUS2000126 Now I need to write a Schedule and Start Condition: 1) Check that Customer (Activity Par

  • Multiple datafiles per tablespace in 9i?

    Is it recommended to have multiple datafiles per tablespace?

  • FRM-40735- when-custom-item-event trigger raised.

    hi all while logging in i am getting the following error. FRM-40735- when-custom-item-event trigger raised unhandled exception ORA-06508. and when i press the button then getting the following error. FRM-40735-when-button-pressed trigger raised unhan

  • When we will use HEADER MAPPINGS in RECEIVER AGREEMENTS?

    Hi, HEADER MAPPINGS appeared when we create RECEIVER AGREEMENTS,So when we will use this option.

  • Why can't i use my iphone 5 in Thailand?

    Hi everyone, I just went into my service provider and put a sim in my iphone 5, it came up with no service. I bought my phone online from the apple store and it wasn't part of a contract or anything which would cause it to be 'locked'. I previously h