The file is not a valid xml File - InfoPath Dev
in

InfoPath Dev

The file is not a valid xml File

Last post 06-20-2011 05:23 PM by Patrick Halstead. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 06-17-2011 09:20 AM

    • Aleds
    • Not Ranked
    • Joined on 06-17-2011
    • Posts 5

    The file is not a valid xml File

    Hi friends, i'm new here.

    My problem is the following:

    I created a WCF Service and i put it on IIS Server 7.0.  Now, when i try consume this service athrough infopath form developed on Infopath 2010, i obtain the following error:

    "The file is not a valid XML File. Storage not enough for process this command"

    I don't have  idea what is the reason for this. There is many space in my disc.

     Please help me with this

     

     

  • 06-18-2011 01:18 PM In reply to

    Re: The file is not a valid xml File

    Hi Aleds and welcome!

    I've seen that issue before but I can't remember the exact reason. Can you attach the XML file? It's possible that there's a problem with the schema or maybe you are missing one of the definitions at the top. I'll forward this to one of our WCF developers for comment as well, btu if you can attach the XML file that is generated that would help.

    If you can't get the XML from WSDL, just navigate to the WCF asmx web page and add the ?WSDL to it and save the results to a file and attach that. We should be able to diagnose.

    Thanks and more soon,

    Patrick Halstead
    Project Manager at Qdabra
  • 06-20-2011 07:11 AM In reply to

    • Aleds
    • Not Ranked
    • Joined on 06-17-2011
    • Posts 5

    Re: The file is not a valid xml File

     Hi friend thanks for your help.  this is the xml from my web service.

     

    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions name="Service1" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    - <wsdl:types>
    - <xsd:schema targetNamespace="http://tempuri.org/Imports">
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd0" namespace="http://tempuri.org/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ServicioWCF" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="IService1_GetData_InputMessage">
      <wsdl:part name="parameters" element="tns:GetData" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetData_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_InputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContract" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContractResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerx" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerxResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerotrovalor" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerotrovalorResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_InputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosa" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosaResponse" />
      </wsdl:message>
    - <wsdl:portType name="IService1">
    - <wsdl:operation name="GetData">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetData" message="tns:IService1_GetData_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataResponse" message="tns:IService1_GetData_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContract" message="tns:IService1_GetDataUsingDataContract_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContractResponse" message="tns:IService1_GetDataUsingDataContract_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerx" message="tns:IService1_Obtenerx_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerxResponse" message="tns:IService1_Obtenerx_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerotrovalor" message="tns:IService1_Obtenerotrovalor_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerotrovalorResponse" message="tns:IService1_Obtenerotrovalor_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosa" message="tns:IService1_ObtenerCualquiercosa_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosaResponse" message="tns:IService1_ObtenerCualquiercosa_OutputMessage" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="BasicHttpBinding_IService1" type="tns:IService1">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetData">
      <soap:operation soapAction="http://tempuri.org/IService1/GetData" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <soap:operation soapAction="http://tempuri.org/IService1/GetDataUsingDataContract" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerx" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerotrovalor" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <soap:operation soapAction="http://tempuri.org/IService1/ObtenerCualquiercosa" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="Service1">
    - <wsdl:port name="BasicHttpBinding_IService1" binding="tns:BasicHttpBinding_IService1">
      <soap:address location="http://192.168.10.67:81/Service1.svc" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>


     But i have an aditional question, when  i click the url  http://w010sis020.entidad.finan:81/Service1.svc?wsdl appears the "Network Access Message: The page cannot be displayed" and in the Technical Information section i have the following error:

    - Error Code: 502 Proxy Error. The ISA Server denied the specified Uniform Resource Locator (URL) . (12202)

    - IP Address : 192.168.10.225

    - Date: 6/20/2011 2:05:16 PM [GMT]

    -Server : s010prx001- vm.entidad.finan

    -Source: proxy

     

    Now when i put the following url : http://w010sis020:81/Service1.svc?wsdl, appears the xml content.

    I don't understand this, because this server is a trusted server, i don't understand what is the reason for this.

    Thanks for your help, greetings.

     

     

     

  • 06-20-2011 07:13 AM In reply to

    • Aleds
    • Not Ranked
    • Joined on 06-17-2011
    • Posts 5

    Re: The file is not a valid xml File

    Hi,  this is the xml from my web Service

    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions name="Service1" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    - <wsdl:types>
    - <xsd:schema targetNamespace="http://tempuri.org/Imports">
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd0" namespace="http://tempuri.org/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ServicioWCF" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="IService1_GetData_InputMessage">
      <wsdl:part name="parameters" element="tns:GetData" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetData_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_InputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContract" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContractResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerx" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerxResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerotrovalor" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerotrovalorResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_InputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosa" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosaResponse" />
      </wsdl:message>
    - <wsdl:portType name="IService1">
    - <wsdl:operation name="GetData">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetData" message="tns:IService1_GetData_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataResponse" message="tns:IService1_GetData_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContract" message="tns:IService1_GetDataUsingDataContract_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContractResponse" message="tns:IService1_GetDataUsingDataContract_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerx" message="tns:IService1_Obtenerx_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerxResponse" message="tns:IService1_Obtenerx_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerotrovalor" message="tns:IService1_Obtenerotrovalor_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerotrovalorResponse" message="tns:IService1_Obtenerotrovalor_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosa" message="tns:IService1_ObtenerCualquiercosa_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosaResponse" message="tns:IService1_ObtenerCualquiercosa_OutputMessage" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="BasicHttpBinding_IService1" type="tns:IService1">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetData">
      <soap:operation soapAction="http://tempuri.org/IService1/GetData" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <soap:operation soapAction="http://tempuri.org/IService1/GetDataUsingDataContract" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerx" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerotrovalor" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <soap:operation soapAction="http://tempuri.org/IService1/ObtenerCualquiercosa" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="Service1">
    - <wsdl:port name="BasicHttpBinding_IService1" binding="tns:BasicHttpBinding_IService1">
      <soap:address location="http://192.168.10.67:81/Service1.svc" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definition>

     Thanks for your help

     

  • 06-20-2011 07:19 AM In reply to

    • Aleds
    • Not Ranked
    • Joined on 06-17-2011
    • Posts 5

    Re: The file is not a valid xml File

     this is the xml from my web service

     <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions name="Service1" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

    xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/"

    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"

    xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"

    xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"

    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    - <wsdl:types>
    - <xsd:schema targetNamespace="http://tempuri.org/Imports">
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd0" namespace="http://tempuri.org/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ServicioWCF" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"

    />
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="IService1_GetData_InputMessage">
      <wsdl:part name="parameters" element="tns:GetData" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetData_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_InputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContract" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContractResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerx" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerxResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerotrovalor" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerotrovalorResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_InputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosa" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosaResponse" />
      </wsdl:message>
    - <wsdl:portType name="IService1">
    - <wsdl:operation name="GetData">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetData" message="tns:IService1_GetData_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataResponse" message="tns:IService1_GetData_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContract" message="tns:IService1_GetDataUsingDataContract_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContractResponse" message="tns:IService1_GetDataUsingDataContract_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerx" message="tns:IService1_Obtenerx_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerxResponse" message="tns:IService1_Obtenerx_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerotrovalor" message="tns:IService1_Obtenerotrovalor_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerotrovalorResponse" message="tns:IService1_Obtenerotrovalor_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosa" message="tns:IService1_ObtenerCualquiercosa_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosaResponse" message="tns:IService1_ObtenerCualquiercosa_OutputMessage" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="BasicHttpBinding_IService1" type="tns:IService1">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetData">
      <soap:operation soapAction="http://tempuri.org/IService1/GetData" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <soap:operation soapAction="http://tempuri.org/IService1/GetDataUsingDataContract" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerx" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerotrovalor" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <soap:operation soapAction="http://tempuri.org/IService1/ObtenerCualquiercosa" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="Service1">
    - <wsdl:port name="BasicHttpBinding_IService1" binding="tns:BasicHttpBinding_IService1">
      <soap:address location="http://192.168.10.67:81/Service1.svc" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

     

  • 06-20-2011 07:29 AM In reply to

    • Aleds
    • Not Ranked
    • Joined on 06-17-2011
    • Posts 5

    Re: The file is not a valid xml File

     Hi friends this is the xml from my webservice.

    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions name="Service1" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

    xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/"

    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"

    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"

    xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"

    xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"

    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
    - <wsdl:types>
    - <xsd:schema targetNamespace="http://tempuri.org/Imports">
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd0" namespace="http://tempuri.org/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/ServicioWCF" />
      <xsd:import schemaLocation="http://w010sis020.entidad.finan:81/Service1.svc?xsd=xsd3" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"

    />
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="IService1_GetData_InputMessage">
      <wsdl:part name="parameters" element="tns:GetData" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetData_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_InputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContract" />
      </wsdl:message>
    - <wsdl:message name="IService1_GetDataUsingDataContract_OutputMessage">
      <wsdl:part name="parameters" element="tns:GetDataUsingDataContractResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerx" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerx_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerxResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_InputMessage">
      <wsdl:part name="parameters" element="tns:Obtenerotrovalor" />
      </wsdl:message>
    - <wsdl:message name="IService1_Obtenerotrovalor_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerotrovalorResponse" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_InputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosa" />
      </wsdl:message>
    - <wsdl:message name="IService1_ObtenerCualquiercosa_OutputMessage">
      <wsdl:part name="parameters" element="tns:ObtenerCualquiercosaResponse" />
      </wsdl:message>
    - <wsdl:portType name="IService1">
    - <wsdl:operation name="GetData">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetData" message="tns:IService1_GetData_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataResponse" message="tns:IService1_GetData_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContract" message="tns:IService1_GetDataUsingDataContract_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContractResponse" message="tns:IService1_GetDataUsingDataContract_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerx" message="tns:IService1_Obtenerx_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerxResponse" message="tns:IService1_Obtenerx_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/Obtenerotrovalor" message="tns:IService1_Obtenerotrovalor_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerotrovalorResponse" message="tns:IService1_Obtenerotrovalor_OutputMessage" />
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <wsdl:input wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosa" message="tns:IService1_ObtenerCualquiercosa_InputMessage" />
      <wsdl:output wsaw:Action="http://tempuri.org/IService1/ObtenerCualquiercosaResponse" message="tns:IService1_ObtenerCualquiercosa_OutputMessage" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="BasicHttpBinding_IService1" type="tns:IService1">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetData">
      <soap:operation soapAction="http://tempuri.org/IService1/GetData" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetDataUsingDataContract">
      <soap:operation soapAction="http://tempuri.org/IService1/GetDataUsingDataContract" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerx">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerx" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="Obtenerotrovalor">
      <soap:operation soapAction="http://tempuri.org/IService1/Obtenerotrovalor" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="ObtenerCualquiercosa">
      <soap:operation soapAction="http://tempuri.org/IService1/ObtenerCualquiercosa" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="Service1">
    - <wsdl:port name="BasicHttpBinding_IService1" binding="tns:BasicHttpBinding_IService1">
      <soap:address location="http://192.168.10.67:81/Service1.svc" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

  • 06-20-2011 05:23 PM In reply to

    Re: The file is not a valid xml File

    Thanks, I'll ask someone to look at this tonight or tomorrow AM and get back to you.

    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (7 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.