Forum Discussion
Jim_Hutson_1022
Nimbostratus
Apr 11, 2007Access iControl Web Services Using MS Soap Toolkit
We have a large ASP (old-school ASP, not ASP.NET) codebase and would like to be able to clear cache entries in the bigip from an existing ASP tool that we have. Is it possible to use Microsoft's Soap Toolkit to access the iControl web services? I'm getting a really weird problem with bad characters in the SOAP response from iControl. I'm not concerned with the actual fault string in this response as we know we'll be able to get through that. I'm specifically concerned with the bogus "1fc" characters at the beginning of the response and the bogus "0" between two close tags near the end of the response. The soap toolkit seems to be especially intolerant of these superfluous characters and I'm not sure how to "pre-process" the raw response so that it can be parsed correctly. Please see the attached request and response. I can attach the soap headers as well if you'd like.
thanks,
jim hutson
director, applications development
pcworld communications
- From what I remember about the SOAP toolkit, there were a bunch of issues with compatibility in various web services. Before .NET came out, we did do some testing with it, but that was over 4 years ago and I do believe that MS has stopped support for that toolkit (not that that helps you...)
- Jim_Hutson_1022
Nimbostratus
thanks for the quick response on this. I'm using the MS Soap Toolkit 3.0, which is fairly recent (but deprecated nonetheless i think). I've been able to work around the user auth issue, so i'm no longer getting this particular faultstring. I can provide a full trace using the Trace Utility that came with the toolkit, but what i've attached is exactly what the utility is outputting (except for the request and response headers. That aside, the thing I'm trying to work through now is passing complex types to the web service. I'm able to run the attached code to call the LocalLBRAMCache::get_version() method. But as soon as i try to evict or get info on entries, i get "incorrect type" errors, presumably because the cache key is a complex type. Other than these speedbumps, i have to say that using the ms soap toolkit has been incredibly easy (just check out the 5 lines of code). I'll try to attach my working sample code.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects