Hi I am trying to modify the helloworld-bpel example so that it just uses the WSDL interface directly, using the helloworld-ws-service as an example of how to configure the wsdl.
The composite definition is: <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace="http://bpel" xmlns:hns="http://tuscany.apache.org/implementation/bpel/example/helloworld" name="bpel"> <component name="BPELHelloWorldComponent"> <implementation.bpel process="hns:HelloWorld"/> <service name="HelloService"> <interface.wsdl interface="http://tuscany.apache.org/implementation/bpel/example/helloworld.wsdl#wsdl.interface(HelloPortType)" /> <binding.ws uri="http://localhost:8085/HelloService"/> </service> </component> </composite> I copied the HelloWorldServer app from the helloworld-ws-service to start a server for this service, and the output when I run it is: [java] May 25, 2011 12:00:27 PM org.apache.tuscany.sca.node.impl.NodeImpl <init> [java] INFO: Creating node: helloworld.composite [java] May 25, 2011 12:00:27 PM org.apache.tuscany.sca.node.impl.NodeImpl configureNode [java] INFO: Loading contribution: file:/home/gbrown/NotBackedUp/evaluation/apache/tuscany-sca-1.6.2/samples/helloworld-bpel2/target/classes/ [java] May 25, 2011 12:00:28 PM org.apache.tuscany.sca.assembly.builder.impl.ComponentConfigurationBuilderImpl [java] WARNING: Service not found for component service: Component = BPELHelloWorldComponent Service = HelloService [java] May 25, 2011 12:00:28 PM org.apache.tuscany.sca.assembly.builder.impl.CompositeBindingURIBuilderImpl [java] WARNING: Service not found for component service: Component = BPELHelloWorldComponent Service = HelloService [java] May 25, 2011 12:00:28 PM org.apache.tuscany.sca.node.impl.NodeImpl start [java] INFO: Starting node: helloworld.composite [java] May 25, 2011 12:00:28 PM org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl activate [java] WARNING: Skipping component service not defined in the component type: BPELHelloWorldComponent#HelloService [java] Completed calling new Process deployment code... [java] HelloWorld server started (press enter to shutdown) It doesn't list the web service URL, as in the helloworld-ws-service, so I guess the WS is not being initialised. Is the "WARNING: Service not found for component service: Component = BPELHelloWorldComponent Service = HelloService" message because I don't generate the java (SDO?) classes? Is this a necessary step even if I want to just have a WSDL interface directly route soap messages to the BPEL process? Or have I missed some configuration? Thanks in advance for any pointers. Regards Gary
