Are you having everthing as per the document ?
1. Multiple services that use the same portType in webservice
2. Created a webservice call in composite.
3. Check whether you have the reference tag for the webservice in composite.xml file
4. Do you have the xml frgament in assign.
thanks for the answer!
I was thinking that the dynamic partner link is good tool to change the endpoint URL in runtime. So I didn't change my BPEL process just added an assign operation before using the partner link. Am I mistaken? Do I have to change the WSDL as well? I want to use services which use the same WSDL but their endpoints are different.
1. -> I think I don't have to define multilple services (I have just one kind of services / one WSDL)
2. -> I am not sure what you are thinking of but I defined the partner link in composite.xml and linked to the BPEL process
3. -> I have it
4. -> I have it, I copied it into my original question.
Thanks for the help!
It should work as long as you are using below syntax:
Edited by: vamseeg on Aug 2, 2012 3:39 PM
Please follow the below link
probably my problem was that I didn't put the ServiceName element in the EndpointReference as the other elements were the same.
Great, thanks again!
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:
Edited by: Keith Fosberg on Oct 29, 2012 7:31 AM
<?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>
The answer is "no, this is inapplicable to synchronous links"
up to now 'am able to get the values as below except "PortName"
please help me out to fetch value of a PortName.
I am using Oracle SOA Suite 22.214.171.124. While implementing the dynamic partner link using BPEL 2.0 getting the following exception.
<bpelFault><faultType>0</faultType><selectionFailure xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"><part name="summary"><summary>fromValue is not a sref:service-ref element</summary></part></selectionFailure></bpelFault>
I have followed the above thread but could not able to resolve the issue
Your help would be appreciated. Thanks in advance.