I am developing a .NET webservices client in Java with Axis 1.4 and WSS4J 1.5. I have attempted to implement the UsernameTokenSignature method and have had some success, except my password is always type text , despite my directives in the .wsdd file to set it as type Digest. Here is a copy of my .wsdd file - anyone have any ideas?

<deployment xmlns="http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender"/>
<globalConfiguration >
<parameter name="addressing.sendReplyTo" value="true"/>
<parameter name="enableNamespacePrefixOptimization" value="false"/>
<requestFlow >
   <!-- ADDRESSING -->
<handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler"> <parameter name="referencePropertyNames" value="{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}MessageID;{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}Action;{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}ReplyTo"/> <parameter name="To" value="urn:MyWebService"/>
       </handler>
 <!-- SECURITY -->
     <handler type="java:org.apache.ws.axis.security.WSDoAllSender" >
<parameter name="action" value="Timestamp UsernameTokenSignature"/>
         <parameter name="user" value="username"/>
<parameter name="passwordCallbackClass" value="com.myapp.security.PWCallback" />
         <parameter name="passwordType" value="PasswordDigest" />
         <parameter name="precisionInMilliseconds" value="false" />
<parameter name="signatureParts" value="{Element}{http://schemas.xmlsoap.org/soap/envelope/}Body;{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}MessageID;{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}Action;{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}To;{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}ReplyTo"/>
     </handler>
</requestFlow >
</globalConfiguration >
</deployment>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to