Java Mailing List Archive

http://www.java2.5341.com/

Home » axis-user.ws »

How to tailor our generated client XML

Damian Carey

2010-02-18


Author LoginPost Reply
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>

------- 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">

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
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.