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 Java 8 in Action this week in the Java 8 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: axis 1.4 maxOccurs writes out xsi:type - turn off
 
Similar Threads
unable marshal XML representation to string in memory - please help
axis
AXIS 1.4 Response XML Help-Urgent
WSDL to Java not working
Problem of create Web Service Client