• Post Reply Bookmark Topic Watch Topic
  • New Topic

to genereate objectfactory jaxb  RSS feed

 
Dora Di Donato
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
but it is correct write an object factory jaxb without tools like ws-consume or I have to use a tool to generate those classes?

Thank you

D. Donato
 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When you generate the JAX-RS web service client, use the tool wsimport.
The client side code/artifacts will be generated automatically for you.

Some IDE will generate JAX-RS web service client code for you transparently. You do not worry how it does it.
 
Dora Di Donato
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Paul,
thanks for you answer but it is wrong to handwrite the objectfactory?
I had to handwrite only an objectFactory with two classes.


Thank you
D. Donato
 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is your soapful webservie runtime/framework version/spec? and its implementation?
 
Dora Di Donato
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it is a project that expone the API SOAP with EJB 3 ( web service) and I have to add a classes and I add them handwrites.

 
H Paul
Ranch Hand
Posts: 491
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're consuming a soapful web service and it's implemented using an EJB 3 instead of a simple regular POJO.

What is the soap runtime/framework (version) or api as you called it to expose the EJB 3-based web service? (That was my question)

Have a look at
http://www.coderanch.com/how-to/java/WebServicesFaq

Or ask the one who develops the EJB 3-based web service to tell you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!