On 8/30/07, Leon Hwang <[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]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to