Announcement Announcement Module
Collapse
No announcement yet.
JAX-WS integration, how? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JAX-WS integration, how?

    Hi there,

    i thought it should be simple to create or integrate a JAX-WS service.

    I am used to the "standard" JEE or CXF JAX-WS Services and its hard to imagine how to integrate it into SI.
    The samples for ws-inbound-gateway do not contain the information to solve the following usecase:


    Code:
    @WebService("someServiceName")
    public class MyService{
    
    @WebMethod
    public void doSomething1(String withParameter){
    ...
    }
    @WebMethod
    public void doSomething2(String withParameter){
    ...
    }
    Problems:
    There are two methods in one service: In the Example there is only one endpoint with one method.


    When the ws-inbound-gateway is not a possible solution for the problem, how to create a "producer" which will put something into the messaging chain?

    Thanks for your ideas,
    Thomas

  • #2
    The WS inbound gateway relies on Spring-WS, not JAX-WS.

    You can simply use a <gateway/> to start your flow, inject the gateway into your service and invoke methods on it.

    http://static.springsource.org/sprin...r.html#gateway

    Comment


    • #3
      Thanks,

      the "gateway" pattern is of course the basic solution for my problem.
      I used Apache CXF again because pure JAX-WS is a pain to configure/use...

      Solved...

      Comment

      Working...
      X