client class cast exception

View: New views
1 Messages — Rating Filter:   Alert me  

client class cast exception

by metro-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have a ws client generated from WSDL. With metro 2.0EA (I need it because of the keystore callback) I'm getting the following exception when getting the service port function:

java.lang.ClassCastException: com.sun.xml.ws.policy.sourcemodel.DefaultPolicyAssertionCreator$DefaultPolicyAssertion cannot be cast to com.sun.xml.ws.security.policy.Header
        at com.sun.xml.ws.security.impl.policyconv.IntegrityAssertionProcessor.process(IntegrityAssertionProcessor.java:100)
...

The WS uses WS-policy with the digital signature enabled. I'm using JDK 1.6_15 I will appreciate any help. Thanks,

Jan
[Message sent by forum member 'janzach' (hxh@...)]

http://forums.java.net/jive/thread.jspa?messageID=369793

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...