web-services

Receiving a nillable element from a .NET webservice using Blackberry

Hi, I have a .NET webservice sitting on my local IIS. I'm calling 1 method from it, ClientSearch, using a Blackberry. The method is: [WebMethod] public List<Client> ClientSearch(string Surname, string Forename, string DOB, string Postcode) { List<Client> clients = new List<Client>(); // Populate list return clients; } When...

Admin interface to manage two related data sources

In the project there are two data sources: one is project's own database, another is (semi-)legacy web service. The problem is that admin part has to keep them in sync and manage both so that user doesn't have to know they're separate (or, do know, but they do not care). Here's an example: there's list of languages. Both apps - project ...

How to connect with an Axis webservice hosted in a password protected realm?

Hi. I'm trying to connect with a webservice that's in a password protected host, i.e. you must enter user+pass to access the remote WSDL. The key word there is "trying", I have a client made by WSDL2JAVA that works ok if the service is unprotected, but I can't find how to add the login to that code. To clarify, it's not the webservice ...

Is SoapHttpClientProtocol thread safe?

Hi, I created a Web Service proxy with the "add web reference" feature of VS 2008 (c#). The generated class derives from SoapHttpClientProtocol Can I store only one instance of my proxy in a singleton? Is it thread safe? Is there state between calls that would prevent me from doing this? Thanks! ...

Structuring PHP array for use in SOAP with WSDL

Hi, I am writing a SoapServer with PHP 5.2 to return a list of vacancies to another application. My WSDL doc requires a complex type along the lines of: <xsd:element name="Vacancies"> <xsd:complexType> <xsd:sequence> <xsd:element name="Vacancy" type="ns:VacancyType" minOccurs="0" maxOccurs="unb...

Question about rails webservice and authentication

What I am doing is rails web service API that let user create traveling log when they access any sites, by using firefox plugin.For this requirement I needed 2 things. skip_before_filter :verify_authenticity_token in specific controller (Because I let user create it through API not the form, so I disable this). user have to provided us...

Problem creating a web service from a WSDL

The problem I'm having is that when I attempt to create a web service in netbeans using this wsdl, netbeans says that there is no service defined. I'm new to the whole wsdl thing but as far as I can tell there is one defined. The wsdl is: <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/...

Backwards compatibility and Web Services

So I'm a bit new to web services and a situation recently came up where we added an element to a data-type that gets returned to the client. The clients complained that this broke their implementation because it choked on the new element that it did not expect. (we are providing the services via Axis2). To me this seems like a harmles...

Protecting Web Services

I've got a WebService project that we've created to expose some methods to our clients (specifically if they call one of the methods it will trigger an event on our servers) that they can call in their own C# projects (some clients will be doing web form apps and some will be doing it on their internal site). Due to the nature of the me...

Nested complex-type elements never get populated when calling AXIS-based web service from .NET

I've been trying for a couple of days now to get a .NET client working fully with a Web Server provided by my Coldfusion-based web app. I'm not a .NET developer, per se, but I happen to have a copy of VS 2003, which seems like it should do the trick. I can use a simple multiplier() method in my web service that takes two numbers and ret...

Reorder the wsdl:definitions in an ASP.NET web service

I am creating an ASP.NET web service that implements a specific existing WSDL. There are a couple minor differences that are probably not a big deal, but I would like to get as close of a match as possible. I am starting to think this isn't even possible. This first difference is the wsdl:definitions are in a different order, and have...

How to trace SOAP message on Glassfish 3

I would like to save to a server log SOAP envelopes for web service deployed on Glassfish version 3. I know that I can use Wireshark or similar net sniffing tool, but I would prefer to have the messages stored in Glassfish log. ...

Get address of group of users from Exchange 2010 via web services SDK

We would like to display a list of address. We are trying to design a system where the addresses are only stored in one place, that place being Exchange 2010. Is there a web service in the Exchange 2010 SDK, that allows us to get the names and address of all users in a group? Is there a better way to do this, for example getting the da...

Webservice call through proxy server

I need to make a webservice call to a secured link(https:\). It is a two way SSL enabled link. So to access that link for making a webservice call, i need to set proxy server to the webservice link .Is there a sample code available for this ? ...

Want to use Dynamic Jasper to make Reports with my Db MYSQL

Hey, i want to Use Dynamic japser to create reports of my database i.e MYSQL. Plus, i want to know that can i send attirbutes to dynamic jasper which a user is going to select from the front end based on XHTML MP and then i want dyanamic jasper to make report on the selected attributs. P.s I m sending selected attributes through servlet ...

Netbeans Basic Http Auth Jax-WS

Hi, how can I access a webservice through a basic http authentification? I am using the netbeans built in webservice client features. But when I try to access the webservice, I get an exception with a 401 auth failed error message. How can I pass the right username and password? Thank you! ...

One big webservice or lots of little ones?

I'm building a set of methods to provide functionality to a number of different web applications, the methods basically get some data from SQL perform some operations on it and then pass it back to the calling application. They have to be implemented via web services. So my question is what are the pros and cons between creating one mas...

.NET web service. (ASMX) How can I shape the request and response messages?

I'm building a web service to accept notifications from a company. The company informed me that the service is incorrectly structured and provided me the .asmx of a working web service. It looks like this: Request: <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...

Calculating Throughput for a Webservice download

I have a client server application which exchanges XML documents for data requested by the client. Essentially the user enters some search constraints (attributes to match) and the client communicates with two systems to get data back (some data from a database and some data from file servers). The data returned from the file servers (...

WCF endpoint binding settings don't get updated

All attempts to change configuration settings of WCF self hosted service endpoint fail: public void Start() { BasicHttpBinding binding = new BasicHttpBinding(); binding.Name = "NAVBinding"; //--------------------START editing------------------------------- TimeSpan interval = new TimeSpan(1, 50, 00); // all t...