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

org.jboss.ws.core.soap.SOAPMessageImpl does not implement setProperty and getProperty methods

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Critical
    • None
    • jbossws-native-3.1.1
    • jbossws-native
    • None

    Description

      I am trying to implement SOAPClient that invokes WebService by use of Dispatch<Object> interface with JAXB.
      When trying to write the code like in the following tutorial --> http://www.omii.ac.uk/wiki/JaxWsTutorial#section-JaxWsTutorial-Example6.JAXWSinvocationusingtheDispatchObjectinterfacewithJAXB
      I got an exception as below:

      13:55:58,453 ERROR [DispatchImpl] Cannot dispatch message
      java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
      at javax.xml.soap.SOAPMessage.setProperty(Unknown Source)
      at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:87)
      at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169)
      at org.jboss.ws.core.jaxws.client.DispatchSOAPBinding.getRequestMessage(DispatchSOAPBinding.java:121)
      at org.jboss.ws.core.jaxws.client.DispatchImpl.getRequestMessage(DispatchImpl.java:450)
      at org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternalSOAP(DispatchImpl.java:183)
      at org.jboss.ws.core.jaxws.client.DispatchImpl.invokeInternal(DispatchImpl.java:170)
      at org.jboss.ws.core.jaxws.client.DispatchImpl.invoke(DispatchImpl.java:133)
      at application.package.SOAPClient.process(SOAPClient.java:254)
      Looking into the source of the classes listed in stacktrace I found that SOAPMessageImpl class does not implement required setProperty() and getProperty() methods.

      Attachments

        Activity

          People

            Unassigned Unassigned
            EPilipczuk Edward Pilipczuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: