473,394 Members | 1,778 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

A little help please....

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
1 1310
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: rmn | last post by:
Hi, I'm looking for the translation betwen the color spaces, but I must be mistaken with the methods to use, losing the values. Please, I need a little help of a "coloured guru"....
3
by: Ron Stephens | last post by:
I posted to my web site a fun little program called merlin.py today. Please keep in mind that I am a hobbyist and this is just a little hack, if you look at the code you will see that it is still...
2
by: hicham | last post by:
Hi, I am looking for help, i would like to know how can i use the endian.h and config.h to convert compiled files under solaris from BIG-ENDIAN to compiled files LITTLE-ENDIAN. I am working...
2
by: Slash | last post by:
I often do a lot of text-mode programming in Linux and wanted to use colors in text mode, and found the ncurses library needlessly complex for small applications. So I wrote my own little header to...
8
by: Perception | last post by:
Hello all, If I have a C-like data structure such that struct Data { int a; //16-bit value char; //3 ASCII characters int b; //32-bit value int c; //24-bit value }
2
by: Daniel | last post by:
I'm new to .Net and all of its abilities so I hope this makes sense. Basically I'm confused on when is the appropriate time to use web forms controls vs. regular HTML. For example in ASP...
13
by: junky_fellow | last post by:
Hi guys, I need to convert a big endian integer to little endian integer. (the integer is 4 bytes in size on my implementation). I came up with the following code. I need your comments on...
3
by: ThaDoctor | last post by:
Hi. I am quite new to C++ so I think I would ask here what I am doing wrong with this code. I am writing a little game in a text console, but here is something that is in no way related to the...
23
by: Niranjan | last post by:
I have this program : void main() { int i=1; if((*(char*)&i)==1) printf("The machine is little endian."); else printf("The machine is big endian."); }
3
by: Ethan Furman | last post by:
len wrote: I've never had the (mis?)fortune to work with COBOL -- what are the files like? Fixed format, or something like a dBase III style? I
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.