Forum Discussion
RPfrimmer
12 years agoOccasional Contributor
Here is a screenshot of the raw request

Here is the content of the Raw request displayed in soapui
Forgive me but I hadn't checked the logs before but it does look like there is an error.
SoapUI Error
Error Log
Here is the content of the Raw request displayed in soapui
HTTP/1.1 200 OK
X-Powered-By: Express
Content-Type: application/json; charset=utf-8
Content-Length: 5787
ETag: "-960988189"
Date: Wed, 26 Mar 2014 18:55:27 GMT
Connection: keep-alive
{
"GuestBookings": {
"Folio": [
{
"$": {
"app": "Hotel"
},
"AppFolioId": [
"5"
],
"Location": [
""
],
"Customer": [
{
"CustomerId": [
"115389"
],
"Salutation": [
"Mr."
],
"FirstName": [
"John"
],
"LastName": [
"Smith"
]
}
],
"ArrivalDate": [
"2014-05-05000000"
],
"DepartureDate": [
"2014-05-09000000"
],
"NumAdults": [
"2"
],
"NumYouth": [
"2"
],
"NumChildren": [
"2"
],
"TotalGuests": [
"6"
],
"RoomNumber": [
""
],
"RoomType": [
"English - Room Type Desc"
],
"RateType": [
"English - Rate Name Field"
],
"RateDescription": [
"English - Rate Desc Field"
],
"NetAmount": [
" 1400.00"
],
"GrossAmount": [
" 1803.24"
]
},
{
"$": {
"app": "Golf"
},
"AppFolioId": [
"43723"
],
"Location": [
"Golf - 999"
],
"Customer": [
{
"CustomerId": [
"115389"
],
"Salutation": [
"Mr."
],
"FirstName": [
"John"
],
"LastName": [
"Smith"
]
}
],
"StartDate": [
"2014-05-05095000"
],
"FinishDate": [
""
],
"Details": [
"Links"
],
"NetAmount": [
" .00"
],
"GrossAmount": [
""
]
},
{
"$": {
"app": "Golf"
},
"AppFolioId": [
"43723"
],
"Location": [
"Golf - 999"
],
"Customer": [
{
"CustomerId": [
"115389"
],
"Salutation": [
"Mr."
],
"FirstName": [
"John"
],
"LastName": [
"Smith"
]
}
],
"StartDate": [
"2014-05-05095000"
],
"FinishDate": [
""
],
"Details": [
"Links"
],
"NetAmount": [
" .00"
],
"GrossAmount": [
""
]
},
{
"$": {
"app": "Golf"
},
"AppFolioId": [
"43725"
],
"Location": [
"Golf - 999"
],
"Customer": [
{
"CustomerId": [
"115389"
],
"Salutation": [
"Mr."
],
"FirstName": [
"John"
],
"LastName": [
"Smith"
]
}
],
"StartDate": [
"2014-05-05131000"
],
"FinishDate": [
""
],
"Details": [
"Links"
],
"NetAmount": [
" .00"
],
"GrossAmount": [
""
]
},
{
"$": {
"app": "Golf"
},
"AppFolioId": [
"43725"
],
"Location": [
"Golf - 999"
],
"Customer": [
{
"CustomerId": [
"115389"
],
"Salutation": [
"Mr."
],
"FirstName": [
"John"
],
"LastName": [
"Smith"
]
}
],
"StartDate": [
"2014-05-05131000"
],
"FinishDate": [
""
],
"Details": [
"Links"
],
"NetAmount": [
" .00"
],
"GrossAmount": [
""
]
},
{
"$": {
"app": "Golf"
},
"AppFolioId": [
"43725"
],
"Location": [
"Golf - 999"
],
"Customer": [
{
"CustomerId": [
"115389"
],
"Salutation": [
"Mr."
],
"FirstName": [
"John"
],
"LastName": [
"Smith"
]
}
],
"StartDate": [
"2014-05-05131000"
],
"FinishDate": [
""
],
"Details": [
"Links"
],
"NetAmount": [
" .00"
],
"GrossAmount": [
""
]
},
{
"$": {
"app": "Golf"
},
"AppFolioId": [
"43725"
],
"Location": [
"Golf - 999"
],
"Customer": [
{
"CustomerId": [
"115389"
],
"Salutation": [
"Mr."
],
"FirstName": [
"John"
],
"LastName": [
"Smith"
]
}
],
"StartDate": [
"2014-05-05131000"
],
"FinishDate": [
""
],
"Details": [
"Links"
],
"NetAmount": [
" .00"
],
"GrossAmount": [
""
]
}
]
}
}
Forgive me but I hadn't checked the logs before but it does look like there is an error.
SoapUI Error
Wed Mar 26 15:07:36 EDT 2014:ERROR:An error occurred [Illegal path character {], see error log for details
Error Log
Wed Mar 26 15:07:36 EDT 2014:ERROR:nu.xom.MalformedURIException: Illegal path character {
nu.xom.MalformedURIException: Illegal path character {
at nu.xom.Verifier.throwMalformedURIException(Verifier.java:161)
at nu.xom.Verifier.checkPath(Verifier.java:416)
at nu.xom.Verifier.checkAbsoluteURIReference(Verifier.java:907)
at nu.xom.Element._setNamespaceURI(Element.java:869)
at nu.xom.Element.setNamespaceURI(Element.java:852)
at com.eviware.soapui.impl.rest.support.handlers.JsonXmlSerializer.processJSONObject(JsonXmlSerializer.java:1159)
at com.eviware.soapui.impl.rest.support.handlers.JsonXmlSerializer.write(JsonXmlSerializer.java:721)
at com.eviware.soapui.impl.rest.support.handlers.JsonXmlSerializer.write(JsonXmlSerializer.java:676)
at com.eviware.soapui.impl.rest.support.handlers.JsonMediaTypeHandler.createXmlRepresentation(JsonMediaTypeHandler.java:65)
at com.eviware.soapui.impl.wsdl.submit.transports.http.BaseHttpResponse.getContentAsXml(BaseHttpResponse.java:458)
at com.eviware.soapui.impl.rest.panels.request.inspectors.schema.InferredSchemaInspector.afterSubmit(InferredSchemaInspector.java:109)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:157)
at com.eviware.soapui.impl.wsdl.WsdlSubmit.submitRequest(WsdlSubmit.java:76)
at com.eviware.soapui.impl.rest.RestRequest.submit(RestRequest.java:211)
at com.eviware.soapui.impl.wsdl.teststeps.RestTestRequestStep.run(RestTestRequestStep.java:901)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:235)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:148)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:43)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)