axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <samisa.abeysin...@gmail.com>
Subject Re: [Axis2C] Setting SoapAction and SOAP version in a client
Date Thu, 13 Apr 2006 18:58:24 GMT
I have fixed the problem and posted the latest source package at 
http://people.apache.org/~samisa/
Please have a look.

Samisa...

Pete Robbins wrote:

>
>
> On 13/04/06, *Samisa Abeysinghe* <samisa.abeysinghe@gmail.com 
> <mailto:samisa.abeysinghe@gmail.com>> wrote:
>
>     Hi Pete,
>        You are correct, there seems to be a bug here; the API is supposed
>     to be such that you can call AXIS2_MEP_CLIENT_PREPARE_SOAP_ENVELOPE,
>     then get the soap envelope though the message context returned by that
>     call and set the SOAP version on that soap envelope. However, the
>     logic
>     in set SOAP version method of SOAP envelope seem to be commented
>     out, I
>     am not sure why, have to dig into the cuase to find out why.
>        Please raise a Jira on this.
>
>  
> I think the problem is in mep_client. The 
> axis2_mep_client_prepare_soap_envelope creates a msg_ctx which will 
> always have the default isSoap11 set to false. This flag is then used 
> to call axis2_soap_envelope_create_default_soap_envelope.
>  
> Rather than checking AXIS2_MSG_CTX_GET_IS_SOAP_11, which will always 
> be false, the code could use the value set by 
> AXIS2_MEP_CLIENT_SET_SOAP_VERSION_URI to determine the call to 
> axis2_soap_envelope_create_default_soap_envelope??
> Cheers,
>
> -- 
> Pete



Mime
View raw message