Content is not allowed in prolog when calling a soap webservice
I am using the following code to get a result but for some reason I am getting this error: Error on line 1: Content is not allowed in prolog. (line 134, file "Code") which in this case is var xmlResult = XmlService.parse(result).getRootElement(); var xml = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:v1=\"http://openclinica.org/ws/studySubject/v1\" xmlns:bean=\"http://openclinica.org/ws/beans\">" +"<soapenv:Header>" +"<wsse:Security soapenv:mustUnderstand=\"1\" xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.