Ask a Question related to ASP.NET Web Services, Design and Development.
-
Mr. M #1
Soap request
How to invoke a web service, using the soap request protocol, without
creating a Web reference to the service.???
Thanks.
Mauri.-
Mr. M Guest
-
#39406 [NEW]: Wrong namespaces in SOAP request
From: mail at martin-probst dot com Operating system: MacOS PHP version: 5.2.0 PHP Bug Type: SOAP related Bug description: ... -
fails to parse the soap request
I am new to this module and unsure how to call the remote method. However, when it fails to parse the soap request and I don't know why it... -
Changing default response tag from soap request
Hi there, I have a webservice which has a method called "DeliverReq". The soap envelope looks like this (simplified) <envelope> <header>... -
soap request problem
I can do simple soap-request in coldfusion using cfscript and webservices. For example: <cfscript> ws = createObject('webservice',... -
Soap request with coldfusion
Hello, I can do simple soap-request in coldfusion using cfscript and webservices. For example: <cfscript> ws = createObject("webservice",... -
Mickey Williams #2
Re: Soap request
Creating a web reference is just a convenient way to ask Visual Studio to
create a proxy for you. In large apps we typically create our own proxies
that are distributed as assemblies. You can use a VS-generated proxy as a
starting point - just create a web reference, then look at the generated
proxy code.
// namespaces elided
namespace MyApp.WebServiceProxy
{
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("c ode")]
[System.Web.Services.WebServiceBindingAttribute(Nam e="MyServiceSoap",
Namespace="http://www.servergeek.com/demos/2004")]
public class MyService: SoapHttpClientProtocol
{
public MyService(string url)
{
this.Url = url;
}
[SoapDocumentMethod("http://www.servergeek.com/demos/2004",
RequestNamespace="http://www.servergeek.com/demos/2004",
ResponseNamespace="http://www.servergeek.com/demos/2004",
Use=SoapBindingUse.Literal,
ParameterStyle=SoapParameterStyle.Wrapped)]
public string Hello(string message)
{
object[] results = this.Invoke("Hello", new object[] {message});
return ((string)(results[0]));
}
}
}
--
Mickey Williams
Author, "Microsoft Visual C# .NET Core Reference", MS Press
[url]www.servergeek.com[/url]
"Mr. M" <mauriciom@NO_SPAMinfocorp.com.uy> wrote in message
news:%23tLgnbyGEHA.3940@tk2msftngp13.phx.gbl...> How to invoke a web service, using the soap request protocol, without
> creating a Web reference to the service.???
>
>
> Thanks.
> Mauri.-
>
>
Mickey Williams Guest



Reply With Quote

