Quantcast
Channel: WCF, ASMX and other Web Services
Browsing all 555 articles
Browse latest View live

Receiving a MIME attachment from a webservice.

Hello. I'm trying to build a client using .NET/C# that is capable of communicating with an existing Webservice written in Java using Apache Axis. Now, I've encountered a problem trying to retrieve...

View Article


Bind SOAP response to Gridview using proxy code (request for sample code)

Being a junior ASP Net developer I would like to bind the SOAP response from a web service in ASP Net C# to a gridview via the web proxy.Following SOAP response:<s:Envelope...

View Article


WebMethod to accept XML from HTTP Post

2 days I've been on this and I don't think it should be too difficult, but it seems to be.I am writing a web service to provide web methods. For example, I have a method called AddCustomer. It sits...

View Article

HTTP Post to Web Service containing a file

My understanding of web services is at best ok. In principle it is calling a function across the web to gain a service and get a response. I've had some awesome help from someone on this forum in...

View Article

Exception thrown: 'System.Net.WebException' in System.dll The remote name...

I have a WCF Service hosted in IIS on a Windows 10 IoT Enterprise machine on a private network (no domain). When i make calls to my service from the client it is unable to resolve my computer name as...

View Article


Web API with referenced to Managed Code 32bit

The Web API I'm creating links to Sage 300. When you reference the 2 DLLs that you need to connect to Sage's API, they are 32bit DLLs. If I set the project properties to be x86, running it loads the...

View Article

.NET Core Web Api trying to post to another web serivce

I've been building a web api. It picks up the XML from the client. I can read the XML. I need to the data into Sage 300. Sage 300 seems to have a full Web API which I only just found out about. I can...

View Article

Returning responses from Web Api

My web api needs to return a response. Can't seem to get it right. Here is the code for the controller.//Controller Code // POST api/<controller> [HttpPost] //public IActionResult Post([FromBody]...

View Article


Publishing a Web Api in IIS

Hi,To publish an ASP.NET Core web service in IIS, I'm trying to get the steps sorted. I have it working on the development server and for testing I need to make that available on the same server. In...

View Article


Logging from a web api

With the web api I am developing, I need to output data to a log file. I know I can add stuff to the stdout log file, but I would rather like to output to a dedicated log file. My web service does not...

View Article

Consuming webservice from class library

Hi,I have to make a class library with a service reference in it. All the communication with the web service has to go via this class library. Now when i make a second application(winforms) to call the...

View Article

Basic config files

I'm not looking for anything complex here but, every time I read another page about this, it starts wading into stuff that is way too much for what I need. My web service creating in ASP.NET Core 2.1...

View Article

Server did not recognize the value of HTTP Header SOAPAction

Hello, I have a webservice developed with VS2008. It runs ok on my browser but when the client tries it, I receive this error messageServer did not recognize the value of HTTP Header SOAPActionPlease...

View Article


WCF TestClient: How to display Fault Exception instead of "Failed to invoke...

Hi,i wanna test my SOAP WCF Server.So i start my Visual Studio Project from the Service1.svc File into the WCF Testclient.public class Service1 : IService1{public string GetData(int value){     return...

View Article

Return XML in response body

My web service sits between a client and another web service. It converts the clients requests into another request to pass on to Sage 300 and returns the response back. Most of the time it is for...

View Article


WCF disable proxy creation for security

just read this link https://stackoverflow.com/questions/5671885/what-happens-if-i-set-httpgetenabled-false1) tell me what i need to do disable proxy creation of wcf service ? do i need to remove mex...

View Article

Reading appsettings.json from controllers

I need to store some settings in appsettings.json. I've read and re-read several pages and I've got almost nowhere, other than confused. I've read the MS articles and I'm still having trouble. Here is...

View Article


Deserialize Soap Request Message from File to Object

Hi,this is my incoming XML SOAP Request Message:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/"...

View Article

Testing Webservice with Custom SOAP Header in Postman Client

Hi,I am learning authentication in web service so following an article in code project, but stuck at testing in Postman. I don't know how to pass custom SOAP header (username and password) in postman...

View Article

IIS 500 Error WCF Service and Failed Request Tracing not info

I have a WCF service running in IIS 8.5 on Windows Server 2012 R2 with AppPool Integrated.I open url in the server: http://localhost:50123/MyService.svcI have **HTTP 500 Internal Server Error**....

View Article
Browsing all 555 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>