web-services

How to document a WCF web-service in a technical spec?

Other than pasting a WDSL in the tech spec, what are the recommended ways to document a WCF web-service before you begin coding? ...

Web Service versus regular Http Request

Hi, About 5000 computers will be making a call to a central server, and they will be passing in a GUID to the central server. The server will then return True/False back to the client. Is there a big difference in performance between a web service and a regular Http request to a Url on the server? ...

How to detect intermittent time out problem in web applications?

Have a n-tire web application and search often times out after 30 secs. How to detect the root cause of the problem? ...

Java, Alfresco Web Service API and Unicode NamedValues

I'm using Java for accessing Alfresco content server via it's web service API for importing some content into it. Content should have some NamedValue properties set to UTF-8(cyrillic) string. I keep getting the Sax parser exception: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1b) was found in the element content ...

Web Service throwing exception using Axis2 Java

Hi, I'm actually developing a Web Service in Java using Axis 2. I designed my service as a POJO (Plain Old Java Object) with public method throwing exceptions : public class MyService { public Object myMethod() throws MyException { [...] } } I then generated the WSDL using Axis2 ant task. With the WSDL I generate a clien...

TFS Webservice Documentation

We use a lot of of python to do much of our deployment and would be handy to connect to our TFS server to get information on iteration paths, tickets etc. I can see the webservice but unable to find any documentation. Just wondering if anyone knew of anything? Thanks, MattD ...

Consuming web services with jboss

Can someone point me a good step-by-step tutorial to consuming an already running web service in java? PS: I tried creating the classes with wsconsume, but it cries with [ERROR] rpc/encoded wsdls are not supported in JAXWS 2.0. (my web service is rpc/encoded) If I can consume web services entirely by hand (using no wizards), and under...

Is there somewhere I can search for available webservices?

I'm wondering if there is a website that collects (and hopefully updates) information on available web services. Edit: Thanks for all the info; many good answers. I can only accept 1 as the "accepted answer" at this time, so I picked my favorite one. ...

.NET webservice using an instance of a parameter type?

I have a Windows forms project and a Web Service project in my solution, and I'm trying to call the web service and return a customer object as the result. The problem is that when I try to receive the return object, I get an error that it can't convert it. For example, here is the signature for my webservice: Public Function GetDriverB...

Web services and database concurrency

I'm building a .NET client application (C#, WinForms) that uses a web service for interaction with the database. The client will be run from remote locations using a WAN or VPN, hence the idea of using a web service rather than direct database access. The issue I'm grappling with right now is how to handle database concurrency. That is,...

Simple Java web services

Does anyone know of a really simple way of publishing Java methods as web services? I don't really want the overhead of using Tomcat or Jetty or any of the other container frameworks. Scenario: I've got a set of Java methods in a service type application that I want to access from other machines on the local LAN. ...

Retrieve calling url in Java Webservice

Hi We have a web service that is deployed on 2 separate machines in different locations. Is it possible to monitor the url that a person used to call our webservice using java code? We have a 3DNS url set up and we want all clients to use this url as oppossed hitting the boxes directly with the correct port numbers in the url. Thanks D...

What's the right tier to obtain directory attributes for display?

I have an intranet application that needs contact information for various locations on our campus that are served by our IT lab support organization. We have an enterprise directory that contains contact information so I'm not keeping the actual contact information in the database, but rather an immutable identifier that serves as a key...

Connect to self-signed HTTPS web services from Flex

In my project I need to connect to an intra-net web service but we need SSL connection between the two machines. Because this is an intra-net site the certificate of the web service might be a self-signed certificate. The web service and the web page that loads my Flex application resides on the same web server (tomcat) so when I load th...

Java webservice (soap) client - use certificates

I am trying to connect to a webservice over ssl with a client certificate. Is there an elegant way of doing this apart from shoving things like "javax.net.ssl.keyStore" into System.properties. Any pointers to code examples would be appreciated. ...

Best way of using List<T> and exposing Collection<T>

I must implement a web service which expose a list of values (integers, custom classes etc). My working solution returns a List<T>, and according to FxCop it is better to return a Collection<T> or ReadOnlyCollection<T>. If I choose to return a ReadOnlyCollection<T>, the web service shows an error like: To be XML serializable, types ...

Is there something like the Google Safe Browsing API that is more stable?

The Google Safe Browsing API allows for URLs to be checked against Google's database of malware and phishing domains. However, on the Developer's Guide page, it says that the API is experimental and the data format is likely to change. Although I have had good experiences with a number of Google's APIs in the past, they have all been fa...

Is the SOAP webservice API availiable in the SSRS 2008 express edition?

In other words, if I set up SSRS Express edition will I be able to consume and make calls through the webservice? ...

which is the best book/tutorial for a Web Services newbie?

[sorry for my english] Hi, I'm a Newbie in Web Services. I've a java desktop app and some JSP/Servlets working fine, and I need to comm. both with the logic, (must be) using java. Which book/tutorial/how-to you recomend? Thanks ...

How can you use optional parameters in C#?

We're building a web API that's programmatically generated from a C# class (the class has method "GetFooBar(int a, int b)" and the API has a method GetFooBar taking query params like &a=foo&b=bar. The classes needs to support optional parameters, which isn't supported in C# the language. What's the best approach? ...