Hello, i want to access a WCF Service which uses WS-Security (WSHttpBinding with Username Token).
Have someone accomplished this? When I try to use wsdl2java to generate a client class, it fails with the following error: Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: can't serialize the policy .. at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener ationEngine.java:256) ... So i've used a Stub generated from the same service configured without any security and tried to configure the client behavior in the axis config file. Is there an easy way to consume a secure WCF service with Axis2 and Rampart. If so, can anyone post the configuration he used to get this working. Thanks in advance Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]