cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies" <bim2...@basistech.com>
Subject Diagnosis of stupid JAXB/JAXWS errors
Date Fri, 23 Nov 2007 17:29:57 GMT
Consider the following pile of snails. Now, I realize, I don't need them
in CXF, but I had coded them to test something. Except, that, I'd
neglected to code the @WebResult at all, so while I had a wrapper, there
was no way for the code to know the element to use for the response.

It didn't work, of course. It also didn't diagnose in the log. Should
this sort of thing produce some whining?

   @RequestWrapper(className =
"org.apache.cxf.javascript.fortest.BasicTypeFunctionReturnStringWrapper"
)
    @ResponseWrapper(className =
"org.apache.cxf.javascript.fortest.StringWrapper")
    @WebResult(name = "returnValue", targetNamespace =
"uri:org.apache.cxf.javascript.testns")

Mime
View raw message