You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by karoudja <ka...@hotmail.com> on 2010/03/17 17:08:18 UTC

The endpoint reference (EPR) for the Operation not found

Hi all,
I have developed an BPEL process thanks to Netbeans. After a successful
compilation and the add of a deploy file, I have deployed the files on
Apache ODE. The deploy was successful, a WSDL was generated.

I have tested my ODE-application with soapUI and with javaclass and then I
received this error:

<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>The
endpoint reference (EPR) for the Operation not found is
http://localhost:8080/ode/processes/ehealth and the WSA Action =
urn:anonOutInOp</faultstring><detail><Exception>org.apache.axis2.AxisFault:
The endpoint reference (EPR) for the Operation not found is
http://localhost:8080/ode/processes/ehealth and the WSA Action =
urn:anonOutInOp&#xd; 

Any idea?
Thanks!
    
-- 
View this message in context: http://old.nabble.com/The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp27933572p27933572.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: The endpoint reference (EPR) for the Operation not found

Posted by karoudja <ka...@hotmail.com>.
Thanks all.
fyi here is the solution:

the type:
           <xs:element name="stockage">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element minOccurs="0" name="artefact"
nillable="true" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>

the variables:
<variables>
        <variable name="Ehealth1CallOperationOut"
xmlns:tns="http://j2ee.netbeans.org/wsdl/Ehealth1/ehealth1"
messageType="tns:CallOperationResponse"/>
        <variable name="StockageOut"
xmlns:ns="http://stockageRSW.ehealth.org"
messageType="ns:stockageResponse"/>
        <variable name="StockageIn"
xmlns:ns="http://stockageRSW.ehealth.org" messageType="ns:stockageRequest"/>
        <variable name="Ehealth1CallOperationIn"
xmlns:tns="http://j2ee.netbeans.org/wsdl/Ehealth1/ehealth1"
messageType="tns:CallOperationRequest"/>
    </variables>

the copy:

<assign name="Assign1">
            <copy>
                <from variable="Ehealth1CallOperationIn" part="part1"/>
                <to>$StockageIn.parameters/ns0:artefact</to>
            </copy>
        </assign>







Tammo van Lessen wrote:
> 
> Antoine Toulme wrote:
>> Well, ODE also provides BPEL extensions to do inserts:
>> http://ode.apache.org/xpath-extensions.html
> 
> Oh, right. Thanks Antoine!
> 
> Tammo
> 
> -- 
> Tammo van Lessen - http://www.taval.de
> 
> 

-- 
View this message in context: http://old.nabble.com/The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp27933572p28068229.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: The endpoint reference (EPR) for the Operation not found

Posted by Tammo van Lessen <tv...@gmail.com>.
Antoine Toulme wrote:
> Well, ODE also provides BPEL extensions to do inserts:
> http://ode.apache.org/xpath-extensions.html

Oh, right. Thanks Antoine!

Tammo

-- 
Tammo van Lessen - http://www.taval.de

Re: The endpoint reference (EPR) for the Operation not found

Posted by Antoine Toulme <an...@gmail.com>.
Well, ODE also provides BPEL extensions to do inserts:
http://ode.apache.org/xpath-extensions.html

HTH

Antoine

On Tue, Mar 23, 2010 at 07:46, Tammo van Lessen <tv...@gmail.com>wrote:

