• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Problem in implement BPEL in Tuscany

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi all!

I'm newbie in Tuscany, SCA, BPEL!

Now, I'm writing a very simple app - Helloworld example - in SCA by using Tuscany and BPEL. and my problem is it can not run.

And the error is:

helloworld.bpel:43: error: [UndeclaredPartnerLinkType] Attempt to reference undeclared partner link type "{http://bpelArtifacts}helloPartnerLinkType".

Source in my project:
My composite file:

<composite
xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
targetNamespace="http://main"
xmlns:hns="http://bpel"
name="main">

<component name="HelloImpl">
<implementation.java class="helloworld.HelloImpl" />
<reference name="hello" target="HelloworldComponent">
<interface.java interface="helloworld.HelloWorldPortType" />
</reference>
</component>

<component name="HelloworldComponent">
<implementation.bpel process="hns:HelloWorld" />
</component>

</composite>


My componentType file:

<componentType xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
xmlns:wsdli="http://www.w3.org/2006/01/wsdl-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<service name="Helloworld">
<interface.wsdl interface="http://test#wsdl.interface(HelloWorldPortType)" />
<binding.ws />
</service>
</componentType>

My bpel file:

<bpel:import namespace="http://bpelArtifacts" location="helloworldArtifacts.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"></bpel:import>
<import location="helloworlds.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"
namespace="http://test"/>



<bpel:partnerLinks>
<bpel:partnerLink
name="helloPartnerLink"
partnerLinkType="myplnk:helloPartnerLinkType"
myRole="myrole">
</bpel:partnerLink>
</bpel:partnerLinks>

My wsdl file:

<plnk:partnerLinkType name="helloPartnerLinkType">
<plnk:role name="myrole" portType="wsdl:HelloWorldPortType" />
</plnk:partnerLinkType>
<import location="helloworlds.wsdl" namespace="http://test" />


Please suggest me where I wrong? Thanks!

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic