Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

questions about supported JAX-RPC types  RSS feed

 
Anita Wang
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say if my service interface returns a custom-defined value type, where should I put the type definition? How do I let the service know where to find it? And more important, how can the client know the existence of this type?
The tutorial only talked about what types are supported, but didn't say anything about how to use a custom defined type.
Many thanks to anyone who can help!
 
white hansen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
axis provides java2wsdl and wsdl2java tools which can help you generate
code binding with server and client.
I am not good at English,and can't say more detail here.
maybe you can get some advice by serach it on google.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May I know which tutorial you are referring to ?
If it is with Apache Axis, then you will specify your custom datatypes in your service definition(WSDD) file.
 
Stan Sokolov
Ranch Hand
Posts: 120
Hibernate IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use AXIS, You will need specify mapping between the WSDL type and your java class. This mapping should be defined in the wsdd file. If you have question, write me a mail. I will send you an example.
 
Anita Wang
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm talking about the JWSDP tutorial.
I guess I should try using AXIS. Thanks for help!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!