cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bharath Ganesh" <>
Subject Re: JAX-WS Handler Support
Date Wed, 27 Dec 2006 07:36:43 GMT

The issue has been logged at the bug database. 

Please check


I could also see the java2wsdl tool is buggy for a number of cases. For exampple I have a
POJO annotated with JSR 181 annotations to be exposed as a WS. 

import javax.jws.*;

public class Calculator
    public int add (int a, int b) throws AddException{
        if(a<0 || b<0){
            throw new AddException("No negetive please");
        return a+b;

When I run the java2wsdl tool by providing the above class, I get the following error. 

Error : Can not load the request wrapper class,  please check
the @Reque
stWrapper annotation and see if the class is in your classpath

The @RequestWrapper annotation is not mandatory. The container could have well used RPC/Literal.

Later when I annotated the Service with @SOAPBinding(style= SOAPBinding.Style.RPC, use= SOAPBinding.Use.LITERAL)
, the problem I faced was: 

Error :

Is this a known issue? 


----- Original Message ----- 
  From: James Mao 
  Sent: Wednesday, December 27, 2006 7:41 AM
  Subject: Re: JAX-WS Handler Support

  Hi Bharath,

  What do you mean not working? it should work from my understanding, can 
  you provide your testcase, ideally fire a jira issue if it's possible [1]


  > Hello
  > I could see that the JAX-WS handlers are not working with cxf-2.0-incubator-M1 release.
Is this expected in the CXF 2.0 RC? If so when is this release scheduled? Is there an M2 release
  > Thanks
  > Bharath
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message