Dave Meier wrote:
I have the rampart module hooked up and my password callback is called
correctly.  But after successful validation, my web service method does
not get called.  Instead I get back the following response:

<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
    <soapenv:Header />
    <soapenv:Body>
        <soapenv:Fault>
            <faultcode>soapenv:MustUnderstand</faultcode>
            <faultstring>Header not understood</faultstring>
        </soapenv:Fault>
    </soapenv:Body>
</soapenv:Envelope>

This occurs after the userid and password have already been validated.
Here are the log entries:

[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\transport\http\http_worker.c(204) Client HTTP version
HTTP/1.1
[Mon Nov 13 17:01:14 2006] [debug]
..\..\axiom\src\soap\soap_builder.c(840) Identified soap version is
soap11
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\engine.c(762) Invoking phase TransportIn
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\engine.c(762) Invoking phase PreDispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
AddressingInHandler within the phase PreDispatch
[Mon Nov 13 17:01:14 2006] [info]  Starting addressing in handler
.........
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
RampartInHandler within the phase PreDispatch
[Mon Nov 13 17:01:14 2006] [info]  [rampart][rampart_in_handler]Inflow
Security found
[Mon Nov 13 17:01:14 2006] [info]  [rampart][rampart_in_handler]
Validating UsernameToken
[Mon Nov 13 17:01:14 2006] [info]  [rampart][rampart_in_handler]
Validating UsernameToken SUCCESS
[Mon Nov 13 17:01:14 2006] [info]  [rampart][rampart_in_handler]
Validating Timestamp
[Mon Nov 13 17:01:14 2006] [info]  [rampart][rampart_in_handler]
Validating Timestamp is SUCCESS [Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\engine.c(762) Invoking phase Dispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
addressing_based_dispatcher within the phase Dispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\addr_disp.c(99) Checking for service using WSA
enpoint address : http://localhost:8181/axis2/services/ttwebservices
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\addr_disp.c(129) Service found using WSA
enpoint address
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
request_uri_based_dispatcher within the phase Dispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
soap_action_based_dispatcher within the phase Dispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\soap_action_disp.c(106) Checking for operation
using SOAPAction : [Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
soap_message_body_based_dispatcher within the phase Dispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\soap_body_disp.c(196) Checking for operation
using SOAP message body's first child's local name : CreatePrimaryItem
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\soap_body_disp.c(205) Operation found using
SOAP message body's first child's local name
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\engine.c(762) Invoking phase PostDispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
dispatch_post_conditions_evaluator within the phase PostDispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\phase.c(356) Invoke the handler
context_handler within the phase PostDispatch
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\engine.c(762) Invoking phase
PolicyDetermination
[Mon Nov 13 17:01:14 2006] [debug]
..\..\modules\core\engine\engine.c(762) Invoking phase MessageOut
[Mon Nov 13 17:01:14 2006] [info]  Request served successfully

I did have mustUnderstand set in the request like this: "<wsse:Security
soap:mustUnderstand="1">
Rampart_in_handler should set this relaying attribute to false after processing. Thanks for pointing this out. BTW, are you using a rampart in the client side as well? Or is it another implementation? :) 'Coz rampart doesn't set mustUnderstand=1.
How can I get around this?

Thanks,

-Dave.

**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. Any 
unauthorized review, use, disclosure or distribution is prohibited. If you are 
not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message.


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




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

Reply via email to