realbasic-nug
[Top] [All Lists]

Re: SOAPMethod.LoadWSDLFromURL

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: SOAPMethod.LoadWSDLFromURL
From: Stephen Tallent <stephen at tallent dot com>
Date: Thu, 29 Jun 2006 00:19:27 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <4588ac300606281801s182a41f7n5e11f41e21181ef at mail dot gmail dot com>
Jim Dossey wrote:
Is is possible to use the LoadWSDLFromURL method to load a WSDL file from
the local harddrive?  I've tried the following:

Dim sm As SOAPMethod
sm = new SOAPMethod
sm.LoadWSDLFromURL  "file:///c:/temp/mywsdlfile.wsdl"

But that causes a SOAPException.  Is this possible, and what am I doing
wrong?

I can't remember for certain and I am away from my dev box, but there is a way to do it. I believe you can set the wsdl file as a property of the SOAPMethod and it would probably be of type XMLDocument. If this is the case you would simply load the wsdl file into an xmldoc and set it as the wsdl property on the soapmethod. If this doesn't do it I will double check tomorrow for you.

-stephen

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>