I found the solution by hacking the client stub code by replacing the
Exception
int parse-method 
 
                throw new org.apache.axis2.databinding.ADBException(
                "Unexpected subelement " +
                reader.getLocalName());
 
with

object.setSalesorder_response(Msg_salesorder_soap_responseType.Factory.p
arse(reader)); 

=> The resulting POJO is still created right !

/S
 
________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: 4. huhtikuuta 2008 10:53
To: axis-user@ws.apache.org
Subject: Turning off Schema validation in Axis2 1.3





Hello 

There has been quite a lot discussion of schema validation 
in Axis2 and I have understood that omitting validation is possible only
in JIXB model 
or how would it be possibe with ADB ? 

It would be nice to bybass validation in runtime but generation time is
enough. 

I now use version Axis2 1.3 

br. Sakari 

Reply via email to