web-services

How can I add a operation level handler in Axis2

Hello, I'm using the Axis2 Java web service engine and have written a server side handler for handling security for our application. The handler gets called when configured globally in axis2.xml, but doesn't get called when I apply it selectively on a per web service operation level. Here's a snippet from my services.xml where I tried ...

Difference between WSDL 2.0, WADL & XRD?

WSDL 2.0: www.w3.org/TR/wsdl20/ WADL www.w3.org/Submission/wadl/ XRD www.oasis-open.org/committees/download.php/35274/xrd-1.0-wd10.html All three can be used a REST API descriptors. What's the differences? I know this is a heated question, but I simply want a comparison, not a flame war :P ...

Creating Java Web Service using Google AppEngine

I'm trying to create a simple web service application where I can retrieve a collection of strings and store them into a data store on the AppEngine server. I have knowledge in Java and barely any knowledge of Java Servlets and its WAR standards. I would like to at least have some direction on how to create a web service using the Java...

Web service encryption.

We developed a web service which is accessed by various platforms clients, for example it is requested by c++ and Java enabled clients. I want to use simple, effective encryption Algorithm which is easily decrypted by JAVA - C++ and JAVA script based clients. ...

how to fill a jquery autocomplete list with key value pairs from web service

Can somebody please give an example on passing key value pairs to a jQuery autocomplete list using a webservice. Tanks for the help. $('#txtBox1').autocomplete("Autocomplete.asmx/GetKeyValu", { dataType: "xml", datakey: "string", max: 10, minChars: 0 }); [WebMethod] public Dictionary<string,string> GetKeyValu(string q, int li...

.Net Intermittent System.Web.Services.Protocols.SoapHeaderException

We have a .net 3.5 web app that consumes third party web services. The proxy was created by adding a web reference to their wsdl. This proxy is not compiled. Our error logging is picking up frequent but intermittent exceptions: An exception of type 'System.Web.Services.Protocols.SoapHeaderException' occurred and was caught If I follow...

JAX-WS timeout problem

I've published web service endpoint on Sun light weight http server. The server is running with ThreadPool executors for the connection (Executors.newCachedThreadPool()). I'm also using regular web service client (also JAX-WS). It seems that for every call that exceed 5 minutes the server (or the client) ends the current call thread and...

C program to convert Dollar to Rupee

Is there a way to write a C program to convert say Dollar to Indian Rupee (or visa-versa). The conversion parameter should not be hardcoded but dynamic. More preciously it should get the latest value of Rupee vs Dollar automatically(from Internet) ? ...

Writing a REST wrapper over AXIS2

Hi, I have an AXIS2 webservice already in place for my application. However, for an android mobile client, SOAP based webservices are too heavy. Hence, I am planning to wrap this webservice into RESTful webservice. To do this, 1. I ran wsimport on my wsdl to generate jaxb sources, since the ones I had were AXIS2 generated(with ADB). ...

filling a jQuery autocompleate list with webservice data?

This is my Webservice responsible to fill the autocompleate: [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] [System.Web.Script.Services.ScriptService] public class WebService : System.Web.Services.WebService { [WebMethod] public Li...

Caching webservice calls on Flex 3

Hi, I have a Flex 3 application that makes a call to a webservice. That webservice calls returns a 2 Mb file that flex reads and parses. The problem is that it takes sometimes 45 seconds. I was wondering if there is a way to cache the response form the webservice? So the next time I load the flash movie it doesn't have to re-download th...

Moss Search service problem

Hi, when I try to start Moss Osearch service, I've got the following message, Services Could not start the Office SharePoint Server Search service on Local Computer. Error 126: The specified module could not be found I have tried everything, try to add permissions to DCOM config, nothing helps. Can I reinstall this Service? Any i...

C#: Fail safe machanism to connect to web service

hi. i have a web service client. when I crate object of this service client it tries to connect to web service. what i want to achieve is if the service does not respond, the client should retry to connect to service after specified time and this retires continue until MAX_RETRIES reaches. how can i do this. client is in c# win-form...

Problem with a test method in Yii web services

Hi There, Is there anyone here who might be familiar with web services in the yii framework? I declared the following test method: /** * Send a single SMS message * * @param string $username Username * @param string $password Password * @param string $identifier Valid Identifier to use * @param string $mobileNumber Mob...

Android: How to consume xml from webservice using authentication?

I am trying to call a restful webservice (that needs to require authentication) from my android app. I am doing this successfully already with a url that does not require authentication, but am not sure of the correct approach to use if I want to set up a url that does require authentication. I am currently consuming xml using a Sax Pars...

How to Determine the WSDL that will be Emitted for a Given Java Web Service?

Please tell me how to write wsdl file of service developed in java. For example: package fromjava.server; import javax.jws.WebService; import javax.jws.WebMethod; @WebService public class AddNumbersImpl { @WebMethod(action="addnumbers") public int addNumbers(int number1, int number2) { return (number1+number2); } } this i...

Using Soap Web Services in iPhone with wsdl2objc?

Hello, I do realize this is a duplicate question, however the only other question is quite old, so I would like to know if anyone has had any recent experience with the latest version of the wsdl2objc wsdl2objc link I am doing an application that will communicate with SOAP Web services exposed by a third party application (it only expo...

Cross-domain AJAX using jsonp and .NET Web Service over SSL/HTTPS

Hello, I am using the example below to do a cross-domain ajax call using .net web services and jquery. http://bloggingabout.net/blogs/adelkhalil/archive/2009/08/14/cross-domain-jsonp-with-jquery-call-step-by-step-guide.aspx It works fine until I try to change my endpoint to https. I don't get any errors, just no response. My first qu...

need code to Convert rupee to dollar in java ..

Hi I am writing an application java , is any way to write a java code to convert rupee to u.s. dollar and it shoud fetch the current u.s. dollar. I need the program in java Thanks ...

Java web service over https - How to add a self-signed certificate into a client api?

I have a "Hello World" web service created with axis2. I would like to write a client api which could use this service over https with a self-signed certificate. I have a self-signed certificate myCertificate.cer and a keystore containing it. Here is my client api : public class MyApi{ public Object callMyService(){ Axis2TestStub stu...