aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XmlBean binding with webservices
 
Similar Threads
What is Bidirectional Binding in JavaFX?
How to insert DateTime with HQL
Special characters in hql
Polymorphic Madness!
Escape HQL Like special characters