File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-RPC DII or Stub based client

Ramya Iyer
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the input/output is one of the wrapper class datatypes in Java like String, Float, or primitive datatypes, I am aware of how I can create a webservice and using the wsdl create a client using either stub classes or DII.

But if I use custom classes like com.Customer or com.Product as input to my webservice methods and return custom classes as output, what should I send to my client during dev time so that they will have these classes that will be used for input/output. How will this be used by DII mechanism?

Please provide me any reference that will help me to understand how webservice can be used for user-defined classes as input/output to the methods.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic