RE: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java
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. --
RE: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java
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_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. --
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_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. --
RE: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java
Hi Dims, The patch is attached to the bugs as txt file. You should be able to apply that, please let me know if you have any problems? 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 1:18 PM To: axis-dev@ws.apache.org Subject: Re: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java basically i should be able to apply the patch using "patch -p0 -i diff.txt". Haven't dealt with eclipse output before. let's try. thanks, dims On 12/18/05, Parikh,Pratik <[EMAIL PROTECTED]> wrote: > > Hi Dims, > >Thanks is okay, I understand. I actually found a problem in my > logic, I am testing some more use case. Once I am done I will run the > test as you recommended. Can I upload the results though eclipse? I > don't use command line. > > 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 1:10 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 > 0744 ] > > Davanum Srinivas commented on AXIS-2346: > > > Pratik, > > Hmm..Sorry for giving you the run around. But the latest code is in SVN. > Please run "svn co > http://svn.apache.org/repos/asf/webservices/axis/trunk/java/ axis" to > get the latest code. Then run "ant clean all-tests" after dropping all > the libraries needed into axis/lib directory. After you validate that > the tests are fine, make your changes and run the tests again. > > Then run "svn diff -u" and upload the results. We also need a test > case to make sure that your patch is indeed fixing a problem and so > that no one else will break your "use case" later. > > Thanks for your patience and cooperation, dims > > > 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 > > > > 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. --
Re: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java
basically i should be able to apply the patch using "patch -p0 -i diff.txt". Haven't dealt with eclipse output before. let's try. thanks, dims On 12/18/05, Parikh,Pratik <[EMAIL PROTECTED]> wrote: > > Hi Dims, > >Thanks is okay, I understand. I actually found a problem in my logic, > I am testing some more use case. Once I am done I will run the test as > you recommended. Can I upload the results though eclipse? I don't use > command line. > > 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 1:10 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 > 0744 ] > > Davanum Srinivas commented on AXIS-2346: > > > Pratik, > > Hmm..Sorry for giving you the run around. But the latest code is in SVN. > Please run "svn co > http://svn.apache.org/repos/asf/webservices/axis/trunk/java/ axis" to > get the latest code. Then run "ant clean all-tests" after dropping all > the libraries needed into axis/lib directory. After you validate that > the tests are fine, make your changes and run the tests again. > > Then run "svn diff -u" and upload the results. We also need a test case > to make sure that your patch is indeed fixing a problem and so that no > one else will break your "use case" later. > > Thanks for your patience and cooperation, dims > > > 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 > > > > 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/
RE: [jira] Commented: (AXIS-2346) Issue with the way the localNames are created in WSDL2Java
Hi Dims, Thanks is okay, I understand. I actually found a problem in my logic, I am testing some more use case. Once I am done I will run the test as you recommended. Can I upload the results though eclipse? I don't use command line. 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 1:10 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 0744 ] Davanum Srinivas commented on AXIS-2346: Pratik, Hmm..Sorry for giving you the run around. But the latest code is in SVN. Please run "svn co http://svn.apache.org/repos/asf/webservices/axis/trunk/java/ axis" to get the latest code. Then run "ant clean all-tests" after dropping all the libraries needed into axis/lib directory. After you validate that the tests are fine, make your changes and run the tests again. Then run "svn diff -u" and upload the results. We also need a test case to make sure that your patch is indeed fixing a problem and so that no one else will break your "use case" later. Thanks for your patience and cooperation, dims > 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 > > 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. --