code_junkie

Need assistance with diagnosing SOAP packet problem with Amazon S3

Nov 12th, 2011
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <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/">
  3. <soap:Body>
  4. <PutObject xmlns="http://doc.s3.amazonaws.com/2006-03-01">
  5. <Bucket>lills</Bucket>
  6. <Key>lills123</Key>
  7. <Metadata>
  8. <Name>Content-Type</Name>
  9. <Value>text/plain</Value>
  10. </Metadata>
  11. <Metadata>
  12. <Name>title</Name>
  13. <Value>lills</Value>
  14. </Metadata>
  15. <Data>aGEtaGE=</Data>
  16. <ContentLength>5</ContentLength>
  17. <AWSAccessKeyId>key</AWSAccessKeyId>
  18. <Timestamp>2008-11-12T06:23:17Z</Timestamp>
  19. <Signature>signature</Signature>
  20. </PutObject>
  21. </soap:Body>
  22. </soap:Envelope>
  23.  
  24. <?xml version="1.0" encoding="utf-8"?>
  25. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  26. <soapenv:Body>
  27. <soapenv:Fault>
  28. <faultcode>soapenv:Client.badRequest</faultcode>
  29. <faultstring>Malformed request</faultstring>
  30. <detail/>
  31. </soapenv:Fault>
  32. </soapenv:Body>
  33. </soapenv:Envelope>
Add Comment
Please, Sign In to add comment