Skip to content

Instantly share code, notes, and snippets.

@sithara
Created February 25, 2016 09:11
Show Gist options
  • Save sithara/94f0860e42ad9f0aac07 to your computer and use it in GitHub Desktop.
Save sithara/94f0860e42ad9f0aac07 to your computer and use it in GitHub Desktop.
salvage_api
---
http_interactions:
- request:
method: post
uri: https://testdeal1:testdeal1@webservices.developer.manheim.com/SalvageInfoWebService-2.0.3/services/SalvageInfoWebService/
body:
encoding: US-ASCII
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://webservices.manheim.com/siws"
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:AddInternetNotesRequest><tns:request><tns:auctionId>SVAA</tns:auctionId><tns:internetNotes><tns:item><tns:addedBy>DEALSHIELD</tns:addedBy><tns:addedDate>20160225</tns:addedDate><tns:noteText>DEALSHIELD101
Vehicle Return Authorization (VRA) requested</tns:noteText><tns:noteType>DEAL</tns:noteType></tns:item></tns:internetNotes><tns:sblu>1</tns:sblu><tns:workOrder>1</tns:workOrder></tns:request></tns:AddInternetNotesRequest></env:Body></env:Envelope>
headers:
Soapaction:
- ! '"AddInternetNotes"'
Content-Type:
- text/xml;charset=UTF-8
Content-Length:
- '720'
Authorization:
- Basic dGVzdGRlYWwxOnRlc3RkZWFsMQ==
response:
status:
code: 500
message: Internal Server Error
headers:
Server:
- Apache-Coyote/1.1
Accept:
- text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Soapaction:
- ! '""'
Content-Type:
- text/xml;charset=utf-8
Content-Length:
- '560'
Date:
- Thu, 25 Feb 2016 08:54:38 GMT
X-Cnection:
- close
Set-Cookie:
- JSESSIONID=87CE2A4EEF7E7D6F148EF7009DECDE6A; Path=/SalvageInfoWebService-2.0.3
body:
encoding: US-ASCII
string: ! '<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring
xml:lang="en">Validation error</faultstring><detail><spring-ws:ValidationError
xmlns:spring-ws="http://springframework.org/spring-ws">cvc-complex-type.2.4.a:
Invalid content was found starting with element ''tns:request''. One of ''{"http://webservices.manheim.com/siws":auctionId}''
is expected.</spring-ws:ValidationError></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>'
http_version:
recorded_at: Thu, 25 Feb 2016 08:54:38 GMT
recorded_with: VCR 2.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment