From: Parikh,Pratik [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 01, 2005 5:08 PM
To: axis-user@ws.apache.org
Subject: Question around BaseSerializerFactory
Hi Everyone,
I have generated some code using wsdl2java, and the stub that it generate using axis 1.2 and the stub that it generated using 1.3 is different. 1.3 uses BaseSerializerFactory and the 1.2 does not. e.g.
1.2 generated code.
qName =
new javax.xml.namespace.QName("urn:hl7-org:v3",
"x_RoleClassPayeePolicyRelationship");
cachedSerQNames.add(qName);
cls =
com.cerner.fsi.hl7.v3.X_RoleClassPayeePolicyRelationship.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(simplesf);
cachedDeserFactories.add(simpledf);
1.3 generate code
qName
= new javax.xml.namespace.QName("urn:hl7-org:v3",
"x_RoleClassPayeePolicyRelationship");
cachedSerQNames.add(qName);
cls =
com.cerner.fsi.hl7.v3.X_RoleClassPayeePolicyRelationship.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleSerializerFactory.class,
cls, qName));
cachedDeserFactories.add(org.apache.axis.encoding.ser.BaseDeserializerFactory.createFactory(org.apache.axis.encoding.ser.SimpleDeserializerFactory.class, cls, qName));
My question is which one is right, and why is 1.3 throwing exception during runtime about it not find the creat method which I think is called in createFactory.
Help is need.
Parikh, Pratik
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ---------------------------------------- -- |