Davanum Srinivas wrote:

Guillaume,

We are yet to pass all the tests with "1.3" on...

Great :)

Can you repro the
problem in a standalone axis environment? (looping?)


Havn't tried yet.
But Glen seems to be working actively on this part, and loop was introduced/appeared when switching SoapEnc and JaxRpc TM.


I just wanted to know why the default TM was SOAPEnc with JAXRPC TM as delegate whne specifying 1.3 TM (aka JAXRPC TM in my mind) :)


Am currently thinking about differences between Axis serverside in standalone (works) and Axis in JOnAS.
Because I've traced exchanged message : they're identical (standalone/jonas)
so problem comes from the server side in JOnAS
I've compared the generated deploy.wsdd : JOnAS one contains more typeMappings but the ones that are presents in axis are also in jonas.
I'm still thinking ...
'll warn you if I find something usefull.



Cheers Guillaume


thanks,
dims


On Wed, 23 Feb 2005 14:15:23 +0100, Guillaume Sauthier
<[EMAIL PROTECTED]> 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

[EMAIL PROTECTED] 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"));

             }



















Reply via email to