Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2006

Tip: Looking for answers? Try searching our database.

Calling a Web Service?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Donald - 03 Oct 2006 14:33 GMT
I need to consume a web service.  Here's my situation:

1) I need to consume a web service from an IBM AIX server/Web Sphere.
2) The IBM AIX Server is not on the same network as the IIS server that is
"hosting" the web service.  That is, the IBM AIX server cannot ping the IIS
server.
3) We have a application server (Windows 2003 server) that allows
communication from the IBM AIX server to the IIS server.

Here's a diagram of our architecture:

[IBM AIX Server]---------[Application Server]---------[Web Service/IIS server]
                           ^
                            |
                        [router]

Again, I need the IBM AIX server to consume the web service, but, it cannot
see the web service directly.  

Does anyone know of possible solutions?

Here's one solution I was thinking of:

1)  Create a TCP/IP relayer/forwarding application.  For example, I could
write a multi-threaded TCPIP listening service and place it on the
application server.  I could open a socket from the IBM AIX server to the
Application server and pass the parameters required by the web service.  The
application server could then call the web service and pass the data/xml back
through the open socket to the IBM AIX server.

Any other possible solutions?  Are there any products from Microsoft that I
can install on our application server that will do what I need?

Thanks.
John Saunders - 03 Oct 2006 15:47 GMT
>I need to consume a web service.  Here's my situation:
>
[quoted text clipped - 34 lines]
> I
> can install on our application server that will do what I need?

This isn't a web services problem. You need to talk to your network people.
That AIX machine needs to be able to see your IIS box using http and/or
https. There's nothing fancy about this at all.

John
Donald - 03 Oct 2006 16:18 GMT
Thanks for responding John.  I understand that this is a solution.  
Unfortunately, the Business will not allow the AIX server to be on the same
network as the IIS server.  I work for a large financial corporation and they
are very "picky" about isolating servers. I wish they would allow me to do
this, because it solves all the problems.

So my issue remains how do I call a web service when I can't see IIS?  Is
there a proxy server or relay server that is available (or do I have to write
my own)?

This is really the same problem for a n-tier application(?).  If a client
application needs to consume a web service but they only have access to a
middle tier/business layer, how does the client consume the web service/data
layer?

> >I need to consume a web service.  Here's my situation:
> >
[quoted text clipped - 40 lines]
>
> John
John Saunders - 03 Oct 2006 17:08 GMT
> Thanks for responding John.  I understand that this is a solution.
> Unfortunately, the Business will not allow the AIX server to be on the
[quoted text clipped - 14 lines]
> service/data
> layer?

It doesn't.

Your network people need to open a hole in the firewall. Period. Even if
you wrote some sort of proxy, how would the AIX box know how to access it?
What protocol would you use which would allow bits to travel from the AIX
box to the IIS box?

Your network people need to open a hole in the firewall. If they're
concerned about opening port 80, you can run your web service on some other
port. They could also require SSL or limit the firewall opening to just your
IIS box.

If they're saying that bits from your IIS box aren't secure enough for them,
then fundamentally, the AIX box can't use a Web Service. It's really that
simple.

John

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.