Cyberactiva - webmaster tutorials, programming and videogames tricks

webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu webmaster menu
  

Setting Source IP address of WebService Call

Setting Source IP address of WebService Call
I have an interesting problem...and its one of those where I know what I
want but don't know how to ask it =)

I have an eCommerce application that uses Paypal for its payment gateway.
It is an XML webservice that my eComm app makes the request to.
Well, It has to do so over a SSL link. Well...I have multiple SSL sites on
my Win2003 machine. Each IIS site has its own IP address so I can bind the
SSL Cert to each site. Well, the site that is using the webservice is NOT
using the default IP address of the machine.
Here is the IP scheme of my machine...
IP addresses:
192.168.100.2 (Has an SSL site)
192.168.100.3 (Has an SSL site)
192.168.100.4
Well, I think my problem is when I make the webservice call to Paypal from
the IIS site that is bound to 192.168.100.3, it is using 192.168.100.2 as
the source to make the request (verified by my firewall logs). Well, the
connection gets dropped since the application is not bound to 192.168.100.2.
I don't think its anything special as far as the consumption of the
webservice is concerned. In fact, it pulled in nicely to VS.net 05 for me.
If I set this up on a test server that does not have multiple IP addresses,
it works fine.
Is there anyway to set the source IP address of the application that is
consuming the webservice.
FYI: I can't really make any changes to the IP scheme
Any help would be great!
Thanks!
Eric
Register for freeMembers Area
Web MarketingLast Web Marketing
Web MarketingLast Programming Tips
Web MarketingLast News


Web Marketing Links and links exchange .