This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Based on https://codereview.stackexchange.com/questions/24861/caching-xmlserializer-in-appdomain | |
public static class XmlSerializerCache | |
{ | |
private AppDomain cache { | |
get { | |
return AppDomain.CurrentDomain; | |
} | |
} | |
public static XmlSerializer GetXmlSerializer(Type type, XmlRootAttribute xmlRoot) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* joshQ | |
* Crude SOAP Responder for SFDC Outbound Messages</u></span> | |
* THIS SOFTWARE IS PROVIDED AS IS.*/ | |
// Get raw post data | |
$data = fopen('php://input', 'rb'); | |
$content = fread($data,5000); | |
// Write message to file |