Content is not allowed in prolog


hi all,

 

i have web services written in cf has 2 input parameters.   1 parameter integer , other parameter xml string.  in application calls web service, passing wddx packet second parameter.

 

the trouble is, keep on getting following error message.

 

         <faultcode>soapenv:server.userexception</faultcode>
         <faultstring>coldfusion.xml.rpc.cfcinvocationexception: [coldfusion.wddx.wddxdeserializationexception : wddx packet parse error @ line 1, column 1. content not allowed in prolog..]</faultstring>

 

i took @ ben nadel's blog on problem.  have tried trimming out excessive spaces did not solve problem.  had looped through xml string see if bom problem; bom not there. , yet, above message keeps coming on.  can point me right directions in solving error?

 

thanks advance,

monte

sorry,  copied wrong error message.

 

the following error message getting.

 

axisfault
faultcode: {http://schemas.xmlsoap.org/soap/envelope/}server.userexception
faultsubcode:
faultstring: coldfusion.xml.rpc.cfcinvocationexception:
     [coldfusion.wddx.wddxdeserializationexception : wddx packet parse error @ line 1, column 1. content not allowed in prolog..]
faultactor:
faultnode:
faultdetail:
     {http://xml.apache.org/axis/}stacktrace:coldfusion.xml.rpc.cfcinvocationexception: [coldfusion.wddx.wddxdeserializationexception : wddx packet parse error @ line 1, column 1. content not allowed in prolog..]
     at coldfusion.xml.rpc.cfcomponentskeleton.__createcfcinvocationexception(cfcomponentskeleton.java:723)
     at coldfusion.xml.rpc.cfcomponentskeleton.__invoke(cfcomponentskeleton.java:670)
     at aimsweb.ws.sifdataex.insertschools(c:\inetpub\wwwroot\aimsweb\ws\sifdataex.cfc)
     at sun.reflect.nativemethodaccessorimpl.invoke0(native method)
     at sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39)
     at sun.reflect.delegatingmethodaccessorimpl.invoke(dele... ''


More discussions in Advanced Techniques


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???