You missed a step. You need to run wsdl2java again with the new XmlSchema.jar. Then make sure that the xsd's that get generated in the resources directory are correct. Yes, we are shooting to get this out as soon as possible. Thanks for your help in testing.
-- dims On 10/3/06, Kai Hüner <[EMAIL PROTECTED]> wrote:
Hi dims, I have some Problems with this XmlSchema svn checkout. I checked out the code, but when I run "mvn install" I get severall failures in the tests. So I disabled testing in the build.xml and - got a XmlSchema.jar - run ant in the other project with a copy of this XmlSchema.jar in my AXIS_HOME - copied the new XmlSchema.jar to the webapps\axis2\WEB-INF\lib of my tomcat - copied the new aar to the services folder - restarted tomcat But then, I get the same error message as before. Can you please tell me, what I did wrong? And by the way another question: Is there any roadmap, when all this XmlSchema, ComplexContent and WSDL2Java bugFix stuff is included to a new release version? I'm really flushed of what axis2 is able to to, but at the moment I'm getting to deep inside testing and building from sources ... and perhaps all this is done in 2 or 3 weeks? Best regards an thanks for support, Kai On 10/2/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Kai, > > The nightly builds are using the release version of xmlschema. You > will have to build the xmlschema from svn (or wait for us a bit to > change back to xmlschema snapshots). > > -- dims > > On 10/2/06, Kai Hüner <[EMAIL PROTECTED]> wrote: > > 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 > > > > On 10/2/06, Davanum Srinivas (JIRA) <[EMAIL PROTECTED]> wrote: > > > [ http://issues.apache.org/jira/browse/AXIS2-1276?page=all ] > > > > > > Davanum Srinivas resolved AXIS2-1276. > > > ------------------------------------- > > > > > > Resolution: Fixed > > > > > > Fixed Original issue reported in XmlSchema (r451871). > > > > > > -- dims > > > > > > > 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] > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
-- Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
