I am trying to find some good tutorials that would show me to create a simple SOAP based service using WCF and deploy it. I have been googling for the past ... |
I am working with WCF to exchange messages with a third party company. The messages need to be sent and received in an envelope that matches the ebXML specification. ... |
I have been looking at the thorny issue of WCF client disposal recently.
One common solution I have seen is along the lines of:
try
{
client.Call();
client.Close();
...
|
Is there anyway to fix the warning that Visual Studio flags when you try and add the SOAP endpoint to a WCF RIA service ?
The element 'system.serviceModel' has invalid child element ...
|
We are developing an application using Adobe Air from the client gui with a mix of WCF and REST on the backend. One of the requirements of this application is that ... |
I am trying to use XSL to transform the following WCF call and place the result in a queue:
<s:Envelope xmlns:a="http://www.w3.org/2005/08/addressing" xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Header>
<a:Action s:mustUnderstand="1">SendMessage</a:Action>
...
|
Adding new members in the Data contract are harmless for all versions of clients. Its a known fact.
I wanted to test this.
I created a Book Data Contract. Its first version had ... |
|
This is my first time consuming a SOAP web service in ASP.Net and I am a little lost on how this works.
https://www.secureach.com/AchProcessorWebService/AchProcessorService.asmx
I created the Service Reference called AchProcessor in ... |
i'm calling a WCF service using BizTalk 2009 as intermediate endpoint, now i changed the wsdl of the service being called by biztalk (i changed the soap action attributes in the ... |
I am writing a service in .NET that receives XML objects in a SOAP envelope that will take that message and response with a SOAP message using the same schema. For ... |
It's my first question over the web. Hope it will make sense.
I have seen several blogs related to this issue over the Web, and I have tried few of the ideas ... |
What is the best practice for multiple WCF end point types? i.e.: JSON, JSONP, SOAP & POX? I am using WCF 3.5.
For instance, I have the following JSONP ... |
QUICK SUMMARY:
Taleo has a single operation "Dispatcher WSDL" that is supposed to return a URL for use with its WebAPI WSDL ... the purpose is to allow the URL to be ... |
I configured traditional WCF Services using SOAP end points. In my client project I added the Service Reference, etc. These are working as expected.
I created a JSONP enabled ... |
I have a localhost Client and WCF Webservice and I'm trying to see what the SOAP Message looks like and verify that infact a soap+xml is being used.
I tried using Fiddler ... |
I JSONP enabled my WCF ServiceContract. Client is successfully calling the JSONP Service (OperationContract). I have a number of other OperationContracts (using the same ServiceContract) that I want to ... |
I'm trying to get a MethodInfo collection from a SOAPClient object that contains only the methods of the webservice itself. Here is what I'm currently doing. At the moment it returns ... |
I was hoping to be able to protect my WCF services on an operation level not service level.
Hence some methods are protected and others not. I know there is an attribute ... |
We're trying to send a large xml string to a service method in WCF and we're getting the error
The maximum string content length
quota (8192) has been ... |
Can I implement some custom serialization (SOAP) to serialize only the fields wich can be changed dynamically
Class:
[DataContract]
public class Video
{
...
[DataMember]
...
|
Some consumers of our WCF web service are encountering an exception when trying to parse our responses:
System.InvalidOperationException: There is an error in XML document (5, -349).
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, ...
|
I am using a WCF client to consume a non-WCF SOAP 1.2 web service. When receiving a SOAP fault as shown below, I receive a ProtocolException instead of a FaultException. There ... |
for the first time we're consuming an SAP NetWeaver web-service on SOAP 1.1 which requires user-name and password authentication over HTTPS.
I'm currently prototyping the WCF application and I successfully can consume ... |
I'm trying to expose an existing RIA service with SOAP and JSON.
In the web.config, serviceModel section, I've put:
<system.serviceModel>
<domainServices>
<endpoints>
<add name="OData" type="System.ServiceModel.DomainServices.Hosting.ODataEndpointFactory, System.ServiceModel.DomainServices.Hosting.OData, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" ...
|
I'm building a WCF web service inside a Web Application using Visual Studio 2010. The code of the service is structured as a try-catch-finally block, where the catch block ends with
throw ...
|
I have a WCF client that sends messages signed and encrypted to webservice.
Question:
How can I save the outgoing SOAP message at the state where it is already signed but not yet ... |
I have a WCF service (.Net 4 hosted in IIS 7.5) adding unwanted attributes to the s:Body tag in the response.
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
Implementing ... |
I have a .NET 3.5 WCF Service which is currently a SOAP + XML service.
There is now a need to expose this same service to some clients who need the responses ... |
I've got a wcf service set up on the server which is supplying data to a flex project built using Flashbuilder4. I've used the webservice introspection feature to generate the DTOs ... |
How .NET framework creates SOAP message from message contract? Which serializer class is used to serialize the message contract?
|
What's the benefit of using WCF services instead of old .NET SOAP webservices. I'm not seeing any immediate benefit of using these than the usual boilerplate code-crap.
|
Are they the same thing? does that Service Oriented Application Platform use Simple Object Access Protocol? not clear to me.
|
My DataContract for a WCF service could benefit from a HashTable (or Dictionary<string,string>) so I can store arbitrary key=value pairs. If the client that consumes the WCF service happens to be ... |
Is it possible to pass in JSON as input to a WCF RIA Service in order to create an object?
The reason is that i have a hash full of key value ... |
i dont see the soap header exposed in our wsdl but the service is configured to use
... |
I've started working on Windows Phone 7 and came across this problem.
I have a VS 08 console application that has a Web reference added to it and every thing works great, ... |
I need to call some 3rd Web services that require WS-Security. I created a WCF endpoint with the following configuration:
<system.serviceModel>
<bindings>
<wsHttpBinding>
...
|
I would like to know if someone could provide example or a link on some tutorial which would show how to send messages using soap as a job (at given time) ... |
I have a site that give me this xml response on my GET request:
<ServerUnits>
<State Name="ServerName" Date="2008-04-01" >
<Users>
...
|
I'm calling this web service within code and I would like to see the XML, but I can't find a property that exposes it.
|
I ran in to a fellow programmer and was discussing a method i needed to write, and in an OOP aspect, the a Dictionary<T,U> is perfect. But, i voiced concerns ... |
Are there any performance benefits in using JSON over SOAP to encode messages while working with WCF?
Thanks
|
Are you required to use a .net service to send and receive data using the WCF-SOAP framework/protocol?
I have an application using HTTP POST currently, but need to switch it over to ... |
I am having Mobile application calling WCF using the proxy generated using NetCFSvcUtil.exe. I need to send the simple HTTP header information ( required for server side) for each WCF calls. ... |
I have generated a proxy class running svcutil on a wsdl based of this wsdl.
I had to do some modification for the web service to even work. For example ... |
I am currently designing a service (wsHttp) which should be used to return sensitive data. As soon as a client asks for this data, I get it from the database, compile ... |
I fear I may be displaying my ignorance with this question, but here goes...
I would like to use WCF to implement interprocess communication between a .NET app and a third-party app ... |
I have a simple windows console app that I have added a service reference to and I am trying to call a method and make a request! I am using the ... |
I dont know what I am doing wrong. I have a WCF (.NET 3.5) service (JsonSoap.svc) that has two endpoints for soap and json content type. Both the endpoints refer to ... |
My MonoTouch application is calling to a SOAP WCF Service using CustomBinding with HttpTransportBinding and TextMessageEncodingBinding and everything is working fine with MonoTouch version 3.2.6. I'm updating my system to use ... |
I want to write CustomTraceListener which writes all data to SQL Server DB.
Here's the stub for it:
public class SqlTraceListener : TraceListener
{
public SqlTraceListener()
...
|
I have a WCF service that listens for SOAP requests and these requests contain a Username as part of the SOAP header security elements, for example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
...
|
hello friends
i learnt about odata and soap,but do clear me one thing.
if i use soap protocol in my wcf ria services instead of enabling odata what effect does it makes?
i have ... |
I am attempting to consume a web service through it's corresponding wsdl. This service is dependent upon authentication conforming to Web Services Security Basic Security Profile 1.0 including that ... |
I have been reading up on WCF and coming from a background where we didn't use web services that much I am trying to figure out the comparative advantages of using ... |
I have a WCF service hosted under IIS, behind a load balancer. SSL is offloaded at the LB and then the service is called in plain HTTP.
I got the REST endpoint ... |
I have taken over development on a .NET WCF project. Among other things, the project contains 3 files:
IApi.cs <= Defining the interfaces
JsonApi.svc.cs ... |
I'm having trouble getting started with WCF in .NET 4.0. This is my situation:
I have created a small SOAP Server in PHP. I have a C# project in which ... |
I am writing application where in the requirement I have to communicate with one device witch send SOAP message over UDP. I am using .Net UDPClient class to communicate with this ... |
I create a WCF SOAP server with an operation that takes some time to perform:
[ServiceContract]
public interface IMyService
{
[OperationContract]
string LongRunningOperation();
}
[ServiceBehavior(
ConcurrencyMode = ...
|
I have a WCF Service which returns a list or array. When it is called by a third party, does it automatically serialize into the proper soap envelope?
|
I have the following Soap Request I receive from the client, where basically I have to extract the Name and then send back "Hello Test"
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://tempuri.org/">
<SOAP-ENV:Body>
...
|
Using Visual Studio 2010, I developed a WCF service hosted on a web application for a third party to use. They're telling me that they cannot invoke it. For testing, they ... |
To put the question into some context, the system exposing the web service uses GUIDs internally as identifiers for all entities.
In such case, when designing a public facing data integration web ... |
I have 2 solutions:
- Server Solution
- Client Solution
The server registers itself to my localhost IIS: http://localhost/MyApp/
The client adds WCF Services (Service References) from the localhost application: |
I have set up my WCF client to go through a Fiddler proxy so i can capture and analyze traffic. It turns out, my WCF client is not sending all the ... |
We are replacing an existing web service that supports both SOAP and POX endpoints for a large number of clients. SSL provides transport security but the messages contain credentials (username/password) embedded ... |
Basically I am trying to make a generic client which will retrieve the Methods Names, Parameters that it takes and Parameter that it returns from the any kind of web service. ... |
I have the following:
[DataContract]
public class Foo
{
[DataMember(EmitDefaultValue = true)
public bool Bar { get; set; }
}
2 Questions:
- What really happens here because my bool can't really ...
|
I have a method GetColors which takes a GetColorIdsRQ as a parameter and returns a GetColorIdsRS. GetColorIdsRQ is the SOAP Request and GetColorIdsRS is the SOAP Resposne. Here are ... |
I need a class for easy formation of such structures
str += "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n";
str += "<S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\">\r\n";
str += "<S:Header/>\r\n";
str += "<S:Body>\r\n";
str += "\t<ns2:get_version xmlns:ns2=\"http://gdfgd/\" />\n\r";
str += "</S:Body>\r\n";
str += "</S:Envelope>";
|
I am getting following error when i make the service call
Error in deserializing body of request message for operation 'IbankClientOperation'. OperationFormatter encountered an invalid Message body. Expected to find node type ... |
I have a SOAP message in a string at my client side
string requestMessageString = "<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:inf="http://www.informatica.com/"
xmlns:wsdl="http://www.informatica.com/wsdl/">
<soapenv:Header>
<inf:Security> ...
|
I'm sending this request to my WCF webservice with a Android client using ksoap2:
<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:c="http://schemas.xmlsoap.org/soap/encoding/" xmlns:v="http://schemas.xmlsoap.org/soap/envelope/"><v:Header />
<v:Body>
<HelloComplex ...
|
I am sending some SOAP headers to a WCF service and I am trying to catch them using behavior extension.
When the message is received I am going through its headers collection.
Each ... |
All,
I was just implementing a Webservices method that needs to take as an argument a list of objects. On the client side, I tried to call this passing it a list ... |
I have a WCF Operation that is defined like this:
[OperationContract(Name="GetColorsRQ")]
GetColorsRS GetColors(GetColorsRQ rq);
Where GetColorsRS will hold the response and GetColorsRQ holds the request. When I run this, it creates the following ... |
I am new to server-client applications.
I am trying to build a prototype where a Java server communicates with a .net WPF client over http. The server and client currently communicate ... |
I am working on a WCF SOAP service, and I noticed something weird.
I have the following code in my service contract
[ServiceContract]
public interface IService
{
[OperationContract]
int MethodA(int a, ...
|
[ServiceContract(Namespace = "http://schemas.mycompany.com/", Name = "MyService")]
public interface IMyService
{
[OperationContract(Name = "MyOperation")
OperationResponse MyOperation(OperationRequest request);
}
In this scenario, what is the point of the Action and ReplyAction ... |
I've been looking all over for this, and its not looking promising so far, trying to get a client app written that is consuming a 3rd party service(sample request below, from ... |
Reading this question WCF - Implementing client which requires encryption of one soap:body element, how? gave me a question of my own.
According to WS-Security specification "The message creator MUST NOT ... |
I am trying to create a wcf service with two endpoints, one SOAP 1.1 and the other SOAP 1.2. Here is my config:
<?xml version="1.0"?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="ProgramInformationWS.Properties.Settings.IMTConnectionString" connectionString="Data Source=DLADD00001;Initial Catalog=IMT;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<compilation debug="true"/>
</system.web>
<!-- ...
|
I'm consuming a SAP PI Web Service and some reason it's not working. I'm thinking due to incorrect SOAP XML below:
This is what SAP PI is expecting:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:A_Request xmlns:ns0="http://domain.co.au/abc">
...
|
I started to make an application, in which the priority is client application size, smaller is better. I have to retrieve and add some data from/to a server, basic Add(), GetAll(), ... |
I have WCF hosted SOAP service which I'm able to hit from the browser as well as from my SOAP client fine when making HTTP GET requests, however, when doing any ... |
From a wcf4 service need to access to the underlying http request,including it's soap message, how can I do that from code?, I know I can use fiddler, etc, but need ... |
I might be getting myself confused here but say I want a service to be idempotent. That is, receiving the same request more than once will not change the state of ... |
I've been working with WCF routing and implemented a custom message filter,
public override bool Match(Message message)
{
...
|
I'm trying to migrate a live, active WCF service (SOAP, standard HTTP binding config) to a new server [on IIS 7] without necessitating a client redeployment. The WCF service in ... |
I've a windows form application on .Net 4.0 this application use a operations available on a proxy on WCF. How the best way to logg the messages between my application and ... |
I am trying to make a soap server with the attribute OptIn in WCF / .net 4.0
This is my test code
[DataContract]
public class Relatie
{
[DataMember(IsRequired = false)]
...
|
I'm using a well known vendor's API with a WSDL link1, link2 (click wait to download):
The above mentioned documentation wants me to create an Authentication ... |
I have a problem with the response method of the Soap server.
It is a .net WCF webservice
The following code:
[ServiceContract()]
public interface IService1
{
[OperationContract()]
List<DealerLead> GetDealerLeads(List<DealerLeadsRequest> accountnummerString);
}
Will ... |
A colleague of mine gave me a copy of a mock service project for SOAP UI. I can open and run this mock service fine on my machine.
It is running ... |
I'm having a problem with my soap request.
this is de code that creates the request.
[OperationContract()]
[return: MessageParameter(Name = "Dealer")]
List<Dealer> GetDealer(String AccountNumber); ...
|
I'm trying to utilize GZip compression for the self hosted WCF service.
The SOAP 1.1 is required.
I implemented custom MessageEncoder from the next sample http://msdn.microsoft.com/en-us/library/cc138373.aspx.
The message encoder was incorporated to ... |
Whenever object of a class marked with MessageContract attribute is serialized, I see that it looks for [MessageBodyMember] members and serializes them under seperate XML elements in the message. Is there ... |
WCF does my head in. What I'm trying to do is create a WCF client that will send SOAP messages that contain a username token and are signed with a certificate, ... |
I am connecting to a DFS(Documentum Foundation Services) instance from a WCF client.
I am using basicHttpBinding and I have set the messageEncoding="Mtom". However, when I inspect the soap, I see ... |