The method is like this:
public List<CivarTransporteService.Model.Cliente> getClientes()
{
using (CivarTransporteService.Model.CivarTransporteModelContainer context =
new Model.CivarTransporteModelContainer())
{...
I am consuming a Web Service to send a file
https://facturaelectronica.dian.gov.co/habilitacion/B2BIntegrationEngine/FacturaElectronica/facturaElectronica.wsdl
But in the debug it returns the following exception:
System.ServiceModel.S...
This is my code:
My service implementation .svc
public List<string> getClientes()
{
using (var context = new Model.CivarTransporteModelContainer())
{
return context.Cliente.Select(x => x.CLN...
I am something new in this consume webservices , I have to send a file to a web service and receive an answer, my problem is that I could not generate a SOAP Header valid.
The web service to consume is this:
https://facturaelec...
Hello community I have a service WCF that is published on a server X, I need to consume a method of that service through AJAX , the service method receives as parameter an object with two properties, the way in which I'm consuming t...
I am running stored procedures in my project WCF C# . From one of my SP I receive something like this:
CeldaId
CeldaIndicadorCodigo
CeldaIndicadorTipoCodigo
Then with the value of Celda Id I call another SP that brings me:
Ce...
I rengo a case with a WCF that does not allow me to receive the data correctly when consuming it from an external tool, example (SOAP UI), I have the following DataContract :
[DataContract]
public class Ticket
{
[DataMember]
publ...
I am reading an xml where I need the code of the received message, for this I did in one part of the code this:
string responseValue;
while (reader.Read())
{
if (reader.Name == "ns2:Response")
{
if ((reader.NodeTy...
I have a service developed with WCF , in this service I call a stored procedure , it returns 4 fields: id , id_visita , fecha , observaciones . It may happen that the field id_visita comes null and this...
I have doubts about the WCF at the time of its implementation that it would be appropriate to create WSDL for each entity that has the exampleServiceService a WSDL in which usually carries the CRUD methods or a single WSDL that is named for exam...