axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <dava...@gmail.com>
Subject Re: cvs commit: ws-axis/java/src/org/apache/axis/wsdl/toJava Emitter.java
Date Wed, 23 Feb 2005 13:17:39 GMT
Guillaume,

We are yet to pass all the tests with "1.3" on...Can you repro the
problem in a standalone axis environment? (looping?)

thanks,
dims


On Wed, 23 Feb 2005 14:15:23 +0100, Guillaume Sauthier
<Guillaume.Sauthier@objectweb.org> wrote:
> Any thoughts ?
> 
> JOnAS TCK complains about this :)
> I must switch them to pass the generation/compilation step.
> 
> And after, I've goot infinite loops on getSerializer, I must add a
> checkLoop recursive method in setDelegate to make sure that delegation
> *chain* do not produce a loop.
> 
> Cheers
> Guillaume
> 
> Guillaume Sauthier wrote:
> 
> > 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"));
> >>
> >>               }
> >>
> >>
> >>
> >>
> >>
> >>
> >
> >
> 
> 


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

Mime
View raw message