1 Reply Latest reply on Jul 20, 2009 11:12 AM by peterj

    Problem with ((StubExt)port).setSecurityConfig(_securityURL.

      Hi!

      Im a newbe trying to complete a web service client tutorial.

      I ran into a

      java.lang.ClassCastException: $Proxy30 cannot be cast to org.jboss.ws.core.StubExt

      when trying to execute line

      ((StubExt)port).setSecurityConfig(_securityURL.toExternalForm())

      The _securityURL contains a URL to the jboss-wsse-client.xml. I cant find what is wrong and would appreciate any pointers or reference to where I can find out what is going wrong. Also please if I am in the wrong forum where should I go?

      Thanks in advance

      Yoshi