Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 20625 invoked from network); 4 Jun 2004 11:55:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Jun 2004 11:55:20 -0000 Received: (qmail 19233 invoked by uid 500); 4 Jun 2004 11:55:11 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 19195 invoked by uid 500); 4 Jun 2004 11:55:11 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 19178 invoked by uid 99); 4 Jun 2004 11:55:11 -0000 Received: from [205.158.62.67] (HELO webmail-outgoing.us4.outblaze.com) (205.158.62.67) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 04 Jun 2004 04:55:11 -0700 Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id 35A3C18006DF for ; Fri, 4 Jun 2004 11:55:03 +0000 (GMT) X-OB-Received: from unknown (205.158.62.131) by wfilter.us4.outblaze.com; 4 Jun 2004 11:54:31 -0000 Received: by ws5-1.us4.outblaze.com (Postfix, from userid 1001) id 218353983FB; Fri, 4 Jun 2004 11:55:03 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [193.71.234.74] by ws5-1.us4.outblaze.com with http for nilsga@operamail.com; Fri, 04 Jun 2004 12:55:03 +0100 From: "Nils-Helge Garli" To: axis-user@ws.apache.org Date: Fri, 04 Jun 2004 12:55:03 +0100 Subject: Dynamic client/WSDL problems X-Originating-Ip: 193.71.234.74 X-Originating-Server: ws5-1.us4.outblaze.com Message-Id: <20040604115503.218353983FB@ws5-1.us4.outblaze.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi! I have a problem trying to access a .NET web service with the Axis (1.2 beta) dynamic proxy client. The QNames of the WSDL are parsed incorrectly. For instance, parsing this part (from the WSDL file): results in a qname like: {http://www.myns.com}>GetDepartmentPhoneList>departmentId, and when this is serialized in the call, the resulting xml is <>GetDepartmentPhoneList>departmentId>1GetDepartmentPhoneList>departmentId> which of course results in a "bad request" from the service. So the local part of QName is in fact interpreted as '>GetDepartmentPhoneList>departmentId' which is wrong. Using WSDL2Java and generating the classes, I see that the generated stub uses the QName {http://www.myns.com}departmentId, which is correct. How come the generated classes and the dynamic proxy generated WSDL are different? Are there some options/settings I can use to prevent this from happening? Thank you. Sincererly, Nils-Helge Garli -- _____________________________________________________________ Web-based SMS services available at http://www.operamail.com. >From your mailbox to local or overseas cell phones. Powered by Outblaze