• 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Custom Ser/Deser with Sun One App Server

 
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I was wondering if there is a way to implements and define custome serilizers/deserilizers for a web service on the Sun Application Server.

I have done the same for Tomcat w/ Axis 1.1, but I have been looking around for ser/deser on Sun Application Servers, in vain.

The dev guide (esp. the web service one) doesnt really talk about it. And the Sun App server doesnt seem to have the Axis engine, I guess they have a different WS engine (am I right?)

Can some one point me to some docs/resources to write custom ser/deser for Sun App server?

Thanks a bunch.

Cheers
G
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by gautham kasinath:
Hello all,
I was wondering if there is a way to implements and define custome serilizers/deserilizers for a web service on the Sun Application Server.



Sun would prefer that you use literal messaging rather than SOAP Section 5 encoding. However they did include some information on SOAP Section 5 serialization and deserialization in the JAX-RPC 1.1 specification (JSR 101) under 19 Appendix: Serialization Framework.

Originally posted by gautham kasinath:
And the Sun App server doesnt seem to have the Axis engine, I guess they have a different WS engine (am I right?)



Correct. Axis is a "Java Web Service" engine that implements some of the Java related web service specifications like JAX-RPC but it uses its own way of doing things in other areas. Sun's WS-engine implements all the specifications collectively known as "J2EE Web services" - for better or worse.
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Peer,
Thanks for the link. I did read the appendix section of JSR1.1. Though the same describes in clear detail how the ser/deser work in Aun App server context, the same does not give any clue to how I may override the ser/deser implemenation.
Am I missing something?

Cheers
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sun really isn't keen on anybody doing this.
Maybe this will help: How to use a custom deserializer
.
 
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic