[ 
http://issues.apache.org/jira/browse/AXIS2-871?page=comments#action_12420512 ] 

Deepal Jayasinghe commented on AXIS2-871:
-----------------------------------------

can you please attached the wsdl file ?

> Service created with WSDL2Code from a wsdl2 description fails to deploy in 
> axis2.
> ---------------------------------------------------------------------------------
>
>          Key: AXIS2-871
>          URL: http://issues.apache.org/jira/browse/AXIS2-871
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: core, Tools
>  Environment: Axis2 1.0 nightly build dated Jul 6, 2006. axis2.war under 
> tomcat 5.5.17
>     Reporter: Graham Turrell

>
> Using WSDL2Code to generate WSDL 2 artifacts from HotelReservation.wsdl 
> followed by (default target) ant on the generated build.xml. The resulting 
> .aar file for the service includes a (derived/formatted) version of the wsdl 
> in the meta-inf directory. When attempting to deploy this service into 
> axis2/tomcat, it appears in the service list as a faulty service. However 
> when the wsdl is removed from the .aar, the service deploys successfully.
> Tomcat Catalina log for the failed attempt shows the following:
> 07-Jul-2006 19:47:09 org.apache.axis2.deployment.DeploymentEngine doDeploy
> SEVERE: Invalid service  ReservationService.aar due to local part cannot be 
> "null" when creating a QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       org.apache.axis2.AxisFault: local part cannot be "null" when creating a 
> QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       org.apache.axis2.deployment.DeploymentException: local part cannot be 
> "null" when creating a QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       org.apache.axis2.AxisFault: local part cannot be "null" when creating a 
> QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName
> org.apache.axis2.deployment.DeploymentException: local part cannot be "null" 
> when creating a QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       org.apache.axis2.AxisFault: local part cannot be "null" when creating a 
> QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       org.apache.axis2.deployment.DeploymentException: local part cannot be 
> "null" when creating a QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       org.apache.axis2.AxisFault: local part cannot be "null" when creating a 
> QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName
>       at 
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:315)
>       at 
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:605)
>       at 
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:200)
>       at 
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:209)
>       at 
> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:155)
>       at 
> org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:93)
>       at 
> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:254)
>       at 
> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:65)
>       at 
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:235)
>       at 
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:203)
>       at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
>       at 
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
>       at 
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3917)
>       at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4201)
>       at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>       at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>       at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
>       at 
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:698)
>       at 
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
>       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
>       at 
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
>       at 
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
>       at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
>       at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
>       at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
>       at 
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
>       at 
> org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
>       at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:615)
>       at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
>       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
> Caused by: org.apache.axis2.deployment.DeploymentException: local part cannot 
> be "null" when creating a QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       org.apache.axis2.AxisFault: local part cannot be "null" when creating a 
> QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName
>       at 
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:193)
>       at 
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:300)
>       ... 35 more
> Caused by: org.apache.axis2.AxisFault: local part cannot be "null" when 
> creating a QName; nested exception is: 
>       java.lang.IllegalArgumentException: local part cannot be "null" when 
> creating a QName
>       at 
> org.apache.axis2.description.WSDL20ToAxisServiceBuilder.populateService(WSDL20ToAxisServiceBuilder.java:223)
>       at 
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:191)
>       ... 36 more
> Caused by: java.lang.IllegalArgumentException: local part cannot be "null" 
> when creating a QName
>       at javax.xml.namespace.QName.<init>(Unknown Source)
>       at javax.xml.namespace.QName.<init>(Unknown Source)
>       at org.apache.woden.internal.util.dom.QNameUtils.newQName(Unknown 
> Source)
>       at org.apache.woden.internal.util.dom.QNameUtils.matches(Unknown Source)
>       at org.apache.woden.internal.DOMWSDLReader.checkElementName(Unknown 
> Source)
>       at org.apache.woden.internal.DOMWSDLReader.parseDescription(Unknown 
> Source)
>       at org.apache.woden.internal.DOMWSDLReader.readWSDL(Unknown Source)
>       at org.apache.woden.internal.DOMWSDLReader.readWSDL(Unknown Source)
>       at 
> org.apache.axis2.description.WSDL20ToAxisServiceBuilder.populateService(WSDL20ToAxisServiceBuilder.java:129)
>       ... 37 more

-- 
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]

Reply via email to