Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XmlBean binding with webservices

 
rsg
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does this article and this help.
[ October 05, 2007: Message edited by: Nitesh Kant ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic