Forum Discussion

mishra232's avatar
mishra232
New Contributor
12 years ago

Content is not allowed in prolog while SOAP UI as mock servi

Hi,

I am using SOAP UI 4.6.

Configured SOAP UI Mock service which running on port 8080. but after SOAP UI get's request from my application it's giving error in the logs :-
ERROR:An error occured [org.apache.xmlbeans.XmlException: error: Content is not allowed in prolog.], see error log for details.

What to do to resolve it.

ERROR:com.eviware.soapui.impl.wsdl.mock.DispatchException: org.apache.xmlbeans.XmlException: error: Content is not allowed in prolog.
com.eviware.soapui.impl.wsdl.mock.DispatchException: org.apache.xmlbeans.XmlException: error: Content is not allowed in prolog.

Mock Service Proprties, Require SOAP Action is false and Dispatch Resonses is true.

Thanks!
Vishal
  • Hi,

    Can you check if you have an empty Soap Action?
    Example: <wsdlsoap:operation soapAction=""/>