You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by "Valerio Schiavoni (JIRA)" <ji...@apache.org> on 2009/05/25 12:43:47 UTC
[jira] Commented: (WSCOMMONS-471)
java.lang.RuntimeException/XmlSchemaException on MS web-service
[ https://issues.apache.org/jira/browse/WSCOMMONS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712685#action_12712685 ]
Valerio Schiavoni commented on WSCOMMONS-471:
---------------------------------------------
It would be useful to know if this has been fixed in 1.4.6-SNAPSHOT already.
> java.lang.RuntimeException/XmlSchemaException on MS web-service
> ----------------------------------------------------------------
>
> Key: WSCOMMONS-471
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-471
> Project: WS-Commons
> Issue Type: Bug
> Components: XmlSchema
> Affects Versions: XmlSchema 1.4.5
> Environment: Maven version: 2.0.10
> Java version: 1.6.0_07
> OS name: "mac os x" version: "10.5.7" arch: "x86_64" Family: "mac"
> Reporter: Valerio Schiavoni
> Priority: Blocker
>
> I get the following error (thrown by cxf which includes XmlSchema 1.4.5):
> Caused by: java.lang.RuntimeException: org.apache.ws.commons.schema.XmlSchemaException: An imported schema was announced to have the namespace http://tempuri.org/, but has the namespace http://api.microsofttranslator.com/v1/soap.svc
> at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1907)
> at org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1615)
> at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:224)
> at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:523)
> at org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:176)
> at org.apache.cxf.wsdl11.SchemaUtil.extractSchema(SchemaUtil.java:133)
> at org.apache.cxf.wsdl11.SchemaUtil.getSchemas(SchemaUtil.java:73)
> at org.apache.cxf.tools.validator.internal.WSDLRefValidator.getSchemas(WSDLRefValidator.java:115)
> at org.apache.cxf.tools.validator.internal.WSDLRefValidator.processSchemas(WSDLRefValidator.java:127)
> ... 29 more
> Caused by: org.apache.ws.commons.schema.XmlSchemaException: An imported schema was announced to have the namespace http://tempuri.org/, but has the namespace http://api.microsofttranslator.com/v1/soap.svc
> at org.apache.ws.commons.schema.SchemaBuilder$1.validate(SchemaBuilder.java:1605)
> at org.apache.ws.commons.schema.SchemaBuilder.setNamespaceAttributes(SchemaBuilder.java:369)
> at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:134)
> at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:121)
> at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:509)
> at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:382)
> at org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1901)
> ... 37 more
> The input WSDL is at this address:
> http://api.microsofttranslator.com/V1/Soap.svc?WSDL
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.