=?Utf-8?B?V2VuZHkgRWxpemFiZXRo?=
<> wrote in
news:CBAA32A7-BCB8-4DD4-902F-:
> This web config file needs to be able to do the following:
>
> 1. The user will submit the request to a sql server 2000 database
> (that resides on a different that where the vb.net application will be
> running). 2.. The vb.net code will that submit the request for data to
> the hp mainframe by using http and xml.
A web config doen't do anything - it just stores data. And to complicate
matters, the web.config is readonly
> Thus my questions are:
>
> 1. How do you setup a connection and retrieve data from the sql server
> 2000 database that resides with the company's intranet? This will
> somehow need to include a connection object and statements oh how to
> connect to the SQL server 2000 database. The user name and password
> are suppose to be passed to the sql server as part of the connection
> string.
Pass the connection string info from the ASP.NET. In the contructor of
the DLL allow a connection string to be specified? That may work.
> 2. How would I request to the HP mainframe using soap, http,
> and xml to wrap up the request?
Use the HTTPRequest, SOAP, or XML classes in .NET to do this ; )
--
Lucas Tam ()
Please delete "REMOVE" from the e-mail address when replying.
http://members.ebay.com/aboutme/coolspot18/