Forgot to mail it to list... Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com
-----Original Message----- From: Parikh,Pratik Sent: Sunday, December 18, 2005 7:08 PM To: '[EMAIL PROTECTED]' Subject: RE: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java Yes, Just take any of your examples and change your element names with any of the following case: 1) element name with a dout '.' in the name but it should start with alphabet. e.g. pratik.parikh, the localname in your wsdl generated code will be pratikParikh and QName will be pratik.parikh 2) element name with a first charater should be uppercase. e.g. PratikParikh, the localname should in your wsdl generated code will be pratikParikh and QName will be PratikParikh. 3) element name with a hyphen '-' in the name but it should start with alphabet. e.g. pratik-parikh, the localname in your wsdl generated code will be pratikParikh and QName will be pratik-parikh Thanks, Parikh, Pratik | Software Engineer | Cerner Corporation | (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com -----Original Message----- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Sunday, December 18, 2005 6:57 PM To: Parikh,Pratik Subject: Re: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java Just one more thing, Any way for me to test the change you made? thanks, dims On 12/18/05, Parikh,Pratik <[EMAIL PROTECTED]> wrote: > Hi Dims, > > I tested it and it works. If you can get it build, then it will be > great. > > Thanks, > Parikh, Pratik | Software Engineer | Cerner Corporation | > (1)-816-201-1298 | [EMAIL PROTECTED] | www.cerner.com > > > -----Original Message----- > From: Parikh,Pratik [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 18, 2005 4:04 PM > To: axis-dev@ws.apache.org > Subject: RE: [jira] Commented: (AXIS-2346) Issue with the way the > localNames are created in WSDL2Java > > > Logically it should. Let me apply this to my local copy and test it out. > But for now you can commit this, as I should not be a problem? > > 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_12 > 36 > 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. > ---------------------------------------- -- > -- Davanum Srinivas : http://wso2.com/blogs/ 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. ---------------------------------------- --