> Hi Fabian,
>
> copying values in to an array is not natively supported by BPEL. You
> will need to use an XSLT script to do that. This can be invoked by the
> doXSLTransform XPath function. If I'm not mistaken, the BPEL 2.0 spec
> contains an example for such a scenario.
>
> Best,
>   Tammo
>
> karoudja wrote:
> > Thanks Tammo,
> > Finally I have begin all this from scratch and it's work! It was a
> problem
> > in the namespace.
> > I have again a small question about tue <copy> tag
> >
> >  <assign name="Assign1">
> >             <copy>
> >                 <from variable="Ehealth1CallOperationIn"
> > part="part1"></from>
> >                 <to variable="StockageIn" part="parameters" ></to>
> >             </copy>
> >         </assign>
> >
> > The problem is that "Ehealth1CallOperationIn - part1" is a string and
> > "StockageIn - parameters" is a complex type declared as this:
> >
> > <xs:sequence>
> > <xs:element minOccurs="0" name="artefact" nillable="true"
> type="xs:string"/>
> > </xs:sequence>
> > </xs:complexType>
> >
> > How could I copy "Ehealth1CallOperationIn - part1" into the string
> arraylist
> > "StockageIn - parameters"
> >
> > Any ideas?
> > Thanks,
> > Fabian.
> >
> >
> > i haven't time to check your project in these days.
> > i hope you could find out it by yourself.
> >
> > ciao
> >
> >
> > On Fri, Mar 19, 2010 at 11:51, Tammo van Lessen <tvanlessen@gmail.com
> >wrote:
> >
> >> Hi,
> >>
> >> looks like your local prefix declaration of tns does not override the
> >> global prefix. Please try to use unique prefixes, eg binding hwsdl to
> >> http://j2ee.netbeans.org/wsdl/BPEL_HelloWorld/hello and then using
> >> hwsdl:CallPort for the portType attribute.
> >>
> >> HTH,
> >>  Tammo
> >>
> >>
> >> karoudja wrote:
> >>
> >>> Hi,
> >>> I think I have found my error it was an error related with the
> >>> partnerLink.
> >>> I haven't specified the right parameters. So now I would like made an
> >>> "Invoke" with a partnerLink but I have a very strange error:
> >>>
> >>> ERROR: If the portType attribute is included for readability, in a
> >>> <receive>,<reply>,<invoke>,<onEvent>  or<onMessage>  element, the value
> >>> of
> >>> the portType attribute must match the portType value implied by the
> >>> combination of the specified partnerLink and the role implicitly
> >>> specified
> >>> by the activity. It means that Invoke requires partnerRole, another -
> >>> myRole.
> >>>
> >>> Have you an idea?
> >>> I insert my code here:
> >>> http://old.nabble.com/file/p27950922/src.zipsrc.zip
> >>>
> >>> Thanks,
> >>> Fabian
> >>>
> >
>
>
> --
> Tammo van Lessen - http://www.taval.de
>

Re: The endpoint reference (EPR) for the Operation not found

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi Fabian,

copying values in to an array is not natively supported by BPEL. You
will need to use an XSLT script to do that. This can be invoked by the
doXSLTransform XPath function. If I'm not mistaken, the BPEL 2.0 spec
contains an example for such a scenario.

Best,
  Tammo

karoudja wrote:
> Thanks Tammo,
> Finally I have begin all this from scratch and it's work! It was a problem
> in the namespace.
> I have again a small question about tue <copy> tag
> 
>  <assign name="Assign1">
>             <copy>
>                 <from variable="Ehealth1CallOperationIn"
> part="part1"></from>
>                 <to variable="StockageIn" part="parameters" ></to>
>             </copy>
>         </assign>
> 
> The problem is that "Ehealth1CallOperationIn - part1" is a string and
> "StockageIn - parameters" is a complex type declared as this:
> 
> <xs:sequence>
> <xs:element minOccurs="0" name="artefact" nillable="true" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> 
> How could I copy "Ehealth1CallOperationIn - part1" into the string arraylist
> "StockageIn - parameters"
> 
> Any ideas?
> Thanks,
> Fabian.
> 
> 
> i haven't time to check your project in these days.
> i hope you could find out it by yourself.
> 
> ciao
> 
> 
> On Fri, Mar 19, 2010 at 11:51, Tammo van Lessen <tv...@gmail.com>wrote:
> 
>> Hi,
>>
>> looks like your local prefix declaration of tns does not override the
>> global prefix. Please try to use unique prefixes, eg binding hwsdl to
>> http://j2ee.netbeans.org/wsdl/BPEL_HelloWorld/hello and then using
>> hwsdl:CallPort for the portType attribute.
>>
>> HTH,
>>  Tammo
>>
>>
>> karoudja wrote:
>>
>>> Hi,
>>> I think I have found my error it was an error related with the
>>> partnerLink.
>>> I haven't specified the right parameters. So now I would like made an
>>> "Invoke" with a partnerLink but I have a very strange error:
>>>
>>> ERROR: If the portType attribute is included for readability, in a
>>> <receive>,<reply>,<invoke>,<onEvent>  or<onMessage>  element, the value
>>> of
>>> the portType attribute must match the portType value implied by the
>>> combination of the specified partnerLink and the role implicitly
>>> specified
>>> by the activity. It means that Invoke requires partnerRole, another -
>>> myRole.
>>>
>>> Have you an idea?
>>> I insert my code here:
>>> http://old.nabble.com/file/p27950922/src.zipsrc.zip
>>>
>>> Thanks,
>>> Fabian
>>>
> 


-- 
Tammo van Lessen - http://www.taval.de

Re: The endpoint reference (EPR) for the Operation not found

Posted by karoudja <ka...@hotmail.com>.
Thanks Tammo,
Finally I have begin all this from scratch and it's work! It was a problem
in the namespace.
I have again a small question about tue <copy> tag

 <assign name="Assign1">
            <copy>
                <from variable="Ehealth1CallOperationIn"
part="part1"></from>
                <to variable="StockageIn" part="parameters" ></to>
            </copy>
        </assign>

The problem is that "Ehealth1CallOperationIn - part1" is a string and
"StockageIn - parameters" is a complex type declared as this:

<xs:sequence>
<xs:element minOccurs="0" name="artefact" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>

How could I copy "Ehealth1CallOperationIn - part1" into the string arraylist
"StockageIn - parameters"

Any ideas?
Thanks,
Fabian.


i haven't time to check your project in these days.
i hope you could find out it by yourself.

ciao


On Fri, Mar 19, 2010 at 11:51, Tammo van Lessen <tv...@gmail.com>wrote:

> Hi,
>
> looks like your local prefix declaration of tns does not override the
> global prefix. Please try to use unique prefixes, eg binding hwsdl to
> http://j2ee.netbeans.org/wsdl/BPEL_HelloWorld/hello and then using
> hwsdl:CallPort for the portType attribute.
>
> HTH,
>  Tammo
>
>
> karoudja wrote:
>
>> Hi,
>> I think I have found my error it was an error related with the
>> partnerLink.
>> I haven't specified the right parameters. So now I would like made an
>> "Invoke" with a partnerLink but I have a very strange error:
>>
>> ERROR: If the portType attribute is included for readability, in a
>> <receive>,<reply>,<invoke>,<onEvent>  or<onMessage>  element, the value
>> of
>> the portType attribute must match the portType value implied by the
>> combination of the specified partnerLink and the role implicitly
>> specified
>> by the activity. It means that Invoke requires partnerRole, another -
>> myRole.
>>
>> Have you an idea?
>> I insert my code here:
>> http://old.nabble.com/file/p27950922/src.zipsrc.zip
>>
>> Thanks,
>> Fabian
>>

-- 
View this message in context: http://old.nabble.com/The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp27933572p28001902.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: The endpoint reference (EPR) for the Operation not found

Posted by Stefano Tranquillini <st...@gmail.com>.
i haven't time to check your project in these days.
i hope you could find out it by yourself.

ciao


On Fri, Mar 19, 2010 at 11:51, Tammo van Lessen <tv...@gmail.com>wrote:

