Hi guys, I'm continuing on the ODE / Tuscany integration and I have a few more riddles. Say that I have to following composite:
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" targetNamespace=" http://bpel" xmlns:sc="http://bpel" xmlns:c="http://bpel" name="bpel"> <service name="BPELHelloWorldService" promote="BPELHelloWorldComponent"> <interface.wsdl interface=" http://tuscany.apache.org/implementation/bpel/example/helloworld.wsd#wsdl.interface(HelloPortType)" /> </service> <component name="BPELHelloWorldComponent"> <implementation.bpel process="bpel-process"/> </component> </composite> I have 2 problems here: 1. How can I retrieve the WSDL interface associated with the BPEL implementation? I need basic information about that WSDL to be able to load the BPEL file and register it in ODE. 2. How do I load the BPEL file? I could add a specific attribute for the file name but it's not so nice. Is there something that I can reuse that's already been implemented? I think you automatically load all the WSDLs from a contribution for example and then check from the namespace when you need to retrieve something. Can I plug into that resolution mechanism? I've been looking a bit at the code but a lot of the WSDL-related work is done in binding components that seem to reuse common binding-specific code. Thanks! Matthieu
