[jboss-user] [JBoss jBPM] - Re: BPEL generate-artifacts error

alex.guizar@jboss.com do-not-reply at jboss.com
Thu Mar 1 15:58:17 EST 2007


The target generate-service creates binding and service definitions for your process. Look at the WSDL files it produces. The WSDL file that contains the service definition should have a targetNamespace that matches your BPEL file's:

<definitions targetNamespace="urn:samples:listadmin">
  |   <import .../>
  |   <service name="ListAdminService">
  |     <port name="GreeterPort" ...>
  |       <soap:address .../>
  |     </port>
  |   </service>
  | </definitions>
Therefore the wsdl-port in your webservices.xml should be something like:
<wsdl-port xmlns:portNS="urn:samples:listadmin">
  |   portNS:GreeterPort
  | </wsdl-port>
I am guessing it looks like this instead:
<wsdl-port xmlns:portNS="http://jbpm.org/examples/listadmin">
  |   portNS:GreeterPort
  | </wsdl-port>
Remember that the deployment model for BPEL processes is essentially equal to normal web services. When you are unsure about a setting, refer to Web Services for J2EE documentation or this forum for help. Literal text replacements might not always be enough.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024464



More information about the jboss-user mailing list