BPEL - SOAP must understand error - Partner Link Reply Contains WSSE in Soa

Hello,
I'm trying to call a WS-Secured partner link from a BPEL process. The SOAP request looks perfect, however the partner link's reply contains a WSSE security element in the SOAP header. Is there a way to configure the BPEL process to expect this and not throw a 'SOAP must understand error'. Both Request and reply SOAP envelopes are below.
Any help would be much appreciated - thanks.
Request:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><env:Header><wsse:Security xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:Username>username</wsse:Username><wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password></wsse:UsernameToken></wsse:Security></env:Header><env:Body>soapBody</env:Body></env:Envelope>
Response:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://xmlns.domain.com/service/soa/ServiceEntitlementWS" xmlns:ns1="http://xmlns.domain.com/services" xmlns:ns2="http://xmlns.domain.com/service/contract" xmlns:ns3="http://xmlns.ni.com/support/customer/serviceLevel" xmlns:ns4="http://xmlns.ni.com/support/customer/linkageSet"><env:Header> *<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1"/>* </env:Header><env:Body>soapBody</env:Body></env:Envelope>
Edited by: user639053 on Oct 6, 2009 2:33 PM

Without attaching policy can't I execute?No. You have to attach policy. If none of the pre-seeded policies fulfill your requirement then you may always create your won custom policy. Please refer -
http://technology.amis.nl/blog/11138/owsm-custom-policies-still-some-sharp-edges-so-beware-dont-cut-yourself
http://ws-security.blogspot.com/2010/01/howto-owsm-11g-creating-custom-policy.html
Regards,
Anuj

