web-services

How do I test a web service receiving multiple requests from its clients?

I have an axis web service deployed on JBOSS. My web service is synchronous. So, how does a web service handle multiple requests? And how do I simulate/test that my code can handle multiple requests well? ...

Where can I find a free, interesting web service with near real-time data updates?

I'm looking for a web service that provides the following: Free public access, Real-time updates (or near-RT), Location-based information (preferably latitude & longitude but street address / city could work), The data is interesting with a reason for RT updates. For example, live earthquake feeds showing earthquake data as it happens....

How to add web service ability in existing RoR application?

I wrote a web application in ROR, but I want it supports web service, so that I can do the same things on non-web application platform. What should I do to add web service ability to my web application... ...or I need to reinvent my application, to write a separate web service independently? ...

What can I use for voluntary donations? (like Tipjoy)

There used to be a site called Tipjoy that would let me put a small "donate" button on a webpage, and users could donate small amounts (like 25c) to me easily. I think it was a pretty neat idea, since I want to have a way for people to give me money, and I don't like advertisements, and I don't update regularly enough to sell subscripti...

How to make a request from an android app that can enter a Spring Security secured webservice method?

I have a Spring Security (form based authentication) web app running CXF JAX-RS webservices and I am trying to connect to this webservice from an Android app that can be authenticated on a per user basis. Currently, when I add an @Secured annotation to my webservice method all requests to this method are denied. I have tried to pass in ...

Has anyone integrated Fedex web services into their website?

I have to set this up so that users can make labels, and track shipments, can someone outline the steps of how this works, including any interaction I need to do in regards to testing and contacting Fedex support, any special keys, gotchas? ...

send browser cookie to Web service.

Hi, I have a following architecture: 1) client logins to ASP.NET web site (www.site.com) where the session expired in 3000 minutes and cookieless set to false. 2) After some time client opens Activex in browser. Activex connects to Session Enabled Web Service (www.site.com/Service.asmx) through .NET managed classes. What I need t...

How to handle and organize DTOs for different context ?

When using simple DTOs in various scenarios I have frequently run into the same kind of problem and I always wondered whether there's a better way to deal with it. The thing is, I have a business object, e.g. Asset which has a bunch of properties, child objects and calculated fields, some of them expensive to calculate in sense of time,...

How can I pass a complex structure with SOAP::Lite in Perl?

I am trying to call the web service from Perl with the SOAP:Lite module. The web service has a parameter of complex type that I fail to construct correctly. Here is the relevant portion of wsdl:schema <complexType name="TagData"> <sequence> <element name="order" type="xsd:int"/> <element name="value" type="xsd:string"/> </...

Why would same SOAP request work in one Flex project and not another?

This is a pretty odd situation I have here. I have used a piece of code to interact with a backend SOAP service for several months - it works fine. I tried it out in a different project (first as an swc library and then just by cutting and pasting) and it just doesnt work. If I try the exact same code in the original flex project, conne...

Interoperability of Axis2

I have created a simple webservice using the POJO class in eclipse. One of the web had a custom class as a parameter. The issue that I faced was when I created a C++ client using gSoap client. The Webservice was not able to receive the custom class object and it was null. The WSDL used by gSoap was auto-generated by giving ?wsdl to the ...

get client IP for webservice on java 6 embbeded http server

Hi, I am implementing web service on java 6 weight light (embbeded) HTTP server jax-ws-web-services-without-java-ee-containers - for testing purposes - I want to get the client IP for each request. I tried to declare web service context in my web service class: @Resource WebServiceContext wsContext; then use its message context in ...

Remove namespace from WebService

Hi, everybody! I have a .Net web services that are called from flex. Our programmer receives the following xml when calling web service function: <FunctionName xmlns="WSNamespace" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSc...

How to create an Apache cxf simple web-service consumer ?

I'm able to generate a client from a wsdl file. Now I need to run it in Eclipse. When I create a Axis2 Client using Eclipse, I just create an DynamicWebProject and it automatically adds the neccessary libraries to the ClassPath. What about ApacheCXF? Does anyone have the list of all the neccessary libraries one needs to add to the BUIL...

How to pass values to the web service to get authenticated

I am developing window mobile application in .net. I have the java web services which resides on another machine. The java web services accepts two arguments mob no & password. In my native application this java web method ask for 4 arguments. it looks like void authenticate(string mobno,string password,out int @return, out bool returnsp...

How to get the source of request from Web Service?

I want to get <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:prin="http://localhost/example&quot;&gt; <soapenv:Header/> <soapenv:Body> THIS </soapenv:Body> </soapenv:Envelope> from webservice request I send from Java. I use javax.jws ...

Svcutil generates duplicate fields for C# proxy class

Hi All, I have 2 simple classes on the web-service side (Java webservice): class A implements Serializable { protected int foo; public getFoo(){..}; public setFoo(){..} } public class B extends A implements Serializable {...} The point is that on client side SvcUtil generates a proxy C# class ProxyB inherited from ProxyA, it's OK...

Lightest http host for server-side C# code.

I currently have a prototype web service hooked up to a single .aspx page under IIS. Calls to the server-side logic are made through an http mywebengine.aspx POST interface with common Post parameters for all server functions. No html is shipped from the web service, instead JSON data structures pass in and out on each call. The web ser...

What are some viable techniques for combining CSRF protection with RESTful APIs?

I'm interested in hearing what approaches people have taken when building a RESTful (or quasi-RESTful) API for their web applications. A practical example: Say you have a traditional browser-based web application which uses CSRF protection on all forms. A hidden input with a CSRF protection token is included in each form presented in ...

what can i do with semantic web and xml and web services ?

i am a cs student and i need a project for fourth year using : semantic web and xml and web services so what the best (and new) project idea i can find from these technique ...