Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 8313 invoked from network); 17 Jan 2006 15:19:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jan 2006 15:19:19 -0000 Received: (qmail 33494 invoked by uid 500); 17 Jan 2006 15:19:08 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 33432 invoked by uid 500); 17 Jan 2006 15:19:07 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 33399 invoked by uid 99); 17 Jan 2006 15:19:07 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2006 07:19:06 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 25887185 for ; Tue, 17 Jan 2006 16:18:45 +0100 (CET) Message-ID: <1789579273.1137511125151.JavaMail.jira@ajax.apache.org> Date: Tue, 17 Jan 2006 16:18:45 +0100 (CET) From: "Adrian Dick (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Resolved: (AXISCPP-880) Client deserialization issue with element in a complextype In-Reply-To: <1299764098.1133504311269.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-880?page=all ] Adrian Dick resolved AXISCPP-880: --------------------------------- Fix Version: 1.6 Alpha Resolution: Fixed I have made some changes to the SoapDeSerializer to ensure it only deserializes the correct number of elements. SimpleXSDAny, OtherFaultException and DynamicGetAnyObjectSOAPFaultTest are all correctly passing when using the getAnyObject method. > Client deserialization issue with element in a complextype > -------------------------------------------------------------------- > > Key: AXISCPP-880 > URL: http://issues.apache.org/jira/browse/AXISCPP-880 > Project: Axis-C++ > Type: Bug > Reporter: Manohar > Assignee: Adrian Dick > Fix For: 1.6 Alpha > > Hi, > I've created a complex type as, > > > > > > > > and setting and displaying values for in my client as, > pAny->_array[0]=strdup("WSCC"); > input->setany1(pAny); > input->setfield2("WebServices"); > input->setfield3(123); > > SimpleComplexType1* result = NULL; > result = ws->asComplexType(input); > if( result == NULL ) > cout << "result object is NULL" << endl; > AnyType* pAnyReturn = result->getany1(); > xsd__string f2 = result->getfield2(); > xsd__int f3 = result->getfield3(); > cout << "Result field1 is = " << pAnyReturn->_array[0] << endl; > cout << "Result field2 is = " << f2 << endl; > cout << "Result field3 is = " << f3 << endl; > and trying to send aRecord object as part of request message and receive the same in return. When I run this test the value displayed for "Result field1 is" is not correct. The following value is displayed for element in the output file. > WSCCWebServices123 > I think only the contents related to should be displayed but values of field2 and field3 are also displayed for . I think client is not deserializing the response properly. > Is this the correct behaviour or am I missing something here ? I've added a test by name SimpleXSDAny to highlight this problem. > Regards > Manohar -- 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