WSE, Datasets, help needed asap!
I've been working with the WSE Quickstart examples, I was able to write my own code to do what I need.. however I need a dataset to be returned..
I've tried a couple methods here and can't figure it out, can someone help me with whats wrong?
1. Obtained dataset from SQL server, converted dataset into xml, returned the class object which contained a 'xmlstring' and 'checksum'. This resulted in a 'Server unavailable'
2. Return the dataset directly instead of a class object. This resulted in a 'Server Unavailable'
3. I've tried the following "fix" to get a dataset, still no luck.
Please help me..
<SoapMethod("http://localhost/pftalk/ProviderRequest")> _
Dim resultEnvelopeAs SoapEnvelope
Dim dsAs DataSet
'ds = MyBase.SendRequestResponse("GetProviders", request).GetBodyObject(GetType(DataSet), SoapServiceAttribute.TargetNamespace)
'Return dsresultEnvelope =
MyBase.SendRequestResponse("GetProviders", request)ds = XmlSerializerCache.GetXmlSerializer(
GetType(DataSet), "http://localhost/pftalk").Deserialize(New StringReader(resultEnvelope.Body.InnerXml))ds = resultEnvelope.GetBodyObject(
GetType(DataSet))return ds
End
FunctionScott Taylor

