General question

From: Peter Schmitz (PeterSchmitz_at_discussions.microsoft.com)
Date: 03/25/05


Date: Fri, 25 Mar 2005 04:01:01 -0800

Hi,

one newbie general question:

I just started to write a vb.net webservice that is consumed by a .net
application (client). Now, as there may be lots of clients for one web
service when I release the application, each client has to be configurated to
use the correct url to the webservice. Now, this can be done by setting the
.url property like this:

.url = "http://www.anyserver.com/test.asmx"

The url string has to end with *.asmx to point to the actual asmx- file.
But, when I take a look at my test.asmx I can see something like this:

<%@ WebService Language="vb" Codebehind="test.asmx.vb" Class="test.Service1"
%>

Here comes my question: The codebehind statement indicates that I'll need to
ship the *.vb file with my souce code to let this work - but I just wanted to
ship the compiled dll and not my source code. How do I have to set the
statement above so that it makes use of the compiled dll and does not need
any *.vb files?

thanks a lot
Peter



Relevant Pages

  • Re: WSE352 Size of the record exceed its limit
    ... The webservice is a WSE service component soap client. ... you're developing an .net webservice which uses WSE ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Error on SOAP Call on only one machine: Could not find default endpoint element that references
    ... "Service Reference" is a proxy class used for consuming WCF service. ... Though WCF client can also consume standard XML webservice, ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Webservice problem (after iisreset)
    ... I was speaking about whatever means you're suing the make the call from the client. ... If it already waits one minute for the failure then it sounds like the timeout is already high enough. ... So use wsdl.exe to generate a .NET proxy to your webservice to see if that style of client has the same problems or not. ... If it does, then it sounds like something on the server, if it does not then it's likley your HTC framework. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: How does the client of a webservice figure out a complex type
    ... attribute with a hint for the client side proxy this is a DataSet. ... >if the wsdl does not contain any reference, ... >> As for how webservice client figure out a complex type, ...
    (microsoft.public.dotnet.framework.webservices)
  • asynchrone Webmethode
    ... Dieser Webservice empfängt vom Client (WinForm-Applikation) ... Diese Anfrage und die zugehörige Datei soll in eine Queue gestellt ... Webservice die Resultat-Binärdatei abholen. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)