Similar Messages

  • SOAP must understand error error when calling composite

    Hi,
    I am trying to invoke composite application in soa suite 11g from soapui. In soapui my soap request contains following part of security info under header part.
    <wsse:Security soap:mustUnderstand="1" xsi:schemaLocation="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
    ..\Schemas\oasis-200401-wss-wssecurity-secext-1.0.xsd http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd ..\Schemas\oasis-wss-wssecurity-secext-1.1.xsd http://www.w3.org/2001/10/xml-exc-c14n# ..\Schemas\xml-exc-c14n.xsd">
    But when I try to execute in soapui I am getting following error
    <env:Fault>
    <faultcode>env:MustUnderstand</faultcode>
    <faultstring>SOAP must understand error:{http://docs.oasis-open.org/wss/2004  /01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security, {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security.
    </faultstring>
    </env:Fault>
    I think I need to copy these xsd files in my composite application? if yes where should I and how to refer those in soap request?
    Appreciate your quick help.
    Thanks,
    Sri

    Without attaching policy can't I execute?No. You have to attach policy. If none of the pre-seeded policies fulfill your requirement then you may always create your won custom policy. Please refer -
    http://technology.amis.nl/blog/11138/owsm-custom-policies-still-some-sharp-edges-so-beware-dont-cut-yourself
    http://ws-security.blogspot.com/2010/01/howto-owsm-11g-creating-custom-policy.html
    Regards,
    Anuj

  • OWSM SAML verification and Must Understand error

    Has anyone verified SAML tokens generated by JDev proxies by OWSM?
    I tried to use the simplest scenario (similar to what I had tested when verifying SAML with Application Server) with OWSM. I don't use signature and just sender vouches at the proxy side. On the other side, OWSM, I have a gateway which has one step in the request pipeline which verifies SAML.
    I get this response message:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://project1/types/">
    <env:Body>
    <env:Fault>
    <faultcode>env:MustUnderstand</faultcode>
    <faultstring>*SOAP must understand error: {http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Security*</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    Regards
    Farbod
    P.S. this is my request message:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://project1/">
    <env:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" env:mustUnderstand="1">
    <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" wsu:Id="B1tdL86gkmAN00oYpfTmOw22" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <wsse:KeyIdentifier xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" ValueType="http://docs.oasis-open.org/wss/oasis-wss-saml-token-profile-1.0#SAMLAssertionID">lrLlLdbWLda851vHdngAEA22</wsse:KeyIdentifier>
    </wsse:SecurityTokenReference>
    <saml:Assertion MajorVersion="1" MinorVersion="1" xmlns="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" AssertionID="lrLlLdbWLda851vHdngAEA22" IssueInstant="2008-10-11T08:46:36Z" Issuer="www.oracle.com">
    <saml:Conditions NotBefore="2008-10-11T08:46:36Z" NotOnOrAfter="2008-10-12T08:46:36Z"/>
    <saml:AuthenticationStatement AuthenticationInstant="2008-10-11T08:46:36Z" AuthenticationMethod="urn:oasis:names:tc:SAML:1.0:am:password">
    <saml:Subject>
    <saml:NameIdentifier Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">www.oracle.com</saml:NameIdentifier>
    <saml:SubjectConfirmation>
    <saml:ConfirmationMethod>urn:oasis:names:tc:SAML:1.0:cm:sender-vouches</saml:ConfirmationMethod>
    </saml:SubjectConfirmation>
    </saml:Subject>
    </saml:AuthenticationStatement>
    </saml:Assertion>
    </wsse:Security>
    </env:Header>
    <env:Body>
    <ns0:jamshidElement/>
    </env:Body>
    </env:Envelope>

    Without more specific about the SOAP Fault you are getting, the version and the type of client you built, it will be hard to give you specifics.
    You may want to verify that the policy used to configure the client proxy does match with the server-side.
    Usually, this error is generated during deserialization of a SOAP envelope when some SOAP header contains the mustUnderstand attribute with the value set to true and are not ready (configured) to process this specific header.
    It could be just a version mismatch; I process header in the foo namespace, but this one was in the bar namespace.
    Hope it helps,
    -Eric

  • Dynamic partner link in BPEL2.0 in SOA Suite 11.1.1.6.0

    Hi experts,
    I would like to use the dynamic partner links in BPEL2.0 in SOA Suite 11.1.1.6.0 but I get this error:
    <env:Fault xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable">
       <faultcode>ns0:selectionFailure</faultcode>
       <faultstring>fromValue is nota  sref:service-ref element</faultstring>As I know the dynamic partner link (in BPEL2.0) was not supported in 11.1.1.5.0 but it is in 11.1.1.6.0. So it should work but unfortunately it doesn't.
    Could anyone please help me?
    Thanks,
    V.
          <assign name="Assign_set_EndpointReference_InventoryConfirmation">
            <copy>
              <from><literal><sref:service-ref xmlns:sref="http://docs.oasisopen.org/wsbpel/2.0/serviceref"
                                               reference-scheme="http://www.w3.org/2005/08/addressing">
    <EndpointReference xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing">
    <Address>http://localhost:8088/mockInventoryConfirmationBinding</Address>
    </EndpointReference>
    </sref:service-ref></literal></from>
              <to partnerLink="PL_InventoryConfirmation"/>
            </copy>

    That link leads to instructions for an async partner link. Is it appropriate for synchronous partner links?
    Frankly -- this documentation is really irritating. It makes a lot of assumptions and is far to vague in places. The very first thing it says is "Create a WSDL file that contains multiple services that use the same portType." but it doesn't specify which wsdl (I have several in my project) and seems to be drawn from some example code with no explanation.
    I have a wsdl for a partner link that looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
         name="f17borrowerCheck"
         targetNamespace="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
         xmlns:ns1="http://xmlns.oracle.com/A43ICSEF"
         xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
         xmlns:client="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
         xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
         xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing">
        <plnk:partnerLinkType name="f17borrowerCheck">
            <plnk:role name="f17borrowerCheckProvider" portType="client:f17borrowerCheck"/>
        </plnk:partnerLinkType>
        <wsdl:types>
            <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
                 xmlns:client="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
                 xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
                <import namespace="http://xmlns.oracle.com/f17cPriorCaseCheck/f17borrowerCheck/f17borrowerCheck"
                     schemaLocation="xsd/f17borrowerCheck.xsd"/>
            </schema>
            <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
                <xsd:import namespace="http://xmlns.oracle.com/A43ICSEF" schemaLocation="xsd/a43cisef.xsd"/>
            </xsd:schema>
        </wsdl:types>
        <wsdl:message name="f17borrowerCheckRequestMessage">
            <wsdl:part name="payload" element="client:process"/>
        </wsdl:message>
        <wsdl:message name="f17borrowerCheckResponseMessage">
            <wsdl:part name="payload" element="client:processResponse"/>
        </wsdl:message>
        <wsdl:portType name="f17borrowerCheck">
            <wsdl:operation name="process">
                <wsdl:input message="client:f17borrowerCheckRequestMessage"/>
                <wsdl:output message="client:f17borrowerCheckResponseMessage"/>
            </wsdl:operation>
        </wsdl:portType>
    </wsdl:definitions>Edited by: Keith Fosberg on Oct 29, 2012 7:31 AM

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

  • 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"/>

  • Invoking secured service using BPEL partner link -  basic authentication

    HI,
    We are invoking a secured service using partner link. The below property is defined in bpel.xml (basicHeaders property is created on partnerlink)
    <property name="basicHeaders">credentials</property>
    My concern is how the basicusername and basicpassword is sent to the secured webservice?
    is it sent in the calling uri ?
    I don't think it will be sent under soap header..
    Please anyone confirm.
    Thanks
    Phani

    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.

  • How to include XML Prolog in BPEL SOAP message.

    Hi,
    I'm using SOA Suite 11g on WebLogic and have a BPEL Process in a composite application that is calling a third party SOAP Web Service.
    Whilst it is standard for a SOAP service to not care whether or not the SOAP message includes an XML Prolog (<?xml version="1.0" encoding="utf-8"?>) this third party service rejects the message if the prolog is not included.
    Unfortunately the partner link in my BPEL process is not adding the prolog when invoking the service and I cannot get the third party service changed to accept messages without it.
    Does anyone know how I can make BPEL include the prolog in SOAP messages?
    Currently the SOAP message looks like this:-
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header/>
    <soap:Body>
    </soap:Body>
    </soap:Envelope>
    What I would like it to look like is this :-
    *<?xml version="1.0" encoding="utf-8"?>*
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
    <soap:Header/>
    <soap:Body>
    </soap:Body>
    </soap:Envelope>
    Thanks in advance...

    Hi swigg,
    It's not the partnerlink input variable that I want to manipulate, it's the SOAP Envelope that the Partner Link generates when it is invoked.
    I know that you can manipulate the SOAP Header by adding properties to the Partnerlink but it's the Envelope that surrounds both the Header and the Body that I want to set the prolog on.
    It can be done in java and .NET (WCF) by setting a property on the SOAP Envelope class, but I can't see a way to do it for a partner link in BPEL which is a shame.
    To be honest it looks like Oracle have let me down here so I'll have to use some other technology to call this service which unfortunately plays into the hands of those that didn't think I should use Oracle's BPEL offering in the first place.
    Thanks.

  • 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

  • Fileadapter using partner link

    Hi guys,
    I am trying the to read from a txt file using BPEL's file adapter and partner link. Can any body tell me the steps with screen shots. What actually is happening here ???

    Oracle provides a samples directorey. You can reengineer all activities, and there is some sample code for all basic use cases. The previous post provides this for a file adapter.
    if you need so doc to guide you through the implementaton here are some docs. Some of the screen shots are old but they are still relevant.
    http://download.oracle.com/docs/cd/B31017_01/core.1013/b28937/getting_started.htm
    http://download.oracle.com/docs/cd/E11036_01/integrate.1013/b28994/intro.htm
    the order booking should give you a good introduction to all aspects of bpel.
    have fun
    James

  • Error invoking bpel partner link from bpel process

    hello,
    i try to invoke a bpel web service (deployed correctly) from another bpel process.
    I've this error:
    Cannot find resource. Context:
    http://orcldemo.localdomain:9700/orabpel/xmllib/ws-addressing.xsd
    I've tried to add my wsdl to:
    \\orcldemo\orabpel\system\xmllib\
    In this way I can invoke bpel web service (http://orcldemo:9700/orabpel/xmllib/WebServiceName.wsdl)and deploy my bpel process without compilation error, but when I start my bpel process the instance isn't created.
    I've pm server on linux machine with oc4j
    ThankYou
    Andrea

    Resolved!! Edwin, was a name resolution problem, as you say!
    My problem also was that bpel server is on a remote linux machine, so soap server url with localhost (and similar) is not accepted by designer
    The better solution for Bpel server soap is:
    http://MachineIP:9700
    So I can invoke bpel process, and also JDev WS (deployed on oc4j) with endpoint as http://machineName:9700 and http://localhost:9700
    Thank you
    Andrea

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

  • Receiving error during partner link invoke

    Hi Guys,
    I am trying to call a partner link using Bpel 10.1.3.3 in a weblogic app server and I am receiving the following error on bpel console:
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke: unexpected null</summary>
    Any clue what can be happening ?
    Tks in advance
    Edited by: user11222809 on 17/08/2009 11:21

    Tks for ur reply.
    Is a syncronous process and there is no patch applied in this case.
    We are trying to perform a simple business scenario, is a invoke to a java webservices, no adapter service.
    Follows below the whole message (sorry some of the elements were wrote in portuguese):
    <messages><input><AutenticarUsuarioExternoFSGue_autenticarUsuarioExterno_InputVariable><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="request"><AutenticarUsuarioExternoRequest xmlns="http://www.claro.com.br/EBS/Claro/v1">
    <usuario>
    <usuario-id xmlns:ns2="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">1191680138</usuario-id>
    <nome xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <apelido xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <tipo xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <sub-tipo xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <data-efetivacao xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <data-expiracao xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <data-inicio-bloqueio xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <data-termino-bloqueio xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <situacao xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <situacao-senha xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <senha xmlns:ns3="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">121382</senha>
    <data-expiracao-senha xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <data-ultima-alteracao-senha xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <dados-cadastrais-pf xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <dados-cadastrais-pj xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <perfis xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <localidades xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <setor-atividade xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <grupo-vendedor xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <cargo xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <estado xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <resumo-acesso xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <historico-autenticacao xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    </usuario>
    <meta-informacao>
    <transacao-id xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <codigo-aplicacao-origem xmlns:ns5="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">?</codigo-aplicacao-origem>
    <codigo-operacao-origem xmlns:ns6="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">?</codigo-operacao-origem>
    <correlacao-id-origem xmlns:ns7="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">?</correlacao-id-origem>
    <endereco-aplicacao-origem xmlns:ns8="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">?</endereco-aplicacao-origem>
    <usuario-id-origem xmlns:ns9="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">?</usuario-id-origem>
    <data-hora-origem xmlns="http://www.claro.com.br/EBO/Claro/v1"/>
    <canal-id-origem xmlns:ns11="http://www.claro.com.br/EBO/Claro/v1" xmlns="http://www.claro.com.br/EBO/Claro/v1">?</canal-id-origem>
    </meta-informacao>
    </AutenticarUsuarioExternoRequest>
    </part></AutenticarUsuarioExternoFSGue_autenticarUsuarioExterno_InputVariable></input><fault><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>exception on JaxRpc invoke: unexpected null</summary>
    </part></remoteFault></fault></messages>
    Thanks a million !

  • Getting compilation error while invoking an existing partner link.

    Hi,
    I am very new to BPEL.This may be a very basic issue..
    Found few links on the forum related to this..but didn't understand how people solved their problems..
    Created a sample project to add two numbers and return the result.[Ex : 2+ 3 = 5]
    Trying to invoke that service by adding it as a partner link in other project.
    Getting compile time error immediately after adding it..
    Error:
    [Error ORABPEL-10902]: compilation failed
    [Description]: in "bpel.xml", XML parsing failed because "undefined part element.
    In WSDL at "http://PC-XYZ-IN:8888/orabpel/default/BPELProcess/BPELProcess?wsdl", message part element "{http://xmlns.oracle.com/BPELProcess}BPELProcessProcessResponse" is not defined in any of the schemas.
    Please make sure the spelling of the element QName is correct and the WSDL import is complete.
    [Potential fix]: n/a.
    (ii) how can i pass two variables to calling service using invoke option.
    Since in invoke option i could see only one input variable is allowed.
    Thanks in advance for the help.

    the wsdl is refered correctly,I used the wizard for this..
    http://PC-MSIDDHAR-IN:8888/orabpel/default/BPELProcess/BPELProcess?wsdl
    For second part of the question.
    Caller ----> Invoke Code ---> Partner Link for Service
    Partner Link for Service expects 2 variables...
    Caller i have added 2 variables as u suggested already ...
    The question is how can i assign caller variables to partner link variables..[If they are more than 1)
    Thx
    Message was edited by:
            msiddhar
    Message was edited by:
            msiddhar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Getting error: (301)Moved Permanently  when invoking partner link

    Hello,
    I've set up and tested a web service that will execute a command on a host. I then built a BPEL process that invokes this web service as a Partner Link. However, I always received the following error when running the BPEL process:
    Invoke_Host (faulted)
    [2005/11/04 14:17:57] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown. less
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code>HTTP</code>
    </part>
    <part name="summary">
    <summary>when invoking endpointAddress 'http://web398.xxx.com:7780/itas/ws/host', (301)Moved Permanently</summary>
    </part>
    <part name="detail">
    <detail>AxisFault faultCode: {http://xml.apache.org/axis/}HTTP faultSubcode: faultString: (301)Moved Permanently faultActor: faultNode: faultDetail: {}:return code: 301 {http://xml.apache.org/axis/}HttpErrorCode:301</detail>
    </part>
    </remoteFault>
    Has anybody seen this error message? Any suggestions for finding out what's going on here?
    Thanks

    This is a standard HTTP error code, I am not sure what it means exactly, but maybe a network specialist can make sense of it.
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    10.3.2 301 Moved Permanently
    The requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs. Clients with link editing capabilities ought to automatically re-link references to the Request-URI to one or more of the new references returned by the server, where possible. This response is cacheable unless indicated otherwise.
    The new permanent URI SHOULD be given by the Location field in the response. Unless the request method was HEAD, the entity of the response SHOULD contain a short hypertext note with a hyperlink to the new URI(s).
    If the 301 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued.
    Note: When automatically redirecting a POST request after
    receiving a 301 status code, some existing HTTP/1.0 user agents
    will erroneously change it into a GET request.

Maybe you are looking for

  • Error while retrieving data from SQL

    HI All, I am getting the below error while tryting to retrieve the data from SQL. Its working fine in developement server. But in production getting the below error. **Mon Oct 6 05:02:49 2008]esbux106/survey/survey/kpmbatch/Info(1021013)** **ODBC Lay

  • Function to compare IT0014

    Hi All, Can anyone help me with the operation that can be used to Query on the Date specification. Thanks and Reagrds Swati

  • Final confirmation issue in project system activities

    Dear all,             I have having problem in final confirmation. I created activities.Planned some scope of work , after completion of the same scope of work I marked Final confirmation as system automatically ask for.But the situation now is that,

  • Hotfix Management | Best Practices | WCS | J2EE environment

    Hi All, Trying to exploit some best practices around hotfix management in a J2EE environment. After some struggle, we managed to handle the tracking of individual hotfixes using one of our home-grown tools. However, the issue remains on how to manage

  • Logic related to get Vat

    Hi, Logic for fetching the invoice number for a material document number is as follows. Get the invoice number created for an MBLNR from EKBE comparing the PO number (EBELN) and for the same invoice number fetch PSWBT from BSEG providing BELNR and KT