I think you should have a look at the wsdl-first example that is shipped in the servicemix distribution. It shows how to leverage jaxb2, starting from a wsdl, generating the jaxb classes and interfaces and exposing the service impementation as a web service over http/soap. If you want to change the kind of xml-java mapping used, using the typeMapping attribute is the way to go, then you need to refer to xfire documentation (xfire.codehaus.org) for more informations. I really encourage you to use jaxb2, as this is the standard in java and performs quite well, so this is really the easiest path to go.
On Mon, Jul 21, 2008 at 5:10 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > > I'm working on a simple example to expose a POJO as a Web Service by using > servicemix-http component and servicemix-jsr181 component. Everything works > but for the moment the WSDL file is auto-generated by the servicemix-jsr181 > component from the interface which is implemted by my POJO. This solution > might not be compatible with other platforms (eg .NET) in some cases ( tell > me if i'm wrong). So I want be able to specify a kind of mapping Java-XML in > order to control the WSDL generation. Is there something available in > ServiceMix to do that ? > > Sorry if my question is stupid but all these stuffs are new for me. > > Thanks > -- > View this message in context: > http://www.nabble.com/Replace-automatic-WSDL-generation-with-jsr181-tp18570712p18570712.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
