Answered by:
Do the 2007 SOAP endpoints support SOAP compression?

Question
-
I have a client who uses the 2007 endpoints and would prefer to increase transmission speed by using SOAP compression. I 'Bing'ed but came up short of any verifiable proof that this was supported with the 2007 endpoints. If he tries to send a zipped SOAP request to the 2007 endpoint, this is the response he receives:
Is this explicitly not supported or do we need a different encoding to make this work?<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <soap:Fault> <soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code> <soap:Reason> <soap:Text xml:lang="en">Server was unable to process request. ---> '', hexadecimal value 0x1F, is an invalid character. Line 1, position 1.</soap:Text> </soap:Reason> <soap:Detail /> </soap:Fault> </soap:Body> </soap:Envelope>
- Moved by Don ChangModerator Tuesday, March 15, 2011 5:51 PM Dev question (From:Dynamics CRM)
Monday, March 14, 2011 9:20 PM
Answers
-
I don't think so, but you could write a WCF or some other listener app that you could put on the CRM server that could process the compression and that app could then act as a relay to the service as a workaround.
Jamie Miley
http://mileyja.blogspot.com
LinkedIn Profile- Proposed as answer by Jamie MileyModerator Tuesday, March 15, 2011 9:33 PM
- Marked as answer by RhettClintonMVP, Moderator Wednesday, March 16, 2011 10:44 PM
Tuesday, March 15, 2011 6:07 PMModerator -
Thank you for the feedback, Jamie. I realized that I didn't mention that this was for CRM Online. I suppose that we could create an Azure web role that would receive the request, decompress and pass along to CRM.
- Proposed as answer by Jamie MileyModerator Tuesday, March 15, 2011 9:33 PM
- Marked as answer by RhettClintonMVP, Moderator Wednesday, March 16, 2011 10:44 PM
Tuesday, March 15, 2011 6:53 PM
All replies
-
I don't think so, but you could write a WCF or some other listener app that you could put on the CRM server that could process the compression and that app could then act as a relay to the service as a workaround.
Jamie Miley
http://mileyja.blogspot.com
LinkedIn Profile- Proposed as answer by Jamie MileyModerator Tuesday, March 15, 2011 9:33 PM
- Marked as answer by RhettClintonMVP, Moderator Wednesday, March 16, 2011 10:44 PM
Tuesday, March 15, 2011 6:07 PMModerator -
Thank you for the feedback, Jamie. I realized that I didn't mention that this was for CRM Online. I suppose that we could create an Azure web role that would receive the request, decompress and pass along to CRM.
- Proposed as answer by Jamie MileyModerator Tuesday, March 15, 2011 9:33 PM
- Marked as answer by RhettClintonMVP, Moderator Wednesday, March 16, 2011 10:44 PM
Tuesday, March 15, 2011 6:53 PM -
There ya go. You wouldn't be able to do anything on the CRM server obviously in this scenario, but you could do something through Azure that you would communicate with their that would act as the relay.
Jamie Miley
http://mileyja.blogspot.com
LinkedIn ProfileTuesday, March 15, 2011 9:33 PMModerator