<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Header>
<WorkContext xmlns="http://oracle.com/weblogic/soap/workarea/">rO0ABXdSAB13ZWJsb2dpYy5hcHAuQ0NGQ29uZmVyZW5jaWFXUwAAANYAAAAjd2VibG9naWMud29ya2FyZWEuU3RyaW5nV29ya0NvbnRleHQABFYyLjAAAA==</WorkContext>
</S:Header>
<S:Body>
<ns2:PesquisaFacturaMCDTResponse xmlns:ns2="http://mcdt.service.cc.ccf/">
<return>
<codigoErro>0</codigoErro>
<facturaMCDT>
<area>M</area>
<codPrestador>201861112</codPrestador>
<dataFactura>2014-10-31T00:00:00Z</dataFactura>
<idFactura>479540</idFactura>
<nifAdquirente>503135593</nifAdquirente>
<nifPrestador>500883629</nifPrestador>
<numFactura>B-2014321</numFactura>
<numLotes>62</numLotes>
<numRequisicoes>1832</numRequisicoes>
<totalDesconto>0.0</totalDesconto>
<totalDomicilios>0.0</totalDomicilios>
<totalPrestacoes>41548.25</totalPrestacoes>
<totaltaxasModeradoras>2694.1</totaltaxasModeradoras>
</facturaMCDT>
</return>
</ns2:PesquisaFacturaMCDTResponse>
</S:Body>
</S:Envelope>
There is an error in XML dcoument (1, 11) error
I have a problem in my project, I can consume a client in my C# project but when I invoke it it gives the error :
There is an error in XML document(1,112).
InnerException: The path is not a legal form.
Message: There is an error in XML document(1, 112). Source: System.
IDE: Visual Studio 2010
]1
My cclient automatic generated:
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", RequestNamespace="http://facturasPasta.service.ga.ccf/", ResponseNamespace="http://facturasPasta.service.ga.ccf/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
[return: System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public facturasPastaResponse getFacturasPastaFE([System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] long arg0, [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlIgnoreAttribute()] bool arg0Specified) {
object[] results = this.Invoke("getFacturasPastaFE", new object[] {
arg0,
arg0Specified});
return ((facturasPastaResponse)(results[0]));
}
2 answers
Sort by: Most helpful
-
Nuno Correia 6 Reputation points
2021-09-14T08:31:16.88+00:00 -
Tomasz Chudzik 0 Reputation points
2023-03-18T19:34:51.39+00:00 @Nuno Correia have you found a solution to your issue? I seem to be hit by the same