0 Replies Latest reply on Jul 27, 2006 4:07 PM by 525376

    SOAP call using ColdFusion 7

      I'm very new to SOAP, but I'm attempting to do a simple ping (for starters) using ColdFusion 7. I checked that the 'Web Services SOAP' is running. I get the following error (code is down below)
      soap:Client.Error::System::SOAPRequest An XML parsing fatal error occurred Line: 2 Column: 1 Error Invalid document structure Error::System::SOAPRequest 0020-00-00-00000011 653 SAX2Handler.cpp,v 1.15 2003/07/10 20:12:33 ericp Thu Jul 27 09:02:22 2006 12182 3033959344 Error

      The code I'm using is (username and password have been changed to protect the innocent :):
      <cfsavecontent variable="xmlSOAPcontent">
      POST http://meded-cal.ucsd.edu:7778/ocws-bin/ocas.fcgi HTTP/1.1
      Content-Type: text/xml; charset="UTF-8"
      Content-Length: <char length>
      SOAPAction: http://www.oracle.com/WebServices/Calendaring/1.0/Ping
      <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
      <auth:BasicAuth xmlns:auth="http://soap-authentication.org/2002/01/">
                <cwsl:Ping xmlns:cwsl="http://www.oracle.com/WebServices/Calendaring/1.0/Ping"/>

      <!--- Send Request --->
      <cfhttp url='http://meded-cal.ucsd.edu:7778/ocws-bin/ocas.fcgi' method="POST" port="7778" resolveurl="NO"
      username="username" password="password">
      <cfheader name="SOAPAction" value="">
      <cfheader name="Content-Type" value="text/xml; charset=utf-8">
      <cfhttpparam type="XML" name="CGI" value="#xmlSOAPcontent#">
      <!--- Assign Results --->
      <cfset SOAPResponse ="#cfhttp.filecontent#">


      Any help would be very greatly appreciated!

      UCSD School of Medicine