Hi all, I have a Webservice which returns an ArrayList of Objects to the client. Since the methods takes quite a bit to return I have taken a dump of the SOAP packet which is returned: The method is getAllViews and this is a small piece of it:
<ns1:getAllViewsResponse xmlns:ns2="http://oneoffice/tasklist" xmlns:ns1="http://oneoffice/filter"><return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">view2</return> | <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">view1</return> | <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">item18</return> | <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">item1</return> | <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">item7</return> | <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">item3</return> | <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">ff</return> | <return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">item3</return></ns1:getAllViewsResponse> As you can see there's a lot of information in the xmlns and xsi elements which bloat the SOAP package. How can I get rid of it so that I slim the SOAP packet ? I've tried with both @SOAPBinding(style = SOAPBinding.Style.RPC) and @SOAPBinding(style = SOAPBinding.Style.DOCUMENT) but the SOAP packet stays the same..... any idea ? thanks Marco View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221864#4221864 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221864 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user