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]

Reply via email to