WSDL moving between servers
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2010
03:56 AM
09-30-2010
03:56 AM
WSDL moving between servers
Hi,
Please excuse any dumb questions - I'm very new to this!
OK, I have a WSDL file (dumped on my desktop, to be used for reference only).
I've created a SoapUI project from this, containing some unit tests.
This was done because the real deployed WSDL is on a server elsewhere, and it has security set so that I can't import the remote WSDL - I can only post to it.
How can I update my test project to point to the remote WSDL?
It seems that once the project has been created (from my sample WSDL) there's no way to change the target of the tests to the real server.
Can anybody help with some advice please?
Thanks
John.
Please excuse any dumb questions - I'm very new to this!
OK, I have a WSDL file (dumped on my desktop, to be used for reference only).
I've created a SoapUI project from this, containing some unit tests.
This was done because the real deployed WSDL is on a server elsewhere, and it has security set so that I can't import the remote WSDL - I can only post to it.
How can I update my test project to point to the remote WSDL?
It seems that once the project has been created (from my sample WSDL) there's no way to change the target of the tests to the real server.
Can anybody help with some advice please?
Thanks
John.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2010
07:17 AM
09-30-2010
07:17 AM
Ah, I may have answered part of my own question.
The WSDL should contain its own location on the target server.
The value held in LOCATION is used to populate the ENDPOINT value in the SoapUI test case.
This value tells the test where to run.
So in theory... if the WSDL moves to a new server, it should be updated with its new location.
Re-importing the WSDL should then update the tests to point to the new location.
The WSDL should contain its own location on the target server.
<wsdl:service name="xxxWebservices">
<wsdl:documentation>Collection of services provided by the xxx Web Service</wsdl:documentation>
<wsdl:port binding="tns:WebservicesSOAP" name="WebservicesSOAP">
<soap:address location="http://xxx,co.uk/services/Webservices"/>
</wsdl:port>
</wsdl:service>
The value held in LOCATION is used to populate the ENDPOINT value in the SoapUI test case.
This value tells the test where to run.
So in theory... if the WSDL moves to a new server, it should be updated with its new location.
Re-importing the WSDL should then update the tests to point to the new location.
