Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3514

webservice_wssecurity does not work with CXF in SOA

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.9
    • Fix Version/s: 4.9 CP1
    • Component/s: Examples
    • Labels:
      None

      Description

      Does not compile, as wss4j.jar is not on the classpath, and fails to run with a ClassCastException as it is pulling in a sun class.

      [java] Exception in thread "main" java.lang.ClassCastException: com.sun.xml.ws.client.sei.SEIStub cannot be cast to org.apache.cxf.frontend.ClientProxy
      [java] at org.apache.cxf.frontend.ClientProxy.getClient(ClientProxy.java:93)
      [java] at org.jboss.test.ws.jaxws.samples.wssecurity.client.WSSClient.setupWsse(WSSClient.java:74)
      [java] at org.jboss.test.ws.jaxws.samples.wssecurity.client.WSSClient.getEndpointPort(WSSClient.java:64)
      [java] at org.jboss.test.ws.jaxws.samples.wssecurity.client.WSSClient.main(WSSClient.java:50)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kconner Kevin Conner
                  Reporter:
                  kconner Kevin Conner
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: