You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Ulf Dittmer <ul...@ulfdittmer.com> on 2006/11/03 20:27:32 UTC

Timestamp and UsernameToken question

Hello everybody-

After switching from Axis-1.2.1/WSS4J-1.1.0 to Axis-1.4/WSS4J-1.5.0,  
some basic WS-Sec functionality does not seem to work any more, or  
maybe it needs to be set up differently and I haven't figured out how  
to do that.

I couldn't find a user mailing list, so please let me know if there  
is a more appropriate list of forum for this type of question.

Thanks in advance for any clues,
Ulf


1) Trying to send a timestamp as the only parameter to the  
WSDoAllSender handler

	<parameter name="action" value="Timestamp"/>

causes

      [java]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/} 
Server.generalException
      [java]  faultSubcode:
      [java]  faultString: WSDoAllReceiver: security processing  
failed (actions mismatch)


2) Combining:

	<parameter name="action" value="UsernameToken"/>
	<parameter name="user" value="wsuser"/>
	<parameter name="passwordCallbackClass"  
value="fibonacci.handler.PWCallbackClient"/>
	<parameter name="passwordType" value="PasswordDigest"/>

causes

      [java]  faultCode: {http://xml.apache.org/axis/}Server
      [java]  faultSubcode:
      [java]  faultString: Server Error
      [java]  faultActor:
      [java]  faultNode:
      [java]  faultDetail:
      [java]     {http://xml.apache.org/axis/}stackTrace:Server Error
      [java]     at org.apache.axis.handlers.soap.SOAPService.invoke 
(SOAPService.java:474)
      [java]     at org.apache.axis.server.AxisServer.invoke 
(AxisServer.java:281)


while the same with PasswordText works fine. All of the above did  
work under WSS4J-1.0.  Has the format of the WSDD file changed  
between versions?



---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Timestamp and UsernameToken question

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Ulf,

On 11/4/06, Ulf Dittmer <ul...@ulfdittmer.com> wrote:
> Hello everybody-
>
> After switching from Axis-1.2.1/WSS4J-1.1.0 to Axis-1.4/WSS4J-1.5.0,
> some basic WS-Sec functionality does not seem to work any more, or
> maybe it needs to be set up differently and I haven't figured out how
> to do that.
>
> I couldn't find a user mailing list, so please let me know if there
> is a more appropriate list of forum for this type of question.
>
> Thanks in advance for any clues,
> Ulf
>
>
> 1) Trying to send a timestamp as the only parameter to the
> WSDoAllSender handler
>
>         <parameter name="action" value="Timestamp"/>
>
> causes
>
>       [java]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
> Server.generalException
>       [java]  faultSubcode:
>       [java]  faultString: WSDoAllReceiver: security processing
> failed (actions mismatch)

Seems like you were able to fix this according to #2.

>
>
> 2) Combining:
>
>         <parameter name="action" value="UsernameToken"/>
>         <parameter name="user" value="wsuser"/>
>         <parameter name="passwordCallbackClass"
> value="fibonacci.handler.PWCallbackClient"/>
>         <parameter name="passwordType" value="PasswordDigest"/>
>
> causes
>
>       [java]  faultCode: {http://xml.apache.org/axis/}Server
>       [java]  faultSubcode:
>       [java]  faultString: Server Error
>       [java]  faultActor:
>       [java]  faultNode:
>       [java]  faultDetail:
>       [java]     {http://xml.apache.org/axis/}stackTrace:Server Error
>       [java]     at org.apache.axis.handlers.soap.SOAPService.invoke
> (SOAPService.java:474)
>       [java]     at org.apache.axis.server.AxisServer.invoke
> (AxisServer.java:281)

Please send the complete stack trace.

>
>
> while the same with PasswordText works fine. All of the above did
> work under WSS4J-1.0.  Has the format of the WSDD file changed
> between versions?

No there were no changes to the format of the configuration from WSS4J end.

Thanks,
Ruchith

>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>


-- 
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org


Re: Timestamp and UsernameToken question

Posted by Ruchith Fernando <ru...@gmail.com>.
Hi Ulf,

On 11/4/06, Ulf Dittmer <ul...@ulfdittmer.com> wrote:
> Hello everybody-
>
> After switching from Axis-1.2.1/WSS4J-1.1.0 to Axis-1.4/WSS4J-1.5.0,
> some basic WS-Sec functionality does not seem to work any more, or
> maybe it needs to be set up differently and I haven't figured out how
> to do that.
>
> I couldn't find a user mailing list, so please let me know if there
> is a more appropriate list of forum for this type of question.
>
> Thanks in advance for any clues,
> Ulf
>
>
> 1) Trying to send a timestamp as the only parameter to the
> WSDoAllSender handler
>
>         <parameter name="action" value="Timestamp"/>
>
> causes
>
>       [java]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
> Server.generalException
>       [java]  faultSubcode:
>       [java]  faultString: WSDoAllReceiver: security processing
> failed (actions mismatch)

Seems like you were able to fix this according to #2.

>
>
> 2) Combining:
>
>         <parameter name="action" value="UsernameToken"/>
>         <parameter name="user" value="wsuser"/>
>         <parameter name="passwordCallbackClass"
> value="fibonacci.handler.PWCallbackClient"/>
>         <parameter name="passwordType" value="PasswordDigest"/>
>
> causes
>
>       [java]  faultCode: {http://xml.apache.org/axis/}Server
>       [java]  faultSubcode:
>       [java]  faultString: Server Error
>       [java]  faultActor:
>       [java]  faultNode:
>       [java]  faultDetail:
>       [java]     {http://xml.apache.org/axis/}stackTrace:Server Error
>       [java]     at org.apache.axis.handlers.soap.SOAPService.invoke
> (SOAPService.java:474)
>       [java]     at org.apache.axis.server.AxisServer.invoke
> (AxisServer.java:281)

Please send the complete stack trace.

>
>
> while the same with PasswordText works fine. All of the above did
> work under WSS4J-1.0.  Has the format of the WSDD file changed
> between versions?

No there were no changes to the format of the configuration from WSS4J end.

Thanks,
Ruchith

>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: wss4j-dev-help@ws.apache.org
>
>


-- 
www.ruchith.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org