• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Using AXIS .. Custom Object Returns

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, I am using Axis to expose a service. This service is exposed as jws file. It has four methods. one of its method return a custom object and Axis doest not allow me to retrun it. It send 'No serializer found for class ' error. Now searching on web i came to that i need to serialize and deserialize (or register my object class) using wsdd files. But i am not getting the point that how to generate them?.. where to place them? and how to register them. Can one tell me in simple way that what to do to get my object thrown over the wire using axis...

Thanking in Advance.
--jamshaid..
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem with JWS is that it has no deployment descriptor - which is where you declare any custom serializers/deserializers Axis needs to use. So you won't be able to transfer any non-standard types with a JWS-based WS.
 
Muhammad Ahsan Jamshaid
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please help me and let me know how to write and where to place this diployment discriptor. Any link or helping material would also work for me.
--jamshaid..
 
Ulf Dittmer
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Web Services FAQ links to a few articles showing how to get started with a proper service (not a JWS service) using Axis. They all use deployment descriptors. Axis also comes with a number of examples in the "samples/userguide" directory.
 
Muhammad Ahsan Jamshaid
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thnaks buddy.. it helped me alot.

--jamshaid..
 
You can't have everything. Where would you put it?
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic