You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2003/04/28 16:34:36 UTC

RE: cvs commit: xml-axis/java/src/org/apache/axis/message SOAPEnv elope.java

Dims,

This code was like that for Axis 1.0.  
Why do we think that we have SAAJ test regressions?

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: dims@apache.org [mailto:dims@apache.org] 
Sent: Saturday, April 26, 2003 9:22 PM
To: xml-axis-cvs@apache.org
Subject: cvs commit: xml-axis/java/src/org/apache/axis/message SOAPEnvelope.java

dims        2003/04/26 18:21:35

  Modified:    java/src/org/apache/axis/message SOAPEnvelope.java
  Log:
  Fix for SAAJ TCK failure - We should NOT use SOAP Envelope's namespace URI/Prefix.
  
  Revision  Changes    Path
  1.89      +1 -2      xml-axis/java/src/org/apache/axis/message/SOAPEnvelope.java
  
  Index: SOAPEnvelope.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SOAPEnvelope.java,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- SOAPEnvelope.java	22 Apr 2003 19:35:16 -0000	1.88
  +++ SOAPEnvelope.java	27 Apr 2003 01:21:35 -0000	1.89
  @@ -591,8 +591,7 @@
        */ 
       public javax.xml.soap.Name createName(String localName)
           throws SOAPException {
  -        // Ok to use the SOAP envelope's namespace URI and prefix?
  -        return new PrefixedQName(namespaceURI, localName, prefix);
  +        return new PrefixedQName(null, localName,  null);
       }
   
       /**
  
  
  

RE: cvs commit: xml-axis/java/src/org/apache/axis/message SOAPEnv elope.java

Posted by Davanum Srinivas <di...@yahoo.com>.
I think in 1.0, namespaceURI and prefix were null by default. Now they have defaults See lines
133-136 in SOAPEnvelope.java. 

-- dims

--- Tom Jordahl <to...@macromedia.com> wrote:
> Dims,
> 
> This code was like that for Axis 1.0.  
> Why do we think that we have SAAJ test regressions?
> 
> --
> Tom Jordahl
> Macromedia Server Development
> 
> -----Original Message-----
> From: dims@apache.org [mailto:dims@apache.org] 
> Sent: Saturday, April 26, 2003 9:22 PM
> To: xml-axis-cvs@apache.org
> Subject: cvs commit: xml-axis/java/src/org/apache/axis/message SOAPEnvelope.java
> 
> dims        2003/04/26 18:21:35
> 
>   Modified:    java/src/org/apache/axis/message SOAPEnvelope.java
>   Log:
>   Fix for SAAJ TCK failure - We should NOT use SOAP Envelope's namespace URI/Prefix.
>   
>   Revision  Changes    Path
>   1.89      +1 -2      xml-axis/java/src/org/apache/axis/message/SOAPEnvelope.java
>   
>   Index: SOAPEnvelope.java
>   ===================================================================
>   RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SOAPEnvelope.java,v
>   retrieving revision 1.88
>   retrieving revision 1.89
>   diff -u -r1.88 -r1.89
>   --- SOAPEnvelope.java	22 Apr 2003 19:35:16 -0000	1.88
>   +++ SOAPEnvelope.java	27 Apr 2003 01:21:35 -0000	1.89
>   @@ -591,8 +591,7 @@
>         */ 
>        public javax.xml.soap.Name createName(String localName)
>            throws SOAPException {
>   -        // Ok to use the SOAP envelope's namespace URI and prefix?
>   -        return new PrefixedQName(namespaceURI, localName, prefix);
>   +        return new PrefixedQName(null, localName,  null);
>        }
>    
>        /**
>   
>   
>   


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com