Questions tagged as 'wcf'

0
answers

Xamarin.Android with WCF web reference error timeout after 5 times opening the App

Hello, I have App in xamarin portable and in the Android project part I referenced a WCF service, when I enter the app I normally use all the requests without making a mistake, but when I log in, I get in the app for 4 or 5 times. a timeout exce...
asked by 01.03.2018 / 22:41
1
answer

How to call a service in C # using AngularJS

Good afternoon, so I'm in doubt on how to call a service in C #, I've tried in many ways but I did not succeed. (function () { 'use strict'; function Service($http, $q) { const url = 'http://172.23.1.31:81/Service1.svc';...
asked by 30.01.2018 / 19:36
0
answers

Insert with compound objects

I get this json { "Name": "Teste", "ExpirationDate": "/Date(1515703416000-0200)/", "Program": { "Id": 1 }, "Resource":{ "Id": 1 }, "InsertDate": "/Date(1515703416000-0200)/", "InsertUserId": 8, "LastUpdateDate...
asked by 15.01.2018 / 15:16
1
answer

How to create a POST-type method in WCF (.NET) that receives a String parameter by URL and Stream by POST?

I tried to use it in my service but I can not get anything different from this error. Error : ExceptionDetail, provavelmente criado por IncludeExceptionDetailInFaults=true, cujo valor é: System.InvalidOperationException: Foi gerada uma...
asked by 04.12.2017 / 19:01
0
answers

Error calling a service through ServiceClient in C #

I have a project part (MVC that connects to DB through web services) from my company that calls WCF services like this: public static ReturnType CallWebMethod<TService, ReturnType>(String endpointConfigurationName, String myMethod, objec...
asked by 12.09.2017 / 15:20
1
answer

use WCF service method returns The caller was not authenticated by the service

I have a project with multiple WCF services compiled, and accessible by another project on the same machine. Now I'm trying to connect to one of these services from another machine. I put the service refence URL, but it asks me for authenticatio...
asked by 03.08.2017 / 15:43
1
answer

ajax without query permission

I have a webservice in wcf in the link , I can consume it no problem in my iis location with ajax:                                             View User          <div><table id="datagrid"></table></div> <...
asked by 12.05.2017 / 05:30
0
answers

consume webservice in WCF with ajax

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <form id="form1"> <div class="jumbotron"> <input type="text" id="codUser"/> <button onc...
asked by 09.05.2017 / 13:58
1
answer

error result.lenght ajax with wcf

The following script works in part: <script type="text/javascript"> function ConsUsuario(){ var value = $("#codUser").val(); $.ajax({ type: "GET", url: "ServiceRestPub/ServiceUsuario.svc/ConsultarRe...
asked by 11.05.2017 / 12:56
1
answer

WCF + Web API - How to integrate?

I'm developing a web api and need to integrate with a service from a third party that is a WCF. I have the WSDL definition, I integrated it into my solution as a service reference, but it is pointing to a physical file on my PC. How do I inte...
asked by 25.04.2017 / 20:09