Any examples of this floating around?

S

smerf

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.
 
G

GhostInAK

Hello smerf,

As long as the call to the real webservice is done synchonously, you dont
need to do anything special.

-Boo
 
S

smerf

Boo,

Got any code examples? For instance, how do I call another webservice
from my webservice?

Thanks!
 
G

GhostInAK

Hello smerf,

Same way you're going to call your poxy service from your client.

-Boo
 
S

smerf

Got it.

For some reason I had it in my head that I needed to do something different
because it was a webservice. But, since the code behind the webservice is
no more than regular VB.Net code (but with a web interface), I shouldn't
have to, right?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top