Re: Reading environment variables in services.xml

2009-05-25 Thread Chinmoy Chakraborty
the code may be like this: private static void createServiceXML(String serviceXmlDir, String serviceName) throws IOException, SAXException, ParserConfigurationException { File serviceXML = new File(serviceXmlDir); if (serviceXML.exists()) { return; } ser

RE: Reading environment variables in services.xml

2009-05-25 Thread Sirasani, Balaji
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 de

Re: Reading environment variables in services.xml

2009-05-25 Thread Chinmoy Chakraborty
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 y

RE: Reading environment variables in services.xml

2009-05-25 Thread Martin Gainty
//assume we have this services.xml http://www.w3.org/ns/wsdl/in-out"; class="org.apache.ws.axis2.ConnectSmMessageReceiverInOut"/> http://www.w3.org/ns/wsdl/in-only"; class="org.apache.ws.axis2.ConnectSmMessageReceiverInOnly"/> org.apach

Adding a library to Mave repo for SMS Transport

2009-05-25 Thread Charith Wickramarachchi
Hi devs, While making my first patch for the SMS transport for axis2 (For my gsoc project). i encounter following problem I was using jsmpp 2.0.1 library for the project but while making the maven project I got to know that jsmpp 2.0.1 library is not in a maven repo . Apache ServiceMix has added

Reading environment variables in services.xml

2009-05-25 Thread Sirasani, Balaji
Hi All, Is there a way to read 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. And also is there a way to define targetnamespace