This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Web Services and the fly likes XmlBean binding with webservices Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "XmlBean binding with webservices" Watch "XmlBean binding with webservices" New topic
Author

XmlBean binding with webservices

rsg
Greenhorn

Joined: Oct 01, 2007
Posts: 4
Has any one used WSDL2java or java2WSDL to create web services where data binding is done using XmlBeans on WebSphere platform. Need help in finding out steps required to accomplish this.
chandrahas nelapatla
Greenhorn

Joined: Oct 04, 2007
Posts: 2
You can use XMLbeans. to use this you need to download from http://download.nextag.com/apache/xmlbeans/binaries/

you can download xmlbeans-2.3.0.zip

once you download you need to place your xsd in the bin of the extract and run scomp -out jarname.jar xsdname.xsd (make sure that you point the scomp to the java home by editing it)

a jar will be generated in the bin. add this jar and the lib jars from the extract to your class path. the jar will contain class for the XSD.

once you have the classes you just need to import them and use in you program to set values
Nitesh Kant
Bartender

Joined: Feb 25, 2007
Posts: 1638

Does this article and this help.
[ October 05, 2007: Message edited by: Nitesh Kant ]

apigee, a better way to API!
 
Have you checked out Aspose?
 
subject: XmlBean binding with webservices
 
It's not a secret anymore!