BPEL - Handling invocation timeouts and Modifying Partner Link endpoints

Hi,
We've built the basic functionality that we need in our BPEL process but are facing 2 specific questions that we are a bit stuck with and would really appreciate some help on..
1. Our BPEL process calls an external synchronous web service. We have a requirement that if this external web service is unable to respond to our BPEL process within a fixed timespan (say 1 minute), we need to treat this as a timeout and move on. Can anyone suggest what settings are required for this?
2. The second query is with regards to a likely situation we will face after go-live. If the URL of the external service changes (lets say the service moves from one server to another), ideally we would want to be able to configure this URL change rather than have to modify the WSDL and rebuild the BPEL project in JDev with the new WSDL. Does the BPEL Admin Console provide any such feature? As far as I can recall from a project a couple of years ago, Websphere Process Server did provide such a feature and I'm looking for something similar here but have not found it yet. I am not looking to use dynamic endpoints within our flow - just for an admin feature that would allow me to modify the URL externally via the console.
Would really appreciate any suggestions on these 2 points..
Thanks and Regards,
TB

In response to your second query -
a) you don't need to rebuild the BPEL project in Jdev in order to change the wsdl file. If you update the WSDL file with new values for your endpoint simply clear the WSDL cache and the process will pick up the new values in the new instances created from thereon.
b) or if you dont' want to update the wsdl manually, you can write a piece of java code to change the endpoint URL's for the deployed BPEL processes using the code given here
hth

