You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Dinesh Premalal <xy...@gmail.com> on 2008/03/24 12:15:37 UTC

MTOM sample failed !

Hi Devs,
 
   For me MTOM sample gives a failure, I'm not sure it is due to
   changes in HTTP transport. I'm looking into that problem now. 

thanks,
Dinesh

-- 
http://nethu.org

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


Re: MTOM sample failed !

Posted by Supun Kamburugamuva <su...@gmail.com>.
Hi All,

I'm not sure weather this is related to the MTOM failure. Echo sample
was failing few hours ago and I have fixed it. The failure was due to
the improper initialization of the svc_client http_headers field. Also
windows build was broken.

Regards,
Supun..

On Mon, Mar 24, 2008 at 5:14 AM, Manjula Peiris <ma...@wso2.com> wrote:
> In my machine client send the message without the SOAP envelope. This
>  may be a change in mime_output.c recently. Will try to fix it.
>
>  Thanks,
>  -Manjula
>
>
>
>  On Mon, 2008-03-24 at 16:46 +0530, Kaushalye Kapuruge wrote:
>  > Dinesh Premalal wrote:
>  > > Hi Devs,
>  > >
>  > >    For me MTOM sample gives a failure
>  > I tried it too. Failed :(
>  > -Kau
>  > > , I'm not sure it is due to
>  > >    changes in HTTP transport. I'm looking into that problem now.
>  > >
>  >
>  > > thanks,
>  > > Dinesh
>  > >
>  > >
>  >
>  >
>
>
>
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
>  For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>

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


Re: MTOM sample failed !

Posted by Dinesh Premalal <xy...@gmail.com>.
Hi,

Manjula Peiris <ma...@wso2.com> writes:

> In my machine client send the message without the SOAP envelope. This
> may be a change in mime_output.c recently. Will try to fix it.

Yes that's the problem, I think there is a unreachable code at
mime_output.c:248

  if (soap_body_buffer)
     {
         temp_soap_body_buffer = axutil_stracat(env, soap_body, AXIS2_CRLF);
         soap_body_buffer = temp_soap_body_buffer;
         soap_body_buffer_size = (int) axutil_strlen(soap_body_buffer);
     }

After I changed it to

if (!soap_body_buffer) , MTOM sample works fine. However I don't know
rational behind this unreachable code. Seems whoever changed this code
doesn't bother to run samples at least.

thanks,
Dinesh

-- 
http://nethu.org

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


Re: MTOM sample failed !

Posted by Manjula Peiris <ma...@wso2.com>.
In my machine client send the message without the SOAP envelope. This
may be a change in mime_output.c recently. Will try to fix it.

Thanks,
-Manjula


On Mon, 2008-03-24 at 16:46 +0530, Kaushalye Kapuruge wrote:
> Dinesh Premalal wrote:
> > Hi Devs,
> >  
> >    For me MTOM sample gives a failure
> I tried it too. Failed :(
> -Kau
> > , I'm not sure it is due to
> >    changes in HTTP transport. I'm looking into that problem now. 
> >   
> 
> > thanks,
> > Dinesh
> >
> >   
> 
> 


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


Re: MTOM sample failed !

Posted by Kaushalye Kapuruge <ka...@wso2.com>.
Dinesh Premalal wrote:
> Hi Devs,
>  
>    For me MTOM sample gives a failure
I tried it too. Failed :(
-Kau
> , I'm not sure it is due to
>    changes in HTTP transport. I'm looking into that problem now. 
>   

> thanks,
> Dinesh
>
>   


-- 
http://blog.kaushalye.org/
http://wso2.org/


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