[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    RE: some questions
From:       "Ma, June" <june.ma () commerceone ! com>
Date:       2002-04-08 20:59:01
[Download RAW message or body]

Glen,
 
Thanks for your quick response. Please see comments as follows.
Regards,
-June

-----Original Message-----
From: Glen Daniels [mailto:gdaniels@macromedia.com]
Sent: Saturday, April 06, 2002 9:44 AM
To: axis-user@xml.apache.org
Subject: Re: some questions


Hi June!
 
1. All of our validation is currently in the deserializers.  The schema
information (i.e. what XML to expect when) exists in the form of a TypeDesc
(org.apache.axis.description.TypeDesc) for JavaBeans, which is the common
case.  This will match up elements/attributes to the appropriate Java
accessors, but will not handle validating more complex schema constraints
about values (well, we do handle enumerated types, but not, for instance,
"integers from 0 to 100").  We plan to add this richer schema validation
support later.
[Ma, June] So you don't do parsing using any kind of XML parser like Xerces,
is that right ? 
 
2. I'm not quite sure what you're asking here.  Our
serializaition/deserialization mechanism does not rely on "RPC-ness" at all,
and in fact there are several doc/lit examples in our tests (see
test.wsdl.nested, or test.wsdl.literal) which use XML<->Java databinding in
a document style.  If you're talking about passing SOAPElements or DOM
Elements around, we support that to a limited extent now and will improve
this stuff later as well.
[Ma, June]  What I was trying to ask was that how do you make
org.apache.axis.Message itself to be Serializable.
 
Hope this helps,
--Glen

----- Original Message ----- 
From: Ma,  <mailto:june.ma@commerceone.com> June 
To: 'axis-user@xml.apache.org' <mailto:'axis-user@xml.apache.org'>  
Sent: Friday, April 05, 2002 9:09 PM
Subject: some questions

Hi AXIS experts,
 
I reviewed this AXIS package and have some questions that I can't figure out
the answer. I'd appreciate if you can give me some help.
1. Do you ever do any kind of xml instance validation? If you do, how do you
figure out the schema location information ?
 
2. We are doing the document based SOAP service. I noticed that none of the
base classes extends java.io.Serializable. How do you make the soap message
itself serializable ? There are plenty of discussions about different data
type serialization, aren't these all around the RPC calls ? 
 
Thanks,
-June


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.00.3211.1700" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=522412205-08042002>Glen,</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=522412205-08042002>Thanks 
for your quick response. Please see comments as follows.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=522412205-08042002>Regards,</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN 
class=522412205-08042002>-June</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Glen Daniels 
  [mailto:gdaniels@macromedia.com]<BR><B>Sent:</B> Saturday, April 06, 2002 9:44 
  AM<BR><B>To:</B> axis-user@xml.apache.org<BR><B>Subject:</B> Re: some 
  questions<BR><BR></DIV></FONT>
  <DIV><FONT face=Arial size=2>Hi June!</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><FONT face=Arial>1. All of our validation is currently in 
  the deserializers.&nbsp; The schema information (i.e. what XML to expect when) 
  exists in the form of a TypeDesc (org.apache.axis.description.TypeDesc) for 
  JavaBeans, which is the common case.&nbsp; This will match up 
  elements/attributes to the appropriate Java accessors, but will not handle 
  validating more complex schema constraints about values (well, we do handle 
  enumerated types, but not, for instance, "integers from 0 to 100").&nbsp; We 
  plan to add this richer schema validation support later.<BR><FONT 
  color=#0000ff><SPAN class=522412205-08042002>[Ma, 
  June]&nbsp;So&nbsp;you&nbsp;don't do parsing using&nbsp;any kind of&nbsp;XML 
  parser like Xerces, is that right ?&nbsp;</SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2><FONT face=Arial>2. I'm not quite sure what you're asking 
  here.&nbsp; Our serializaition/deserialization mechanism does not rely on 
  "RPC-ness" at all, and in fact there are several doc/lit examples in our tests 
  (see test.wsdl.nested, or test.wsdl.literal) which use XML&lt;-&gt;Java 
  databinding in a document style.&nbsp; If you're talking about passing 
  SOAPElements or DOM Elements around, we support that to a limited extent now 
  and will improve this stuff later as well.<BR><FONT color=#0000ff><SPAN 
  class=522412205-08042002>[Ma, June]&nbsp;&nbsp;What I was trying to ask was 
  that how do you make org.apache.axis.Message itself to be 
  Serializable.</SPAN></FONT></FONT></FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Hope this helps,</FONT></DIV>
  <DIV><FONT face=Arial size=2>--Glen</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; \
PADDING-LEFT: 5px; PADDING-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original \
Message ----- </DIV>  <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A href="mailto:june.ma@commerceone.com" title=june.ma@commerceone.com>Ma, 
    June</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A 
    href="mailto:'axis-user@xml.apache.org'" 
    title=axis-user@xml.apache.org>'axis-user@xml.apache.org'</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, April 05, 2002 9:09 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> some questions</DIV>
    <DIV><BR></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=586094913-05042002>Hi 
    AXIS experts,</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=586094913-05042002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=586094913-05042002>I&nbsp;reviewed this AXIS package and&nbsp;have 
    some questions that I can't figure out the answer. I'd appreciate if you can 
    give me some help.</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=586094913-05042002>1. 
    Do you ever do any kind of xml instance validation? If you do, how do you 
    figure out the schema location information ?</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=586094913-05042002></SPAN></FONT>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN class=586094913-05042002>2. 
    We are doing the document based SOAP service. I noticed that 
    none&nbsp;of&nbsp;the base classes&nbsp;extends&nbsp;java.io.Serializable. 
    How do you make the soap message itself serializable ? There are plenty of 
    discussions about different data type serialization, aren't these all around 
    the RPC calls ? </SPAN></FONT></DIV>
    <DIV>&nbsp;</DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=586094913-05042002>Thanks,</SPAN></FONT></DIV>
    <DIV><FONT color=#0000ff face=Arial size=2><SPAN 
    class=586094913-05042002>-June</SPAN></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic