My superior once told me that a bad way of calling a web service or a wcf service is treating it like its a referenced assembly i.e. instantiate a class and call the methods.
I don't see any other way of doing it though. Are there some best practices that I should be following when I interact with external web services / services or is...
Hello everyone,
I would like to read a website asynchronously, which isnt possible with urllib as far as I know. Now I tried reading with with plain sockets, but HTTP is giving me hell.
I run into all kind of funky encodings, for example transfer-encoding: chunked, have to parse all that stuff manually, and I feel like coding C, not pyt...
Hi,
we wrote a WCF service, deployed on IIS. we chose Integrated Windows Authentication. service can not be used in this case but if we can set the authentication method of the IIS virtual directory to "Anonymous" for WCF services, then the error will go away. But "Anonymous" is not acceptable for our WCF service. We have to use Integra...
I'm going to learn RESTful web services (it's better to say that I'll have to do this because it's a part of CS master degree program).
I've read some info in Wikipedia and I've also read an article about REST at Sun Developer Network and I see that it's not easy technology, there are special frameworks for building RESTful apps, and i...
I've been provided a WSDL file that points to a webservice. I use this webservice to log in and create a session. In addition to the session token, the login response provides a URL I'm supposed to redirect my webservice calls to. Other than the URL I'm addressing, the definitions are the same, so no new WSDL is provided.
What is the...
Hi,
I'm trying to use e4x to retrieve xml from the result event thrown when my Flex webservice is successful.
This is a snippet of the returned xml
<p430:getRoomsResponse xmlns:p430="http://impl.service.com">
<p430:getRoomReturn type="p888:Room" xmlns:p888="http://vo.room.com" xmlns="http://www.w3.org/2001/XMLSchema-instance"> ...
I am trying to call a web service in a .net client. The web service requires the wsse:Security header. I've added the service reference, how do I go about adding the header? I'm doing this in c#, .net 3.5
...
Hello,
I followed the directions in this post: http://stackoverflow.com/questions/457183/how-can-we-integrate-jquery-autocomplete-using-asp-net-webservie-and-sql-databas
to make jquery-autocomplete plugin work with my webservice on asp.net, but it just won't work.
Autocomplete works if I do local data. I'm also able to make calls to ...
I need to use People Soft's component interface in order to communicate with People Soft. I can't find any sort of documentation for this so I'm having to go off an old version of software in house that interfaces with an old version of People Soft to learn it.
The People Soft people I work with also don't know anything about the Compon...
I have an EJB3 bean deployed as a web service in JBoss 4.2.2. In production the server is behind an Apache server that redirects requests to the Jboss server. This makes the WSDL have the wrong soap:address location. I was able to get the port and host name changed via the configuration file in server\default\deploy\jbossws.sar\jbossws.b...
Hello,
I am building a .NET 3.5 Winforms app that uses WCF services (wsHttp binding) to communicate to my server which gets data from SQL Server and passes it back to the Winforms app (Smart Client). I noticed since running Windows 7 RTM there is about a 30 second delay the first time the WCF communicates, from that point forward it's ...
Following "A well earned retirement for the SOAP Search API" from Google announcing they have recently removed their SOAP APIs, I'm curious what the community thinks of SOAP in 2009. I can see its use for remoting and more verbose client-server stateless communication, but for more generalised [Ajax] web usage is it now redundent?
Have ...
Surely there must be an event to attach onto before a ServiceHost or Channel or Dispatcher handles a message? I'm assuming it can be accessed through OperationContext.Current, but the closest events I can find are Opening and Closing. Is there something like a MessageReceived or BeforeMessageProcessed event?
If not using events, is the...
I've added a Service Reference for a third-party web service to my project. When i send a request to a webservice using the generated method, the request fails saying that it is missing the XML prolog.
How can I add:
<?xml version="1.0" encoding="UTF-8"?>
to the begining of the request before sending it?
This is a C# web applicatio...
Hi Guys,
Could someone please tell me how to access CRM (IFD) webservices from outside the domain?
Thanks in advance
lasa
...
Hello,
I have a WCF service with a function GetData()
When my client calls this function,it takes a while to return the data after looping through some stuff
Within that period of time,if I pull of the wires on the server,no error is thrown.
How do I get to know if the client gets disconnected?
Thanks.
Edit:I'm using Wshttpbinding
...
I've a relatively small problem.
I'm developing and interface between my application and a third party program. The communication between both of them is made by SOAP webservices. They have provided me the wsdl that they are going to use to receive AND send data. I've create the service interface and the client with the wsdl.exe tool, an...
I've noticed the following pattern recently, but I don't entirely grasp the usage of the CompletedSynchronously property:
IAsyncResult channelOpenResult = channel.BeginOpen(new AsyncCallback(OnOpenCompleteChannel), channel);
if (channelOpenResult.CompletedSynchronously)
{
CompleteOpenChannel(channelOpenResult);
}
And then ag...
I am currently writing an app which will need to access a remote server/database to read/write values. What is the best technology to use? I've heard that there is no support for XML Webservices...does this mean a ASP.NET Webservice will not be easy to access?
Thanks.
...
I'd like to write a small web service in Joomla for a client, but I'm not sure how to get started. Although I'm moderately familiar with Joomla and quite comfortable with web services, I'm a complete stranger to web services in Joomla.
Is there a "hello, world" example that anyone's aware of, or could demonstrate in an answer? Sometimes...