"typeMapping" attribute tells servicemix which underlying technology to use
when generating XSD (included in WSDL)
from your Java bean. If using JAXB for example, your beans should be
annotated with the JAXB annotations.

You should refer to each technology documentation. JAXB is the standard
Java-XML binding technology.

Have a look at :
http://java.sun.com/javaee/5/docs/tutorial/doc/bnazf.html
https://jaxb.dev.java.net/guide/


On Tue, Jul 22, 2008 at 9:40 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

>
> Thanks for your help. May you tell me more about how to use these
> attributes
> especially typeMapping because I don't know what more I have to do for
> example if I set typeMapping="xmlbeans". If you could find one example it
> would be marvelous.
>
> Thanks
>
>
>
> Manuel EVENO wrote:
> >
> > See the doc here at
> >
> http://servicemix.apache.org/servicemix-jsr181.html#servicemix-jsr181-Endpoint
> > You can specify for example wsdlResource or typeMapping.
> >
> > Manuel
> >
> > 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.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Replace-automatic-WSDL-generation-with-jsr181-tp18570712p18584106.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to