function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
GrahamGraham 

Capturing of the message body of a call?

I'm looking at some partner forms, and it says:

"If you exercise the query and querymore calls, provide a capture of the message body for all of your static queries."

I'm using ASP.Net and vb, how do I go about capturing this message?
zakzak
I have a bunch of tracing tools that can help you capture this, YATT is probably the easiest, http://www.pocketsoap.com/YATT. However by default the API uses SSL, which makes message capture impossible, so you'll need to tweak your code to make sure its using HTTP instead of HTTPS, so you can capture the messages.
GrahamGraham
Zak-
Thanks for the reply. How would I tweak my code to accomplish this? Is there another way?

Thanks,
Graham
zakzak
There's an Url property on the SforceService proxy object, make calls to update that. There's no other way that i know of, you can't wire capture SSL, that's the whole point of it.

Cheers
Simon
DevAngelDevAngel
So you would do a sforce.url.replace("https:", "http:");
zakzak
sforce.url = sforce.url.replace("https:", "http:");