[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.bpel-designer] Re: Error in invoking a web service
|
This seems to be a namespace problem.
here you declared the import of your 2 wsdl :
<bpel:import namespace="http://insa.stage.sncf.orchestration"
location="file:/F:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/GestionCandidature/WebContent/wsdl/GestionCandidature.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
<bpel:import location="HelloWorldArtifacts.wsdl"
namespace="http://helloWorld"
importType="http://schemas.xmlsoap.org/wsdl/" />
The first declares the service that your BPEL process will call (namespace
http://insa.stage.sncf.orchestration)
The second is the wsdl of your BPEL (namespace http://helloWorld).
But the partnerlink declaration of the GestionCadidature web service is :
<bpel:partnerLink name="PLGestionCandidature"
partnerLinkType="tns:PTGestionCandidature"
partnerRole="GestionCandidatureProvider"></bpel:partnerLink>
You see that the namespace is tns:PTGestionCandidature which resolved name
is xmlns:tns="http://helloWorld"
...
I think this is the error. You should have here ns1:PTGestionCandidature
When you call your GestionCadidature webservice with
<bpel:invoke name="Invoke" partnerLink="PLGestionCandidature"
operation="setPrenom" portType="ns1:GestionCandidature"
inputVariable="inputSetPerson" outputVariable="outputSetPerson">
the operation is apparently searched in the wsdl of the BPEL process. It
explains the error :
[Client hqejbhcnphr4inch259dd2] calling
{http://helloWorld}HelloWorldProcessService.setPrenom(...)}
DEBUG - GeronimoLog.debug(66) | invoke() EPR= null ==>
BpelProcess[{http://helloWorld}HelloWorld-30]
You don't want to call the actual BPEL process, but your
GestionCandidature web service.
So try the change of the namespace in the partnerlink declaration and see
what it does.