M
Molalla Attenborough
If I go to the following public service WSDL @
http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx?WSDL
I see the following section:
<s:complexType name="Quote">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CompanyName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="StockTicker" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="StockQuote" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="LastUpdated" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Change" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="OpenPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DayHighPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DayLowPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Volume" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="MarketCap" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="YearRange" type="s:string" />
</s:sequence>
</s:complexType>
How do I get my service written in vb.net to return this info in the
autogenerated WSDL?
I am currently using code that looks like this:
<WebMethod()> Public Function GetContacts() as XmlDataDocument
Dim MyData as New Dataset1
oleDbDataAdpater1.Fill(MyData)
Dim dataDoc as new xmlDataDocument(MyData)
return dataDoc
Any suggestions?
TIA
http://www.swanandmokashi.com/HomePage/WebServices/StockQuotes.asmx?WSDL
I see the following section:
<s:complexType name="Quote">
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CompanyName" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="StockTicker" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="StockQuote" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="LastUpdated" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Change" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="OpenPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DayHighPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="DayLowPrice" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Volume" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="MarketCap" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="YearRange" type="s:string" />
</s:sequence>
</s:complexType>
How do I get my service written in vb.net to return this info in the
autogenerated WSDL?
I am currently using code that looks like this:
<WebMethod()> Public Function GetContacts() as XmlDataDocument
Dim MyData as New Dataset1
oleDbDataAdpater1.Fill(MyData)
Dim dataDoc as new xmlDataDocument(MyData)
return dataDoc
Any suggestions?
TIA