aspose file tools*
The moose likes Web Services and the fly likes axis 1.4 maxOccurs writes out xsi:type - turn off Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "axis 1.4 maxOccurs writes out xsi:type - turn off" Watch "axis 1.4 maxOccurs writes out xsi:type - turn off" New topic
Author

axis 1.4 maxOccurs writes out xsi:type - turn off

Amy Saari
Ranch Hand

Joined: Sep 13, 2007
Posts: 30
If your wsdl uses maxOccurs and you want to turn off the writing of the xsi:type in the soap message you'll need to hack the axis source code - see COMMENT OUT THIS LOGIC below.

package org.apache.axis.encoding;

public class SerializationContext implements javax.xml.rpc.encoding.SerializationContext





cheers.
 
wood burning stoves
 
subject: axis 1.4 maxOccurs writes out xsi:type - turn off