axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Suriarachchi <amilasuriarach...@gmail.com>
Subject Re: How to tailor our generated client XML
Date Sat, 27 Feb 2010 14:27:56 GMT
On Fri, Feb 19, 2010 at 3:41 AM, Damian Carey <jamianb@gmail.com> wrote:

> Hello,
>
> We have created client software using ADB and a WSDL & XSD files
> supplied by a third party who controls the Web Service.  We have no
> control over the Web Service at all, and we are not yet able to test
> against it.
>
> We do have some sample XML as to what is expected. In checking our
> generated XML against the samples we noticed differences in the first
> two lines as follows.
>
> -------- OUR GENERATED first two lines  .......
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <XYZ_Quote>
>

you did you generate the xml?

>
> ------- 3rd PARTY EXAMPLES first two lines ........
> <?xml version="1.0" encoding="UTF-8"?>
> <XYZ_Quote xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="XYZ_Quote.xsd">
>
with ADB there is no way to add this. but without this you should be able to
invoke the service.

thanks,
Amila.


>
> Can anyone advise how to
> (1) remove the "standalone="yes"" from our generated xml
> (2) add the  "xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="XYZ_Quote.xsd"" to our generated xml.
>
> Any pointers, advice, suggestions would be greatly appreciated.
>
> Many thanks,
> -Damian
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Mime
View raw message