0 Replies Latest reply on Feb 1, 2006 11:31 PM by 277432

    HTTP Adapter message format  XML_NVP

    277432
      Did anyone try the XML Name Value Pair payload type?

      I have set the ota.type parameter in adapter.ini to XML_NVP. My inbound payload looks like :
      application=EBPPHTTP &message=<?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE MEALPLAN>
      <LOOKUP_PERSON>
      <PERSON_ID>04534095</PERSON_ID>
      <LAST_NAME>Devies</LAST_NAME>
      </LOOKUP_PERSON>

      EBPPHTTP is the name of the application.

      I'm getting the following error message in the adapter log:

      [IPT_HttpRecReceiveMessage] HTTPReceiver.receive(): receive a message 1138835000618 in the transport layer.
      Bridge { agent=oracle.oai.agent.client.AgentImpl@5f2db0 application=EBPPHTTP partition=null active=true #d3ls=0 } encountered the following problem while receiving a message from external application
      oracle.oai.agent.common.AgentRuntimeException: There was an error parsing the XML. The error is: oracle.xml.parser.v2.XMLParseException: Start of root element expected.. Please make sure you are sending valid XML messages.

      Appreciate your help.

      -Saumitra