Hello Jean-Marc,
you are absolute right. My wording was not good. Can you give me a hint how to write a SERVER implementation for/into my legacy-code. I do not want an axis-service as I can not embed my code into a service-library. My first idea was to right an axis-service and connect it with UDP (or pipes) to my old program. I hopped there is a better, native method I don´t now already. Regarding the output format. The {..}-format should be JSON and is a possible return for REST-calls. I found this fork: https://code.google.com/p/axis2c-unofficial/ which implements JSON for axis2c. But I don´t know why this is a fork Kind regards Chris Von: GIACAMOND [mailto:jean-m...@giacamond.com] Gesendet: Dienstag, 11. Juni 2013 14:12 An: 'Apache AXIS C User List' Betreff: RE: [Bulk] How to use Axis2C (REST) as 'gateway' to an existing app Hello Christian, I believe I understand what you are trying to do! Correct me if Im wrong. What you are trying to do is to EXPOSE your existing legacy as a Web Service, and not the opposite (legacy accessing Web Service). This the opposite of what I have done (I create a Stub that is use by my legacies to access Web Service). This is also possible since AXIS2C let you write Server and or Client code. So the correct statement should be:- So if I want to access the data gathered by my old program from within a webbrowser I need to write a such AXIS2C-SERVER that will implement my app (build as a share object). i.e. browser <- -> axis-service <- -> my app. I already implemented a first (dumb) service which react on a REST call (URL). It returns the data in xml. Is it possible to return the values in a simple string like: {val1=x;val2=y} AXIS2C is the C/C++ implementation of the Java AXIS. This is built for Web Service (soap), and REST, which are XML driven. So if this is not what you really need, maybe you should consider other tools, Like CGI script ! Kinds regards, Jean-Marc [ ]