JSR-181 question
Hello there! I'm creating some webservices that will be called on a BPEL process. All webservices have the same method signature, only differ in their implementation (ok, I'm creating a loan broker app, and the webservices are the banks endpoints ;) ).
Ok, so far so good. Since all webservices have the same message parts, I defined a schema for the return value. The problem when using the JSR-181 metadata is that all WSDLs generate a diferent namespace for each message part. What I'd like to have is all WSDLs importing my schema and hence, all webservices having the same message parts.
I don't know if this is the best way, but it seems that for the BPEL process it will be much shorter since I've only one namespace to import, and all my internal variables will be the same type.
How can I do that using annotations? Do I need to annotate my InterestRate class using JAXB? I'm pretty confused with that.
Any ideas?
Best regards

