Does the schema allow extensibility elements? If so we should be reading
those in correctly; if not its a bug.
Sanjiva.
Amila Suriarachchi wrote:
On 8/30/07, *Leon Hwang* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Greetings,
I am writing a server that returns an object, say User object,
containing only username.
I create a client using its wsdl (with option -d adb -uw -Eosv).
The client is able to retrieve username field correctly.
Later I added one more field to User object, say password, and
redeployed it to the server.
Now the client complains about the field with "unexpected subelement
password". (ADBException)
This will happen a lot in business world as their spec changes.
Is there some way (either in client or server) we can make it ignore
extra elements?
Please try this. change your complex type to
all instead of sequence. and see.
if the above is not works then the only option is to regenerate the code
with new schema. But please log a jira about this so that we will be
able to provide you a better solution.
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
Amila Suriarachchi,
WSO2 Inc.
--
Sanjiva Weerawarana, Ph.D.
Founder & Director; Lanka Software Foundation; http://www.opensource.lk/
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]