ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Riou" <matth...@offthelip.org>
Subject Re: undeclared partnerrole
Date Wed, 19 Dec 2007 15:28:13 GMT
Hi,

Could you please post the whole documents? I haven't seen anything in the
snippets you provided but these error are very often namespace related so
it's hard to be sure without all the namespace declarations.

Thanks,
Matthieu

On Dec 19, 2007 6:02 AM, EXTERNAL Schmid Markus (Diplomand; CI/TMP) <
external.Markus.Schmid2@de.bosch.com> wrote:

> Hi,
>
> I deployed a service-1 with rpc which can be called by a client.
> I then deployed a service-2 which tries to send a message to service-1
> but fails because of an
> undeclared partnerrole. But i declared a partnerrole in the named
> partnerlink can anyone please point out my error?
> WSDL and BPEL at the end
>
> 14:49:06,093 | ERROR | Timer-5    | ProcessStoreImpl         |
> che.ode.store.ProcessStoreImpl  168 | Deploy failed; error:
> [CompilationErrors] Compilation completed with 1 error(s):
>        null:118: error: [PartnerLinkDoesNotDeclarePartnerRole] The
> partnerLink "RPCPartnerLink" does not define a partnerRole.
>
> org.apache.ode.bpel.compiler.api.CompilationException: error:
> [CompilationErrors] Compilation completed with 1 error(s):
>        null:118: error: [PartnerLinkDoesNotDeclarePartnerRole] The
> partnerLink "RPCPartnerLink" does not define a partnerRole.
>
>        at
> org.apache.ode.bpel.compiler.BpelCompiler.compile(BpelCompiler.java:726)
>        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:260)
>        at org.apache.ode.bpel.compiler.BpelC.compile(BpelC.java:330)
>        at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:16
> 1)
>        at
> org.apache.ode.store.DeploymentUnitDir.compile(DeploymentUnitDir.java:12
> 5)
>        at
> org.apache.ode.store.ProcessStoreImpl.deploy(ProcessStoreImpl.java:165)
>        at
> org.apache.ode.jbi.OdeServiceUnit.deploy(OdeServiceUnit.java:62)
>        at org.apache.ode.jbi.OdeSUManager.deploy(OdeSUManager.java:60)
>        at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssem
> bly(DeploymentService.java:527)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> AutoDeploymentService.java:335)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirecto
> ry(AutoDeploymentService.java:646)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(Aut
> oDeploymentService.java:62)
>        at
> org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDepl
> oymentService.java:609)
>        at java.util.TimerThread.mainLoop(Timer.java:512)
>        at java.util.TimerThread.run(Timer.java:462)
>
>
> WSDL:
>    <portType name="rpcPortType">
>        <operation name="rpcOperation">
>            <input message="tns:rpcRequest"/>
>            <output message="tns:rpcResponse"/>
>        </operation>
>    </portType>
>
>    <plnk:partnerLinkType name="rpcPartnerLinkType">
>        <plnk:role name="Provider" portType="tns:rpcPortType"/>
>    </plnk:partnerLinkType>
> </definitions>
>
>
> BPEL:
>    <import location="ODE_Service_rpc_0.5_bpel_su.wsdl"
>            namespace="urn:/ODE_Service_rpc_0.5_bpel_su.wsdl"
>            importType="http://schemas.xmlsoap.org/wsdl/" />
>
> ...
>
>        <partnerLink name="RPCPartnerLink"
>                partnerLinkType="rpcns:rpcPartnerLinkType"
>                partnerRole="Provider"
>                initializePartnerRole="yes" />
> ...
>
>        <assign>
>                <copy>
>                        <from>'To RPC ... '</from>
>                        <to>$varRPCRequest.text</to>
>                </copy>
>        </assign>
>
>
>        <invoke name="Call_RPC"
>                operation="rpcOperation"
>                inputVariable="varRPCRequest"
>                outputVariable="varRPCResponse"
>                partnerLink="RPCPartnerLink"
>                portType="rpcns:rpcPortType"/>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message