Skip to content

Instantly share code, notes, and snippets.

@agrison
Created September 28, 2016 17:55
Show Gist options
  • Save agrison/ec2ad3310861a8a2a75796f7ff5126fc to your computer and use it in GitHub Desktop.
Save agrison/ec2ad3310861a8a2a75796f7ff5126fc to your computer and use it in GitHub Desktop.
Monster Component in Java & Spring
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:gs="http://ws.foo">
<soapenv:Header/>
<soapenv:Body>
<gs:getRandomCatRequest />
</soapenv:Body>
</soapenv:Envelope>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:getRandomCatResponse xmlns:ns2="http://ws.foo">
<ns2:cat>
<ns2:id>49def9b8-13ae-40f3-b25f-7c2fc63a7162</ns2:id>
<ns2:url>http://random.cat/i/hVU2I6L.jpg</ns2:url>
</ns2:cat>
</ns2:getRandomCatResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment