web-services

Polling webservice performance - Will this work?

Hi! Our app need instant notification, so obvious I should use some some WCF duplex, or socket communication. Problem is the the app is partial trust XBAP, and thus I'm not allowd to use anything but BasicHttpBinding. Therefore I need to poll for changes. No comes the question: My PM says the update interval should be araound 2 sec, an...

How to get Flex to see a .NET Webservice session when I use the proxy auto-generation?

So I have a Stateful .NET webservice (C#) that I would like Flex to use. The only problem is that I don't see a cookie being passed, even though I have the WebMethods decorated with: WebMethod(EnableSession=true) I can't seem to figure out if it is an issue with Flex or .NET. Does Flex 3 (as3) pay attention to the session cookie aut...

REST URIs and operations on an object that can be commented on, tagged, rated, etc.

I'm doing research into a web API for my company, and it's starting to look like we might implement a RESTful one. I've read a couple of books about this now (O'Reilly's "RESTful web services" seeming the most useful) and have come up with the following set of URIs and operations for an object that can be commented on, tagged, and rated....

What is the restful approach to compose a group by query

consider the following http request: GET /defects?group-by=priority I would like the returned collection(feed) of defects to be grouped by their priority. i.e. the returned feed consists of defects(resources) and group infromation. I thought about something that will return the groups' titles and count before returning the collection...

What is the best way to call a .net webservice using jquery?

I'd like to call a .net webservice from another domain using only jquery. What is the best way to do this? and are there any configuration changes I need to be aware of on the web site hosting the web page? The reason I ask this, is that I am only marginally in control of that area. So I can only make limited changes. ...

How close can you identify a user using asp.net and webservices

Hi The task is simple, and the answers might be many. But here goes: On my website I'll make an InfoAboutYou.aspx page. So far i got the IP and the browser name and version, but ill like to expand, with just about every thing i can look up about the curret user/ip and hes Browser/OS Does it exists any free webservices that kan lookup m...

Enterprise-grade template printing system

Hi. I'm looking for an enterprise-grade template printing system. I'm interested in every software I can get my hands on to evaluate. Commercial or not. What I need - a separate system ready to receive tags in order to print (digital or paper) a template (like a contract, invoice, etc). Templates should be managed by the same software....

How to Use [XmlElement(DataType="date")] with WebMethod Attribute of a WebService

My Web Service Signature is [WebMethod] public DataSet GetPatientLastWeighing(int pFacilityID,string pSessionID) { } ...

Java web service frameworks

This is my first time with Web services. I have to develop web services in java which should be having good WS-* standards, should loosely-coupled, scalable, highly secure, fast response time. I know I've to consider trade-offs. I have checked on some frameworks like Axis2, CXF, Spring WS. Please share your experiences and views on these...

Possible to expose CONSTANTS defined in webservice to consuming client (.Net both sides)

I have several constant defined for a webservice, and I would like to make these available to consuming client. Both the server and client are .Net. I think it is possible to achieve this by using enum's, but many of my constants are text string with spaces, so I would have to write an extra function to convert the enum into the equiva...

Do you know any open source projects that use Java Web Services ?

For my diploma project I am creating a tool that will study a Java project and extract the parts that declare or use Web Services in order to study the classes that communicate in this way other the network, the communication channels that are created, etc. In order to test my tool I need some open source projects because I would like t...

How can an authentication key be passed to a restful web service?

Some existing web services I consume have methods that look something like this: List<Employee> employees = employeeService.GetEmployees(accessKey, allDepartments); The accessKey serves two purposes; it acts as both authentication and identification. Only valid access codes are responded to (authentication) and it services a...

"Specified network name is no longer available" in Httplistener

I have built a simple web service that simply uses HttpListener to receive and send requests. Occasionally, the service fails with "Specified network name is no longer available". It appears to be thrown when I write to the output buffer of the HttpListenerResponse. Here is the error: ListenerCallback() Error: The specified networ...

Do I need to dispose a web service reference in ASP.NET?

Does the garbage collector clean up web service references or do I need to call dispose on the service reference after I'm finished calling whatever method I call? ...

Enabling HTTP methods other than GET and POST in Flex

My Flex UI is communicating with a local HTTP server through a REST-inspired API. I want to be able to use HTTP's put, delete and head methods as part of the API. Currently, whenever I use mx.rpc.http.HTTPService and set the method to something other than get or post, the server only sees a get. The Adobe docs for HTTPService say: Yo...

Eclipse plugin for Apache Axis2 to create webservice

hi, please give me the link to download plugins for apache axis, i tried in some sites but the link was not current so i was not able to download. thanks in advance, Mahesh ...

Spring-ws or Axis2 or Something else for "Contract-First" approach to WS

Everyone's saying "Contract-First" approach to design WS is more inclined to SOA style design. Now, if we take the available open-source frameworks available to achieve that we have Spring-ws and also Axis2(which supports both styles). I have a task to design SOA based e-commerce app. where loose coupling, quick response, security and sc...

What do you recommend using for graphically visualizing a WSDL?

I'm looking for a good solution for graphically viewing a SOAP-based web service and possibly interacting with it (for testing purposes). Online (browser-based) solutions would be interesting too. ...

Transaction rollback and web services

Given an example of calling two web services methods from a session bean, what if an exception is thrown between the calls to two methods? In the case of not calling the web services the transaction will rollback and no harm done. However, the web service will not rollback. Of course, even with a single web service there is a problem. Wh...

Why am I unable to generate client side code in web services 'Hello world' example?

Link is: http://people.apache.org/~ruchithf/hw-axis2/. Command line is: javac -extdirs d:\lib\ D:\stub\src\org\apache\ws\axis2*.java -d d:\clientcode\ The Error is: C:\Program Files\Java\jdk1.6.0\bin>javac -extdirs d:\lib\ D:\stub\src\org\apache \ws\axis2\*.java -d d:\clientcode\ D:\stub\src\org\apache\ws\axis2\Client.java:3: cannot f...