Similar Messages

  • BPEL Designer doesn't delete the Partner Link wsdl properly

    Hi,
    In a development scenario; when a partnerlink is created and then deleted, the wsdl file is not deleted. Hence unable to create a new partnerlink with the same service name. Everytime I endup creating a new service name for the partnerlink pointing to the same DB procedure. This will also lead to the change in the other dependent activities like invoke, Assign etc. as the variable names would have changed. These things will make the developement lag behind the time.
    Why BPEL Designer doesn't do a clean delete of the all the entries in the xml files and the wsdl file?
    Thanks,
    Senthil L.

    Hi Senthil,
    When you delete the Partner Link it will pop a Dialog box asking if you want to delete the WSDL file associated with the Partner link and If you Click Yes then the associated WSDL with this Partner Link is Deleted.
    Only the XSD File generated with this partner link are not getting deleted which is being Fixed in the coming Release.
    Thanks,
    Sunil Gopal

  • Account group and Business partner link

    Hi all,
    Is there any relation maintained for Account group (From R/3)  and Business Partner Role in GTS system?

    Hi Balu,
    In GTS, system does not consider the Account group while creating a BP role for a BP whereas it only considers the classification of Vendors or Customers. If a Customer master is created in R/3 irrespective of Account Group, BP role SLLCPC will be assigned whereas if a Vendor is created in R/3, then BP role SLLCPS will be assigned.
    Hope this answers the query.
    Regards,
    Shiva Shankar

  • Jdev 10.1.2 UIX: How to handle page event and also follow link destination

    Hello guys, I think this should be easy:
    I have a frame with a link that produces an event which is handled by an event handler. But this link also has destination and targetFrame attributes.
    The event handling just updates the visual state of the frame which contains the link, but I also need the link to load the destination into the targetFrame, but this is not happening, just the event is handled but the link doesn't work.
    How can I get both, the event handling and the destination, work?
    Here is the code for the link:
    <link text="${uix.current.title}" destination="${uix.current.destination}"                                                             
                    targetFrame="main">
      <primaryClientAction>
       <fireAction event="optionClick">
         <parameters>
           <parameter key="clickedIndex" value="${uix.current.index}" />
          </parameters>
        </fireAction>
      </primaryClientAction>
    </link>Thanks
    Fer

    Thanks to everyone who read it. I figured out how to solve this.
    The workaround was to set every link destination to one action which performs 2 things:
    1. Update the visual state of the first frame (setting attributes to a session object) and;
    2. Puts the destination that I wanted to be loaded into the second frame as a request attribute;
    besides all the above, the link had its targetFrame set to "_parent", so the Frameset page was reloaded and therefore reloaded both frames, this way the first frame renders updated (thanks to the changes made to the session object) and the second frame has its source attribute bound to ${requestScope.frameDestination} to load the desired page (actually a struts action).
    Hope this helps someone else.
    Bye.

  • FlowN and asynchronous partner link

    I have created a BPEL process with FlowN activity. The input request to the BPEL process contain an array of product codes. I find the size of the request array. I invoke an asynchrounous web service within the scope of the FlowN, by passing one product code. If I test this BPEL process by passing in one product code then all works well. However, if my request contains 2 product codes, the invoke goes through well. The first receive gets cancelled and the second receive says "Conflicting Receive". I enabled obtunell and checked the SOAP message and I see the same "RelatesTo" in both the calls. This is the only element that got populated in the "onResult" within the addressing schema. Is this the problem? How do I fix this?

    Hi Balu,
    In GTS, system does not consider the Account group while creating a BP role for a BP whereas it only considers the classification of Vendors or Customers. If a Customer master is created in R/3 irrespective of Account Group, BP role SLLCPC will be assigned whereas if a Vendor is created in R/3, then BP role SLLCPS will be assigned.
    Hope this answers the query.
    Regards,
    Shiva Shankar

  • Service Registry's Dynamic Lookup of BPEL Partner Link not working

    Hi,
    Software : SOA 10.1.3.1
    OS : Windows XP, 2000
    I have deployed webservice application (GetMaxOfTwo) which will give me max of 2 values. Registered the WS in OWSM with user authentication. Registered newly generated WSDL in OSR (Oracle Service Registry). A simple BPEL Process will call service as PartnerLink, which is configured as "Enabling Dynamic Lookup of BPEL Partner Link Endpoints". As mentioned in the document made entry in bpel.xml as registryServiceKey property containing the serviceKey value to the partnerLinkBinding section.
    The entire scenario is working fine and changed the servicekey value to wrong value in bpel.xml and redeployed, as expected it was giving me error message saying invalid servicekey.
    Now deployed GetMaxOfTwo in another application server and registered in OWSM. Intentionally stopped the first GetMaxOfTwo application. In the OSR Service changed the binding with new WSDL of OWSM. As BPEL process enabled with dynamic lookup it should execute without any error. But the results in this case was giving error saying the service was down. (Means it is referring to the old GetMaxOfTwo webservice.
    What could be the reason?, something is missing in the configuration?
    Regards
    Venkata M Rao
    +91 80 4107 5437

    Hi
    I am having trouble making the BPEL and Systinet to work together. I have Systinet and BPEL installed separately on 2 different servers. I deployed my web services and registered them in UDDI. I created a new BPEL process and added a partner link to refer to one of the web service I have registered in UDDI. When I create the partner link, it is forcing me to give the wsdl and it also gives an error message " There are no partner link types defined in current wsdl. Do you want create that will by default create partner link type for you?". If I say "NO' then deployment fails. If I say "Yes", then it creates a new wsdl file on the local server etc and gives "<Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 75164a0815ea471a:-3be8c246:117cc377894:-537b. Please check the process instance for detail.</faultstring>". Any help is appreciated.

  • In BADI - CRM_COPY_BADI , i need to modify partner number

    Hi All,
    I have a requirement like below.
    For copy control Quote to Quote in CRM , i need to copy all custom fields and modify partner no based on some condition.
    For that I have implemented CRM_COPY_BADI  and for Custom field copy it is working fine.But for Modifying Partner is an issue.
    There is no methods for Partner. For that when i am using FM - CRM_ORDER_MAINTAIN or CRM_ORDER_MAINTAIN_MULTI_OW , both are giving recursive error.
    Any solution ?
    Thanks in advance ..

    Hi,
    Can you please let me know how did you copied all the custom fields in BADI - CRM_COPY_BADI ,
    I have a similar requirement.
    Thanks,
    Mansi

  • In BADI - CRM_COPY_BADI, i need to modify Partner No

    Hi Experts,
    I have a requirement like - in Copy Control Quote to Quote in CRM, i need to Copy all Custom fields and modify Partner No based on some condition. For that I have implemented BADI - CRM_COPY_BADI and now for Custom field copy to the Target quote it is working fine. Now the issue is with the Modifying Partner No. In this BADI . no Method is available for PARTNER. So I tried calling FM - CRM_ORDER_MAINTAIN and  CRM_ORDER_MAINTAIN_MULTY_OW, but both are giving recursive errors.
    Any solution for this ?
    Thanks ..

    Process_type shouldn't play any role. Here is one my coe sample for parter maintenance (for sales prospect - 00000021)...
        ls_partner_com-ref_guid = lv_ref_guid.
        ls_partner_com-ref_kind = 'A'.
        ls_partner_com-ref_partner_handle = '0001'.
        ls_partner_com-kind_of_entry = 'C'.
        ls_partner_com-partner_fct = '00000021'.
        ls_partner_com-partner_no = lv_bp_no.
        ls_partner_com-display_type  = 'BP'.
        ls_partner_com-no_type  = 'BP'.
        CLEAR: ls_input_field_names, lt_input_field_names.
        ls_input_field_names-fieldname = 'PARTNER_NO'.
        INSERT ls_input_field_names INTO TABLE lt_input_field_names.
        ls_input_field_names-fieldname = 'PARTNER_FCT'.
        INSERT ls_input_field_names INTO TABLE lt_input_field_names.
        ls_input_field_names-fieldname = 'DISPLAY_TYPE'.
        INSERT ls_input_field_names INTO TABLE lt_input_field_names.
        ls_input_field_names-fieldname = 'NO_TYPE'.
        INSERT ls_input_field_names INTO TABLE lt_input_field_names.
        ls_input_field_names-fieldname = 'KIND_OF_ENTRY'.
        INSERT ls_input_field_names INTO TABLE lt_input_field_names.
        CALL FUNCTION 'CRM_PARTNER_MAINTAIN_SINGLE_OW'
          EXPORTING
            iv_ref_guid          = lv_ref_guid
            iv_ref_kind          = 'A'
            is_partner_com       = ls_partner_com
          CHANGING
            ct_input_field_names = lt_input_field_names
          EXCEPTIONS
            error_occurred       = 1
            OTHERS               = 2.

  • Set dynamic authentication credentials to Partner link - BPEL 11g PS1

    Hi,
    I am working on BPEL SOA 11g PS1. I need to know how i can dynamically set the Authentication details (Username and password) as well as Timeout while invoking a web service reference.
    I have been successful in setting these values using properties of the partner-link which is static.But actually as per my use-case, i need to read these information dynamically from a repository say Database/DVM and set these value while invoking.
    Regards
    Sesha

    Hi Sridhar
    Below is the composite.xml snippet which works for me as static mapping. I have added "wss_username_token_client_policy" to the reference interface.
    <reference name="getNameService" ui:wsdlLocation="getNameService.wsdl">
    <interface.wsdl interface="http://www.amazon.com/css/mmbi/getNameService/#wsdl.interface(getNameServiceSoapPort)"/>
    <binding.ws port="http://www.amazon.com/css/mmbi/getNameService/#wsdl.endpoint(getNameService/getNameServiceSoapPort)"
    location="getNameService.wsdl" soapVersion="1.1">
    *<wsp:PolicyReference URI="oracle/wss_username_token_client_policy"*
    orawsp:category="security" orawsp:status="enable"/>
    <property name="weblogic.wsee.wsat.transaction.flowOption"
    type="xs:string" many="false">WSDLDriven</property>
    *<property name="oracle.webservices.auth.username" type="xs:string"*
    many="false" override="may">username11</property>
    *<property name="oracle.webservices.auth.password" type="xs:string"*
    many="false" override="may">password11</property>
    *<property name="oracle.webservices.httpReadTimeout" type="xs:string"*
    many="false" override="may">30000</property>
    <property name="oracle.soa.ws.outbound.omitWSA" type="xs:string"
    many="false" override="may">true</property>
    </binding.ws>
    </reference>
    Here you can find property value for oracle.webservices.auth.username,oracle.webservices.auth.password & oracle.webservices.httpReadTimeout are static , What i want to make here is to read these from a bpel variable in runtime.
    OR
    Is there any means i can do this same basic authentication in BPEL 11g which would support dynamic credentials.
    Thanks
    Sesha

  • Concurrent invocations to an undefined number of partner links

    Hi everybody!,
    I'm getting introduced to BPEL and I have a problem when describing my first process:
    The problem I have is that I need something (structure, container, etc.) that allows me to make undefined (n) concurrent invocations to an undefined number of partner links.
    Is that possible? How can I do it?
    Some tips or guidance would be great.
    Thanks in advance,
    Gonzalo.

    From solution perspective ...
    you can use our dynamic partnerlink feature for that (given it's just the physical endpoints that change at each invocation) the rest can be done with a while loop ..
    nevertheless if you enlight us with the usecase - we can try to maybe come up with a more solid solution ..
    hth clemens

  • Control the sequence of invocation of Partner Links in SOA11g

    H!,
    I have a BPEL11g process where i am invoking multiple partner links sequentially from my bpel.
    Through invoking the partner links i am inserting records in oracle base tables.
    The invocation sequence is: PartnerLink1 and then PartnerLink2.
    First i invoke partner link1 (web service invoke to another deployed bpel process(db insert)) and inserted records in location table which has foreign key relationship with order_release table.
    Then i invoke partner link2 (adapter service:db insert) and inserted records in order_release which has dependency on location table. The second insertion needs first insertion to be successful.
    Issue:+ The second invocations takes place to insert record into order_release table before the first invocation of partner link gets completed.
    So getting error that corresponding record is not present in location table as it is yet to commit the new record.
    Plz Suggest:+ How to stop the invocation of partner link2 to take place before invocation of parnerlink1 gets completed.
    a. Tweaking the threads or b. using some partner link property, how i can succeed in correcting the sequence of invocation?
    Edited by: rashmi r on Apr 3, 2013 6:29 AM
    Edited by: rashmi r on Apr 3, 2013 6:32 AM
    Edited by: rashmi r on Apr 3, 2013 6:34 AM
    Edited by: rashmi r on Apr 3, 2013 6:37 AM

    Thanks a million to all three of you. I just wish I had asked earlier!
    Cheers, Veit

  • Maintaining Single Session between 2 partner links in BPEL Process

    Hi All,
    We have a procedure that inserts data into a Global Temporary table. We have exposed this as a partner link in our BPEL process. We have a procedure that retrieves data from this Global Temporary table and does some processing. We have exposed this procedure also as a partner link in our BPEL process.
    But problem is according to our understanding each partner link takes different session. And Global Temporary tables data is session/transaction specific.
    Is there any way to make complete BPEL process or a set of BPEL activities run in same session or share same transaction.
    Any pointer on this is of great help.
    Thanks,
    Uma.

    1.     BPEL process should be sync (to ensure the process runs in one thread).
    2.     On each partner link specify participate=true (as property)
    3.     DB adapter's database connection MUST point to a XA-location to participate in the global transaction. I.e. modify oc4j-ra.xml, data-sources.xml as follows:
    i. oc4j-ra.xml:
    Location: BPEL_HOME\integration\orabpel\system\appserver\oc4j\j2ee\home\application-deployments\default\DbAdapter\oc4j-ra.xml
    <connector-factory location="eis/DB/IGSD1R12" connector-name="Database Adapter">
    <config-property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
    <config-property name="connectionString" value="jdbc:oracle:thin:@ap672sdb.us.oracle.com:25502:IGSD1R12"/>
         <config-property name="userName" value="apps"/>
    <config-property name="password" value="apps"/>
    <config-property name="minConnections" value="1"/>
    <config-property name="maxConnections" value="5"/>
    <config-property name="minReadConnections" value="1"/>          <config-property name="maxReadConnections" value="5"/>
    <config-property name="usesExternalConnectionPooling" value="false"/>
    <config-property name="dataSourceName" value=""/>
    <config-property name="usesExternalTransactionController" value="false"/>
    <config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.OraclePlatform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="tableQualifier" value=""/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="false"/>
    </connector-factory>
    ii. data-sources.xml
    Location: BPEL_HOME\integration\orabpel\system\appserver\oc4j\j2ee\home\config\data-sources.xml
         <data-source class="com.evermind.sql.DriverManagerDataSource"
    name="LocalDataSource"
    location="loc/LocalDataSource"
    xa-location="LocalDataSource"
    ejb-location="jdbc/LocalDataSource"
    connection-driver="oracle.jdbc.OracleDriver"
    username="apps"
    password="apps"
    max-connections="50"
    min-connections="10"
         connection-retry-interval="30"
    max-connect-attempts="10"
    url="jdbc:oracle:thin:apps/[email protected]:25502:IGSD1R12"/>

  • 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

  • Partner link name issue in B2B-BPEL

    Hi,
    I configured B2B-BPEL interoperability. I am able to see the B2B adapter services wsdl from jdeveloper. I configured custom xml using ebMS protocol in B2B. while creating the partner link for that. it is showing wsdl path:
    http://127.0.0.1:8888/orainfra/wsil/adapters/B2B/Custom/ebMS+Document+Protocol+Revision1-1.0/ebMS+doc+type1/ebMS+doc+def1?wsdl.
    In BPEL, symbols "+, ?" were not supported so i am getting the error like "Name is not a valid NCNAME".
    please some help me to resolve this.

    Hi Ramesh,
    I have applied the latest Patch (Patch Number- 5983622) and Configured the custom over ebMS(I could see from jdeveloper- partnerlink using the B2B WSIL browser). when i click the patnerlink- it shows the /adapters/B2B/Custom/ebMS+Document+protocol+revision1.0/ebMS+doc+type/ebMS+doc+def.
    For wsdl file it shows the location: http://127.0.0.1:8888/orainfra/wsil/adapters/B2B/Custom/ebMS+Document+Protocol+Revision-1.0/ebMS+doc+type/ebMS+doc+def?wsdl.
    I opened this using IE. I found wdsl that:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/ebMS+doc+type_ebMS+Document+Protocol+Revision-1.0/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/aq/ebMS+doc+type_ebMS+Document+Protocol+Revision-1.0/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/" xmlns:pc="http://xmlns.oracle.com/pcbpel/" xmlns:imp1="http://www.w3.org/2001/XMLSchema" xmlns:obj1="http://xmlns.oracle.com/xdb/B2B/">
    - <types>
    - <!-- Define AQ Headers = Payload Headers + Static Queue Headers
    -->
    - <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/aq/ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0/" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/aq/inbound/">
    <import namespace="http://xmlns.oracle.com/xdb/B2B/" schemaLocation="ebMS+doc+def/B2B_IP_MESSAGE_TYPE.xsd" />
    <import namespace="http://xmlns.oracle.com/pcbpel/adapter/aq/inbound/" schemaLocation="ebMS+doc+def/aqAdapterHeader.xsd" />
    - <complexType name="HeaderType">
    - <sequence>
    - <!-- static header
    -->
    <element name="QueueHeader" type="hdr:HeaderType" />
    - <!-- payload header
    -->
    <element name="PayloadHeader" type="obj1:IP_MESSAGE_TYPE" />
    </sequence>
    </complexType>
    <element name="Header" type="tns:HeaderType" />
    </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema">
    <import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="ebMS+doc+def/ebMS+doc+def.xsd" />
    </schema>
    </types>
    - <message name="ebMS+doc+type_msg">
    <part name="ebMS+doc+type1" element="imp1:ebMS+doc+type" />
    </message>
    - <message name="Header_msg">
    <part name="Header" element="tns:Header" />
    </message>
    - <portType name="Enqueue_ptt">
    - <operation name="Enqueue_ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0">
    <input message="tns:ebMS+doc+type1_msg" />
    </operation>
    </portType>
    - <portType name="Dequeue_ptt">
    - <operation name="Dequeue_ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0">
    <input message="tns:ebMS+doc+type1_msg" />
    </operation>
    </portType>
    - <binding name="Enqueue_binding" type="tns:Enqueue_ptt">
    <jca:binding />
    - <operation name="Enqueue_ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0">
    <jca:operation InteractionSpec="oracle.tip.adapter.aq.outbound.AQEnqueueInteractionSpec" QueueName="IP_OUT_QUEUE" DatabaseSchema="B2B" ObjectFieldName="PAYLOAD" RecipientList="b2buser" OpaqueSchema="false" PayloadHeaderRequired="true" />
    - <input>
    <jca:header message="tns:Header_msg" part="Header" />
    </input>
    </operation>
    </binding>
    - <binding name="Dequeue_binding" type="tns:Dequeue_ptt">
    <pc:inbound_binding />
    - <operation name="Dequeue_ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0">
    <jca:operation ActivationSpec="oracle.tip.adapter.aq.inbound.AQDequeueActivationSpec" QueueName="IP_IN_QUEUE" DatabaseSchema="B2B" ObjectFieldName="PAYLOAD" Consumer="b2buser" OpaqueSchema="false" PayloadHeaderRequired="true" />
    - <input>
    <jca:header message="tns:Header_msg" part="Header" />
    </input>
    </operation>
    </binding>
    - <service name="ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0">
    - <port name="Enqueue_pt" binding="tns:Enqueue_binding">
    <jca:address adapterInstanceJndi="eis/b2b" UIConnectionName="b2b" />
    </port>
    - <port name="Dequeue_pt" binding="tns:Dequeue_binding">
    <jca:address adapterInstanceJndi="eis/b2b" UIConnectionName="b2b" />
    </port>
    </service>
    - <plt:partnerLinkType name="PLT_ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0_send">
    - <plt:role name="B2BSend_ebMS+doc+type_ebMS+Document+Protocol+Revision-1.0">
    <plt:portType name="tns:Enqueue_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    - <plt:partnerLinkType name="PLT_ebMS+doc+type1_ebMS+Document+Protocol+Revision1-1.0receive">
    - <plt:role name="B2BReceive_ebMS+doc+type_ebMS+Document+Protocol+Revision-1.0">
    <plt:portType name="tns:Dequeue_ptt" />
    </plt:role>
    </plt:partnerLinkType>
    </definitions>
    So i am facing the symbols "+, ?" were not supported so i am getting the error like "Name is not a valid NCNAME".

  • Asynchr Calls: Partner Role and My Role must be filled in Partner Link dial

    Asynchr Calls: Partner Role and My Role must be filled in Partner Link dialog ?
    Is the statement true?
    Can I leave for synchronous calls one of the role spec vacant?
    AFAIK only in asynchronous calls both drop down values must be specified.
    Peter

    Thanks for fast reply,
    Yes, I defined Partner Role and My Role,and also defined a port type for calling back the request.
    I just don't know what's the endpoint address which my asynch web service should use to response to my BPEL process.
    Is there anyway to find out what's the endpoint address which the BPEL processes receive the callback response from asynchronous services?
    Can I get the address which BPEL engine uses to get the responsse from a called web service?
    I guess it should be an obvious work but I'm really disappointed with that.

Maybe you are looking for