Forum Discussion

maneeshm's avatar
maneeshm
Occasional Contributor
15 years ago

Validate input/output xml

Hi All,

I am new to Soapui. I am using Soapui 3.5. We find the option 'Validate' very useful in validating the request and response xmls against the schemas and wsdls.
However the toll is not validating the fields within the <soapenv:Header>. When I give an invalid field, still it says validation ok.

Am i using an old version. Where am i going wrong?

8 Replies

  • maneeshm's avatar
    maneeshm
    Occasional Contributor
    Hi,

    I tried with soapui 3.6.1 and got the same thing. I am not sure if we have to change some settings so that the header portion also will get validated. Please help
  • maneeshm's avatar
    maneeshm
    Occasional Contributor
    Any help on the above. Anyone tried?/Anyone else faced the issue?
  • Hi!

    hmm.. does your WSDL define content for the SOAP header? If so, can you attach the WSDL so we can have a look?

    regards,

    /Ole
    eviware.com
  • maneeshm's avatar
    maneeshm
    Occasional Contributor
    Thanks. We have request/response header validation. I am using StatementIndicatorsServiceProvider.wsdl in the

    soapui project located at

    www\www\americanexpress\com\informationservice\service\ICS\StatementIndicatorsService. The request

    /response header validation happens at GlobalData.xsd under

    \www\www\americanexpress\com\schema\ICS\GlobalData. However the validation fails for the header part in

    soapui. Please help.
  • maneeshm's avatar
    maneeshm
    Occasional Contributor
    Hi Team,

    Did anyone get a chance to look at the wsdls.