By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,475 Members | 1,929 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,475 IT Pros & Developers. It's quick & easy.

user ado.net

P: n/a
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
Jul 21 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
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

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:62**********************************@microsof t.com...
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

Jul 21 '05 #2

P: n/a


"Jeff Dillon" wrote:
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

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:62**********************************@microsof t.com...
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


Jul 21 '05 #3

P: n/a
Did you forget to put in a response?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:31**********************************@microsof t.com...


"Jeff Dillon" wrote:
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

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:62**********************************@microsof t.com...
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


Jul 21 '05 #4

P: n/a
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.
"Jeff Dillon" wrote:
Did you forget to put in a response?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:31**********************************@microsof t.com...


"Jeff Dillon" wrote:
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

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:62**********************************@microsof t.com...
> 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


Jul 21 '05 #5

P: n/a
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
"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:99**********************************@microsof t.com...
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.
"Jeff Dillon" wrote:
Did you forget to put in a response?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:31**********************************@microsof t.com...


"Jeff Dillon" wrote:

> 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
>
> "Wendy Elizabeth" <We************@discussions.microsoft.com> wrote
in > message news:62**********************************@microsof t.com...
> > 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
>
>
>


Jul 21 '05 #6

P: n/a
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?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:99**********************************@microsof t.com...
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.
"Jeff Dillon" wrote:
Did you forget to put in a response?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:31**********************************@microsof t.com...


"Jeff Dillon" wrote:

> 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
>
> "Wendy Elizabeth" <We************@discussions.microsoft.com> wrote
in > message news:62**********************************@microsof t.com...
> > 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
>
>
>


Jul 21 '05 #7

P: n/a
Under References, add Web Reference in your project.

Jeff

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:99**********************************@microsof t.com...
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.
"Jeff Dillon" wrote:
Did you forget to put in a response?

"Wendy Elizabeth" <We************@discussions.microsoft.com> wrote in
message news:31**********************************@microsof t.com...


"Jeff Dillon" wrote:

> 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
>
> "Wendy Elizabeth" <We************@discussions.microsoft.com> wrote
in > message news:62**********************************@microsof t.com...
> > 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
>
>
>


Jul 22 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.