|
May I request you raise the priority?
It has affected me and required quite a bit of effort to find a workaround (admittedtly there IS a workaround, but its a bit ugly). See: http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=72145#72145 I SUSPECT it will affect MANY myeclipse users. Cheers, Alph I would second that request on raising the priority. It is affecting us as well, and it's proving quite difficult coming up with a viable workaround.
Is there a plan to fix this soon? Yannis Yeah, can we please raise the priority for this one. It's extremely painful to modify the generated code.
If you can't control service server side, then the only way to fix it i'm aware of is to save WSDL to local file and modify minOccur=0 ( or nillable=true )to minOccur=1 and generate client from modified WSDL.
Dissapointing result. Hacking the WSDL to get around the issue is less than ideal, especially since this isn't a case of mis-written WSDL. I hope this gets revised and fixed in the future.
Yannis Touching the WSDL is an absolute no go, so I hope you will be able to fix this issue really soon now.
This is just how Jaxb works and XFire can't do much about it. But you can customize client generation via external binding ( check jaxb docs).
|
||||||||||||||||||||||||||||||||||||||||||||
org.codehaus.xfire.gen.WsGen -wsdl http://dc1dev02:8080/CMPS-1.0-SNAPSHOT/services/CmpsWebService?wsdl
-o . -p test -overwrite true -b jaxb