Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 89136 invoked from network); 17 Oct 2007 10:48:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Oct 2007 10:48:25 -0000 Received: (qmail 25045 invoked by uid 500); 17 Oct 2007 10:48:10 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 24995 invoked by uid 500); 17 Oct 2007 10:48:10 -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 24984 invoked by uid 99); 17 Oct 2007 10:48:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 03:48:10 -0700 X-ASF-Spam-Status: No, hits=-98.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Oct 2007 10:48:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B7DE4714187 for ; Wed, 17 Oct 2007 03:47:50 -0700 (PDT) Message-ID: <29377459.1192618070750.JavaMail.jira@brutus> Date: Wed, 17 Oct 2007 03:47:50 -0700 (PDT) From: "Amila Chinthaka Suriarachchi (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-3183) Client stub generation fails for WSDL's with wsdl:import In-Reply-To: <24741978.1189149511167.JavaMail.jira@brutus> 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 [ https://issues.apache.org/jira/browse/AXIS2-3183?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Chinthaka Suriarachchi resolved AXIS2-3183. ------------------------------------------------- Resolution: Fixed fixed with the nighly build. > Client stub generation fails for WSDL's with wsdl:import > -------------------------------------------------------- > > Key: AXIS2-3183 > URL: https://issues.apache.org/jira/browse/AXIS2-3183 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: codegen > Affects Versions: 1.3 > Environment: Eclipse 3.3 on Windows XP using Axis-2 1.3. > The imported WebService was hosted on a SAP Netweaver 7.0. > Reporter: Hans J=C3=B6rg Hessmann > Attachments: WSDLdocument.zip > > > Axis2 1.3 is unable to generate a client stub for a simple echo service t= hat's WSDL is has been spread over several files. To reproduce save the fol= lowing WSDL files in a directory structure like this: > main.wsdl > bindings/WebserTestBasicAuth_document.wsdl > porttypes/WebserTestBasicAuth_WebserviceTestVi_document.wsdl > ---x--- contents of main.wsdl ---x--- > > > > > > > > > > ---x--- contents of bindings/WebserTestBasicAuth_document.wsdl ---x--- > > > > > > > > > > > > > > > > > ---x--- contents of porttypes/WebserTestBasicAuth_WebserviceTestVi_docume= nt.wsdl ---x--- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---x------x--- > Axis-1 accepts theses files and I was able to generate an axis-2 client s= tub after I merged the WSDL's manually into one file. It looks like axis-2 = has a problem with wsdl:import. Replacing the relative pathes with absolute= pathes and hosting the WSDL on a server doesn't help either. > The full stacktrace was: > Exception occurred while code generation for WSDL null > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.eclipse.jst.ws.axis2.consumption.core.utils.WSDL2JavaGenerator= .getAxisService(WSDL2JavaGenerator.java:379) > at org.eclipse.jst.ws.axis2.consumption.core.command.Axis2ClientCodeg= enCommand.execute(Axis2ClientCodegenCommand.java:89) > at org.eclipse.wst.command.internal.env.core.fragment.CommandFragment= Engine.runCommand(CommandFragmentEngine.java:418) > at org.eclipse.wst.command.internal.env.core.fragment.CommandFragment= Engine.visitTop(CommandFragmentEngine.java:358) > at org.eclipse.wst.command.internal.env.core.fragment.CommandFragment= Engine.moveForwardToNextStop(CommandFragmentEngine.java:253) > at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngin= eManager$5.run(SimpleCommandEngineManager.java:252) > at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalC= ontext.java:369) > at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313= ) > at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934) > at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngin= eManager.runForwardToNextStop(SimpleCommandEngineManager.java:222) > at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.= runForwardToNextStop(WizardPageManager.java:96) > at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.= performFinish(WizardPageManager.java:255) > at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.perf= ormFinish(DynamicWizard.java:380) > at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.j= ava:742) > at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.j= ava:373) > at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:616) > at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.ja= va:227) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:368= 2) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) > at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) > at org.eclipse.jface.window.Window.open(Window.java:796) > at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopup= Wizard.run(DynamicPopupWizard.java:130) > at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.jav= a:256) > at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelect= ion(ActionContributionItem.java:545) > at org.eclipse.jface.action.ActionContributionItem.access$2(ActionCon= tributionItem.java:490) > at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Acti= onContributionItem.java:402) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:368= 2) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389= ) > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) > at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) > at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) > at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm= .java:289) > at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.= java:461) > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:14= 9) > at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEAp= plication.java:106) > at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHa= ndle.java:153) > at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAp= plication(EclipseAppLauncher.java:106) > at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start= (EclipseAppLauncher.java:76) > at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter= .java:363) > at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter= .java:176) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443) > at org.eclipse.equinox.launcher.Main.run(Main.java:1169) > Caused by: org.apache.axis2.AxisFault: There is no port type associat= ed with the binding > at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateSe= rvice(WSDL11ToAxisServiceBuilder.java:250) > ... 56 more --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org