user ado.net

  • Thread starter Wendy Elizabeth
  • Start date
W

Wendy Elizabeth

Right now I am new to classic ASP and ASP.NET. I have a classic ASP program
running on a server in the DMZ. I need to consume a web service so that I can
consume data from that web service. However I am not able to call the web
service from the DMZ since the server can not send messages out on the
internet.

Thus, I need to send the call to another server running within the internal
area of the company's internet. I need to send this message to an IIS server
and then from the IIS server call the web service. I was thinking that I need
to call the service on the IIS server with an ADO.NET connection. This
ADO.NET connection object would be generated just long enough to call the web
service, get a response from the web serice, and return the message to the
server running in the DMZ.

Let me know if you think this would be a good solution and tell me how you
would setup this interface. (Should C#.NET or Visual Basic.NET be used or
some other lanaguge.)

Also after this solution works, I will need to implement this similar type
of solution to call other web services.

Let me know what a good solution would be and so code examples to follow.

Thanks
 
J

Jeff Dillon

So this server cannot browse to www.google.com for example?

Please define "can not send messages out on the internet".

Otherwise, create a web service on the other internal server, then have that
web service call the target webservice.

ADO.NET connects to databases and datasources.

Jeff
 
W

Wendy Elizabeth

Jeff Dillon said:
So this server cannot browse to www.google.com for example?

Please define "can not send messages out on the internet".

Otherwise, create a web service on the other internal server, then have that
web service call the target webservice.

ADO.NET connects to databases and datasources.

Jeff
 
W

Wendy Elizabeth

Jeff Dillion:

How would you have an Internal web service in Visual Basic .NET call an
outside external web service? Can you give some code examples?

Also for your information, the original server is within the company's DMZ
area. It is within the company's firewall. That is why it can not accesss the
internet.

How would you have this set up? An internal server that runs classic ASP
will call the
internal web service that runs on a Visual Basic.NET platform. The internal
Visual Basic.NET web service will call the external XML web service. The
external XML Web Service will return the call to the Internal web service
that runs on Visual Basic .NET. The Internal XML web service when then return
the information back to
the original internal classic Asp server.
 
J

Jeff Dillon

I don't have any code examples, but Google for web service calling another
web service. But it's very straightforward. Just find normal web service
calling code, and drop that code into the internal web service. There's
nothing special to it.

But your architecture description is correct.

Jeff
 
M

Mark Schupp

You will probably have better luck getting a response on one of the dotnet
groups. This is a traditional ASP group.

Does the dotnet server have internet access?
Why can't you just open an outgoing port in the firewall for the ASP server?
 

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

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,901
Members
47,439
Latest member
elif2sghost

Latest Threads

Top