All Questions
913
questions
0
votes
1
answer
77
views
WCF service not able to deserialize xml
I'm using a WCF service and this is my service method:
[ServiceContract]
public interface II3ReceiverService
{
[OperationContract]
string result(Envelope envelope);
}
This is the initial ...
1
vote
1
answer
81
views
Is there a way to ensure an XML DateTime prop is serialized to wintertime if the date is during wintertime?
An XmlSerializer keeps serializing datetime's to summertime(+2) instead of wintertime) if the XmlModel has a property with the XmlAttrib with "DateType=Time" configuration.
The date ...
0
votes
1
answer
68
views
WCF returning 400 error for a very simple application
I have created a very simple WCF application, doing nothing but returning the input value you put in.
When hosting this application in IIS locally, I get a response without any issue.
However, when ...
2
votes
1
answer
197
views
Binding Soap request body to C# in .NET Core
I have the following SOAP request body. I need C# class to bind the data:
I have following c# classes but it does not work:
[XmlRoot(ElementName = "Brand")]
public class Brand
{
[...
0
votes
1
answer
472
views
xml.LoadData Data at root level is invalid, line 1, pos 1. Existing solutions not helping
I am trying to save an xml file that I have built from a string to local memory in App_Data of a C# web service application. I am getting this error despite looking at previous stack solutions:
Data ...
1
vote
1
answer
216
views
Solving the WCF DataContract DataMember Order deserialization problem
One use case for interfacing with a legacy WCF is to hide all the .NET service code behind a more modern RESTful API to which we Post the (seemingly correct) XML, and deserialize it to the WCF class ...
0
votes
0
answers
19
views
SSRS Query DataSet return blank result
My embedded query returns no results.
I am using with WCF framework.
This is my request:
<Query>
<Method Namespace="Server" Name="GetReportList">
<...
0
votes
0
answers
60
views
WCF Connected SOAP Service xml Deserialization Issue of .net Generated Classes same parent child name
I Am facing an issue, i connected to a WCF service in my .net 6 web API.
the Expected xml to be deserialized into class is below
<AttributeGroups>
<DisplayName>Product ...
0
votes
1
answer
213
views
WCF SOAP have a namespace for the Method Name but not the Parameter
I have the following SOAP request:
<your:SendCount>
<Parameter>
<Count>12345</Count>
</Parameter>
</your:SendCount>
The method SendCount has a ...
0
votes
0
answers
310
views
CoreWCF - Return Custom Soap Fault with nil Faultstring
We have an existing SOAP API implementation we are migrating to CoreWCF, where we are returning a SOAP fault with a faultstring with nil="true". Our vendor is using this response to perform ...
0
votes
0
answers
568
views
Invalid URI: The format of the URI could not be determined on calling WCF service on .NET 6
We have an application on .NET Core 3.1 that calls a WCF service. After upgrading it to .NET 6 we are seeing the below exception during the call to the WCF service:
Exception: System ...
0
votes
1
answer
258
views
how to convert var xml to dataset or databale in net core?
after call soap serivce, I get a var data but it is xml, I want convert it into dataset or datatable
my code:
...
using (WebResponse Serviceres = request.GetResponse())
{
...
0
votes
2
answers
152
views
Return an Array of string in a WCF Service
Hello in a C# WCF Service application i want to return an array of 5 strings in a method. The above code isn't returning any errors but when i launch the Service in debug mode it only shows the first ...
0
votes
0
answers
398
views
WCF service with MTOM attachment post request return "Error creating a reader for the MTOM message"
I have a WCF serivce that receives a soap message from a client, simple post Service Contract that receives message with MTOM file attachment.
[ServiceContract(Namespace = "http://example.com/...
0
votes
2
answers
692
views
Removing 
 and  to get valid XML?
I have a WCF service (.NET C#) that sometimes returns for example 
 and  which is not correct XML.
I guess I could build a translator that are applied on each string field before ...