Re: How to make classes created from wsdl2java implements serializable?

2008-01-24 Thread Daniel Kulp
Daniel, The binding file is ONLY used at code generation time as an option passed to wsdl2java. It's not used at runtime at all. Thus, it should point to whatever the development time location would be. Dan On Thursday 24 January 2008, daniel.mfreitas wrote: > Thanks Akos, I will try thi

Re: How to make classes created from wsdl2java implements serializable?

2008-01-24 Thread daniel.mfreitas
ind the file, but it >> seems it does not understand its contents. I wanted to use CXF for >> everything including java2wsdl and wsdl2java. We have bad experiences to >> set up JAXWS Metro RI and for some developers it is a pain to put it to >> work. >> >> So how can I make the entities stubs to implement serializable with >> wsdl2java? >> > > -- View this message in context: http://www.nabble.com/How-to-make-classes-created-from-wsdl2java-implements-serializable--tp14246207p15065628.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: How to make classes created from wsdl2java implements serializable?

2008-01-24 Thread Akos Kiss
e, but it > seems it does not understand its contents. I wanted to use CXF for > everything including java2wsdl and wsdl2java. We have bad experiences to > set up JAXWS Metro RI and for some developers it is a pain to put it to > work. > > So how can I make the entities stubs t

Re: How to make classes created from wsdl2java implements serializable?

2007-12-10 Thread daniel.mfreitas
ot;qualified" attributeFormDefault="unqualified" >> >>>> jaxb:extensionBindingPrefixes="xjc" jaxb:version="1.0"> >> >>>> >> >>>> >> >>>> >> >>>> > >>>> uid="-6026937020915831338"/> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> >> >>>> But because of some limitations of Metro RI, we want to switch to >> >>>> CXF. When >> >>>> calling wsdl2java from a maven build file and we try to supply >> >>>> the above >> >>>> binding file, cfx throws >> >>>> >> >>>> WSDLToJava Error : Unknown external binding files: >> >>>> >> >>>> This is not a FileNotFoundError. wsdl2java does find the file, >> >>>> but it seems >> >>>> it does not understand its contents. I wanted to use CXF for >> >>>> everything including java2wsdl and wsdl2java. We have bad >> >>>> experiences to set up JAXWS >> >>>> Metro RI and for some developers it is a pain to put it to work. >> >>>> >> >>>> So how can I make the entities stubs to implement serializable >> >>>> with wsdl2java? > > > > -- > J. Daniel Kulp > Principal Engineer > IONA > P: 781-902-8727C: 508-380-7194 > [EMAIL PROTECTED] > http://www.dankulp.com/blog > > -- View this message in context: http://www.nabble.com/How-to-make-classes-created-from-wsdl2java-implements-serializable--tp14246207p14263125.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: How to make classes created from wsdl2java implements serializable?

2007-12-10 Thread Daniel Kulp
Hold on, lets step back a second... > Ok let's forget about binding files for a moment. Let's get to the > basic problem. I want the generated stubs to implement Serializable. > That's all I need. How can I make this happen? The jaxb customization thing will just affect the JAXB generated types.

Re: How to make classes created from wsdl2java implements serializable?

2007-12-10 Thread daniel.mfreitas
ile and Metro JAXWS RI implementation: >>>>>>> >>>>>>> >>>>>>> http://www.w3.org/2001/XMLSchema"; >>>>>>> xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"; >>>>>>> xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"; >>>>>>> elementFormDefault="qualified" attributeFormDefault="unqualified" >>>>>>> jaxb:extensionBindingPrefixes="xjc" jaxb:version="1.0"> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> uid="-6026937020915831338"/> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> But because of some limitations of Metro RI, we want to switch to >>>>>>> CXF. >>>>>>> When >>>>>>> calling wsdl2java from a maven build file and we try to supply the >>>>>>> above >>>>>>> binding file, cfx throws >>>>>>> >>>>>>> WSDLToJava Error : Unknown external binding files: >>>>>>> >>>>>>> This is not a FileNotFoundError. wsdl2java does find the file, but >>>>>>> it >>>>>>> seems >>>>>>> it does not understand its contents. I wanted to use CXF for >>>>>>> everything >>>>>>> including java2wsdl and wsdl2java. We have bad experiences to set up >>>>>>> JAXWS >>>>>>> Metro RI and for some developers it is a pain to put it to work. >>>>>>> >>>>>>> So how can I make the entities stubs to implement serializable with >>>>>>> wsdl2java? >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/How-to-make-classes-created-from-wsdl2java-implements-serializable--tp14246207p14260132.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: How to make classes created from wsdl2java implements serializable?

2007-12-10 Thread daniel.mfreitas
ndings >>>>>> file and Metro JAXWS RI implementation: >>>>>> >>>>>> >>>>>> http://www.w3.org/2001/XMLSchema"; >>>>>> xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"; >>>>>> xmlns:xj

Re: How to make classes created from wsdl2java implements serializable?

2007-12-09 Thread Jim Ma
element is in wrong namespace , you need to change it to . daniel.mfreitas wrote: Well, the file that worked for me is this: http://java.sun.com/xml/ns/jaxws"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"; xmlns:xjc="http://java.sun.com/xm

Re: How to make classes created from wsdl2java implements serializable?

2007-12-09 Thread daniel.mfreitas
jc" jaxb:version="1.0"> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>

Re: How to make classes created from wsdl2java implements serializable?

2007-12-09 Thread Jim Ma
daniel.mfreitas wrote: Well, the file you provided as an example throws WSDLToJava Error : The binding file: file:/jaxb-bindings.xml references a not well-formed xml document. You need to make it well formed. Use CXF WSDLValidtor , WTP or other xml vlidator to validate your wsdl and bindi

Re: How to make classes created from wsdl2java implements serializable?

2007-12-09 Thread James Mao
You have to make sure all your xmls are well-formed, probably caused by a missing closing tag, or such You can check it with your browser James Well, the file you provided as an example throws WSDLToJava Error : The binding file: file:/jaxb-bindings.xml references a not well-formed xml docume

Re: How to make classes created from wsdl2java implements serializable?

2007-12-09 Thread daniel.mfreitas
gt;> binding file, cfx throws >> >> WSDLToJava Error : Unknown external binding files: >> >> This is not a FileNotFoundError. wsdl2java does find the file, but it >> seems >> it does not understand its contents. I wanted to use CXF for everything >> inclu

Re: How to make classes created from wsdl2java implements serializable?

2007-12-09 Thread Jim Ma
Hi , Add the wsdlLocation and Xpath express to provide which schema you want to customize , try the following binding file to see if it works for your wsdl: http://java.sun.com/xml/ns/jaxws"; xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:wsdl="http://schemas.xmlsoap.org/

How to make classes created from wsdl2java implements serializable?

2007-12-09 Thread daniel.mfreitas
ave bad experiences to set up JAXWS Metro RI and for some developers it is a pain to put it to work. So how can I make the entities stubs to implement serializable with wsdl2java? -- View this message in context: http://www.nabble.com/How-to-make-classes-created-from-wsdl2java-implements-serial