You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by David Sarno <da...@yale.edu> on 2001/04/11 21:30:32 UTC

MIME object problem

Does anyone know of any special bookkeeping steps you need to take before passing a MIME object (in this case, a simple one with nothing but a line of text/plaion)  through a SOAP conduit?  When I pass this MIME entity through to the server as an argument to the call, something on the server side keeps giving me errors when I try to perform operations on it.  What kind of permissions/security issues might I be facing with this? 

The SOAP server response is below.  The error is that I'm not giving a SCALAR reference to something, but I can't figure out what.  If I execute the server script with a MIME object created on the server side, everything works.  But when it's passed through from a client, I get this error.  Any help would be greatly appreciated.  Thanks.  I realize this is a little slim on details.  

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><SOAP-ENV:Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xsi:type="xsd:string">SOAP-ENV:Server</faultcode><faultstring xsi:type="xsd:string">Application error</faultstring><detail xsi:type="xsd:string">Application failed: Not a SCALAR reference</detail><faultactor xsi:null="1"/></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>