• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generate Bean from WSDL-File ?

 
Chris Baron
Ranch Hand
Posts: 1061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i try to use SOAP-Messaging from a JSP as frontend.
The changeable formfield-entries shall filled to a bean with set-methods.
A SOAP-XML shall be generated from this bean and send to the SOAP-Server.
Vice-versa i want the response-xml to be mapped to the bean again and access the entries with getters to display them on a JSP.
Is there a free tool or class to generate an object-representation (e.g. Bean) from a WSDL-File?
I'm pretty new to this, so all hints are highly appreciated.
Thx cb
edit: as you might have guessed, my questions concern the clientside usage of soap
[ December 12, 2003: Message edited by: Chris Baron ]
 
Howard Kushner
author
Ranch Hand
Posts: 361
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Chris,
There is a tool but it's not free: IBM WebSphere Studio Application Developer. You can download an evaluation copy from IBM that is good for 60 days. It does what you are asking for and a whole lot more.
HTH,
[ December 12, 2003: Message edited by: Howard Kushner ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chris Baron:
Is there a free tool or class to generate an object-representation (e.g. Bean) from a WSDL-File?
You could take a peek inside Apache Axis (see package org.apache.axis.wsdl, for example).
 
Chris Baron
Ranch Hand
Posts: 1061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Howard,
but maybe i'd need to use a webservice in three months.
What way should i choose to get an similar result by feet.
An less generic one i guess...
So, new question:
Wich Classes are appropriate to map a known XML-structure to an Object,
change the entries and generate XML from it? ...and vice versa.
cb
 
Chris Baron
Ranch Hand
Posts: 1061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Lasse,
i will take a peek there.
I bet, i will be back with more questions
cb
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic