It is often written that in document literal style - one has a lot of flexibility and one can do these two things specifically:
1. Validate the SOAP body against a schema
2. Use an XSLT stylesheet to modify the SOAP body XML. ( I have two versions of services and for one of them - I need to slightly modify the message body)
I have a document literal WSDL and I generated classes using WSDL2Java.
Everything works as expected but I can't do either of the above two things - XSLT or schema validation since the XML gets converted to objects before I can do anything with it. Any suggestions?
Thanks!
1. Validate the SOAP body against a schema
2. Use an XSLT stylesheet to modify the SOAP body XML. ( I have two versions of services and for one of them - I need to slightly modify the message body)
I have a document literal WSDL and I generated classes using WSDL2Java.
Everything works as expected but I can't do either of the above two things - XSLT or schema validation since the XML gets converted to objects before I can do anything with it. Any suggestions?
Thanks!