Trying to get to grips with Soap ands its not working as expected
I have followed the example on the site showing how to call screen scraper from using the DLL, that worked fine and i prooved that I can call the scrapes,
however I wanted to do more i.e. take the log file of the scrape and check for errors to automatically warn me of problems...
So I took the soap example (it warns of the wsdl code not be generated quite right and needing to change [] to [][] but I am not sure how I cast that in a response)...
anyway that warning didnt seem to affect me as I dont want the data set only the log file... now these are the lines of code
// This is the object used to call the remote API.
var soap = new ScrapingService.SOAPInterfaceClient();
// First, initialize the scraping session and remember
// the ID returned.
string id = soap.initializeScrapingSession("Comet-LG-All"); <-- this fails with the following error
"RPC message getLogRequest1 in operation getLog1 has an invalid body name getlog it must be getLog1".
I have no idea why its doing this and nowhere to find out ... can anybody guide me on .net implementation of soap... I want to get the LogFile of a scrape and check it...
Something obvious I have forgotten? do I need to hack the reference.cs to edit it to do [][] correctly?
Regards Julian
[email protected]