I am attempting to connect to an existing .NET 2.0 SP3 service and I need to use UsernameTokenSignature. I have attached my .wsdd below, Even though I am specifying the passwordType to be PasswordDigest, it always comes out PasswordText. I have tried to override in the stub class to no success. Anybody 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}To;{Element}{http://schemas.xmlsoap.org/ws/2004/08/addressing}ReplyTo"/> </handler>
   <!-- SECURITY -->
       <handler type="java:org.apache.ws.axis.security.WSDoAllSender" >
<parameter name="action" value="Timestamp UsernameTokenSignature"/>
           <parameter name="passwordType" value="PasswordDigest"/>
           <!--<parameter name="user" value="testuser"/>-->
<parameter name="passwordCallbackClass" value="com.somepackage.security.PWCallback"/>
           <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