Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-1255

Some WS-related quickstarts don't run on JDK6

    XMLWordPrintable

Details

    • Documentation (Ref Guide, User Guide, etc.), Release Notes

    Description

      The webservice_wsaddressing QS has been shown to not work under Sun JDK 1.6. We missed this in SOA-P 4.3 GA and it still occurs on 4.3 CP01 CR5. "ant runtest" on the QS outputs:

      ...
      runtest:
      [java] Exception in thread "main" javax.xml.ws.WebServiceException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
      [java] at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:308)
      [java] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:246)
      [java] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
      [java] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
      [java] at $Proxy6.addItem(Unknown Source)
      [java] at org.jboss.soa.esb.samples.quickstart.webservicewsa.client.WSAClient.main(WSAClient.java:48)
      [java] Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage
      [java] at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:445)
      [java] at org.jboss.ws.core.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:68)
      [java] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:161)
      [java] at org.jboss.ws.core.CommonSOAP11Binding.createMessage(CommonSOAP11Binding.java:59)
      [java] at org.jboss.ws.core.CommonSOAPBinding.bindRequestMessage(CommonSOAPBinding.java:156)
      [java] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:289)
      [java] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:234)
      [java] ... 4 more
      ...

      Please note that the JDK6 workaround with copying JARs as suggested in SOA-984 makes no difference in this case.

      Affected quickstarts are at least:

      • webservice_wsaddressing
      • webservice_wssecurity

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-jcoleman Julian Coleman
              lpetrovi@redhat.com Lukáš Petrovický
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: