Home All Groups Group Topic Archive Search About

Any examples of this floating around?

Author
24 Sep 2006 7:47 PM
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.

Author
24 Sep 2006 8:55 PM
GhostInAK
Hello smerf,

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

-Boo

Show quoteHide quote
> 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.
>
Author
24 Sep 2006 10:05 PM
smerf
Boo,

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

    Thanks!


Show quoteHide quote
"GhostInAK" <ghosti***@gmail.com> wrote in message
news:c71747b43112c8c8adefe55f8f4e@news.microsoft.com...
> Hello smerf,
>
> As long as the call to the real webservice is done synchonously, you dont
> need to do anything special.
>
> -Boo
>
>> 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.
>>
>
>
Author
24 Sep 2006 10:49 PM
GhostInAK
Hello smerf,

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

-Boo

Show quoteHide quote
> Boo,
>
> Got any code examples?  For instance, how do I call another
> webservice from my webservice?
>
> Thanks!
>
> "GhostInAK" <ghosti***@gmail.com> wrote in message
> news:c71747b43112c8c8adefe55f8f4e@news.microsoft.com...
>
>> Hello smerf,
>>
>> As long as the call to the real webservice is done synchonously, you
>> dont need to do anything special.
>>
>> -Boo
>>
>>> 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.
>>>
Author
25 Sep 2006 2:26 AM
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?



Show quoteHide quote
"GhostInAK" <ghosti***@gmail.com> wrote in message
news:be1391bf1992e8c8adffce395250@news.microsoft.com...
> Hello smerf,
>
> Same way you're going to call your poxy service from your client.
>
> -Boo
>
>> Boo,
>>
>> Got any code examples?  For instance, how do I call another
>> webservice from my webservice?
>>
>> Thanks!
>>
>> "GhostInAK" <ghosti***@gmail.com> wrote in message
>> news:c71747b43112c8c8adefe55f8f4e@news.microsoft.com...
>>
>>> Hello smerf,
>>>
>>> As long as the call to the real webservice is done synchonously, you
>>> dont need to do anything special.
>>>
>>> -Boo
>>>
>>>> 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.
>>>>
>
>