Topic
  • No replies
SystemAdmin
SystemAdmin
570 Posts

Pinned topic Error while invoking procedure using HTTP Adapters

‏2012-05-25T02:49:23Z |
Getting the following error while invoking procedure using HTTP Adapter

{
"errors": [
"Content is not allowed in prolog.",
"Failed to parse the payload from backend (procedure: HttpRequest)"
],
"info": [],
"isSuccessful": false,
"statusCode": 200,
"statusReason": "OK",
"warnings": []
}
Connectivity Details

<connectivity>
<connectionPolicy xsi:type="http:HTTPConnectionPolicyType">
<protocol>http</protocol>
<domain>localhost</domain>
<port>10039</port>
</connectionPolicy>
<loadConstraints maxConcurrentConnectionsPerNode="2" />
</connectivity>

When access the following URL (REST Service call), I am getting an XML

http://localhost:10039/Resource/rest/consultant/search?searchCriteria=REGION&criteriaValue=West