Forum Discussion
Are you talking about Update Definition( of WSDL) for a service interface?
Do you update it using right click on the service interface or you do it programatically?
There are different options available without affecting your test cases while updating definition, see the screen shot; marked the possible optionals which might help you.
And also you would be able to have some random sample values instead of '?' by changing the File -> Preferences -> WSDL Settings -> Sample Values (mark checked)
Hi Rao,
thanks for your answer.
Yes, I'm talking about Update Definition( of WSDL) .
I update it using right click on the interface.
Unfortunately the options you mentioned do not solve my problem.
I need to update the test requests because of a new fields.
The option to keep existing values works just fine.
But I also need the option to recreate optional content, because otherwise I lose values of optional fields.
With these 2 options the end result is nearly perfect. But there are 2 points Ihave a problem with:
- All fields that haven't been filled before, get filled with "?"
- All optional arrays that were not created before get created and filled up with one value of "?".
Is there no way to only recreate existing values?
Here is an example of what I mean:
Before
"activeUnicodeKeys" empty.
"terminateCommandKeys" not created.
After
"activeUnicadeKeys" with "?".
"terminateCommandKeys" creaed and with a "?".
best regards,
Michael
- nmrao11 years agoCommunity HeroI believe that * indicates mandatory element, otherwise optional. So, if you dont want optional element, just remove itself in the original request or you will be shown different options while creating a request. And soapui shows ? by default for all the elements, have you seen the note regarding the preferences in previous reply to avoid ? mark with example value?
And not aware of Array type.