Hi Dims,

   Did you ever get this tested and build??? If you can please get this
build tonight then it will be great, and can you send me the location
from where I can get the build jar with my patch.

Thanks,
Parikh, Pratik | Software Engineer | Cerner Corporation |
(1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com


-----Original Message-----
From: Davanum Srinivas (JIRA) [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 18, 2005 3:36 PM
To: axis-dev@ws.apache.org
Subject: [jira] Commented: (AXIS-2346) Issue with the way the localNames
are created in WSDL2Java

    [
http://issues.apache.org/jira/browse/AXIS-2346?page=comments#action_1236
0758 ]

Davanum Srinivas commented on AXIS-2346:
----------------------------------------

Pratik,

Review this patch right now...would this following snippet work for you?
(basically keep the original lookup and only if it fails try fixing the
localname.

thanks,
dims

         if (propDesc == null) {
             // look for a field by this name.
            propDesc = (BeanPropertyDescriptor)
propertyMap.get(localName);
            if(propDesc == null) {         
                String malformatedLocalName =
StringUtils.makeQNameToMatchLocalName(localName);
                if(malformatedLocalName != null){
                        propDesc = (BeanPropertyDescriptor)
propertyMap.get(malformatedLocalName);
                }
             }
         }

> Issue with the way the localNames are created in WSDL2Java
> ----------------------------------------------------------
>
>          Key: AXIS-2346
>          URL: http://issues.apache.org/jira/browse/AXIS-2346
>      Project: Apache Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: beta-1, current (nightly), beta-2, future (enh), beta-3,
1.0-rc1, 1.0-rc2, 1.0, 1.1beta, 1.1, 1.1RC1, 1.1rc2, 1.2 Alpha, 1.2
Beta, 1.2RC1, 1.2RC2, 1.2RC3, 1.2, 1.2.1, 1.3
>     Reporter: Pratik Parikh
>  Attachments: DeserializationPatch.txt, DeserializationPatch.txt
>
> The localName of XML is in java naming convenstion and Qname is xml
name convenstion, this create a problem in deserialization before the
message is send out. The Deserializer is not able to find out the QName
in localName HashMap, because the QName does not match the LocalName.
> Thanks,
> Pratik

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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.
---------------------------------------- --

Reply via email to