On Sat, Sep 4, 2010 at 7:26 PM, Matthias Herbst <[email protected]> wrote: > Hi ant! > > Many thanks for that! > This helps us very much! > > But we're still wondering about how to delegate the outgoing message to a > webservice which URL was resolved by our Registry. > Perhaps you know how to do it. > > Thank you a lot! > > Best regards, > Matthias and Sebastian >
I've updated the foo binding impl to show how it could delegate to the web service binding. You can see the code changes in the commit at: http://apache.markmail.org/message/dqlwcygmazl3sgit The general idea is that the FooReferenceBindingProvider creates a new Binding model object for the binding type that wants to be used, in this case WebServiceBinding, clones the reference EndpointReference and sets the new binding on that cloned reference and then when reseting the bindingProvider, with setBindingProvider(null), it will use the new binding configuration next time getBindingProvider is called, and that provider can be delegated to for the subsequent calls. Does that help with what you want to do? ...ant
