Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 53014 invoked from network); 25 Nov 2004 03:43:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Nov 2004 03:43:26 -0000 Received: (qmail 51993 invoked by uid 500); 25 Nov 2004 03:43:25 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 51980 invoked by uid 500); 25 Nov 2004 03:43:25 -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 51967 invoked by uid 99); 25 Nov 2004 03:43:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from exchange.sun.com (HELO exchange.sun.com) (192.18.33.10) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 24 Nov 2004 19:43:22 -0800 Received: (qmail 13067 invoked from network); 25 Nov 2004 03:43:20 -0000 Received: from localhost (HELO nagoya) (127.0.0.1) by nagoya.betaversion.org with SMTP; 25 Nov 2004 03:43:20 -0000 Message-ID: <1823064686.1101354200806.JavaMail.apache@nagoya> Date: Wed, 24 Nov 2004 19:43:20 -0800 (PST) From: "Samisa Abeysinghe (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Closed: (AXISCPP-144) When Stub::setSOAPMethodAttribute is called multiple times the stub code sets the arrtibute multiple times In-Reply-To: <87566253.1093855460863.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ http://nagoya.apache.org/jira/browse/AXISCPP-144?page=history ] Samisa Abeysinghe closed AXISCPP-144: ------------------------------------- Regression tests are sucessful > When Stub::setSOAPMethodAttribute is called multiple times the stub code sets the arrtibute multiple times > ---------------------------------------------------------------------------------------------------------- > > Key: AXISCPP-144 > URL: http://nagoya.apache.org/jira/browse/AXISCPP-144 > Project: Axis-C++ > Type: Bug > Components: WSDL processing > Environment: All platforms > Reporter: Samisa Abeysinghe > Assignee: Samisa Abeysinghe > Fix For: 1.3 Beta > > When Stub::setSOAPMethodAttribute is called multiple times the stub sets the arrtibute multiple times. > e.g. For UDDI WSDL (inquire_v2.wsdl) I called two methods on the stub. > First > tModel_Array result = ws->get_tModelDetail(arrtModelKeys, cpname); > and then > businessEntity_Array businessEntities = ws->get_businessDetail(arrBusinessKeys, cpname); > where > cpname = "2.0"; > For 1st methods it sends: > UUID:39B8F710-F088-11D6-8F10-000629DC0A7B > And for second methods it sends > D368F080-8423-11D6-9FFC-000C0E00ACDD > Note the duplicated methods attribute 'generic="2.0"' in the second SOAP message. > Looking into the generated stub call I see that > setSOAPMethodAttribute("generic", "", Value1); > is called for each method once. Looks like the Stub cache the set SOAP methods attributes and reuse in subsequent calls. > This causes the server to send a "Client Error" Fault. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira