Hi again,
maybe I describe my problem a little bit more in detail:

My "BPEL-project" Folder called planets contains the following files:

     - PlanetscompositeService.bpel
     - PlanetsCompositeService.wsdl
     - PlanetscompositeServiceArtifacts.wsdl
     - droid.wsdl
     - bpel-definition.xml

I have a running jBoss Server where I deployed the jBPM BPEL 1.1-beta3 
extension.

What is my next step now???

I tried to clone an example in the sample folder of the bpel extension - i.e. i 
copied all my files to the hello example. 
Then I wanted to run all the ant tasks according to the user guide. Is this 
needless or was it a good approach? 
But i got the following errormessage when I run the ant deploy-definition:

  | [deployprocess] got response code: 500
  | 
  | 14:52:33,118 ERROR [ProblemHandler]  PlanetsCompositeService.bpel could not 
read wsdl document
  | 
  | WSDLException: faultCode=PARSER_ERROR: Problem parsing ''
  | 
  | 14:52:33,134 ERROR [ProblemHandler]  PlanetsCompositeService.bpel could not 
read
  |  process document
  | java.lang.NullPointerException
  |         at org.jbpm.bpel.xml.BpelReader.readImports(BpelReader.java:394)
  |         at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:242)
  |         at org.jbpm.bpel.xml.BpelReader.read(BpelReader.java:200)
  |         at 
org.jbpm.bpel.par.BpelArchiveParser.readFromArchive(BpelArchiveParser
  | .java:48)
  | 
  | 

Do I have to run all ant tasks (also ant gernerate-artifacts, etc)??

Btw my bpel process, which I modeled with the Eclipse BPEL designer, looks like:

  | <?xml version="1.0" encoding="UTF-8"?>
  | <bpws:process 
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/"; 
  | xmlns:ns="http://planets.euArtifacts"; 
  | xmlns:ns0="http://dme020:8080/axis/DROIDService.jws"; 
  | xmlns:tns="http://planets.eu"; exitOnStandardFault="yes" 
  | name="PlanetsCompositeService" suppressJoinFailure="yes" 
  | targetNamespace="http://planets.eu";>
  | 
  | <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"; 
location="PlanetsCompositeService.wsdl" namespace="http://planets.eu"/>
  | <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"; 
location="droid.wsdl" namespace="http://dme020:8080/axis/DROIDService.jws"/>
  | <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"; 
namespace="http://planets.euArtifacts"/>
  | <bpws:import importType="http://schemas.xmlsoap.org/wsdl/"; 
location="PlanetsCompositeServiceArtifacts.wsdl" 
namespace="http://planets.euArtifacts"/>
  | <bpws:partnerLinks>
  | <bpws:partnerLink myRole="PlanetsCompositeServiceProvider" name="client" 
partnerLinkType="tns:PlanetsCompositeService" 
partnerRole="PlanetsCompositeServiceRequester"/>
  | <bpws:partnerLink name="droid" partnerLinkType="ns:droidPLT" 
partnerRole="droidservice"/>
  | </bpws:partnerLinks>
  | <bpws:variables>
  | <bpws:variable messageType="tns:PlanetsCompositeServiceRequestMessage" 
name="input"/>
  | <bpws:variable messageType="tns:PlanetsCompositeServiceResponseMessage" 
name="output"/>
  | <bpws:variable messageType="ns0:identifyFormatResponse" 
name="droidResponse"/>
  | <bpws:variable messageType="ns0:identifyFormatRequest" name="droidRequest"/>
  | </bpws:variables>
  | <bpws:sequence name="main">
  | <bpws:receive createInstance="yes" name="receiveInput" operation="initiate" 
partnerLink="client" portType="tns:PlanetsCompositeService" variable="input"/>
  | <bpws:assign name="Assign" validate="no">
  | <bpws:copy>
  | <bpws:from part="payload" variable="input">
  | <bpws:query 
queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116";><![CDATA[/tns:input]]></bpws:query>
  | </bpws:from>
  | <bpws:to part="s" variable="droidRequest"/>
  | </bpws:copy>
  | </bpws:assign>
  | <bpws:invoke inputVariable="droidRequest" name="Invoke" 
operation="identifyFormat" outputVariable="droidResponse" partnerLink="droid" 
portType="ns0:DROIDService"/>
  | <bpws:assign name="Assign1" validate="no">
  | <bpws:copy>
  | <bpws:from part="identifyFormatReturn" variable="droidResponse"/>
  | <bpws:to part="payload" variable="output">
  | <bpws:query 
queryLanguage="http://www.w3.org/TR/1999/REC-xpath-19991116";><![CDATA[/tns:result]]></bpws:query>
  | </bpws:to>
  | </bpws:copy>
  | </bpws:assign>
  | <bpws:invoke inputVariable="output" name="callbackClient" 
operation="onResult" partnerLink="client" 
portType="tns:PlanetsCompositeServiceCallback"/>
  | </bpws:sequence>
  | </bpws:process>
  | 

Isn't there a more easier way to deploy my bpel process - or is there something 
wrong with my bpel process?!?!

Thanks for your help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030658#4030658

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030658
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to