axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Sauthier <Guillaume.Sauth...@objectweb.org>
Subject Re: cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava Emitter.java
Date Tue, 22 Feb 2005 08:38:32 GMT
Just for understanding

Why do we set the JAXRPC TM as delegate ?
Seems logical to me that if we set 1.3 TM, we want the JAXRPC TM as 
principal TM, and this one should delegate to SOAPEnc TM.

Cheers
Guillaume

dims@apache.org wrote:

>dims        2005/02/21 19:32:14
>
>  Modified:    java/src/org/apache/axis/wsdl/toJava Emitter.java
>  Log:
>  Mirror the changes made in org.apache.axis.wsdl.fromJava.Emitter
>  
>  Revision  Changes    Path
>  1.81      +2 -1      ws-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java
>  
>  Index: Emitter.java
>  ===================================================================
>  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/Emitter.java,v
>  retrieving revision 1.80
>  retrieving revision 1.81
>  diff -u -r1.80 -r1.81
>  --- Emitter.java	12 Feb 2005 04:41:21 -0000	1.80
>  +++ Emitter.java	22 Feb 2005 03:32:14 -0000	1.81
>  @@ -769,7 +769,8 @@
>               } else if (typeMappingVersion.equals("1.2")) {
>                   defaultTM=DefaultSOAPEncodingTypeMappingImpl.create();
>               } else if (typeMappingVersion.equals("1.3")) {
>  -                defaultTM=DefaultJAXRPC11TypeMappingImpl.create();
>  +                defaultTM=DefaultSOAPEncodingTypeMappingImpl.getSingleton();
>  +                defaultTM.setDelegate(DefaultJAXRPC11TypeMappingImpl.create());
>               } else {
>                   throw new RuntimeException(org.apache.axis.utils.Messages.getMessage("j2wBadTypeMapping00"));
>               }
>  
>  
>  
>
>  
>


Mime
View raw message