Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1979

Endpoint address prop doesn't work with Dispatch

XMLWordPrintable

      Martin Rostan says:

      Hi, I'm using JBossWS 2.0.3 to run this simple code:
      Code:

      JAXBContext ctx = JAXBContext.newInstance(Discover.class, DiscoverResponse.class);
      Dispatch<Object> dispatch = service.createDispatch(portQName, ctx, Service.Mode.PAYLOAD);
      dispatch.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url)

      but the runtime address is ignored, and JBossWS uses the address specified in the wsdl.

              ropalka Richard Opalka
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: