Thanks a lot!! it solves my problem.
From: Chinmoy Chakraborty [mailto:cch...@gmail.com]
Sent: Monday, May 25, 2009 8:54 PM
To: axis-dev@ws.apache.org
Subject: Re: Reading environment variables in services.xml
the code may be like this:
private static void createServiceXML(String
//assume we have this services.xml
?xml version=1.0 encoding=UTF-8?
!-- This file was auto-generated from WSDL --
!-- by the Apache Axis2 version: 1.4 Built on : Apr 26, 2008 (06:24:30 EDT)
--
serviceGroup
service name=connectSm
messageReceivers
messageReceiver
Can we define targetnamespace and service name at runtime? i.e by reading
environment variable is it possible to set targetnamespace and service name
in services.xml.
-- Yes you can. Create the service.xml at runtime (programatically) and
deploy the service programatically at runtime..make sure
Create the service.xml at runtime (programatically).
Can you please share any examples if you have?
From: Chinmoy Chakraborty [mailto:cch...@gmail.com]
Sent: Monday, May 25, 2009 8:34 PM
To: axis-dev@ws.apache.org
Subject: Re: Reading environment variables in services.xml
Can we
*Subject:* Re: Reading environment variables in services.xml
Can we define targetnamespace and service name at runtime? i.e by reading
environment variable is it possible to set targetnamespace and service name
in services.xml.
-- Yes you can. Create the service.xml at runtime