Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Custom Ser/Deser with Sun One App Server  RSS feed

 
gautham kasinath
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
 
Peer Reynders
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
.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!