1 Reply Latest reply: Feb 23, 2013 1:10 AM by 988967 RSS

    Prematur end of file

    913879
      Hi,

      I have the following scenario:

      System A ->BPEL->Human Workflow----(Outcome)-->System A

      Following is the template I am using for sending back the message which is acceptable by system A:

      <Field>
      <GUID></GUID>
      <ApprovedString>Task Outcome
      </ApprovedString>
      </Field>

      I am able to create the soap message in the same format to be sent to WSDL service. However I am getting the following error message:

      Call to parse xml failed. org.dom4j.DocumentException: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.

      I am quite new to BPEL so I have two questions:
      1) Is my approach correct?
      2) In raw xml I see a whitespace character inserted in the parameter sent, can that be the issue?

      Thanks in advance for helping me out.

      Edited by: Anjana on Feb 14, 2013 3:16 AM