Hi all,

I have a functional service which is already accessible with
binding.ws, I'd like to make the same service available with SOAP/JMS
too.

I've tried this (as an example) with helloworld-ws-reference-jms by
changing the service tag as follows:

    <service name="HelloWorldService">
      <interface.java interface="helloworld.HelloWorldService" />
      <binding.ws uri="jms:/..." />
      <binding.ws />
    </service>

When I attempt to start this, I get the following error:

WARNING: Multiple bindings with the same name for a service: Service =
HelloWorldService Binding name = HelloWorldService

Then I get the JMS bound service attempting to start but issues then
occur whilst it attempts to locate the Connection Factory.  In the end
the only service which is available is the SOAP/HTTP service, so that
I can see the service running and the wsdl in the usual ?wsdl URI.

This behaviour leads me to believe that multiple bindings of the same
type cannot be used - is this so?  Ideally I'd like to have the two
bindings from the same service - I'd hope to see both bindings in the
generated wsdl.

Does anyone have any thoughts on whether this should work?

Cheers,

Dave.

Reply via email to