I'm sorry Tom. I'll try to give whatever information i can to explain what i want to do.
I am trying to use the data returned by this function which is has a type of system.xml.xmlnode and was created by the VS.NET Add web service function as you can see:
'<remarks/>
<System.Web.Services.Protocols.SoapDocumentMethodAttribute("
RequestNamespace:="
ResponseNamespace:="
Use:=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle:=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)> _
Public Function RetrieveArchivedTrips(ByVal StartDate As Date, ByVal EndDate As Date) As System.Xml.XmlNode
Dim results() As Object = Me.Invoke("RetrieveArchivedTrips", New Object() {StartDate, EndDate})
Return CType(results(0),System.Xml.XmlNode)
End Function
I will put whatever i can (WSDL, SOAP) at the end of this reply. I am trying to determine how to display the data returned by the "RetrieveArchivedTrips" function. I feel that i need to know what goes between the braces "()" of my doc.Load() statement. The "proxy.RetrieveArchivedTrips (strDate, endDate)" statement works OK.
I just need to know how to get the data and start working with it. Since the data is of a type that i am not familiar with. I have worked with other consuming programs that use datatables and i learned how to use them.
Thanks for any help that you can provide.
Tony
===================WSDL=============================
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions xmlns:http="
xmlns:soap="
xmlns:s="
xmlns:soapenc="
xmlns:tns="
xmlns:tm="
xmlns:mime="
targetNamespace="
xmlns:wsdl="
- <wsdl:types>
- <s:schema elementFormDefault="qualified" targetNamespace="
- <s:element name="RetrieveUnMarkedArchivedTrips">
<s:complexType />
</s:element>
- <s:element name="RetrieveUnMarkedArchivedTripsResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="RetrieveUnMarkedArchivedTripsResult">
- <s:complexType mixed="true">
- <s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="RetrieveArchivedTrips">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="StartDate" type="s:dateTime" />
<s:element minOccurs="1" maxOccurs="1" name="EndDate" type="s:dateTime" />
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="RetrieveArchivedTripsResponse">
- <s:complexType>
- <s:sequence>
- <s:element minOccurs="0" maxOccurs="1" name="RetrieveArchivedTripsResult">
- <s:complexType mixed="true">
- <s:sequence>
<s:any />
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
- <s:element name="MarkAsRead">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="TripIDList" type="tns:ArrayOfInt" />
</s:sequence>
</s:complexType>
</s:element>
- <s:complexType name="ArrayOfInt">
- <s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="int" type="s:int" />
</s:sequence>
</s:complexType>
- <s:element name="MarkAsReadResponse">
<s:complexType />
</s:element>
</s:schema>
</wsdl:types>
- <wsdl:message name="RetrieveUnMarkedArchivedTripsSoapIn">
<wsdl

art name="parameters" element="tns:RetrieveUnMarkedArchivedTrips" />
</wsdl:message>
- <wsdl:message name="RetrieveUnMarkedArchivedTripsSoapOut">
<wsdl

art name="parameters" element="tns:RetrieveUnMarkedArchivedTripsResponse" />
</wsdl:message>
- <wsdl:message name="RetrieveArchivedTripsSoapIn">
<wsdl

art name="parameters" element="tns:RetrieveArchivedTrips" />
</wsdl:message>
- <wsdl:message name="RetrieveArchivedTripsSoapOut">
<wsdl

art name="parameters" element="tns:RetrieveArchivedTripsResponse" />
</wsdl:message>
- <wsdl:message name="MarkAsReadSoapIn">
<wsdl

art name="parameters" element="tns:MarkAsRead" />
</wsdl:message>
- <wsdl:message name="MarkAsReadSoapOut">
<wsdl

art name="parameters" element="tns:MarkAsReadResponse" />
</wsdl:message>
- <wsdl

ortType name="TripExportServiceSoap">
- <wsdl

peration name="RetrieveUnMarkedArchivedTrips">
<documentation xmlns="
an XmlDocument conforming to the <a href=/XataNetWebService/MessageSchemas/SchemaDocumentation/TripExportDataObject/TripExportDataObject.html>TripExportDataObject.xsd</a> containing archived trips from the XataNet system for the OrganizationID contained in the login credentials and all that organization's SubOrganization's OrganizationID's that have not been MarkedAsRead by the OrganizationID contained in the login credentials. <BR></documentation>
<wsdl:input message="tns:RetrieveUnMarkedArchivedTripsSoapIn" />
<wsdl

utput message="tns:RetrieveUnMarkedArchivedTripsSoapOut" />
</wsdl

peration>
- <wsdl

peration name="RetrieveArchivedTrips">
<documentation xmlns="
an XmlDocument conforming to the <a href=/XataNetWebService/MessageSchemas/SchemaDocumentation/TripExportDataObject/TripExportDataObject.html>TripExportDataObject.xsd</a> containing archived trips from the XataNet system for a specific date range for by the OrganizationID contained in the login credentials and all that organization's SubOrganization's OrganizationID's. <BR></documentation>
<wsdl:input message="tns:RetrieveArchivedTripsSoapIn" />
<wsdl

utput message="tns:RetrieveArchivedTripsSoapOut" />
</wsdl

peration>
- <wsdl

peration name="MarkAsRead">
<documentation xmlns="
one or more archived trips as read in the XataNet system by the OrganizationID contained in the login credentials. <BR></documentation>
<wsdl:input message="tns:MarkAsReadSoapIn" />
<wsdl

utput message="tns:MarkAsReadSoapOut" />
</wsdl

peration>
</wsdl

ortType>
- <wsdl:binding name="TripExportServiceSoap" type="tns:TripExportServiceSoap">
<soap:binding transport="
style="document" />
- <wsdl

peration name="RetrieveUnMarkedArchivedTrips">
<soap

peration soapAction="
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl

utput>
<soap:body use="literal" />
</wsdl

utput>
</wsdl

peration>
- <wsdl

peration name="RetrieveArchivedTrips">
<soap

peration soapAction="
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl

utput>
<soap:body use="literal" />
</wsdl

utput>
</wsdl

peration>
- <wsdl

peration name="MarkAsRead">
<soap

peration soapAction="
style="document" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl

utput>
<soap:body use="literal" />
</wsdl

utput>
</wsdl

peration>
</wsdl:binding>
- <wsdl:service name="TripExportService">
- <wsdl

ort name="TripExportServiceSoap" binding="tns:TripExportServiceSoap">
<soap:address location="
/>
</wsdl

ort>
</wsdl:service>
</wsdl:definitions>
===================SOAP===============================
RetrieveArchivedTrips
Retrieves an XmlDocument conforming to the TripExportDataObject.xsd containing archived trips from the XataNet system for a specific date range for by the OrganizationID contained in the login credentials and all that organization's SubOrganization's OrganizationID's.
Test
The test form is only available for requests from the local machine.
SOAP
The following is a sample SOAP request and response. The placeholders shown need to be replaced with actual values.
POST /xatanetwebservice/tripexportservice.asmx HTTP/1.1
Host: xatanet.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="
xmlns:xsd="
xmlns:soap="
<soap:Body>
<RetrieveArchivedTrips xmlns="
<StartDate>dateTime</StartDate>
<EndDate>dateTime</EndDate>
</RetrieveArchivedTrips>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="
xmlns:xsd="
xmlns:soap="
<soap:Body>
<RetrieveArchivedTripsResponse xmlns="
<RetrieveArchivedTripsResult>xml</RetrieveArchivedTripsResult>
</RetrieveArchivedTripsResponse>
</soap:Body>
</soap:Envelope>