cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Soap Execute Reference is not allowed in prolog error

Asad_Humayun
New Contributor II

Hi All,

When creating a pipeline with a soap execute, iโ€™m getting the error โ€œFailure: An error occurred while parsing the request document, Reason: Reference is not allowed in prolog., Resolution: Please verify the validity of the XML documentโ€

Iโ€™m using a adding a list of ids to an array $users . Then i use the xml generator to pass through the working xml (as per soapui) which references that $users array into the soap execute. Soap execute custom envelope only contains โ€˜$xmlโ€™.

The resulting error is โ€œFailure: An error occurred while parsing the request document, Reason: Content is not allowed in prolog., Resolution: Please verify the validity of the XML documentโ€.

xml

I guess the question is, how do i reference an array or field within the customised envelope of the soap execute snap?

1 ACCEPTED SOLUTION

Asad_Humayun
New Contributor II

Found the resolution in Passing XML to SOAP Execute Snap.

#evaluate($xml) is what goes into the customised envelope

View solution in original post

1 REPLY 1

Asad_Humayun
New Contributor II

Found the resolution in Passing XML to SOAP Execute Snap.

#evaluate($xml) is what goes into the customised envelope