Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-8810

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.2.0
    • EAP_EWP 5.1.2
    • Web Services
    • None
    • Release Notes
    • Hide
      JBossWS-CFX failed to create a dispatch object when using javax.xml.ws.Service.createDispatch() methods involving EPRs (Endpoint Reference) with the following exception:

      javax.xml.ws.WebServiceException: Cannot find port: null

      Consequently, the web service invocation failed. This happened due to missing and incorrect code for handling EPR deserialization. With this update, the deserialization code has been provided and corrected, and the problem no longer occurs.
      Show
      JBossWS-CFX failed to create a dispatch object when using javax.xml.ws.Service.createDispatch() methods involving EPRs (Endpoint Reference) with the following exception: javax.xml.ws.WebServiceException: Cannot find port: null Consequently, the web service invocation failed. This happened due to missing and incorrect code for handling EPR deserialization. With this update, the deserialization code has been provided and corrected, and the problem no longer occurs.
    • Documented as Resolved Issue
    • NEW

      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)

              rhn-engineering-ema Jim Ma
              rhn-engineering-ema Jim Ma
              Eva Kopalova Eva Kopalova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: