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.
"Julian Tucker" <julian...@enron.com> wrote in message
news:eWvj$AUNBHA.1476@tkmsftngp03...
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...