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]));
}