Hi, I am yet stuck at the same problem.
I have a WSDL file and I want to validate the incoming SOAP response message against this WSDL file on the fly. I am using Axis 1.4. Please do help me with some inputs as to how I can get this done. Thanks and Regards, Sneha 2009/3/17 Håkon Sagehaug <[email protected]> > hi > > not sure how your setup is, do you know the wsdl to validate messages from > in advance, or should it happen on the fly with possible unknown WSDL's? > > I'll give it a try if you know the WSDL's. If you are generating the client > code from the wsdl and using the xmlbeans binding, the one I know best, the > classes are generated from the schema in you wsdl and these will comply to > the schema. A thread on this topic is here [1], can be outdated since it's > from 07. Could also just complie using xmlbeans lib the XML schema into java > files and tro to parse the request into the correct object. > > Hope it helped > > cheers, Håkon > > [1] > > http://mail-archives.apache.org/mod_mbox/ws-axis-dev/200708.mbox/%3c1591849069.172751187664742011.javamail.corem...@bj163app121.163.com%3e > > 2009/3/17 Sneha Nikum <[email protected]> > > Hi All, >> >> I am stuck up at this place. >> >> Please please do help me with this problem. Please do reply with the >> solutions to the query >> >> Thanks >> Sneha >> >> >> On Mon, Mar 16, 2009 at 2:42 PM, Sneha Nikum <[email protected]>wrote: >> >>> Hi, >>> >>> I want to validate the SOAP response structure against the structure of >>> that response in the WSDL file. >>> >>> Are there any Axis APIs that would help me in achieving this task? >>> >>> Please let me know if there are any APIs that would help me do the above >>> task >>> >>> >> > > > -- > Håkon Sagehaug, Scientific Programmer > Parallab, Bergen Center for Computational Science (BCCS) > UNIFOB AS (University of Bergen Research Company) > -- Sneha Anil Nikum Don't get even with people get AHEAD of them!
