Thanks for that but it doesn¹t answer the issue we are having to do with
namespaces. It says in the Apache Axis 2 documentation
(http://ws.apache.org/axis2/1_4_1/mtom-guide.html) that MTOM was tested as
being backwards compatible with Axis1. Does anyone know who did that testing
by any chance? 

Thanks,
Ian



From: Deepal Jayasinghe <[EMAIL PROTECTED]>
Reply-To: <axis-user@ws.apache.org>
Date: Fri, 05 Sep 2008 10:03:05 -0400
To: <axis-user@ws.apache.org>
Subject: Re: Axis1 client talking to Axis2 server and MTOM

Have a look at the following article I think that might help you

http://wso2.org/library/3860

Ian Ashley wrote:
> I have an axis1 client talking to either an axis1 or axis2 server and need
> the servers to send compatible XML.
>
> I can get this work for requests that don¹t have attachments. For the
> requests that have attachments the axis1 server has no namespace defined for
> the tag (the asset tag in the example below) whereas the axis2 server leaves
> the namespace defined. This means that the code generated by WSDL2Java
> cannot find the asset element in the axis1 client when sending an attachment
> from the axis2 server or in the axis2 server when sending an attachment from
> the axis1 client.
>
> The axis1 client to the axis1 server works fine as both expect the tag to
> have no namespace.
>
> An example of the message sent from the axis1 client is
>
>  <soapenv:Body>
>     <GetAssetResponse xmlns="~/WebServices/">
>       <checkedOut xsi:type="xsd:boolean">true</checkedOut>
>       <asset href="cid:96D0FDF090417F92E5CC880A30C72560" xmlns=""/>
>     </GetAssetResponse>
>   </soapenv:Body>
>
> I have separate WSDLs for the axis1 and axis2 servers to get the attachments
> to work. Is there a way to alter either of the WSDLs so that either the
> axis1 client and server include a namespace in the asset tag or that the
> axis2 doesn't clears the namespace of the asset tag?
>
> Thanks,
> Ian
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>   

-- 
Thanks,
Deepal
................................................................
http://blogs.deepal.org/


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


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Reply via email to