web-services

Best approach for passing XML to a webservice?

I have XML files in a directory that I wish to get over to a webservice on a server that will validate them and return a true/false as to whether they are valid in construct and values etc. Reason for server side processing is that the validation rules may change from time to time and need to adjust in one place as opposed to all client ...

How do I fix a .NET Webservice timeout causing a UnsupportedMediaException in a Java client?

I currently have a .net SOAP web service with a timeout on the request that I set using Server.ScriptTimeout = TIME_OUT; I then have java client calling said web service. However when the timeout is reached I get this exception: Exception in thread "Thread-9" com.sun.xml.ws.server.UnsupportedMediaException: Unsupported Content-Type: ...

Automatic query to Google search?

I've had a look at code.google.com, but I didn't find anywhere how to programatically make a search query to Google and get the results. Do you happen to know if this is possible, using some web services or any other way? Of course, there's always the possibility to send a search query, get the HTML content of the result page and parse ...

Handle requests to several classes within the same PHP SOAP server

Hi, Is that possible to have a single PHP SOAP server which will handle requests to several classes (services)? If yes, could you please show an example implementation? If not, could you please describe why? Thanks in advance, Artem. ...

Enterprise Messaging API with Web Services for High Performance?

Does combining an Enterprise Messaging solution with Web Services result in a real performance gain over simple HTTP requests over sockets? (if implementation details will help, interested in JMS with a SOAP webservice) ...

Soap Web Service Calls from SQL Server

I'm not entirely sure if this is possible, but does anyone know how, or if you can make calls to a SOAP web service from SQL Server? Seems like it might be good performance-wise in the area of data sync applications. I feel like this might be a long shot though. Thanks. ...

'Error serializing body'. Problem calling Fedex webservice through .NET 3.5

I'm using Fedex's web services and getting an annoying error right up front before I can actually get anywhere. There was an error in serializing body of message addressValidationRequest1: 'Unable to generate a temporary class (result=1). error CS0030: Cannot convert type 'FedEx.InterOp.AddressValidationServiceReference.ParsedElement[]'...

What happened to 'nice' generated class names in .NET for web services?

I am using .NET 3.5 to call a FedEx web service. In Fedex's sample code (VS2005) it has things like: AddressValidationService addressValidationService = new AddressValidationService(); AddressValidationReply reply = addressValidationService.addressValidation(request); This is nice. I like that. I'm calling a method on a 'Service'. b...

Can you use jQuery to connect to a .NET Webservice?

Is it possible to use jQuery to connect to a .NET webservice? Maybe something I can pass a wsdl url too. ...

How to write a java web service to do remote login?

I have two application. I need to do a single signon from application a to application b. I thinking of using web service. I wonder how do i go about that approach. Can anyone advise? ...

Passing a custom object to the web service

Hi all... I'm using C# and I have windows form and web service... I have a custom object that I want to send to the web service.. sometime, the object may contain a huge of data.. as a best performence, what is the best way to send a custom object to the web service? Thank for reading my message and I appreciat your help... bey... ...

Domain Logic and Data Access of MVC at Remote API/Web Service Layer

Hi all, In our system, we have a Remote API layer (e.g. SOAP, XML-RPC, REST, etc.) to handle the domain logic and data access for web application and any client applications that're developed on top of it. Unlike in the past, I do not have business logic code and DB connectivity at the web application, all user actions are translated to...

Why can't my Java webservice talk to my Perl backend?

In our project the Java webservice communicate with the backend program written in C and Perl to process. We are using the ProcessBuilderto execute a backend (UNIX) job FrameworkHandler. ProcessBuilder process; process.Start(FrameworkHandler -a ACTION) FrameworkHandler invokes a Perl script to perform some action. The Perl script int...

How do I pass a python list in the post query?

I want to send some strings in a list in a POST call. eg: www.example.com/?post_data = A list of strings The python code receives the data as a single string (Instead of a list of strings). How do I post it as a list of strings? ...

Returning an XElement from a web service

Is it possible to return an XElement from a webservice (in C#/asp.net)? Try a simple web service that returns an XElement: [WebMethod] public XElement DoItXElement() { XElement xe = new XElement("hello", new XElement("message", "Hello World") ); return xe; } This compiles fine but if you try and run it you get Cannot...

Web Service vs WCF Service

What is the difference between them? When would I opt for one over the other? ...

Accessing ASP.Net WebService using XMLHttpRequest and SOAP

I have a webService hosted at http://recpushdata.cyndigo.com/jobs.asmx. I would like to call this webservice using XMLHttpRequest and SOAP. The thing why I would like to do this is that I have hosted a client application which is accessing the webservice perfectly, but when client is trying to access the same webservice its giving some e...

load test / stress test web services

Hi, Does anyone know of a good tool to test load and stress on webservices? I've been looking at Watir and Selenium, but there more web page centered. Thanks in advance. ...

Server did not recognize the value of HTTP Header SOAP

Here you can find the WSDL for my Jobs.asmx webService. http://recpushdata.cyndigo.com/jobs.asmx The Thing is I have created a HTML page at http://bugmusic.cyndigo.com/CallWebService.html and its returning an Error Server did not recognize the value of HTTP Header SOAP. I am not able to find the bug. ...

Server did not recognize the value of HTTP Header SOAPAction C# Javascript

[SoapRpcMethod(Action = "http://cyberindigo/TempWebService/InsertXML", RequestNamespace = "http://cyberindigo/TempWebService/Request", RequestElementName = "InsertXMLRequest", ResponseNamespace = "http://cyberindigo/TempWebService/Response", ResponseElementName = "InsertXMLResponse", Use = System.Web.Services.Descr...