[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webservices

reference.vb...and the web.config file?

Greg

9/8/2003 11:16:00 PM

What is the reference.vb file. How is it created? Can it or is there a
reason for it to be modified?

And the web. config file? For tracing, I have to alter the web.config file
but there isn't one in my project. I understand it inherits a web.config
file but from where?

I just looked at 3 books on web services, as created by VS.NET and none of
the books covered or explained any of this.

Thanks,
-hazz


3 Answers

v-lwang

9/9/2003 2:32:00 PM

0

Hi Hazzard,

"reference.vb" is a proxy class and it is created from service1.wsdl in the
same directory. VS.NET will generate it when we add a web reference. You
may modify it if you want create a Client That Uses WS-Security. For more
information, please check:
WS-Security Authentication and Digital Signatures with Web Services
Enhancements
http://msdn.microsoft.com/library/en-us/dnwssecur/html/wsseca...

Here is link about how to set up the Web.config configuration file. You may
check it for your reference.

Application Root Directory Configuration File (Web.config)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/c...
l/cpconapplicationrootdirectoryconfigurationfilewebconfig.asp

Hope this helps.

Best regards,
Lewis
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Hazzard" <hazz@sonic.net>
| Subject: reference.vb...and the web.config file?
| Date: Mon, 8 Sep 2003 16:16:04 -0700
| Lines: 14
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <OycS3AmdDHA.1044@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| NNTP-Posting-Host: dial-209-148-113-196.sonic.net 209.148.113.196
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:19263
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
| What is the reference.vb file. How is it created? Can it or is there a
| reason for it to be modified?
|
| And the web. config file? For tracing, I have to alter the web.config file
| but there isn't one in my project. I understand it inherits a web.config
| file but from where?
|
| I just looked at 3 books on web services, as created by VS.NET and none of
| the books covered or explained any of this.
|
| Thanks,
| -hazz
|
|
|

Greg

9/9/2003 4:50:00 PM

0

Thank you so much Lewis for your prompt and useful reply.
I had been trying to change some code in the reference.vb file to effect a
database call in an asynchronous web service. And it always broke the
previously working app.
I don't really have a computer science degree, I just imagined myself one on
T.V.

Appreciatively,
-Greg

"Lewis Wang [MSFT]" <v-lwang@online.microsoft.com> wrote in message
news:U%23dV18tdDHA.2000@cpmsftngxa06.phx.gbl...
> Hi Hazzard,
>
> "reference.vb" is a proxy class and it is created from service1.wsdl in
the
> same directory. VS.NET will generate it when we add a web reference. You
> may modify it if you want create a Client That Uses WS-Security. For more
> information, please check:
> WS-Security Authentication and Digital Signatures with Web Services
> Enhancements
> http://msdn.microsoft.com/library/en-us/dnwssecur/html/wsseca...
>
> Here is link about how to set up the Web.config configuration file. You
may
> check it for your reference.
>
> Application Root Directory Configuration File (Web.config)
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/c...
> l/cpconapplicationrootdirectoryconfigurationfilewebconfig.asp
>
> Hope this helps.
>
> Best regards,
> Lewis
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> --------------------
> | From: "Hazzard" <hazz@sonic.net>
> | Subject: reference.vb...and the web.config file?
> | Date: Mon, 8 Sep 2003 16:16:04 -0700
> | Lines: 14
> | X-Priority: 3
> | X-MSMail-Priority: Normal
> | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> | Message-ID: <OycS3AmdDHA.1044@tk2msftngp13.phx.gbl>
> | Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
> | NNTP-Posting-Host: dial-209-148-113-196.sonic.net 209.148.113.196
> | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
> | Xref: cpmsftngxa06.phx.gbl
> microsoft.public.dotnet.framework.aspnet.webservices:19263
> | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
> |
> | What is the reference.vb file. How is it created? Can it or is there a
> | reason for it to be modified?
> |
> | And the web. config file? For tracing, I have to alter the web.config
file
> | but there isn't one in my project. I understand it inherits a web.config
> | file but from where?
> |
> | I just looked at 3 books on web services, as created by VS.NET and none
of
> | the books covered or explained any of this.
> |
> | Thanks,
> | -hazz
> |
> |
> |
>


v-lwang

9/10/2003 1:19:00 AM

0

Hi Hazzard,

I'm very glad that the information helped resolve the problem.

Thanks very much for participating the community. ^_^

Best regards,
Lewis
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Hazzard" <hazz@sonic.net>
| References: <OycS3AmdDHA.1044@tk2msftngp13.phx.gbl>
<U#dV18tdDHA.2000@cpmsftngxa06.phx.gbl>
| Subject: Re: reference.vb...and the web.config file?
| Date: Tue, 9 Sep 2003 09:49:54 -0700
| Lines: 76
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <ujCTGKvdDHA.1884@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| NNTP-Posting-Host: dial-209-148-113-224.sonic.net 209.148.113.224
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webservices:19277
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
|
| Thank you so much Lewis for your prompt and useful reply.
| I had been trying to change some code in the reference.vb file to effect a
| database call in an asynchronous web service. And it always broke the
| previously working app.
| I don't really have a computer science degree, I just imagined myself one
on
| T.V.
|
| Appreciatively,
| -Greg
|
| "Lewis Wang [MSFT]" <v-lwang@online.microsoft.com> wrote in message
| news:U%23dV18tdDHA.2000@cpmsftngxa06.phx.gbl...
| > Hi Hazzard,
| >
| > "reference.vb" is a proxy class and it is created from service1.wsdl in
| the
| > same directory. VS.NET will generate it when we add a web reference. You
| > may modify it if you want create a Client That Uses WS-Security. For
more
| > information, please check:
| > WS-Security Authentication and Digital Signatures with Web Services
| > Enhancements
| > http://msdn.microsoft.com/library/en-us/dnwssecur/html/wsseca...
| >
| > Here is link about how to set up the Web.config configuration file. You
| may
| > check it for your reference.
| >
| > Application Root Directory Configuration File (Web.config)
| >
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/c...
| > l/cpconapplicationrootdirectoryconfigurationfilewebconfig.asp
| >
| > Hope this helps.
| >
| > Best regards,
| > Lewis
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| > --------------------
| > | From: "Hazzard" <hazz@sonic.net>
| > | Subject: reference.vb...and the web.config file?
| > | Date: Mon, 8 Sep 2003 16:16:04 -0700
| > | Lines: 14
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| > | Message-ID: <OycS3AmdDHA.1044@tk2msftngp13.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
| > | NNTP-Posting-Host: dial-209-148-113-196.sonic.net 209.148.113.196
| > | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
| > | Xref: cpmsftngxa06.phx.gbl
| > microsoft.public.dotnet.framework.aspnet.webservices:19263
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
| > |
| > | What is the reference.vb file. How is it created? Can it or is there a
| > | reason for it to be modified?
| > |
| > | And the web. config file? For tracing, I have to alter the web.config
| file
| > | but there isn't one in my project. I understand it inherits a
web.config
| > | file but from where?
| > |
| > | I just looked at 3 books on web services, as created by VS.NET and
none
| of
| > | the books covered or explained any of this.
| > |
| > | Thanks,
| > | -hazz
| > |
| > |
| > |
| >
|
|
|