• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

questions about supported JAX-RPC types  RSS feed

 
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!
 
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.
 
author and deputy
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.
 
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!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!