Hi,

I'm using Axis2/C version 1.6.0.

Here's my question: I have a server with 2 NICs (Network Interface Cards) on 
it. One NIC has the public IP address 207.102.214.78 (for example), and the 
other NIC has the private IP address 192.168.3.1.

So, my server has 2 IP addresses.

I'm using Axis2/C to build a service that supports a WSDL/SOAP API. So, I'm not 
using Apache Httpd or IIS, rather I'm using the "axis2_http_server.exe".

More specifically, I'm using the same code used to build the Axis2/C 
"axis2_http_server.exe", but I'm embedding this code in my own application by 
building the axis2/c code as a library that my application links to, and 
starting the service using the same code found in the main( ) method of:

"axis2c\src\core\transport\http\server\simple_axis2_server\http_server_main.c"

But since I've not modified the code at all, for all intents and purposes this 
is just the "axis2_http_server.exe" server being run from inside another 
application.

Although one advantage I have is that if the "axis2_http_server.exe" does not 
support a command line switch allowing me to configure the interface, but DOES 
(?) provide a programmatic way of setting the interface, then I can take 
advantage of that.

So, what I need to be able to do is "configure" or somehow "tell" the 
axis2_http_server what IP address(es) it should listen at for client requests.

Is there any way to do this?

thanks,
Patrick Cosmo
Incognito Software Inc.
Senior Software Design Engineer
T: +1(604)678-2855
F: +1(604)688-4339
E: pco...@incognito.com
www.incognito.com



-----Original Message-----
From: uthaiyashan...@gmail.com [mailto:uthaiyashan...@gmail.com] On Behalf Of 
Uthaiyashankar
Sent: Monday, July 06, 2009 10:59 PM
To: Apache AXIS C Developers List
Subject: Re: specifying the interface of the Axis2 web server

On Mon, Jul 6, 2009 at 10:53 PM, Patrick Cosmo<pco...@incognito.com> wrote:
> On a multi-homed machine, if I want the web server to listen on only
> one of the interfaces (specified by IP address), is there a way to do this?

I didn't get the question right. Can you explain a bit? Is it related to Apache 
Httpd or IIS? Which version of Axis2/C you are using?

Regards,
Shankar

>
>



--
S.Uthaiyashankar
Software Architect
WSO2 Inc.
http://wso2.com/ - "The Open Source SOA Company"

Reply via email to