web-services

Ambigious PHP Web Service error message

Hi all, did anyone ever encounter the following error message Extra content at the end of the document when trying to consume a PHP web service from a client that runs on php 5.3? I guess soembody did. ^^ Anyways, I don't seem to find an error in the server code which works for several clients of mine for quite some time now....

Mock web service

Hi, We have two components: enterprise application X, and Web service Y We want to make our (automated) testing tool that will test application X (that interact with Y) only, and we have not the web service Y available. Notes: The testing tool will be a desktop application. We Don't want to use another external tools-e.g. SoapUI- fo...

OpenStreetMap reverse geocoding zip codes?

I'm working on a blackberry application and would like to use the OpenStreetMap reverse geo-coding to get an address and/or a street corner. I found Nominatim but it doesn't seem to do zip codes in the US (it has UK postal codes though), is there a OpenStreetMap API to get zipcodes, or some other free/open licensed reverse geocoding or ...

If I add new possible values to my enum type, will this change my wsdl ?

Hi, I have a web service and I'm using an enum type in it. I have made some changes in my code and i added a new value to my enum type. Is this going to change my wsdl declaration ? And is that going to break all the clients that use my web service ? I use .NET Thanks in advance! ...

Generate a webservice on the fly (dynamically) - How to?

Here's a scenario: I have a webservice, let's call this StockQuoteService deployed on tomcat (axis). There is this method getStockQuote() exposed via this webservice. Now, I would like to build a GUI tool which would build a webservice called StockQuoteServiceEx on the fly. The new webservice would expose the same methods as StockQuot...

Whats the best way to crawl a batch of urls for a specific html element and retrieve the image?

I'm looking to crawl ~100 webpages that are of the same structure, but the image I require is of a different name in each instance. The image tag is located at: #content div.artwork img.artwork and I need the src url of that result to be downloaded. Any ideas? I have the urls in a .txt file, and am on a mac os x box. ...

using generics in stateless session bean exposed as a webservice

I am trying to use generic request and repsonse classes in the a stateless session bean method exposed as a webservice. Scenario is 1)Request object that takes a generic type. i.e. Request<T> Now i use this object as the input parameter for a stateless session bean method. i.e. signature of the method is . Response<Employee> createE...

Using Web Service data across components in Flex

I am currently writing a flex project which works a bit like a standard website, with categories on the left side and then the products from that category on the right hand side (and also pages for the products etc and checkout process). This is made up of seperate full page components in a viewstack which get shown when a user clicks on...

ASP.NET webservices in shared assemblies (DLLs)

We have some ASP.NET stuff (it's not delineated clearly enough to call it a component), that we'd like to clean up, and wrap some boundaries around, so that we can reuse it. There are really four parts to this, some markup, some C# code-behind, some javascript running in the browser, and a webservice method that is called by the javascr...

Web Service hosted by SAP and consumed by a .NET Application

I'm trying to setup an SAP Web Service that would be consumed by a .NET application. Thinking it was simple, I had set the Service up in SAP to use HTTP. I right-click on the "Service References" in the .NET Project Tree, and choose "Add Service Reference...", Enter the WSDL URL locally hosted on our servers, and press Go, then select ...

Download file from webservice - in ASP.NET site

I want to push a file to the browser from a website using a webservice. I'm currently reading the file into a base64 byte array, and returning that from the webservice. This webservice is called from a website, and i'm stuck on how to push this as the original file to the browser. Ideally I would like to read the byte array into a memo...

How to wrap a C library so that it can be called from a web service

We have a library with very complex logic implemented in C. It has a command line interface with not too complex string-based arguments. In order to access this, we would like to wrap the library so that it can be accessed with simple XML RPC or even straightforward HTTP POST calls. Having some experience with Java, my first idea would ...

Groovy WsClient - Map types does not resolved properly

I'm using the following lines of code to call the web-service below: def wsdl = 'http://somewhere.com/services/msgService?wsdl' proxy = new WSClient(wsdl, this.class.classLoader) proxy.initialize() def msg = proxy.create("com.somwhere.test.api.MsgService") msg.applicationName = "APP1" msg.clientId = 5 msg.additionalPro...

Mutual-authentication with web services

Currently, I've been successful implementing Mutual Authentication security so long as the client accesses the website using a web browser, because browsers take care of all the certificate exchange for you. Now I need to create a secure interface with which users can access web services over HTTPS, using the mutual authentication requir...

iPhone: determine distribution type programatically for testing.

At runtime in an iphone app, is there a way to distinguish the distribution type programatically between ad hoc and app store? Whenever I do an ad hoc distribution I want to target internal test servers for web service end points, then for the app store distribution target the production servers. Thanks. Jim ...

Objective C: Looking for advice on a web service helper class

I'm writing a program for the iPhone that will need to call web services (asynchronously). I'd like to create a helper class that will abstract away some of the complexity of using the NSURLConnection class from my various view controllers. The approach that I'm currently taking is to extend the NSURLConnection class so that it has 4 a...

Dynamically replacing simple DOM element with a template, processed with web-service's result values

M(model): HTML, V(view): CSS, C(Controller): JavaScript Hi, I'm maintaining a personal bookshelf (a list of books) in a simple static HTML document, ie: <ul> <li class="book">Kitting tips and tricks</li> <li class="book">La Bonne Cuisine Of Madame E. Saint-Ange: The Essential Companion For Authentic French Cooking</li> <li class...

What web-service can I use to send MMS from my web app?

I am looking for a web service API that I can use to send MMS messages. Most web services like Twilio and TextMarks only support SMS. I am looking for a similar service that supports MMS. Are there any out there? ...

Reliable Web API for requesting Time

Having read a question about the reliability of the PHP time function, I wondered if there was some kind of 'reliable' web API to retrieve time from. ...

Getting the latest exchange rates for currencies

Does someone know of a reliable free web service providing the latest exchange rates ? I do not need accuracy to the minute, just to the day. ...