'recreate a default request from schema' does not seem to work as expected.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2007
10:39 AM
06-04-2007
10:39 AM
'recreate a default request from schema' does not seem to work as expected.
Hello,
I have project with multiple test suites and multiple test cases. Recently development decided to update the WSDL definition by changing the namespaces. What I did to update my tests was to 'update the definition' and then go to each of my test cases and clicked on 'recreate a default request from schema'. While doing this one of the questions asked is 'keep existing values'. I would assume that if you choose 'Yes', it would keep the existing values. However, my request object gets replaced by the default request object from the wsdl definition. Is this expected ?
Secondly, I was thinking that it would probably be easier to open the XML file in notepad and just copy / replace the updated namespace. This would be the easiest and preferred way since testcases and property transfers are referencing the old namespace and need to be updated.
for instance the old namespace was
xmlns:user="http://coreservices.tvguide.com/v2/userprofile">
and the new name space is
xmlns:user="http://services.tvguide.com/v2/userprofile">
Can I just do a copy/replace in notepad ?
Thanks
Ali
I have project with multiple test suites and multiple test cases. Recently development decided to update the WSDL definition by changing the namespaces. What I did to update my tests was to 'update the definition' and then go to each of my test cases and clicked on 'recreate a default request from schema'. While doing this one of the questions asked is 'keep existing values'. I would assume that if you choose 'Yes', it would keep the existing values. However, my request object gets replaced by the default request object from the wsdl definition. Is this expected ?
Secondly, I was thinking that it would probably be easier to open the XML file in notepad and just copy / replace the updated namespace. This would be the easiest and preferred way since testcases and property transfers are referencing the old namespace and need to be updated.
for instance the old namespace was
xmlns:user="http://coreservices.tvguide.com/v2/userprofile">
and the new name space is
xmlns:user="http://services.tvguide.com/v2/userprofile">
Can I just do a copy/replace in notepad ?
Thanks
Ali
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2007
10:59 AM
06-04-2007
10:59 AM
Hi Ali,
you are right.. changing the namespace will result in this behaviour.. the "Keep existing values" will only work if the namespace is the same (and for elements that have not been renamed.. ).. I'll clarify this in user-guide for the next release.
Also, you are right regarding the replace in notepad, it should be much easier that way..
WSDL refactoring like you describe is another one of the top issues we want to support.. stay tuned 🙂
regards,
/Ole
eviware.com
you are right.. changing the namespace will result in this behaviour.. the "Keep existing values" will only work if the namespace is the same (and for elements that have not been renamed.. ).. I'll clarify this in user-guide for the next release.
Also, you are right regarding the replace in notepad, it should be much easier that way..
WSDL refactoring like you describe is another one of the top issues we want to support.. stay tuned 🙂
regards,
/Ole
eviware.com
