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

Cannot create dispatch object using EPR based javax.xml.ws.Service.createDispatch methods

XMLWordPrintable

      Cannot create dispatch objects using javax.xml.ws.Service methods:
      public <T> Dispatch<T> createDispatch(EndpointReference endpointReference, Class<T> type, Service.Mode mode, WebServiceFeature... features)
      public Dispatch<Object> createDispatch(EndpointReference endpointReference, JAXBContext context, Service.Mode mode, WebServiceFeature... features)

      Detailed stack trace:

      javax.xml.ws.WebServiceException: Cannot find port: null
      at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getEndpointMetaData(ServiceDelegateImpl.java:341)
      at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:323)
      at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createDispatch(ServiceDelegateImpl.java:495)
      at javax.xml.ws.Service.createDispatch(Service.java:444)
      at org.jboss.test.ws.jaxws.jbws2937.JBWS2937TestCase.testCreateDispatchUsingEPRAndSource(JBWS2937TestCase.java:106)

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: