cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Schroedl (JIRA)" <>
Subject [jira] Commented: (CXF-52) Document how to develop a service using the JAX-WS front end
Date Thu, 11 Oct 2007 15:22:50 GMT


Tom Schroedl commented on CXF-52:

The quoteReporter example here:

does return a Quote object, which got my interest because it's not a simple primitive. The
WSDL at the bottom of the page (Example 9) has the 'quote' complexType defined. However, when
I try to follow the initial steps according to Example 4 and 5, I get an error when launching
the server (Tomcat): Attributes portName, serviceName, and endpointInterface
are not allowed in the @WebService annotation of an SEI.

(In my test code, I made an SEI, apup.facade.wsapi.QuoteFacade, and an SEI implementation,

Sooo, I  tried just having only @WebService as the annotation in the SEI and @WebService("endpointInterface="apup.facade.wsapi.QuoteFacade")
in the SEI Impl. This got me further, but when I generate the WSDL via URL,

which imports

I see the complexType 'quote' is not there. Is there a difference between getting the WSDL
in this way vs. running the java2wsdl generation tool by hand? I would think it should need
to be the same result.

Oh, and here's my Spring config:


Would be good to have the quote example be Spring-ified and working as part of the samples
that come with the distro.

> Document how to develop a service using the JAX-WS front end
> ------------------------------------------------------------
>                 Key: CXF-52
>                 URL:
>             Project: CXF
>          Issue Type: Task
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-RC
>            Reporter: Eric Johnson

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message