BenX
16 years agoContributor
Unexpected element
[SOAP Response] error: Unexpected element: XML_DOC_OR_TEXT_DECL

I'm using event handler (SubmitListener.afterSubmit):
if( submit.response == null )
return
def content = submit.response.responseContent
content = content.replaceAll( "<", "<" )
content = content.replaceAll( ">", ">" )
content = content.replaceAll( "<\\?xml version='1.0' \\?>", "" )
content = content.replaceAll( "

I'm using event handler (SubmitListener.afterSubmit):
if( submit.response == null )
return
def content = submit.response.responseContent
content = content.replaceAll( "<", "<" )
content = content.replaceAll( ">", ">" )
content = content.replaceAll( "<\\?xml version='1.0' \\?>", "" )
content = content.replaceAll( "