S
Sascha Effert
Dear all,
I am working on web services in Java. In our project we are using axis
(not axis 2). Preferred I would like to stay, but if there is no other
way I could change.
For any reason I need to deploy dynamically web services. A very easy
example of what I need to do could be the following:
I have an stock excahnge service responsible for adding new stocks.
This could be reachable unter http://localhost/stock and have for
example the method "void addStock(String name, Double value)". Each
time a new stock is added it shall be reachable a a new webservice,
e.g. after using addStock("SUN", 6.41) there shall appear a new Web
Service http://localhost/stocks/SUN with a method "Double getValue()".
This Web Service should be bound to a class Stock, which gets on any
way that it is called for the stock SUN.
I could not find anything in the WWW or in any books about how to
solve this issue. I would be very happy, if anybody could give me a
hint (or a tutorial, or book) how to solve this task.
I know that for this example it would be much easier to write a simple
webservice, getting the Name of the stock as parameter and returning
the right value, but that`s no option for my real problem... The
example above shall just make it easier to understand what I need to
do...
thanks
Sascha Effert
I am working on web services in Java. In our project we are using axis
(not axis 2). Preferred I would like to stay, but if there is no other
way I could change.
For any reason I need to deploy dynamically web services. A very easy
example of what I need to do could be the following:
I have an stock excahnge service responsible for adding new stocks.
This could be reachable unter http://localhost/stock and have for
example the method "void addStock(String name, Double value)". Each
time a new stock is added it shall be reachable a a new webservice,
e.g. after using addStock("SUN", 6.41) there shall appear a new Web
Service http://localhost/stocks/SUN with a method "Double getValue()".
This Web Service should be bound to a class Stock, which gets on any
way that it is called for the stock SUN.
I could not find anything in the WWW or in any books about how to
solve this issue. I would be very happy, if anybody could give me a
hint (or a tutorial, or book) how to solve this task.
I know that for this example it would be much easier to write a simple
webservice, getting the Name of the stock as parameter and returning
the right value, but that`s no option for my real problem... The
example above shall just make it easier to understand what I need to
do...
thanks
Sascha Effert