axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muthu...@apache.org
Subject cvs commit: ws-axis/contrib/axismora/src/org/apache/axismora/encoding DesirializationContext.java AxisPullParser.java
Date Mon, 05 Jan 2004 07:24:39 GMT
muthulee    2004/01/04 23:24:39

  Modified:    contrib/axismora/src/org/apache/axismora/encoding
                        DesirializationContext.java AxisPullParser.java
  Log:
  Fixing the deserialization context.
  PR:
  Obtained from:
  Submitted by:	
  Reviewed by:	
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.5       +6 -4      ws-axis/contrib/axismora/src/org/apache/axismora/encoding/DesirializationContext.java
  
  Index: DesirializationContext.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/axismora/src/org/apache/axismora/encoding/DesirializationContext.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- DesirializationContext.java	15 Dec 2003 03:22:24 -0000	1.4
  +++ DesirializationContext.java	5 Jan 2004 07:24:39 -0000	1.5
  @@ -229,13 +229,15 @@
               while (!(state == XmlPullParser.START_TAG || state == XmlPullParser.END_DOCUMENT))
                   this.state = this.xpp.next();
   
  -            if (state == XmlPullParser.START_TAG && this.xpp.getName().equals(Constants.ELEM_BODY))
  -                this.state = this.xpp.next();
  -            else
  +          	if (state == XmlPullParser.START_TAG && this.xpp.getName().equals(Constants.ELEM_BODY)){
  +                log.info("-at the body tag");
  +            }else{
                   throw new AxisFault("Invalied Axis format Body tag missing");
  +            }
   
               //If RPC I should read the method as well
  -            if (this.style.getName().equals("rpc")) {
  +            if (this.style.equals("rpc")) {
  +                log.info("It's rpc.... Parsing body");
                   //this two lines are to make sure we are dealing with the start tag
                   while (!(state == XmlPullParser.START_TAG || state == XmlPullParser.END_DOCUMENT))
                       this.state = this.xpp.next();
  
  
  
  1.3       +2 -4      ws-axis/contrib/axismora/src/org/apache/axismora/encoding/AxisPullParser.java
  
  Index: AxisPullParser.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/axismora/src/org/apache/axismora/encoding/AxisPullParser.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisPullParser.java	15 Dec 2003 03:22:24 -0000	1.2
  +++ AxisPullParser.java	5 Jan 2004 07:24:39 -0000	1.3
  @@ -81,12 +81,10 @@
           return this.xpp;
       }
   
  -    // removes unnecassary whitespaces.
  +    // removes whitespaces.
       /**
        * Removes whitespaces 
  -     *  1)between two start tags
  -     *  2)two end tags
  -     *  3)between end tag that follows the starttag
  +     *  
        */
       public int next() throws AxisFault {
           try {
  
  
  

Mime
View raw message