Hi there,
I've used WSDL2Java (Axis2) to generate my code using a WSDL that is
supplied by a rather large company that I have no control over.
However when I use the service that they expose they don't send some
elements if they are empty (in their system). However in their WSDL they
don't say these elements do not have the minOccurs="0" attribute. There
when I receive the response the code throws the dreaded unexpected
subelement exception.
So there is no way I can change the WSDL unless I do it manually -
which I don't want to do every time they send a upadate.
Is there any way to stop Axis from doing this? ie just ignore and carry
on parsing the response? Any pointers much appecriated as I'm a newbe here.
Thanks
- Any way to turn off the 'Unexpected subelement' message... Wayne
-