You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Alex Boisvert <bo...@intalio.com> on 2008/02/01 21:50:31 UTC
Re: partner Links Type
Hi Simone,
Did you see my reply to your previous email?
http://www.nabble.com/again-Partner-Links-Type-td15185896.html#a15185896
alex
On 1/31/08, Simone Maletta <si...@alice.it> wrote:
>
> Hy guy,
> I'm here again, I wish to thank you all for your suggest but nothing
> works, the problem is always there.
> I put some changed in my code, trying to import other process definitions,
> I need a portType specification to make a call.
> Here is the code:
>
> ----BPEL code --------
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <process
>
> name="bank"
>
> targetNamespace="http://ode/bpel/unit-test"
>
> xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>
> xmlns:tns="http://ode/bpel/unit-test"
>
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
> xmlns:test="http://ode/bpel/bank.wsdl"
>
> xmlns:CCCheckNS="http://localhost:8080/CCCCheck.wsdl"
>
> queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
>
> expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
>
> <import location="bankWSDL.wsdl"
>
> namespace="http://ode/bpel/bank.wsdl"
>
> importType="http://schemas.xmlsoap.org/wsdl/"/>
>
> <import location="CCCheck.wsdl"
>
> namespace="http://localhost:8080/CCCCheck.wsdl"
>
> importType="http://schemas.xmlsoap.org/wsdl/"/>
>
> <variables>
>
> <variable name="approvedVariable" type="xsd:boolean"/>
>
> <variable name="CCNumVariable" type="xsd:integer"/>
>
> <variable messageType="test:replyCCHeckMessage" name="replyCCHeckSend"/>
>
> <variable messageType="CCCheckNS:cccheckMessage"
> name="requestInvokeCCCheckSend"/>
>
> <variable messageType="test:requestCCheckMessage"
> name="requestCCheckReceive"/>
>
> <variable messageType="CCCheckNS:cccheckResponseMessage"
> name="replyInvokeCCCheckReceive"/>
>
> <variable name="4" type="xsd:boolean"/>
>
> <variable name="3" type="xsd:boolean"/>
>
> <variable name="2" type="xsd:boolean"/>
>
> <variable name="1" type="xsd:boolean"/>
>
> </variables>
>
> <partnerLinks>
>
> <partnerLink myRole="sender" name="replyCCHeck"
> partnerLinkType="test:replyCCHeckPartnerLinkType"/>
>
> <partnerLink myRole="me" name="requestInvokeCCCheck"
> partnerLinkType="test:InvokeCCCheckPartnerLinkType"/>
>
> <partnerLink partnerRole="you" name="requestCCheck"
> partnerLinkType="test:requestCCheckPartnerLinkType"/>
>
> <partnerLink partnerRole="you" name="replyInvokeCCCheck"
> partnerLinkType="test:InvokeCCCheckPartnerLinkType"/>
>
> </partnerLinks>
>
> <sequence>
>
> <assign>
>
> <copy>
>
> <from>false</from>
>
> <to variable="4"/>
>
> </copy>
>
> <copy>
>
> <from>false</from>
>
> <to variable="3"/>
>
> </copy>
>
> <copy>
>
> <from>false</from>
>
> <to variable="2"/>
>
> </copy>
>
> <copy>
>
> <from>false</from>
>
> <to variable="1"/>
>
> </copy>
>
> </assign>
>
> <flow>
>
> <!-- <sequence>
>
> <switch/>
>
> <target linkName="4to3"/>
>
> </sequence>-->
>
> <sequence>
>
> <if name="3">
>
> <condition>true</condition>
>
> <assign>
>
> <copy>
>
> <from variable="approvedVariable"/>
>
> <to part="approved" variable="replyCCHeckSend"/>
>
> </copy>
>
> <copy>
>
> <from variable="CCNumVariable"/>
>
> <to part="CCNum" variable="replyCCHeckSend"/>
>
> </copy>
>
> </assign>
>
> <invoke createInstance="yes" operation="replyCCHeckSEND"
> partnerLink="replyCCHeck" portType="replyCCHeckPortType"
> variable="replyCCHeck"/>
>
> <assign>
>
> <copy>
>
> <from>false</from>
>
> <to variable="3"/>
>
> </copy>
>
> <copy>
>
> <from>true</from>
>
> <to variable="4"/>
>
> </copy>
>
> </assign>
>
> </if>
>
> <source linkName="3to4" transitionCondition="4"/>
>
> <target linkName="3to2"/>
>
> </sequence>
>
> <sequence>
>
> <if name="4">
>
> <condition>true</condition>
>
> <assign>
>
> <copy>
>
> <from variable="CCNumVariable"/>
>
> <to part="cccheck" variable="requestInvokeCCCheckSend"/>
>
> </copy>
>
> </assign>
>
> <invoke createInstance="yes" inputVariable="requestInvokeCCCheckSend"
> operation="requestInvokeCCCheckINVOKE" outputVariable="replyInvokeCCCheck"
> partnerLink="requestInvokeCCCheck" portType="requestInvokeCCCheckPortType"/>
>
> <assign>
>
> <copy>
>
> <from part="approved" variable="requestInvokeCCCheckSend"/>
>
> <to variable="approvedVariable"/>
>
> </copy>
>
> </assign>
>
> <assign>
>
> <copy>
>
> <from>false</from>
>
> <to variable="2"/>
>
> </copy>
>
> <copy>
>
> <from>true</from>
>
> <to variable="3"/>
>
> </copy>
>
> </assign>
>
> </if>
>
> <source linkName="2to3" transitionCondition="3"/>
>
> <target linkName="2to1"/>
>
> </sequence>
>
> <sequence>
>
> <if name="5">
>
> <condition>true</condition>
>
> <receive createInstance="yes" operation="requestCCheckRECEIVE"
> partnerLink="requestCCheck" portType="requestCCheckPortType"
> variable="requestCCheck"/>
>
> <assign>
>
> <copy>
>
> <from part="CCNum" variable="requestCCheck"/>
>
> <to variable="CCNumVariable"/>
>
> </copy>
>
> </assign>
>
> <assign>
>
> <copy>
>
> <from>false</from>
>
> <to variable="1"/>
>
> </copy>
>
> <copy>
>
> <from>true</from>
>
> <to variable="2"/>
>
> </copy>
>
> </assign>
>
> </if>
>
> <source linkName="1to2" transitionCondition="2"/>
>
> </sequence>
>
> </flow>
>
> </sequence>
>
> </process>
>
> ----- WSDL code for the BPEL process-------
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <definitions
>
> targetNamespace="http://ode/bpel/bank.wsdl"
>
> xmlns="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:tns="http://ode/bpel/bank.wsdl"
>
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
> xmlns:plnk="
> http://docs.oasis-open.org/wsbpel/2.0/process/executable/plnktype"
>
> xmlns:CCCheckNS="http:8080/localhost/CCCheck">
>
> <!--
>
> <import location="CCCheck.wsdl"
>
> namespace="http://localhost:8080/CCCheck.wsdl"
>
> importType="http://schemas.xmlsoap.org/wsdl/"/>-->
>
> <wsdl:message name="replyCCHeckMessage">
>
> <wsdl:part name="approved" type="xsd:boolean"/>
>
> <wsdl:part name="CCNum" type="xsd:integer"/>
>
> </wsdl:message>
>
> <wsdl:message name="requestCCheckMessage">
>
> <wsdl:part name="CCNum" type="xsd:integer"/>
>
> </wsdl:message>
>
>
>
> <wsdl:portType name="replyCCHeckPortType">
>
> <wsdl:operation name="replyCCHeck">
>
> <wsdl:input message="tns:replyCCHeckMessage"/>
>
> </wsdl:operation>
>
> </wsdl:portType>
>
> <wsdl:binding name="replyCCHeckSOAPBinding"
> type="tns:replyCCHeckPortType">
>
> <soap:binding style="document" transport="
> http://schemas.xmlsoap.org/soap/jms"/>
>
> <wsdl:operation name="replyCCHeck"/>
>
> </wsdl:binding>
>
> <wsdl:portType name="requestCCheckPortType">
>
> <wsdl:operation name="requestCCheck">
>
> <wsdl:output message="tns:requestCCheckMessage"/>
>
> </wsdl:operation>
>
> </wsdl:portType>
>
> <wsdl:binding name="requestCCheckSOAPBinding"
> type="tns:requestCCheckPortType">
>
> <soap:binding style="document" transport="
> http://schemas.xmlsoap.org/soap/jms"/>
>
> <wsdl:operation name="requestCCheck"/>
>
> </wsdl:binding>
>
> <plnk:partnerLinkType name="replyCCHeckPartnerLinkType">
>
> <plnk:role name="send">
>
> <plnk:portType name="tns:replyCCHeckPortType"/>
>
> </plnk:role>
>
> </plnk:partnerLinkType>
>
> <plnk:partnerLinkType name="InvokeCCCheckPartnerLinkType">
>
> <plnk:role name="invoke" portType="CCCheckNS:CCCheckPortType"/>
>
> <plnk:role name="response" portType="CCCheckNS:CCCheckPortType"/>
>
> </plnk:partnerLinkType>
>
>
> <plnk:partnerLinkType name="requestCCheckPartnerLinkType">
>
> <plnk:role name="you">
>
> <plnk:portType name="tns:requestCCheckMessagePortType"/>
>
> </plnk:role>
>
> </plnk:partnerLinkType>
>
> <wsdl:service name="bank">
>
> <wsdl:port binding="replyInvokeCCCheckSOAPBinding"
> name="replyInvokeCCCheckPort">
>
> <soap:address location="
> http://localhost:8080/ode/processes/replyInvokeCCCheck"/>
>
> </wsdl:port>
>
> <wsdl:port binding="requestCCheckSOAPBinding" name="requestCCheckPort">
>
> <soap:address location="http://localhost:8080/ode/processes/requestCCheck
> "/>
>
> </wsdl:port>
>
> </wsdl:service>
>
>
> </definitions>
>
>
>
>
>
> ----WSDL server-service-------
>
> <wsdl:definitions xmlns:axis2="http://localhost:8080/CCCCheck.wsdl"
> xmlns:ns="http://ws.apache.org/axis2/xsd" xmlns:wsdl="
> http://schemas.xmlsoap.org/wsdl/" xmlns:http="
> http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="
> http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="
> http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="
> http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl" targetNamespace="
> http://localhost:8080/CCCCheck.wsdl"><wsdl:types><xs:schema xmlns:xs="
> http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified"
> elementFormDefault="qualified" targetNamespace="
> http://ws.apache.org/axis2/xsd">
>
> <xs:element name="cccheck">
>
> <xs:complexType>
>
> <xs:sequence>
>
> <xs:element name="param0" nillable="true" type="xs:int"></xs:element>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:element>
>
> <xs:element name="cccheckResponse">
>
> <xs:complexType>
>
> <xs:sequence>
>
> <xs:element name="return" nillable="true" type="xs:boolean"></xs:element>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:element>
>
> <xs:element name="delete">
>
> <xs:complexType>
>
> <xs:sequence>
>
> <xs:element name="param0" nillable="true" type="xs:string"></xs:element>
>
> <xs:element name="param1" nillable="true" type="ns:Tuple"></xs:element>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:element>
>
> <xs:element name="Tuple" type="ns:Tuple"></xs:element>
>
> <xs:complexType name="Tuple">
>
> <xs:sequence></xs:sequence>
>
> </xs:complexType>
>
> <xs:element name="modify">
>
> <xs:complexType>
>
> <xs:sequence>
>
> <xs:element name="param0" nillable="true" type="xs:string"></xs:element>
>
> <xs:element name="param1" nillable="true" type="ns:Tuple"></xs:element>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:element>
>
> <xs:element name="setSessionContext">
>
> <xs:complexType>
>
> <xs:sequence>
>
> <xs:element name="param0" nillable="true" type="xs:anyType"></xs:element>
>
> </xs:sequence>
>
> </xs:complexType>
>
> </xs:element>
>
> </xs:schema></wsdl:types><wsdl:message name="cccheckMessage"><wsdl:part
> name="part1" element="ns:cccheck"></wsdl:part></wsdl:message><wsdl:message
> name="cccheckResponseMessage"><wsdl:part name="part1"
> element="ns:cccheckResponse"></wsdl:part></wsdl:message><wsdl:message
> name="deleteMessage"><wsdl:part name="part1"
> element="ns:delete"></wsdl:part></wsdl:message><wsdl:message
> name="modifyMessage"><wsdl:part name="part1"
> element="ns:modify"></wsdl:part></wsdl:message><wsdl:message
> name="ejbActivateMessage"></wsdl:message><wsdl:message
> name="ejbCreateMessage"></wsdl:message><wsdl:message
> name="ejbPassivateMessage"></wsdl:message><wsdl:message
> name="ejbRemoveMessage"></wsdl:message><wsdl:message
> name="setSessionContextMessage"><wsdl:part name="part1"
> element="ns:setSessionContext"></wsdl:part></wsdl:message><wsdl:portType
> name="CCCheckPortType"><wsdl:operation name="cccheck"><wsdl:input
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> wsaw:Action="urn:cccheck"
> message="axis2:cccheckMessage"></wsdl:input><wsdl:output
> message="axis2:cccheckResponseMessage"
> wsaw:Action="urn:cccheck"></wsdl:output></wsdl:operation><wsdl:operation
> name="delete"><wsdl:input xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:delete"
> message="axis2:deleteMessage"></wsdl:input></wsdl:operation><wsdl:operation
> name="modify"><wsdl:input xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:modify"
> message="axis2:modifyMessage"></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbActivate"><wsdl:input xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbActivate"
> message="axis2:ejbActivateMessage"></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbCreate"><wsdl:input xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbCreate"
> message="axis2:ejbCreateMessage"></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbPassivate"><wsdl:input xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbPassivate"
> message="axis2:ejbPassivateMessage"></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbRemove"><wsdl:input xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbRemove"
> message="axis2:ejbRemoveMessage"></wsdl:input></wsdl:operation><wsdl:operation
> name="setSessionContext"><wsdl:input xmlns:wsaw="
> http://www.w3.org/2006/05/addressing/wsdl"
> wsaw:Action="urn:setSessionContext"
> message="axis2:setSessionContextMessage"></wsdl:input></wsdl:operation></wsdl:portType><wsdl:binding
> name="CCCheckSOAP11Binding" type="axis2:CCCheckPortType"><soap:binding
> transport="http://schemas.xmlsoap.org/soap/http"
> style="document"></soap:binding><wsdl:operation
> name="cccheck"><soap:operation soapAction="urn:cccheck"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input><wsdl:output><soap:body
> use="literal"></soap:body></wsdl:output></wsdl:operation><wsdl:operation
> name="delete"><soap:operation soapAction="urn:delete"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
> name="modify"><soap:operation soapAction="urn:modify"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbActivate"><soap:operation soapAction="urn:ejbActivate"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbCreate"><soap:operation soapAction="urn:ejbCreate"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbPassivate"><soap:operation soapAction="urn:ejbPassivate"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbRemove"><soap:operation soapAction="urn:ejbRemove"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
> name="setSessionContext"><soap:operation soapAction="urn:setSessionContext"
> style="document"></soap:operation><wsdl:input><soap:body
> use="literal"></soap:body></wsdl:input></wsdl:operation></wsdl:binding><wsdl:binding
> name="CCCheckSOAP12Binding" type="axis2:CCCheckPortType"><soap12:binding
> transport="http://schemas.xmlsoap.org/soap/http"
> style="document"></soap12:binding><wsdl:operation
> name="cccheck"><soap12:operation soapAction="urn:cccheck"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input><wsdl:output><soap12:body
> use="literal"></soap12:body></wsdl:output></wsdl:operation><wsdl:operation
> name="delete"><soap12:operation soapAction="urn:delete"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
> name="modify"><soap12:operation soapAction="urn:modify"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbActivate"><soap12:operation soapAction="urn:ejbActivate"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbCreate"><soap12:operation soapAction="urn:ejbCreate"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbPassivate"><soap12:operation soapAction="urn:ejbPassivate"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
> name="ejbRemove"><soap12:operation soapAction="urn:ejbRemove"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
> name="setSessionContext"><soap12:operation
> soapAction="urn:setSessionContext"
> style="document"></soap12:operation><wsdl:input><soap12:body
> use="literal"></soap12:body></wsdl:input></wsdl:operation></wsdl:binding><wsdl:service
> name="CCCheck"><wsdl:port name="CCCheckSOAP11port"
> binding="axis2:CCCheckSOAP11Binding"><soap:address location="
> http://this.value.is.repalced.by.jbossCCCheck"></soap:address></wsdl:port><wsdl:port
> name="CCCheckSOAP12port"
> binding="axis2:CCCheckSOAP12Binding"><soap12:address location="
> http://this.value.is.repalced.by.jbossCCCheck
> "></soap12:address></wsdl:port></wsdl:service></wsdl:definitions>
>
>
>
> As you may see the last one is build automatically using axis2 tool
> starting from a Java Session Bean.
>
> Compiling all I always have the same error: UndeclaredPartnerLinkType:
> Attempt to reference to undeclared partner link type {
> http://localhost:8080/bank.wsdl} this for every partner link I define in
> the code.
>
> Please someone has got a solution? Problems come from namespaces
> definitions? There is an error defining partner link types in the wsdl? Why
> I've got no problem reference Message?
>
> Please HELP ME!!
>
> Best regards to all
>
> Simone
>
Re: partner Links Type
Posted by Simone Maletta <si...@alice.it>.
Hy Alex,
thank you for your suggest and I correct this thing; the error are there
again and it not reffer only to that partner link type, but to all other
ones.
I think I used a bad namespace referrence but I can't understand where or
why, because I have no problem with Message types defined into the the same
wsdl.
I have nothing else idea, the only thin I may ask to you all is to try
developing my project and tell me what you got.
Thank you for time spendig listening to me,
Simone
----- Original Message -----
From: "Alex Boisvert" <bo...@intalio.com>
To: <us...@ode.apache.org>
Sent: Monday, February 04, 2008 9:14 PM
Subject: Re: partner Links Type
> Hi Simon,
>
> It looks like your partnerLinkType names don't match. You cut&pasted this
> name "replyCCHeckPartnerLinkType" while the error shows, "{
> http://ode/bpel/bank.wsdl}replyCCheckPartnerLinkType". The names are
> case-sensitive.
>
> alex
>
>
>
> On 2/2/08, Simone Maletta <si...@alice.it> wrote:
>>
>> Hi Alex,
>> yes I read your mail and I make a mistake publisching a wrong WSDL.
>> This the last I wrote following your suggest:
>>
>> <plnk:partnerLinkType name="replyCCHeckPartnerLinkType">
>>
>> <plnk:role name="send" portType="tns:replyCCHeckPortType"/>
>>
>> </plnk:partnerLinkType>
>>
>>
>>
>> <plnk:partnerLinkType name="InvokeCCCheckPartnerLinkType">
>>
>> <plnk:role name="invoke" portType="CCCheckNS:CCCheckPortType"/>
>>
>> <plnk:role name="response" portType="CCCheckNS:CCCheckPortType"/>
>>
>> </plnk:partnerLinkType>
>>
>>
>>
>>
>> <plnk:partnerLinkType name="requestCCheckPartnerLinkType">
>>
>> <plnk:role name="you" portType="tns:requestCCheckMessagePortType"/>
>>
>> </plnk:partnerLinkType>
>>
>>
>>
>> To better understand what I'm trying to do I want to explain to you
>> better
>> my underground.
>> I've got three processes: an Invoker, a process realized with the BPEL
>> that
>> we will call bank and another one realized as an EJB, CCheck. I'm trying
>> to
>> develope bank process.
>> My process needs to communicate asynchronously with the Invoker, this is
>> the
>> fact I wrote two one way partner link type, while it has to communicate
>> with
>> CCheck synchronously, in fact it's only scope is to access to a db, and I
>> designed a two way partner link. In the asynchronously protocol is not
>> allowed a callback.
>> Tha fact is: I don't understand why writing the code as the one in ODE
>> examples or using the syntax in the book I used or the following your
>> suggestes I'm at the same point:
>>
>> file:/home/jars/Tesi/ode/WEB-INF/processes/bank/bankBPEL.bpel:35: error:
>> [UndeclaredPartnerLinkType] Attempt to reference undeclared partner link
>> type "{http://ode/bpel/bank.wsdl}replyCCheckPartnerLinkType".
>>
>> I've got no idea where the error is or what I've to do.
>> Thank you for any suggest,
>> Simone
>>
>
Re: partner Links Type
Posted by Alex Boisvert <bo...@intalio.com>.
Hi Simon,
It looks like your partnerLinkType names don't match. You cut&pasted this
name "replyCCHeckPartnerLinkType" while the error shows, "{
http://ode/bpel/bank.wsdl}replyCCheckPartnerLinkType". The names are
case-sensitive.
alex
On 2/2/08, Simone Maletta <si...@alice.it> wrote:
>
> Hi Alex,
> yes I read your mail and I make a mistake publisching a wrong WSDL.
> This the last I wrote following your suggest:
>
> <plnk:partnerLinkType name="replyCCHeckPartnerLinkType">
>
> <plnk:role name="send" portType="tns:replyCCHeckPortType"/>
>
> </plnk:partnerLinkType>
>
>
>
> <plnk:partnerLinkType name="InvokeCCCheckPartnerLinkType">
>
> <plnk:role name="invoke" portType="CCCheckNS:CCCheckPortType"/>
>
> <plnk:role name="response" portType="CCCheckNS:CCCheckPortType"/>
>
> </plnk:partnerLinkType>
>
>
>
>
> <plnk:partnerLinkType name="requestCCheckPartnerLinkType">
>
> <plnk:role name="you" portType="tns:requestCCheckMessagePortType"/>
>
> </plnk:partnerLinkType>
>
>
>
> To better understand what I'm trying to do I want to explain to you better
> my underground.
> I've got three processes: an Invoker, a process realized with the BPEL
> that
> we will call bank and another one realized as an EJB, CCheck. I'm trying
> to
> develope bank process.
> My process needs to communicate asynchronously with the Invoker, this is
> the
> fact I wrote two one way partner link type, while it has to communicate
> with
> CCheck synchronously, in fact it's only scope is to access to a db, and I
> designed a two way partner link. In the asynchronously protocol is not
> allowed a callback.
> Tha fact is: I don't understand why writing the code as the one in ODE
> examples or using the syntax in the book I used or the following your
> suggestes I'm at the same point:
>
> file:/home/jars/Tesi/ode/WEB-INF/processes/bank/bankBPEL.bpel:35: error:
> [UndeclaredPartnerLinkType] Attempt to reference undeclared partner link
> type "{http://ode/bpel/bank.wsdl}replyCCheckPartnerLinkType".
>
> I've got no idea where the error is or what I've to do.
> Thank you for any suggest,
> Simone
>
Re: partner Links Type
Posted by Simone Maletta <si...@alice.it>.
Hi Alex,
yes I read your mail and I make a mistake publisching a wrong WSDL.
This the last I wrote following your suggest:
<plnk:partnerLinkType name="replyCCHeckPartnerLinkType">
<plnk:role name="send" portType="tns:replyCCHeckPortType"/>
</plnk:partnerLinkType>
<plnk:partnerLinkType name="InvokeCCCheckPartnerLinkType">
<plnk:role name="invoke" portType="CCCheckNS:CCCheckPortType"/>
<plnk:role name="response" portType="CCCheckNS:CCCheckPortType"/>
</plnk:partnerLinkType>
<plnk:partnerLinkType name="requestCCheckPartnerLinkType">
<plnk:role name="you" portType="tns:requestCCheckMessagePortType"/>
</plnk:partnerLinkType>
To better understand what I'm trying to do I want to explain to you better
my underground.
I've got three processes: an Invoker, a process realized with the BPEL that
we will call bank and another one realized as an EJB, CCheck. I'm trying to
develope bank process.
My process needs to communicate asynchronously with the Invoker, this is the
fact I wrote two one way partner link type, while it has to communicate with
CCheck synchronously, in fact it's only scope is to access to a db, and I
designed a two way partner link. In the asynchronously protocol is not
allowed a callback.
Tha fact is: I don't understand why writing the code as the one in ODE
examples or using the syntax in the book I used or the following your
suggestes I'm at the same point:
file:/home/jars/Tesi/ode/WEB-INF/processes/bank/bankBPEL.bpel:35: error:
[UndeclaredPartnerLinkType] Attempt to reference undeclared partner link
type "{http://ode/bpel/bank.wsdl}replyCCheckPartnerLinkType".
I've got no idea where the error is or what I've to do.
Thank you for any suggest,
Simone
----- Original Message -----
From: "Alex Boisvert" <bo...@intalio.com>
To: <us...@ode.apache.org>
Sent: Friday, February 01, 2008 9:50 PM
Subject: Re: partner Links Type
> Hi Simone,
>
> Did you see my reply to your previous email?
> http://www.nabble.com/again-Partner-Links-Type-td15185896.html#a15185896
>
> alex
>
>
> On 1/31/08, Simone Maletta <si...@alice.it> wrote:
>>
>> Hy guy,
>> I'm here again, I wish to thank you all for your suggest but nothing
>> works, the problem is always there.
>> I put some changed in my code, trying to import other process
>> definitions,
>> I need a portType specification to make a call.
>> Here is the code:
>>
>> ----BPEL code --------
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>
>> <process
>>
>> name="bank"
>>
>> targetNamespace="http://ode/bpel/unit-test"
>>
>> xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
>>
>> xmlns:tns="http://ode/bpel/unit-test"
>>
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>
>> xmlns:test="http://ode/bpel/bank.wsdl"
>>
>> xmlns:CCCheckNS="http://localhost:8080/CCCCheck.wsdl"
>>
>> queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"
>>
>> expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0">
>>
>> <import location="bankWSDL.wsdl"
>>
>> namespace="http://ode/bpel/bank.wsdl"
>>
>> importType="http://schemas.xmlsoap.org/wsdl/"/>
>>
>> <import location="CCCheck.wsdl"
>>
>> namespace="http://localhost:8080/CCCCheck.wsdl"
>>
>> importType="http://schemas.xmlsoap.org/wsdl/"/>
>>
>> <variables>
>>
>> <variable name="approvedVariable" type="xsd:boolean"/>
>>
>> <variable name="CCNumVariable" type="xsd:integer"/>
>>
>> <variable messageType="test:replyCCHeckMessage" name="replyCCHeckSend"/>
>>
>> <variable messageType="CCCheckNS:cccheckMessage"
>> name="requestInvokeCCCheckSend"/>
>>
>> <variable messageType="test:requestCCheckMessage"
>> name="requestCCheckReceive"/>
>>
>> <variable messageType="CCCheckNS:cccheckResponseMessage"
>> name="replyInvokeCCCheckReceive"/>
>>
>> <variable name="4" type="xsd:boolean"/>
>>
>> <variable name="3" type="xsd:boolean"/>
>>
>> <variable name="2" type="xsd:boolean"/>
>>
>> <variable name="1" type="xsd:boolean"/>
>>
>> </variables>
>>
>> <partnerLinks>
>>
>> <partnerLink myRole="sender" name="replyCCHeck"
>> partnerLinkType="test:replyCCHeckPartnerLinkType"/>
>>
>> <partnerLink myRole="me" name="requestInvokeCCCheck"
>> partnerLinkType="test:InvokeCCCheckPartnerLinkType"/>
>>
>> <partnerLink partnerRole="you" name="requestCCheck"
>> partnerLinkType="test:requestCCheckPartnerLinkType"/>
>>
>> <partnerLink partnerRole="you" name="replyInvokeCCCheck"
>> partnerLinkType="test:InvokeCCCheckPartnerLinkType"/>
>>
>> </partnerLinks>
>>
>> <sequence>
>>
>> <assign>
>>
>> <copy>
>>
>> <from>false</from>
>>
>> <to variable="4"/>
>>
>> </copy>
>>
>> <copy>
>>
>> <from>false</from>
>>
>> <to variable="3"/>
>>
>> </copy>
>>
>> <copy>
>>
>> <from>false</from>
>>
>> <to variable="2"/>
>>
>> </copy>
>>
>> <copy>
>>
>> <from>false</from>
>>
>> <to variable="1"/>
>>
>> </copy>
>>
>> </assign>
>>
>> <flow>
>>
>> <!-- <sequence>
>>
>> <switch/>
>>
>> <target linkName="4to3"/>
>>
>> </sequence>-->
>>
>> <sequence>
>>
>> <if name="3">
>>
>> <condition>true</condition>
>>
>> <assign>
>>
>> <copy>
>>
>> <from variable="approvedVariable"/>
>>
>> <to part="approved" variable="replyCCHeckSend"/>
>>
>> </copy>
>>
>> <copy>
>>
>> <from variable="CCNumVariable"/>
>>
>> <to part="CCNum" variable="replyCCHeckSend"/>
>>
>> </copy>
>>
>> </assign>
>>
>> <invoke createInstance="yes" operation="replyCCHeckSEND"
>> partnerLink="replyCCHeck" portType="replyCCHeckPortType"
>> variable="replyCCHeck"/>
>>
>> <assign>
>>
>> <copy>
>>
>> <from>false</from>
>>
>> <to variable="3"/>
>>
>> </copy>
>>
>> <copy>
>>
>> <from>true</from>
>>
>> <to variable="4"/>
>>
>> </copy>
>>
>> </assign>
>>
>> </if>
>>
>> <source linkName="3to4" transitionCondition="4"/>
>>
>> <target linkName="3to2"/>
>>
>> </sequence>
>>
>> <sequence>
>>
>> <if name="4">
>>
>> <condition>true</condition>
>>
>> <assign>
>>
>> <copy>
>>
>> <from variable="CCNumVariable"/>
>>
>> <to part="cccheck" variable="requestInvokeCCCheckSend"/>
>>
>> </copy>
>>
>> </assign>
>>
>> <invoke createInstance="yes" inputVariable="requestInvokeCCCheckSend"
>> operation="requestInvokeCCCheckINVOKE"
>> outputVariable="replyInvokeCCCheck"
>> partnerLink="requestInvokeCCCheck"
>> portType="requestInvokeCCCheckPortType"/>
>>
>> <assign>
>>
>> <copy>
>>
>> <from part="approved" variable="requestInvokeCCCheckSend"/>
>>
>> <to variable="approvedVariable"/>
>>
>> </copy>
>>
>> </assign>
>>
>> <assign>
>>
>> <copy>
>>
>> <from>false</from>
>>
>> <to variable="2"/>
>>
>> </copy>
>>
>> <copy>
>>
>> <from>true</from>
>>
>> <to variable="3"/>
>>
>> </copy>
>>
>> </assign>
>>
>> </if>
>>
>> <source linkName="2to3" transitionCondition="3"/>
>>
>> <target linkName="2to1"/>
>>
>> </sequence>
>>
>> <sequence>
>>
>> <if name="5">
>>
>> <condition>true</condition>
>>
>> <receive createInstance="yes" operation="requestCCheckRECEIVE"
>> partnerLink="requestCCheck" portType="requestCCheckPortType"
>> variable="requestCCheck"/>
>>
>> <assign>
>>
>> <copy>
>>
>> <from part="CCNum" variable="requestCCheck"/>
>>
>> <to variable="CCNumVariable"/>
>>
>> </copy>
>>
>> </assign>
>>
>> <assign>
>>
>> <copy>
>>
>> <from>false</from>
>>
>> <to variable="1"/>
>>
>> </copy>
>>
>> <copy>
>>
>> <from>true</from>
>>
>> <to variable="2"/>
>>
>> </copy>
>>
>> </assign>
>>
>> </if>
>>
>> <source linkName="1to2" transitionCondition="2"/>
>>
>> </sequence>
>>
>> </flow>
>>
>> </sequence>
>>
>> </process>
>>
>> ----- WSDL code for the BPEL process-------
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>>
>> <definitions
>>
>> targetNamespace="http://ode/bpel/bank.wsdl"
>>
>> xmlns="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:tns="http://ode/bpel/bank.wsdl"
>>
>> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>>
>> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>>
>> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>>
>> xmlns:plnk="
>> http://docs.oasis-open.org/wsbpel/2.0/process/executable/plnktype"
>>
>> xmlns:CCCheckNS="http:8080/localhost/CCCheck">
>>
>> <!--
>>
>> <import location="CCCheck.wsdl"
>>
>> namespace="http://localhost:8080/CCCheck.wsdl"
>>
>> importType="http://schemas.xmlsoap.org/wsdl/"/>-->
>>
>> <wsdl:message name="replyCCHeckMessage">
>>
>> <wsdl:part name="approved" type="xsd:boolean"/>
>>
>> <wsdl:part name="CCNum" type="xsd:integer"/>
>>
>> </wsdl:message>
>>
>> <wsdl:message name="requestCCheckMessage">
>>
>> <wsdl:part name="CCNum" type="xsd:integer"/>
>>
>> </wsdl:message>
>>
>>
>>
>> <wsdl:portType name="replyCCHeckPortType">
>>
>> <wsdl:operation name="replyCCHeck">
>>
>> <wsdl:input message="tns:replyCCHeckMessage"/>
>>
>> </wsdl:operation>
>>
>> </wsdl:portType>
>>
>> <wsdl:binding name="replyCCHeckSOAPBinding"
>> type="tns:replyCCHeckPortType">
>>
>> <soap:binding style="document" transport="
>> http://schemas.xmlsoap.org/soap/jms"/>
>>
>> <wsdl:operation name="replyCCHeck"/>
>>
>> </wsdl:binding>
>>
>> <wsdl:portType name="requestCCheckPortType">
>>
>> <wsdl:operation name="requestCCheck">
>>
>> <wsdl:output message="tns:requestCCheckMessage"/>
>>
>> </wsdl:operation>
>>
>> </wsdl:portType>
>>
>> <wsdl:binding name="requestCCheckSOAPBinding"
>> type="tns:requestCCheckPortType">
>>
>> <soap:binding style="document" transport="
>> http://schemas.xmlsoap.org/soap/jms"/>
>>
>> <wsdl:operation name="requestCCheck"/>
>>
>> </wsdl:binding>
>>
>> <plnk:partnerLinkType name="replyCCHeckPartnerLinkType">
>>
>> <plnk:role name="send">
>>
>> <plnk:portType name="tns:replyCCHeckPortType"/>
>>
>> </plnk:role>
>>
>> </plnk:partnerLinkType>
>>
>> <plnk:partnerLinkType name="InvokeCCCheckPartnerLinkType">
>>
>> <plnk:role name="invoke" portType="CCCheckNS:CCCheckPortType"/>
>>
>> <plnk:role name="response" portType="CCCheckNS:CCCheckPortType"/>
>>
>> </plnk:partnerLinkType>
>>
>>
>> <plnk:partnerLinkType name="requestCCheckPartnerLinkType">
>>
>> <plnk:role name="you">
>>
>> <plnk:portType name="tns:requestCCheckMessagePortType"/>
>>
>> </plnk:role>
>>
>> </plnk:partnerLinkType>
>>
>> <wsdl:service name="bank">
>>
>> <wsdl:port binding="replyInvokeCCCheckSOAPBinding"
>> name="replyInvokeCCCheckPort">
>>
>> <soap:address location="
>> http://localhost:8080/ode/processes/replyInvokeCCCheck"/>
>>
>> </wsdl:port>
>>
>> <wsdl:port binding="requestCCheckSOAPBinding" name="requestCCheckPort">
>>
>> <soap:address location="http://localhost:8080/ode/processes/requestCCheck
>> "/>
>>
>> </wsdl:port>
>>
>> </wsdl:service>
>>
>>
>> </definitions>
>>
>>
>>
>>
>>
>> ----WSDL server-service-------
>>
>> <wsdl:definitions xmlns:axis2="http://localhost:8080/CCCCheck.wsdl"
>> xmlns:ns="http://ws.apache.org/axis2/xsd" xmlns:wsdl="
>> http://schemas.xmlsoap.org/wsdl/" xmlns:http="
>> http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="
>> http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="
>> http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="
>> http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl" targetNamespace="
>> http://localhost:8080/CCCCheck.wsdl"><wsdl:types><xs:schema xmlns:xs="
>> http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified"
>> elementFormDefault="qualified" targetNamespace="
>> http://ws.apache.org/axis2/xsd">
>>
>> <xs:element name="cccheck">
>>
>> <xs:complexType>
>>
>> <xs:sequence>
>>
>> <xs:element name="param0" nillable="true" type="xs:int"></xs:element>
>>
>> </xs:sequence>
>>
>> </xs:complexType>
>>
>> </xs:element>
>>
>> <xs:element name="cccheckResponse">
>>
>> <xs:complexType>
>>
>> <xs:sequence>
>>
>> <xs:element name="return" nillable="true" type="xs:boolean"></xs:element>
>>
>> </xs:sequence>
>>
>> </xs:complexType>
>>
>> </xs:element>
>>
>> <xs:element name="delete">
>>
>> <xs:complexType>
>>
>> <xs:sequence>
>>
>> <xs:element name="param0" nillable="true" type="xs:string"></xs:element>
>>
>> <xs:element name="param1" nillable="true" type="ns:Tuple"></xs:element>
>>
>> </xs:sequence>
>>
>> </xs:complexType>
>>
>> </xs:element>
>>
>> <xs:element name="Tuple" type="ns:Tuple"></xs:element>
>>
>> <xs:complexType name="Tuple">
>>
>> <xs:sequence></xs:sequence>
>>
>> </xs:complexType>
>>
>> <xs:element name="modify">
>>
>> <xs:complexType>
>>
>> <xs:sequence>
>>
>> <xs:element name="param0" nillable="true" type="xs:string"></xs:element>
>>
>> <xs:element name="param1" nillable="true" type="ns:Tuple"></xs:element>
>>
>> </xs:sequence>
>>
>> </xs:complexType>
>>
>> </xs:element>
>>
>> <xs:element name="setSessionContext">
>>
>> <xs:complexType>
>>
>> <xs:sequence>
>>
>> <xs:element name="param0" nillable="true" type="xs:anyType"></xs:element>
>>
>> </xs:sequence>
>>
>> </xs:complexType>
>>
>> </xs:element>
>>
>> </xs:schema></wsdl:types><wsdl:message name="cccheckMessage"><wsdl:part
>> name="part1"
>> element="ns:cccheck"></wsdl:part></wsdl:message><wsdl:message
>> name="cccheckResponseMessage"><wsdl:part name="part1"
>> element="ns:cccheckResponse"></wsdl:part></wsdl:message><wsdl:message
>> name="deleteMessage"><wsdl:part name="part1"
>> element="ns:delete"></wsdl:part></wsdl:message><wsdl:message
>> name="modifyMessage"><wsdl:part name="part1"
>> element="ns:modify"></wsdl:part></wsdl:message><wsdl:message
>> name="ejbActivateMessage"></wsdl:message><wsdl:message
>> name="ejbCreateMessage"></wsdl:message><wsdl:message
>> name="ejbPassivateMessage"></wsdl:message><wsdl:message
>> name="ejbRemoveMessage"></wsdl:message><wsdl:message
>> name="setSessionContextMessage"><wsdl:part name="part1"
>> element="ns:setSessionContext"></wsdl:part></wsdl:message><wsdl:portType
>> name="CCCheckPortType"><wsdl:operation name="cccheck"><wsdl:input
>> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
>> wsaw:Action="urn:cccheck"
>> message="axis2:cccheckMessage"></wsdl:input><wsdl:output
>> message="axis2:cccheckResponseMessage"
>> wsaw:Action="urn:cccheck"></wsdl:output></wsdl:operation><wsdl:operation
>> name="delete"><wsdl:input xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:delete"
>> message="axis2:deleteMessage"></wsdl:input></wsdl:operation><wsdl:operation
>> name="modify"><wsdl:input xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:modify"
>> message="axis2:modifyMessage"></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbActivate"><wsdl:input xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbActivate"
>> message="axis2:ejbActivateMessage"></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbCreate"><wsdl:input xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbCreate"
>> message="axis2:ejbCreateMessage"></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbPassivate"><wsdl:input xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbPassivate"
>> message="axis2:ejbPassivateMessage"></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbRemove"><wsdl:input xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl" wsaw:Action="urn:ejbRemove"
>> message="axis2:ejbRemoveMessage"></wsdl:input></wsdl:operation><wsdl:operation
>> name="setSessionContext"><wsdl:input xmlns:wsaw="
>> http://www.w3.org/2006/05/addressing/wsdl"
>> wsaw:Action="urn:setSessionContext"
>> message="axis2:setSessionContextMessage"></wsdl:input></wsdl:operation></wsdl:portType><wsdl:binding
>> name="CCCheckSOAP11Binding" type="axis2:CCCheckPortType"><soap:binding
>> transport="http://schemas.xmlsoap.org/soap/http"
>> style="document"></soap:binding><wsdl:operation
>> name="cccheck"><soap:operation soapAction="urn:cccheck"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input><wsdl:output><soap:body
>> use="literal"></soap:body></wsdl:output></wsdl:operation><wsdl:operation
>> name="delete"><soap:operation soapAction="urn:delete"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="modify"><soap:operation soapAction="urn:modify"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbActivate"><soap:operation soapAction="urn:ejbActivate"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbCreate"><soap:operation soapAction="urn:ejbCreate"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbPassivate"><soap:operation soapAction="urn:ejbPassivate"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbRemove"><soap:operation soapAction="urn:ejbRemove"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="setSessionContext"><soap:operation
>> soapAction="urn:setSessionContext"
>> style="document"></soap:operation><wsdl:input><soap:body
>> use="literal"></soap:body></wsdl:input></wsdl:operation></wsdl:binding><wsdl:binding
>> name="CCCheckSOAP12Binding" type="axis2:CCCheckPortType"><soap12:binding
>> transport="http://schemas.xmlsoap.org/soap/http"
>> style="document"></soap12:binding><wsdl:operation
>> name="cccheck"><soap12:operation soapAction="urn:cccheck"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input><wsdl:output><soap12:body
>> use="literal"></soap12:body></wsdl:output></wsdl:operation><wsdl:operation
>> name="delete"><soap12:operation soapAction="urn:delete"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="modify"><soap12:operation soapAction="urn:modify"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbActivate"><soap12:operation soapAction="urn:ejbActivate"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbCreate"><soap12:operation soapAction="urn:ejbCreate"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbPassivate"><soap12:operation soapAction="urn:ejbPassivate"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="ejbRemove"><soap12:operation soapAction="urn:ejbRemove"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input></wsdl:operation><wsdl:operation
>> name="setSessionContext"><soap12:operation
>> soapAction="urn:setSessionContext"
>> style="document"></soap12:operation><wsdl:input><soap12:body
>> use="literal"></soap12:body></wsdl:input></wsdl:operation></wsdl:binding><wsdl:service
>> name="CCCheck"><wsdl:port name="CCCheckSOAP11port"
>> binding="axis2:CCCheckSOAP11Binding"><soap:address location="
>> http://this.value.is.repalced.by.jbossCCCheck"></soap:address></wsdl:port><wsdl:port
>> name="CCCheckSOAP12port"
>> binding="axis2:CCCheckSOAP12Binding"><soap12:address location="
>> http://this.value.is.repalced.by.jbossCCCheck
>> "></soap12:address></wsdl:port></wsdl:service></wsdl:definitions>
>>
>>
>>
>> As you may see the last one is build automatically using axis2 tool
>> starting from a Java Session Bean.
>>
>> Compiling all I always have the same error: UndeclaredPartnerLinkType:
>> Attempt to reference to undeclared partner link type {
>> http://localhost:8080/bank.wsdl} this for every partner link I define in
>> the code.
>>
>> Please someone has got a solution? Problems come from namespaces
>> definitions? There is an error defining partner link types in the wsdl?
>> Why
>> I've got no problem reference Message?
>>
>> Please HELP ME!!
>>
>> Best regards to all
>>
>> Simone
>>
>