by
Stephen >> Fri, 17 Dec 2004 3:46:53 GMT
How are people developing and testing their Web Services?
At the moment the whole process I'm going through is starting to get a little frustrating and prone to error.
Because you have to specifiy the Machine name within the URL setting of your webservice application (Eg. testserver.tenderlink.com) it makes it impossible to change on the fly.
At the moment when I make any changes to the webservice, I am having to change the machine name 3 times, and extract the consumer each time in between.
Within my development environment I have it set to "development.tenderlink.com" to do my development and initial testing.
Once its ready for testing and release I have to change the machine name to testserver.tenderlink.com, then extract the consumer. Then also change it to
www.tenderlink.com and re-extract it again.
Then for testing on the testserver, I have to load up the "testserver.tenderlink.com" version.
If its OK for live, then I have to load onto the live server the
www.tenderlink.com version.
It would be so much nicer if when you import the wsdl again as a web consumer, you could override the machine name specified, with your own setting.
For example, I have global settings on my aplication. So I could make a new property called say "Tenders Central Web Services URL:".
Then within all my different databases I could have my 3 different settings for the different databases I want to point to. It would make life so much easier.
When Jade imports a wsdl file and creates all the consumer classes, it must have a hidden property somewhere that contains the url to use. What is it?
And when the consumer generates a request it must grab this property either directly or via a method call - does anyone know what that method is so I can reimplement it?
I hope you all understand what I am meaning?!?
Thanks
Stephen