Sagar,
I cannot confirm this but I will tell you
my view.
The WSDL u generate in the development
environment need not be regenerated at the Production environment. The first
WSDL that u created is used to generate the stubs and skeletons and get the
deploy.wsdd file. Once you deploy the Web Service then only the deployment is
complete. At this time the URL will be of dev or Prod env depending upon where u
have deployed it.
Your client side call can do this
TestIFService service = new
TestIFServiceLocator();
TestIF gatewayIF =
service.getTestService(new URL(Property.WEBSERVICE_TARGET_URL));
to call the Web Service.
The only thing you should take care when
you put classes on to the production env is that you should deploy the web
service by copying the depoly.wsdd to server-config.wsdd or using the
AdminClient tool ( IF it works ).
I hope i am right here. If not somebody
guide us :)
Cheers
Dhanush
|
- DO you need to regenreate WSDLs everytime you switch serv... Sagar Pidaparthi
- Dhanush Gopinath