By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,360 Members | 2,961 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,360 IT Pros & Developers. It's quick & easy.

A little help please....

P: n/a
I am really new to this .Net stuff, but I am wondering if you can help me
with a webservice issue.

I have 15 locations that need to access a webservice.

The webservice accepts XML and returns an xml response immediately.

The webservice we subscribe to will only take info from a single IP address,
so I need to create a sort of proxy at our main office that relays the XML
input and responses from and back to our locations.

The "proxy" should work like this..... The "proxy" would have its own
public webservice that allows our 15 locations to send XML to it.

Each location would send XML to our "proxy" like it was the actual
webservice and wait for a response from the "proxy".

The "proxy" should take the XML from the calling location, send it to the
actual webservice, get a response and send the un-altered response to the
calling location as a response to its call to the "proxy's" webservice.

Questions are.....(1) how do I keep the connection open to the calling
location while the webservice queries the actual webservice? and (2) how
would the "proxy" webservice create an object that can query the actual
webservice?

Any help you can offer would be greatly appreciated.

Sep 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
What your asking about is sometimes referred to as a service chain.

Your public webservice is just as capable of calling another webservice as
part of its method execution as a remote client is in calling your public
method, so chain your webservice methods together so when one of your 15
clients calls your webservice, the method they call actually calls the web
service that permits only 1 IP address. This also holds the connection open
for you as long as you dont try to make it an asynchronous method call.

I would suggest you read up a bit more on what webservices are and how they
work. This is a good link to help you on your way:

http://www.johntimney.com/home/redir.../012104-1.aspx

--
--
Regards

John Timney (MVP)
VISIT MY WEBSITE:
http://www.johntimney.com
"smerf" <sm***@shroom.comwrote in message
news:Pj*****************@bignews1.bellsouth.net...
>I am really new to this .Net stuff, but I am wondering if you can help me
with a webservice issue.

I have 15 locations that need to access a webservice.

The webservice accepts XML and returns an xml response immediately.

The webservice we subscribe to will only take info from a single IP
address,
so I need to create a sort of proxy at our main office that relays the XML
input and responses from and back to our locations.

The "proxy" should work like this..... The "proxy" would have its own
public webservice that allows our 15 locations to send XML to it.

Each location would send XML to our "proxy" like it was the actual
webservice and wait for a response from the "proxy".

The "proxy" should take the XML from the calling location, send it to the
actual webservice, get a response and send the un-altered response to the
calling location as a response to its call to the "proxy's" webservice.

Questions are.....(1) how do I keep the connection open to the calling
location while the webservice queries the actual webservice? and (2) how
would the "proxy" webservice create an object that can query the actual
webservice?

Any help you can offer would be greatly appreciated.

Sep 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.