Forum Discussion

kgrogan0321's avatar
kgrogan0321
New Contributor
16 years ago

Sample Request generation acting strange

Hello,
For some reason when soapui generates the samples requests, it is filling in with non-English Data (i.e. French i think).  So therefore my request is failing because t is not validating with the schema.  It did not do this before, and i have not changed any settings.  Any help or thoughts would be greatly appreciated.  I have already uninstalled and reinstalled soapui and i have had no luck yet.

Thanks!
Karen
  • Hi Karen,


    The sample values (in Latin, not in French) are created because of your soapUI Preferences.
    If you dislike having these sample values or having to adjust them by hand, you can turn them off by ticking off WSDL Settings->Sample Values checkbox. After adding WSDL again, the new sample requests will have no sample values.

    Does this help?

    Why does your server does not validate the sample requests with these sample values in Latin and on top of that when validating against the schema is beyond me. Sample values are meant not to interfere with WSDL so this validation error may  be specific to your server side.


    Cheers!
    /Nenad Nikolic
  • Yes that helps thank you very much. Yes I realized they were Latin eventually   I am not sure why it is not validating, it has a problem with the id attribute not being a number.  It seems to only get fussy with the attribute values.  The project I am on uses nested schemas that are a subset of the NIEM which is a standard for information exchanges, all of which are validated in this black box that processes the xml, so whatever the box is doing is beyond me.  Maybe it is something with the schemas I am using and the box doesnt like it.  It seems to validate when I hand code the instance though. 

    Very helpful, Thanks so much!
    Karen