Entity Framework connection string in WCF console host
I'm doing my homework, a WCF service that uses SQL Server with Entity Framework, hosted through a console application, and using a WPF client.There are 3 different projects, and the host and the...
View ArticleElement 'Envelope' was not found. Line 1, position 2.
Hi I am acall a .Net 2.0 web service from my app - but I seem to get an error of "Element 'Envelope' was not found. Line 1, position 2." when I can one method. I am passing the web web service a...
View ArticleWhat is WCF service at what situation i have to use WCF service
What is WCF service at what situation i have to use WCF service. I am working asp.net webform since long time but i am not able to implement WCF service in my projects but other companies mostly...
View ArticleProblem with connect to webserwice (currencyconverter.kowabunga.net)
Hello,I'm trying to use C # and VS Community 2017 (on Windows Serwer 2008 R2 Standard, mayby it's important ) to connect to webservers (http://currencyconverter.kowabunga.net/converter.asmx) and get a...
View Articlesecure asp.net web service ( ASMX )
Hi,How can i secure asp.net web service ? is it possible to implement token based authentication? if it is possible then can i get any example to implement this?
View ArticleNested WCF service calls get stuck in IIS
<div class="votecell post-layout--left"> <div class="vote">I have a case where I have to send calls to other service methods from a service method. e.g. I call a service method A.Call1()...
View ArticleWCF log to IIS asynchronously
I have a requirement where I want to log the response of WCF method to IIS log against the current request. This is currently implemented but the problem is I have to serialize response object before...
View ArticleSending a SOAP Request UI
Hi ,I am trying to send a SOAP Request using C#. I can send using Soap Ui and get a response, but when writing in C# , I get authenticated ok , but the response is just the wsdl .Is there an example I...
View ArticleWill WCF core support websocket binding
Just wanted to know if wcf core supports websocket binding.If wcf core supports websocket binding, Does it supports proxy generation for web socket using scaffolding.Any information or advice is much...
View ArticleEvery binding must have at least one binding element that derives from...
I am having Wcf Service with custom binding and exposed as HTTP proto call. I am trying to consume the wcf service in my asp.net core by scaffolding.Here is my...
View ArticleHow to debug a function/method from another project in .asmx web service
I want to debug a function from another project in .asmx web service.Here I will explain my code,using System.Web; using System.Web.Services; using System.Xml;using InternalDataLayer;using System.Data;...
View ArticleXML Schema SOAP Request
Hey guys, this is my first time using SOAP. I need to send XML Schema request to my server, but I get Cannot find table 0. The guys who made the software are not telling me how to format my XML Schemas...
View ArticleConsume soaprequest
Hi I have asmx url like https://test.aspx?wsdl ,method name, arguments as object array. Can I write Methodinfo mi=was .Gettype().Get method(method name ) Var result=mi.invoke(classinstance,parameter...
View ArticleA Question About Message Routing in WCF
Hi There;I am reading book Professional WCF 4, written by Pablo Cibraro, Kurt Claeys, Fabio Cozzolino, Johann Grabner. There is a passage in the book: In many cases, the sender of a message does not...
View ArticleGiven soap url how read soap envelope for a method
Each soap method has envelope.how to read those envelop and assign to string like below string str=@"<?xml version like that.class Soap { static void Main(string[] args) { string soapStr =...
View ArticleGiven url .access it method with argument and invoke.
Each soap url has method name.each method name has prdefined soap envelope.how to read soap be envelope and invoke method name with parameters.need example.
View ArticleNot able to access my second web method of my web service
Hello everyone,I'm fairly new in web services and there's a problem that I ran into last night.I have two methods in my web service Service.asmx FormSubmit() and Login(). My question is, i'm able to...
View ArticleParameter count mismatch
Hi I have webservice that works fine.when i create it as static object Public static object webser(string asmxurl,string methodname,string service,obj ()args) Webclient c=new webclient(); Stream...
View ArticleHow to download documents from the URL..?
How to download documents from the URL. my client sending some URL which contains some of the documents (documents file will be either zip/image/pdf/word). Currently i am able to download the file when...
View ArticleReplicate [DataMember(EmitDefaultValue = false)] in each property
HiI have a class:[DataContract] public class CodigoAgrupacionFiltroDto { public Guid? IdAlmacenOrigen { get; set; } public Guid? IdUbicacion { get; set; } public string EtiquetaDescargada { get; set; }...
View Article