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

    Details

    • Affects:
      Release Notes
    • Release Notes Text:
      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.
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW
    • Bugzilla Update:
      Perform

      Description

      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)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jim.ma Jim Ma
                  Reporter:
                  jim.ma Jim Ma
                  Writer:
                  Eva Kopalova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: