Advanced Soap communication with traditional ASP
- From: ashton <ashton@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 16 May 2005 09:02:31 -0700
Hello,
I've used SOAP to communicate before, and it has always been straightforward:
Set Client = Server.CreateObject("MSSOAP.SoapClient.1")
Client.mssoapinit "c:\InetPub\Server\File.wsdl"
Client.Authenticate("username","password")
I have a new project that involves working with a Soap server that was built
using .Net technology (something I don't have the option of upgrading to). I
can't seem to connect using the standard approach above and I'm not entirely
sure if it is even possible to connect to them using traditional asp.
When I look at their C# example file they do a lot of OO style programming,
like this:
Authenticate req = new Authenticate();
req.username = "test";
req.password = "testpassword";
AuthenticationSoapBinding bind = new AuthenticationSoapBinding();
bind.Url = bind.Url.Replace(DEFAULT_ENDPOINT, CURRENT_ENDPOINT);
AuthenticateResponse resp = bind.Authenticate(req);
I don't even know where to start on how to do something like this using
traditional asp.
So, are there examples of using ASP to connect to .NET soap environments
like this? Examples of building Soap objects using the MSSOAP client?
Any help would be appreciated
.
- Prev by Date: Re: Serverobjects AspMail Problem
- Next by Date: Re: Serverobjects AspMail Problem
- Previous by thread: aspSmartImage HELP!
- Next by thread: ASP - PDF annotation
- Index(es):
Relevant Pages
|