Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 71328 invoked from network); 28 Mar 2006 15:01:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2006 15:01:54 -0000 Received: (qmail 38826 invoked by uid 500); 28 Mar 2006 15:01:49 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 38792 invoked by uid 500); 28 Mar 2006 15:01:49 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 38781 invoked by uid 99); 28 Mar 2006 15:01:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Mar 2006 07:01:49 -0800 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; Tue, 28 Mar 2006 07:01:48 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 64319D49FE for ; Tue, 28 Mar 2006 16:01:27 +0100 (BST) Message-ID: <760896121.1143558087407.JavaMail.jira@ajax> Date: Tue, 28 Mar 2006 16:01:27 +0100 (BST) From: "Alexander Vaagan (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS-2449) Axis does not supply correct namespace in SOAP message In-Reply-To: <896428513.1143531036820.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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/AXIS-2449?page=3Dcomments#action= _12372110 ]=20 Alexander Vaagan commented on AXIS-2449: ---------------------------------------- I see I have made a small typo in the above description. Please substitue bedriftws witth companyws. /Alex > Axis does not supply correct namespace in SOAP message > ------------------------------------------------------ > > Key: AXIS-2449 > URL: http://issues.apache.org/jira/browse/AXIS-2449 > Project: Apache Axis > Type: Bug > Components: Basic Architecture, Serialization/Deserialization > Environment: Windows XP, JBoss 4.0.3 > Reporter: Alexander Vaagan > > Hi. > I have a WebService running on axis and are trying to consume it from a .= NET (C#) client, but all I get back is NULL values. > I have search both this mailing list and others and I can see that I am n= ot the only one having this problem, but I can't seem to find a real fix to= the problem. > Some people says I should manually edit the wsdl file and some mean I sho= uld manualy edit the .NET proxy, but I don't like either solution sinse it = fixes the > symptom not the real problem.=20 > The service takes a complex type and an int as input and returns =C3=A5 c= omplex type. > In the .wsdd file I have adden a beanMapping that looks like this: > =09=09 =09=09=09xmlns:bedriftws=3D"http://data.foo.bar.company" > =09=09=09qname=3D"companyws:FoobarDO"=20 > =09=09=09languageSpecificType=3D"java:company.bar.foo.data.FoobarDO" > =09=09/> > which puts the type in the http://data.foo.bar.company namespace.=20 > The default namespace is http://foo.bar.company namespace. > The wsdl file is automatically generated from axis like this: http://host= name/webapp/services/FoobarWS?wsdl > The schema definition of the returned object in the wsdl looks like this:= (The extension base i found in the "http://framework.company" namespace) > = =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > =20 > To me it looks like it's located in the correkt namespace as defines in t= he beanMapping in the wsdd file. > The problem is that axis does not send the response in the correkt namesp= ace: > Eg. Soap response from axis: > > > > > > > Viskom testing testing testing > > > > > Here the .NET client clearly is trying to find objects and values in the = wrong namespace. The wsdl says it's in http://data.foo.bar.company and axis= sends it in http://foo.bar.company > I have deployed the same app on a Websphere server (without axis) and thi= s works fine. The return message from Websphere looks like this: > > > > > > > > Viskom te= sting testing testing > > > > > Here the correkt namespace is supplied and the .NET client can read and d= eserialize it correctly. > Axis version: Implementation-Version: 1.3 2244 October 5 2005 > Java version: java full version "1.4.2_08-b03" --=20 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