axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rico M <rickom...@gmail.com>
Subject Re: soap:mustUnderstand
Date Fri, 29 Oct 2010 08:35:03 GMT
Is the name space saved anywhere , so i can retrieve it and then parse it ?

Please let me know... so i can patch the file...

Jira created.

Cheers!

On Fri, Oct 29, 2010 at 3:33 AM, Nandika Jayawardana <jayawark@gmail.com>wrote:

> Changing the AXIOM_SOAP_ATTR_MUST_UNDERSTAND is not the correct way to fix
> this since from another requester, the prefix might be different to soap.
> Hence, code should be added to extract the prefix and appended it to
> mustUnderstand part and then do the matching.
> Please raise a jira for this.
>
> Regards
> Nandika
>
>
> On Thu, Oct 28, 2010 at 9:28 PM, Rico M <rickomuer@gmail.com> wrote:
>
>> Hi All,
>>
>> One of the received messages fell over when the following attribute was
>> present in the soap message:
>>
>> <soap:Header>
>> <CustomAttr  soap:mustUnderstand="1" >
>> <soap:Header>
>>
>> [Thu Oct 28 15:31:23 2010] [debug] apache2_worker.c(299) Client HTTP
>> version HTTP/1.1
>> [Thu Oct 28 15:31:23 2010] [debug] soap_builder.c(883) Identified soap
>> version is soap11
>> [Thu Oct 28 15:31:23 2010] [debug] phase.c(202) Invoke the handler
>> request_uri_based_dispatcher within the phase Transport
>> [Thu Oct 28 15:31:23 2010] [debug] req_uri_disp.c(97) Checking for service
>> using target endpoint address :
>> http://abc.def/axis2/services/ReceiveMessageAsync/
>> [Thu Oct 28 15:31:23 2010] [debug] req_uri_disp.c(117) Service found using
>> target endpoint address
>> [Thu Oct 28 15:31:23 2010] [debug] req_uri_disp.c(172) Checking for
>> operation using                              target endpoint uri fragment :
>> [Thu Oct 28 15:31:23 2010] [debug] phase.c(202) Invoke the handler
>> addressing_based_dispatcher within the phase Transport
>> [Thu Oct 28 15:31:23 2010] [debug] phase.c(202) Invoke the handler
>> rest_dispatcher within the phase Dispatch
>> [Thu Oct 28 15:31:23 2010] [debug] phase.c(202) Invoke the handler
>> soap_message_body_based_dispatcher within the phase Dispatch
>> [Thu Oct 28 15:31:23 2010] [debug] soap_body_disp.c(200) Checking for
>> operation using SOAP messagebody's first child's local name : Request
>> [Thu Oct 28 15:31:23 2010] [debug] phase.c(202) Invoke the handler
>> soap_action_based_dispatcher within the phase Dispatch
>> [Thu Oct 28 15:31:23 2010] [debug] soap_action_disp.c(108) Checking for
>> operation using SOAPAction :
>> http://htng.org/1.1/Listener.Wsdl#ReceiveMessageAsync
>> [Thu Oct 28 15:31:23 2010] [debug] soap_action_disp.c(139) Operation found
>> using SOAPAction
>> [Thu Oct 28 15:31:23 2010] [debug] phase.c(202) Invoke the handler
>> dispatch_post_conditions_evaluator within the phase PostDispatch
>> [Thu Oct 28 15:31:23 2010] [debug] phase.c(202) Invoke the handler
>> context_handler within the phase PostDispatch
>> [Thu Oct 28 15:31:23 2010] [error] engine.c(806) Must understand soap
>> fault occured
>> [Thu Oct 28 15:31:23 2010] [error] engine.c(283) Check for must understand
>> headers failed
>>
>>
>>
>> As a work around , i have changed , the following:
>>
>> ./axiom/include/axiom_soap_const.h:#define AXIOM_SOAP_ATTR_MUST_UNDERSTAND
>> "mustUnderstand"
>>
>> to
>>
>> ./axiom/include/axiom_soap_const.h:#define AXIOM_SOAP_ATTR_MUST_UNDERSTAND
>> "soap:mustUnderstand"
>>
>>
>> As i understand , the same is just prefixed with name space soap and
>> should not fail.... any thoughts ?
>>
>> Cheers!
>>
>
>

Mime
View raw message