WSDL included in AAR gives exception when browsed through the 'services' web
page
---------------------------------------------------------------------------------
Key: AXIS2-1142
URL: http://issues.apache.org/jira/browse/AXIS2-1142
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: wsdl
Affects Versions: 1.0
Environment: WebLogic Server with Java HotSpot(TM) Client VM Version
1.4.2_05-b04 from Sun Microsystems Inc.
WebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
Windows XP Professional SP2
Reporter: Nathaniel Auvil
Attachments: nathaniel.aar
I used the WSDL2Java Ant task to generate my stubs and types. This works fine.
I build the AAR and try to deploy it but placing it in the "services"
directory. I include all my WSDL and included XSD's in the AAR's "meta-inf"
directory. I get the following exception.... If i already have my WSDL, why
is it trying to parse this out?
My WSDL is valid. I used it to generate my code using the ant task and i
double checked it in XMLSpy.
Sep 11, 2006 4:03:40 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
SEVERE: Invalid service nathaniel.aar due to No bindings found in wsdl; nested
exception is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.deployment.DeploymentException: No bindings found in
wsdl; nested exception is:
org.apache.axis2.AxisFault : No bindings found in wsdl; nested
exception is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl
org.apache.axis2.deployment.DeploymentException : No bindings found in wsdl;
nested exception is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.deployment.DeploymentException: No bindings found in
wsdl; nested exception is:
org.apache.axis2.AxisFault : No bindings found in wsdl; nested
exception is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs
(ArchiveReader.java:321)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:513)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:200)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:208)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155)
at org.apache.axis2.deployment.DeploymentEngine.loadServices
(DeploymentEngine.java:84)
at
org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:249)
at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext
(ConfigurationContextFactory.java:72)
at
org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:346)
at
org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:272)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:1028)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs
(SecurityManager.java:121)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:904)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:883)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:822)
at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3333)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets
(WebAppServletContext.java:3278)
at
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3259)
at
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java
:5949)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:862)
at
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2127)
at weblogic.j2ee.J2EEApplicationContainer.activate
(J2EEApplicationContainer.java:2168)
at
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2115)
at
weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation
(SlaveDeployer.java:3082)
at
weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1751)
at
weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java :359)
at
weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:966)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:361)
at weblogic.Server.main(Server.java:32)
Caused by: org.apache.axis2.deployment.DeploymentException : No bindings found
in wsdl; nested exception is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl; nested exception
is:
org.apache.axis2.AxisFault: No bindings found in wsdl
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:193)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs
(ArchiveReader.java:306)
... 31 more
Caused by: org.apache.axis2.AxisFault: No bindings found in wsdl; nested
exception is:
org.apache.axis2.AxisFault: No bindings found in wsdl
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService
(WSDL11ToAxisServiceBuilder.java:236)
at
org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:191)
... 32 more
Caused by: org.apache.axis2.AxisFault: No bindings found in wsdl
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findBinding(WSDL11ToAxisServiceBuilder.java:360)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java
:191)
... 33 more
[JAM] Warning: You are running under a pre-1.5 JDK. JSR175-style source
annotations will not be available
Sep 11, 2006 4:03:40 PM org.apache.axis2.deployment.DeploymentEngine doDeploy
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]