Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 48978 invoked from network); 10 Oct 2006 14:47:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 14:47:07 -0000 Received: (qmail 21656 invoked by uid 500); 10 Oct 2006 14:47:01 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 21619 invoked by uid 500); 10 Oct 2006 14:47:01 -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 21607 invoked by uid 99); 10 Oct 2006 14:47:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 07:47:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Oct 2006 07:47:00 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3602F7142E4 for ; Tue, 10 Oct 2006 07:46:21 -0700 (PDT) Message-ID: <2380981.1160491581218.JavaMail.root@brutus> Date: Tue, 10 Oct 2006 07:46:21 -0700 (PDT) From: "Davanum Srinivas (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1252) java2wsdl generates unknown namespace In-Reply-To: <15284016.1159404652840.JavaMail.jira@brutus> 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/AXIS2-1252?page=comments#action_12441155 ] Davanum Srinivas commented on AXIS2-1252: ----------------------------------------- We use the following in w2j: -ns2p ns1=pkg1,ns2=pkg2 Specify a custom package name for each namespace specified in the wsdls schema. In Axis1, we could do it from the command line or pick it up from a properties file. -- dims > java2wsdl generates unknown namespace > ------------------------------------- > > Key: AXIS2-1252 > URL: http://issues.apache.org/jira/browse/AXIS2-1252 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Improvement > Components: wsdl > Reporter: Kinichiro Inoguchi > Priority: Blocker > > This issue comes from user mailing list. > http://marc.theaimsgroup.com/?t=115937715900004&r=1&w=2 > java2wsdl generates unknown namespace, "http://test/xsd". > I'm using current nightly. > My service class has method "sayHello", > and returns array of simple java beans "HelloBean". > Then I run java2wsdl, sayHello and sayHelloResponse > are in namespace "http://aaa.bbb/types". > But, HelloBean is in unknown namespace "http://test/xsd". > Is this a bug ? > C:\axis2-std-SNAPSHOT-bin\bin\java2wsdl.bat > -cn test.TestService1 -cp . > -tn http://aaa.bbb -tp xxx > -stn http://aaa.bbb/types -stp yyy > -sn TestService1 -of TestService1.wsdl > generated WSDL is like this; > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ... -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org