axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8476] - Serialization: problem with multiRef id for complex call parms
Date Wed, 24 Apr 2002 16:47:01 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8476>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8476

Serialization: problem with multiRef id for complex call parms





------- Additional Comments From commerce@hschmitt.de  2002-04-24 16:47 -------
You can avoid multirefs by putting this handler in the chain before your 
handlers:

public class NoMultiRefHandler extends BasicHandler {
	public void invoke(MessageContext msgContext) throws AxisFault {
		/** Set the MultiRef Option to false.
		*/

		AxisEngine engine = msgContext.getAxisEngine();
		engine.setOption(AxisEngine.PROP_DOMULTIREFS, new 
Boolean(false));

	}


	public void undo(MessageContext msgContext) {

	}
}

I think there is an option you can set in the server.wsdd, but I don't know.
Maybe this is something for the FAQ.

Mime
View raw message