0 Replies Latest reply on Apr 10, 2008 8:05 AM by paragshah

    ColdFusion MX and .NET webservice


      We are trying to invoke a webservice built .NET 2.0 Framework and getting the following error

      Could not perform web service invocation "GetUserDetails" because AxisFault faultCode: { http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseException: Document root element is missing. faultActor: faultNode: faultDetail: { http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXParseException: Document root element is missing. at com.macromedia.crimson.parser.Parser2.fatal(Unknown Source) at com.macromedia.crimson.parser.Parser2.fatal(Unknown Source) at com.macromedia.crimson.parser.Parser2.parseInternal(Unknown Source) at com.macromedia.crimson.parser.Parser2.parse(Unknown Source) at com.macromedia.crimson.parser.XMLReaderImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java :242) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538) at org.apache.axis.Message.getSOAPEnvelope(Message.java:376) at org.apache.axis.client.Call.invokeEngine(Call.java:258...

      The webservice works fine from our local server. local server has has CF 8 installed on it. While the webservice gives error on staging and live server where we have CF MX installed on it.

      I have found some information online and it says

      CFMX 6.1 is incompatible with web services written in Microsoft .NET Framework 2.0 that return complex types, such as an array. .NET Web Services returning a simple type, such as a bool or a string continue to work fine.