Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

editing SOAP message when returning a List<Object[]> through a Web Service

843833Aug 19 2008 — edited Aug 20 2008
Hello,

I have a question regarding passing a List of Object Arrays over a Web Service.

In the method i pass in a SQL call which returns a result set
	public List<Object[]> InternetTest2() {
		List<Object[]> results = wdm.runQuery("call storedProcedureTest");
		return results;
	}
the problem here is that the SOAP message is generating a ton of overhead and i need to send this information over low bandwidth.
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
        <ns2:InternetTest2Response xmlns:ns2="http://edited/">
            <return>
                <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:long">1</item>
                <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:int">1</item>
                <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">edit</item>
                <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">edit</item>
                <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">edit</item>
                <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string"/>
            </return>
is there anyway to suppress all of this extra schema information.

ive done a number of searches but none have returned any usable information.

Any help would be greatly appreciated

Thank you very much,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 17 2008
Added on Aug 19 2008
1 comment
215 views