Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SOAP/WSDL error ? Object doesn't support this property or method ?

117 views
Skip to first unread message

Julian Tucker

unread,
Sep 4, 2001, 8:50:46 AM9/4/01
to
Hello all,

I'm writing a simple (or so I thought) "Stock Broker" web service,
"WSBroker" in VB for a MSc project which has 3 "functions" ,

exposed in the WSDL file (attached). The WS is running on a Compaq Armada
lap top running IIS 5.0 over W2K.

The WSDL file was generated from a COM component "WSProxy" using the MS SOAP
Tookit 2.0 WSDL Generator.

One of the functions works, but the other 2 functions come back with the
error in the VB IDE debug window :

? err.Description
Object doesn't support this property or method

when I try to run the following code :

Dim sQuote As String

Set soapClient = CreateObject("MSSOAP.SoapClient")
Call soapClient.mssoapinit("http://localhost/WSBroker/WSBroker.wsdl",
"", "")

** sQuote = soapClient.GetQuote("88ED264C-D582-4D39-B197-9AADF0F832EB",
"abc123", "ENE")

** Errors here.

I have tested the COM objects behind the WSML file, and they work fine.
In this instance sQuote should return the string (XML)


<QUOTE><KEY>{DDA0BB37-ECF3-4D2C-9444-397E9A8A8DF3}</KEY><PRICE>38</PRICE><EX
PIRY>04-Sep-2001 13:25:29</EXPIRY></QUOTE>

Can anybody throw any light on this ?

Regards,

Julian.


Roger Wolter

unread,
Sep 4, 2001, 4:21:04 PM9/4/01
to
That generally means there's something wrong with your WSDL or WSML files.

"Julian Tucker" <julian...@enron.com> wrote in message
news:eWvj$AUNBHA.1476@tkmsftngp03...

Julian Tucker

unread,
Sep 5, 2001, 6:03:28 AM9/5/01
to
Roger,

These files were OK,

I was calling the soapclient.mssoapinit method with incorrect service port
parameters, as my underlying COM object has more than one class.

The corrected line is :

Call soapClient.mssoapinit("http://localhost/WSBroker/WSBroker.wsdl",

"WSBroker", "clsStockSoapPort")

Regards,,

Julian.

"Roger Wolter" <rwolte...@microsoft.com> wrote in message
news:#mjkg8XNBHA.1964@tkmsftngp05...

0 new messages