You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kai Huener (JIRA)" <ji...@apache.org> on 2006/09/30 10:58:21 UTC

[jira] Created: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

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


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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [jira] Resolved: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by Kai Hüner <ka...@gmail.com>.
Hey dims,

Thanks again for your excellent support. You got exactly my fault, now
everything works really fine, I'm absolutely committed to the Axis2
project as well as its members and their support. Its really
surprising to have an architecture supporting these complex
WS-Agreement services and I just have to implement some business
logic! Really really cool. I think we will use this approach in our
research team for the next years, so I hope we stay in contact.

By the way, I got a new bug (I think so) while generating code of
another WSDL. I posted this as issue "AXIS2-1294".

Thanks again and best regards,
Kai from Karlsruhe (Germany)

On 10/3/06, Davanum Srinivas <da...@gmail.com> wrote:
> 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 <ka...@gmail.com> 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 <da...@gmail.com> 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 <ka...@gmail.com> 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) <ji...@apache.org> 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: axis-dev-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > > > >
> > > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > >
> > >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [jira] Resolved: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by Davanum Srinivas <da...@gmail.com>.
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 <ka...@gmail.com> 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 <da...@gmail.com> 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 <ka...@gmail.com> 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) <ji...@apache.org> 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: axis-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > >
> > >
> >
> >
> > --
> > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [jira] Resolved: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by Kai Hüner <ka...@gmail.com>.
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 <da...@gmail.com> 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 <ka...@gmail.com> 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) <ji...@apache.org> 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: axis-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: axis-dev-help@ws.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [jira] Resolved: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by Davanum Srinivas <da...@gmail.com>.
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 <ka...@gmail.com> 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) <ji...@apache.org> 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: axis-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Re: [jira] Resolved: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by Kai Hüner <ka...@gmail.com>.
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) <ji...@apache.org> 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: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by "Kai Huener (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1276?page=all ]

Kai Huener updated AXIS2-1276:
------------------------------

    Attachment: AgreementFactoryPortType.wsdl

WSDL the code is generated for

> 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
>         Attachments: agreement_types.xsd, AgreementFactoryPortType.wsdl
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by "Kai Hüner (JIRA)" <ji...@apache.org>.
    [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by "Kai Huener (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1276?page=all ]

Kai Huener updated AXIS2-1276:
------------------------------

    Attachment: AgreementFactoryService.aar

aar producing the error

> 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
>         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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by "Kai Huener (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1276?page=all ]

Kai Huener updated AXIS2-1276:
------------------------------

    Attachment: agreement_types.xsd

Schema necessary for code generation

> 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
>         Attachments: agreement_types.xsd, AgreementFactoryPortType.wsdl
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1276?page=all ]

Davanum Srinivas updated AXIS2-1276:
------------------------------------

    Priority: Blocker  (was: Major)

Underlying problem is in xmlschema when it is trying to serialize the xml.xsd. There is a problem in w2j as well, there are multiple xsd's generated in the resources directory for the same remote xsd. in this case there are at least 3 xsd's which contain the contents of http://www.w3.org/2001/xml.xsd

-- 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1276) Confusing Bug when calling webservice: The prefix "xml" cannot be bound to any namespace other than its usual namespace ...

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org