Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 44544 invoked from network); 10 Oct 2006 14:38:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 14:38:04 -0000 Received: (qmail 1944 invoked by uid 500); 10 Oct 2006 14:38:00 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 1900 invoked by uid 500); 10 Oct 2006 14:38:00 -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 1889 invoked by uid 99); 10 Oct 2006 14:38:00 -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:38:00 -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:37:59 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D50D7142DD for ; Tue, 10 Oct 2006 07:37:20 -0700 (PDT) Message-ID: <16637237.1160491040183.JavaMail.root@brutus> Date: Tue, 10 Oct 2006 07:37:20 -0700 (PDT) From: "Kinichiro Inoguchi (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_12441152 ] Kinichiro Inoguchi commented on AXIS2-1252: ------------------------------------------- dims, Venkat, Deepal, Thanks for your discussions. I agree with algorithm of dims, and I believe current SVN implements #1 and #3. But I think algorithm #2 seems difficult to use, because I can't imagine how to specify MANY schematargetnamespace. Do you mean like this ? command line option of java2wsdl java2wsdl -stn test1=http://aaa/ -stn test2=http://bbb/ ... services.xml This examples, test1 and test2 means package of class. > 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