RE: How create Prosy Class for soap.tcp

From: John Paul. A (JohnPaulA_at_discussions.microsoft.com)
Date: 11/23/04


Date: Tue, 23 Nov 2004 03:33:03 -0800

Dear MrDotNet,
Within the SDK, there is a tool called the Web Services Description Language
tool (WSDL.exe). This command-line tool is used to create proxy classes from
WSDL. For example, you could enter:

WSDL http://abc.xyz.com/testpage/HelloWorld/HelloWorld.asmx?WSDL

to create a proxy class called HelloWorld.cs.

Rgds,
John Paul. A

"MrDotNet" wrote:

> hi
> Here is my Web service and one Soapmethod how can I create proxy class for
> that and hows client access that web service. I try generated proxy class but
> that give me error.
> HELP.....
> Public Class WSE2Test
> Inherits SoapService
> <SoapMethod("CreateDataTable")> Public Function CreateDataTable(ByVal
> NCConnection As String, ByVal strSQL As String) As DataSet
> Try
> '......................
> ' Here some code fill out dataset
> return dataset
> Catch ex As Exception
> Throw ex
> End Try
> dbDA = Nothing
> dbCmd = Nothing
> dbConn = Nothing
>
> End Function
>
> --
> -MrDotNet MCAD, MCSD
> Sr. Software Engineer / Lead Architect
>



Relevant Pages

  • Re: proxy error when consuming web service
    ... public string GetQuote ... I *didn't* pass anything to the proxy property of the service ... 'Assume RemoteWebService is a remote web service proxy class. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • 401 Access Denied trying to contact web service
    ... I've created a proxy and colpiled it up. ... | UserName, String Password, String Group, String Application) ... What permissions are not properly set? ... BTW the app and the Web Service are on the same box. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: problem apparently with type conversion
    ... >> Property nameAs String ... >> Sub New ... > A copy of your type is created along with the Web Service proxy. ...
    (microsoft.public.dotnet.framework.webservices)
  • RE: Soap Response
    ... Try refreshing the proxy. ... Thread-Topic: Soap Response ... webservice as per the following code in the proxy class: ... Public Function process3ParmRequest(ByVal inputHeader As String, ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: how can i convert .asmx file to a .ashx?
    ... wsewsdl2.exe is a tool that generates proxy code for Web service clients ... The proxy derived from ... When you build an XML Web service client, whether you use Visual Studio .NET ... a proxy class is generated to communicate with the XML Web service. ...
    (microsoft.public.dotnet.framework.webservices.enhancements)