From: Salccnpp on
7.02 mx
From: Salccnpp on
Wsdl attached as code

<wsdl:definitions targetNamespace="http://tempuri.org/LMSWebSvc/LMS_Interface"
xmlns:s1="http://tempuri.org/LMSWebSvc/LMS_Interface/AbstractTypes"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/LMSWebSvc/LMS_Interface"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<s:schema elementFormDefault="qualified"
targetNamespace="http://tempuri.org/LMSWebSvc/LMS_Interface">
<s:element name="GetStudents">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="StudentID"
type="tns:ArrayOfString" />
<s:element minOccurs="0" maxOccurs="1" name="CourseID"
type="tns:ArrayOfInt" />
<s:element minOccurs="1" maxOccurs="1" name="StartDate"
type="s:dateTime" />
<s:element minOccurs="0" maxOccurs="1" name="OutputForm"
type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="ArrayOfString">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="string"
nillable="true" type="s:string" />
</s:sequence>
</s:complexType>
<s:complexType name="ArrayOfInt">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="int"
type="s:int" />
</s:sequence>
</s:complexType>
<s:element name="GetStudentsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="GetStudentsResult">
<s:complexType mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetCourses">
<s:complexType />
</s:element>
<s:element name="GetCoursesResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="GetCoursesResult">
<s:complexType mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetStudentList">
<s:complexType />
</s:element>
<s:element name="GetStudentListResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1"
name="GetStudentListResult">
<s:complexType mixed="true">
<s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
<s:schema
targetNamespace="http://tempuri.org/LMSWebSvc/LMS_Interface/AbstractTypes">
<s:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<s:complexType name="StringArray">
<s:complexContent mixed="false">
<s:restriction base="soapenc:Array">
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded"
name="String" type="s:string" />
</s:sequence>
</s:restriction>
</s:complexContent>
</s:complexType>
</s:schema>
</wsdl:types>
<wsdl:message name="GetStudentsSoapIn">
<wsdl:part name="parameters" element="tns:GetStudents" />
</wsdl:message>
<wsdl:message name="GetStudentsSoapOut">
<wsdl:part name="parameters" element="tns:GetStudentsResponse" />
</wsdl:message>
<wsdl:message name="GetCoursesSoapIn">
<wsdl:part name="parameters" element="tns:GetCourses" />
</wsdl:message>
<wsdl:message name="GetCoursesSoapOut">
<wsdl:part name="parameters" element="tns:GetCoursesResponse" />
</wsdl:message>
<wsdl:message name="GetStudentListSoapIn">
<wsdl:part name="parameters" element="tns:GetStudentList" />
</wsdl:message>
<wsdl:message name="GetStudentListSoapOut">
<wsdl:part name="parameters" element="tns:GetStudentListResponse" />
</wsdl:message>
<wsdl:message name="GetStudentsHttpGetIn">
<wsdl:part name="StudentID" type="s1:StringArray" />
<wsdl:part name="CourseID" type="s1:StringArray" />
<wsdl:part name="StartDate" type="s:string" />
<wsdl:part name="OutputForm" type="s:string" />
</wsdl:message>
<wsdl:message name="GetStudentsHttpGetOut">
<wsdl:part name="Body" />
</wsdl:message>
<wsdl:message name="GetCoursesHttpGetIn" />
<wsdl:message name="GetCoursesHttpGetOut">
<wsdl:part name="Body" />
</wsdl:message>
<wsdl:message name="GetStudentListHttpGetIn" />
<wsdl:message name="GetStudentListHttpGetOut">
<wsdl:part name="Body" />
</wsdl:message>
<wsdl:message name="GetStudentsHttpPostIn">
<wsdl:part name="StudentID" type="s1:StringArray" />
<wsdl:part name="CourseID" type="s1:StringArray" />
<wsdl:part name="StartDate" type="s:string" />
<wsdl:part name="OutputForm" type="s:string" />
</wsdl:message>
<wsdl:message name="GetStudentsHttpPostOut">
<wsdl:part name="Body" />
</wsdl:message>
<wsdl:message name="GetCoursesHttpPostIn" />
<wsdl:message name="GetCoursesHttpPostOut">
<wsdl:part name="Body" />
</wsdl:message>
<wsdl:message name="GetStudentListHttpPostIn" />
<wsdl:message name="GetStudentListHttpPostOut">
<wsdl:part name="Body"
From: Salccnpp on
Ken thanks for responding to my posting. Do you have anything else you need from me? I can't get the CFMX to consume this service properly. Thoughts?
Thanks
From: Salccnpp on
I found a way to get the soap request into an xml document. It was not
intuitive to me but works.
Basically rereading this post:
http://www.houseoffusion.com/cf_lists/messages.cfm/forumid:4/threadid:44797#2333
59 gave me more insight. The tostring function appears to allow me to get the
raw xml that CF is struggling to noodle out.

<cfinvoke
webservice="https://tssite/LMSWebSvc/LMS_Interface.asmx?WSDL"
username="myname"
password="mypwd"
method="GetCourses"
returnvariable="mycrs">
</cfinvoke>
<br> getcourses dump var=mycrs<br>
<cfdump var="#mycrs#">

<cfset mygetany = mycrs.get_any()>
<cfdump var="#mygetany#">
<cfset arr = toString(mygetany[1])>
<br>dump of mygetany<br>
<cfdump var="#mygetany[1]#">
<br>dump of tostring<br>
<cfdump var="#arr#">
<cfset myxml = XmlParse(arr)>
<br>dump of xmlparse tostring
<cfdump var="#myxml#">