Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 4961 invoked from network); 5 Apr 2006 12:15:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 12:15:00 -0000 Received: (qmail 76608 invoked by uid 500); 5 Apr 2006 12:14:53 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 76450 invoked by uid 500); 5 Apr 2006 12:14:53 -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 76313 invoked by uid 99); 5 Apr 2006 12:14:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 05:14:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Wed, 05 Apr 2006 05:14:51 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 49F426ACAC for ; Wed, 5 Apr 2006 13:14:15 +0100 (BST) Message-ID: <136759534.1144239255300.JavaMail.jira@ajax> Date: Wed, 5 Apr 2006 13:14:15 +0100 (BST) From: "Fred Preston (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Closed: (AXISCPP-843) Serialiser is using namespaces without first assigning them in the XML In-Reply-To: <53467491.1128000947530.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-843?page=all ] Fred Preston closed AXISCPP-843: -------------------------------- > Serialiser is using namespaces without first assigning them in the XML > ---------------------------------------------------------------------- > > Key: AXISCPP-843 > URL: http://issues.apache.org/jira/browse/AXISCPP-843 > Project: Axis-C++ > Type: Bug > Components: WSDL processing - Doc > Versions: 1.5 Final > Environment: n/a > Reporter: Fred Preston > Assignee: Dushshantha Chandradasa > Priority: Blocker > Fix For: 1.6 Alpha > > I have the following xsd and wsdl files:- > SimpleType.xml > ---------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > SimpleNonBaseType.xml > ----------------------------------- > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > > > > > > > > > > > > SimpleService.wsdl > --------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ----------------------------------------------------------------------------------------------------------------------- > When I build a stub using WSDL2Ws and then create a client as follows:- > #include "TestServicePortType.hpp" > void main() > { > TestServicePortType * pWS = new TestServicePortType( "http://localhost:port/WebService", APTHTTP1_1); > SampleBean sSB; > pWS->aBeanPortType( &sSB); > delete pWS; > } > ----------------------------------------------------------------------------------------------------------------------- > The request message produced by the stub is as follows:- > POST /AxisBench/services/AxisBenchSoapImpl HTTP/1.1 > Host: : > Content-Type: text/xml; charset=UTF-8 > SOAPAction: "" > Content-Length: 679 > > > > > > > false > 0 > > 0.000000 > 0.000000 > 0 > 0 > 0 > > > > > > ----------------------------------------------------------------------------------------------------------------------- > Notice how namespace, 'ns2' has been used without being defined! There is obviously something wrong with either the generated stub code or the serialisation of the message... -- 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