realbasic-nug
[Top] [All Lists]

Re: SOAPMethod.LoadWSDLFromURL

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: SOAPMethod.LoadWSDLFromURL
From: "Jim Dossey" <jim dot dossey at gmail dot com>
Date: Thu, 29 Jun 2006 14:12:21 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=GDS1E+lgZ9Py+uMVhifAyj4aKcazy8Gvw3p0zdVtSfUD91wNm5H8o97y3yAn5JiyfFkM87ptcxmrKgHMLLKVPsfaOPglU6Zd5NTWSv+ErfG6wetmB1DWXimfDqKYQFYhp9u3Ee56bQeY6X7bNQadl/dzooJBesAOZKiX+iJmqx8=
References: <4588ac300606281801s182a41f7n5e11f41e21181ef at mail dot gmail dot com> <44A362DF dot 1090702 at tallent dot com>
On 6/29/06, Stephen Tallent <stephen at tallent dot com> wrote:

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


Cool!  That worked!  Thanks for the help.
_______________________________________________
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>