473,382 Members | 1,375 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,382 software developers and data experts.

user ado.net

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
7 1156
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


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

Similar topics

60
by: Fotios | last post by:
Hi guys, I have put together a flexible client-side user agent detector (written in js). I thought that some of you may find it useful. Code is here: http://fotios.cc/software/ua_detect.htm ...
3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
1
by: Shourie | last post by:
I've noticed that none of the child controls events are firing for the first time from the dynamic user control. Here is the event cycle. 1) MainPage_load 2) User control1_Load user clicks a...
7
by: jsale | last post by:
I'm currently using ASP.NET with VS2003 and SQL Server 2003. The ASP.NET app i have made is running on IIS v6 and consists of a number of pages that allow the user to read information from the...
0
by: tony | last post by:
Hello! This is a rather long mail but it's a very interesting one. I hope you read it. I have tried several times to get an answer to this mail but I have not get any answer saying something...
2
by: rn5a | last post by:
Assume that a user control (MyUC.ascx) encapsulates 2 TextBoxes with the IDs 'txt1' & 'txt2' respectively. To use this user control in an ASPX page, the following Register directive will be...
1
by: Carlettus | last post by:
Dear All, sorry but I'm not sure if this is the right place to post my problem. I was using the following asp code to create users in Active Directory. Suddenly, and I don't know the reason, users...
0
by: rbukkara | last post by:
Hi, I have got the following error while trying to add a user in the LDAP Directory. javax.naming.NameNotFoundException: ; remaining name 'uid=vassila,ou=People,dc=cs,dc=uno,dc=edu' I have...
9
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.