> Hi,
>
> looks like your local prefix declaration of tns does not override the
> global prefix. Please try to use unique prefixes, eg binding hwsdl to
> http://j2ee.netbeans.org/wsdl/BPEL_HelloWorld/hello and then using
> hwsdl:CallPort for the portType attribute.
>
> HTH,
>  Tammo
>
>
> karoudja wrote:
>
>> Hi,
>> I think I have found my error it was an error related with the
>> partnerLink.
>> I haven't specified the right parameters. So now I would like made an
>> "Invoke" with a partnerLink but I have a very strange error:
>>
>> ERROR: If the portType attribute is included for readability, in a
>> <receive>,<reply>,<invoke>,<onEvent>  or<onMessage>  element, the value of
>> the portType attribute must match the portType value implied by the
>> combination of the specified partnerLink and the role implicitly specified
>> by the activity. It means that Invoke requires partnerRole, another -
>> myRole.
>>
>> Have you an idea?
>> I insert my code here: http://old.nabble.com/file/p27950922/src.zipsrc.zip
>>
>> Thanks,
>> Fabian
>>
>>
>> Hi,
>> you pasted nothing or i can't see anything :D
>>
>> can attach your BPEL process and wsdl and so on?
>>
>> about the last sentences, i don't really understand id. you have the BPEL
>> process that has to receive data from an endpoint diffrent from
>> http:server:port/ode/process/... ?
>>
>>
>> thanks
>>
>
>
> --
> Tammo van Lessen - http://www.taval.de
>



-- 
Stefano

Re: The endpoint reference (EPR) for the Operation not found

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,

looks like your local prefix declaration of tns does not override the 
global prefix. Please try to use unique prefixes, eg binding hwsdl to 
http://j2ee.netbeans.org/wsdl/BPEL_HelloWorld/hello and then using 
hwsdl:CallPort for the portType attribute.

HTH,
   Tammo

karoudja wrote:
> Hi,
> I think I have found my error it was an error related with the partnerLink.
> I haven't specified the right parameters. So now I would like made an
> "Invoke" with a partnerLink but I have a very strange error:
>
> ERROR: If the portType attribute is included for readability, in a
> <receive>,<reply>,<invoke>,<onEvent>  or<onMessage>  element, the value of
> the portType attribute must match the portType value implied by the
> combination of the specified partnerLink and the role implicitly specified
> by the activity. It means that Invoke requires partnerRole, another -
> myRole.
>
> Have you an idea?
> I insert my code here: http://old.nabble.com/file/p27950922/src.zip src.zip
>
> Thanks,
> Fabian
>
>
> Hi,
> you pasted nothing or i can't see anything :D
>
> can attach your BPEL process and wsdl and so on?
>
> about the last sentences, i don't really understand id. you have the BPEL
> process that has to receive data from an endpoint diffrent from
> http:server:port/ode/process/... ?
>
>
> thanks


-- 
Tammo van Lessen - http://www.taval.de

Re: The endpoint reference (EPR) for the Operation not found

Posted by karoudja <ka...@hotmail.com>.
Hi,
I think I have found my error it was an error related with the partnerLink.
I haven't specified the right parameters. So now I would like made an
"Invoke" with a partnerLink but I have a very strange error:

ERROR: If the portType attribute is included for readability, in a
<receive>, <reply>, <invoke>, <onEvent> or <onMessage> element, the value of
the portType attribute must match the portType value implied by the
combination of the specified partnerLink and the role implicitly specified
by the activity. It means that Invoke requires partnerRole, another -
myRole.

Have you an idea?
I insert my code here: http://old.nabble.com/file/p27950922/src.zip src.zip 

Thanks,
Fabian
 

Hi,
you pasted nothing or i can't see anything :D

can attach your BPEL process and wsdl and so on?

about the last sentences, i don't really understand id. you have the BPEL
process that has to receive data from an endpoint diffrent from
http:server:port/ode/process/... ?


thanks
-- 
View this message in context: http://old.nabble.com/The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp27933572p27950922.html
Sent from the Apache Ode User mailing list archive at Nabble.com.


