[ http://issues.apache.org/jira/browse/AXIS2-1276?page=comments#action_12447673 ] Kai Hüner commented on AXIS2-1276: ----------------------------------
[[ Old comment, sent by email on Mon, 2 Oct 2006 10:10:44 +0200 ]] Hey dims, Thanks again for your fast support. Are your changes already in the current nightly builds (with these, I get the same message at the moment), or have I to checkput current svn version? best regards, Kai > Confusing Bug when calling webservice: The prefix "xml" cannot be bound to > any namespace other than its usual namespace ... > --------------------------------------------------------------------------------------------------------------------------- > > Key: AXIS2-1276 > URL: http://issues.apache.org/jira/browse/AXIS2-1276 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: deployment > Affects Versions: nightly > Environment: Apache, Tomcat 5.5, Axis2, newest nightly build > Reporter: Kai Huener > Priority: Blocker > Attachments: agreement_types.xsd, AgreementFactoryPortType.wsdl, > AgreementFactoryService.aar > > > Hello, > when I try to call a deployed service (aar atached), I get an irritating > error message (see above) telling me something about a not allowd binding of > a "xml" prefix. But I only used standardized WSDLs and Schemas, so Idon't > think there's a mistake like a not allowed binding. Do you have any idea, > wht's wrong this time? > The error message of axis2: > Error: org.apache.axis2.deployment.DeploymentException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: org.apache.axis2.AxisFault: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: > org.apache.axis2.deployment.DeploymentException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: org.apache.axis2.AxisFault: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml". at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:347) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:515) > 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:156) > at > org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:201) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:61) > at > org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:68) > at > org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:76) > at java.util.TimerThread.mainLoop(Unknown Source) at > java.util.TimerThread.run(Unknown Source) Caused by: > org.apache.axis2.deployment.DeploymentException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: org.apache.axis2.AxisFault: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml". at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:202) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLs(ArchiveReader.java:327) > ... 10 more Caused by: org.apache.axis2.AxisFault: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml".; nested exception is: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml". at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:240) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processWSDLFile(ArchiveReader.java:200) > ... 11 more Caused by: java.lang.RuntimeException: > java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml". at > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1803) > at > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1815) > at > org.apache.ws.commons.schema.SchemaBuilder.handleInclude(SchemaBuilder.java:1594) > at > org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:150) > at > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:315) > at > org.apache.axis2.description.WSDLToAxisServiceBuilder.getXMLSchema(WSDLToAxisServiceBuilder.java:132) > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.copyExtensibleElements(WSDL11ToAxisServiceBuilder.java:1618) > at > org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:205) > ... 12 more Caused by: java.lang.RuntimeException: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml". at > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1803) > at > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1815) > at > org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1547) > at > org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:156) > at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:67) > at > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:325) > at > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:272) > at > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1801) > ... 19 more Caused by: > org.apache.ws.commons.schema.XmlSchemaException: The prefix "xml" > cannot be bound to any namespace other than its usual namespace; > neither can the namespace for "xml" be bound to any prefix other than > "xml". at > org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:278) > at > org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1801) > ... 26 more > Best regards, > Kai -- 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]