Re: The endpoint reference (EPR) for the Operation not found

Posted by Stefano Tranquillini <st...@gmail.com>.
Hi,
you pasted nothing or i can't see anything :D

can attach your BPEL process and wsdl and so on?

about the last sentences, i don't really understand id. you have the BPEL
process that has to receive data from an endpoint diffrent from
http:server:port/ode/process/... ?


thanks



On Wed, Mar 17, 2010 at 20:53, karoudja <ka...@hotmail.com> wrote:

>
> Thanks for your answer Stefano.
> In fact my process is quite simple. I receive information from a web
> service
> (appelUrgence). Afterward the bpel process invokes another webservice
> (StockageRSW) and finally the process replies to appelUrgence.
>
> My deploy.xml file is this:
>
>
>
>                true
>
>
>
>
>
>
>
>
>
> And the service part of the wsdl is that:
>
>
>
>
>
>
>
>
>
>
>
>
> Now it what means this: . It is the location where we could reach the WS
> used by the BPEL process? This location is the location of the wsdl linked
> to the bpel process. The problem is that the real locations of the called
> service are not available in ODE. With ODE we have to follow this location
> template http://SERVER:XXXX/ode/processes/XXXX. It is deployed on a AXIS2
> in
> another machine.
>
> thanks, http://old.nabble.com/file/p27937450/eHealth.zip eHealth.zip
>
>
>
>
> how are the configuration of the deployment and the endpoints url?
>
> --
> View this message in context:
> http://old.nabble.com/The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp27933572p27937450.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>



-- 
Stefano

Re: The endpoint reference (EPR) for the Operation not found

Posted by karoudja <ka...@hotmail.com>.
Thanks for your answer Stefano.
In fact my process is quite simple. I receive information from a web service
(appelUrgence). Afterward the bpel process invokes another webservice
(StockageRSW) and finally the process replies to appelUrgence.
 
My deploy.xml file is this:

	
	
		true
		
			
		
		
			
		
	


And the service part of the wsdl is that:


        
            
        
    
    
        
            
        
    

Now it what means this: . It is the location where we could reach the WS
used by the BPEL process? This location is the location of the wsdl linked
to the bpel process. The problem is that the real locations of the called
service are not available in ODE. With ODE we have to follow this location
template http://SERVER:XXXX/ode/processes/XXXX. It is deployed on a AXIS2 in
another machine. 

thanks, http://old.nabble.com/file/p27937450/eHealth.zip eHealth.zip 




how are the configuration of the deployment and the endpoints url?

-- 
View this message in context: http://old.nabble.com/The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp27933572p27937450.html
Sent from the Apache Ode User mailing list archive at Nabble.com.

Re: The endpoint reference (EPR) for the Operation not found

Posted by Stefano Tranquillini <st...@gmail.com>.
how are the configuration of the deployment and the endpoints url?

On Wed, Mar 17, 2010 at 17:08, karoudja <ka...@hotmail.com> wrote:

>
> Hi all,
> I have developed an BPEL process thanks to Netbeans. After a successful
> compilation and the add of a deploy file, I have deployed the files on
> Apache ODE. The deploy was successful, a WSDL was generated.
>
> I have tested my ODE-application with soapUI and with javaclass and then I
> received this error:
>
> <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
> "><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>The
> endpoint reference (EPR) for the Operation not found is
> http://localhost:8080/ode/processes/ehealth and the WSA Action =
> urn:anonOutInOp</faultstring><detail><Exception>org.apache.axis2.AxisFault:
> The endpoint reference (EPR) for the Operation not found is
> http://localhost:8080/ode/processes/ehealth and the WSA Action =
> urn:anonOutInOp
>
>
> Any idea?
> Thanks!
>
> --
> View this message in context:
> http://old.nabble.com/The-endpoint-reference-%28EPR%29-for-the-Operation-not-found-tp27933572p27933572.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>


-- 
Stefano