You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Tharindu Mathew (JIRA)" <ji...@apache.org> on 2010/05/04 14:35:04 UTC

[jira] Commented: (AXIS2-1786) Wsdl references schema that references schema bug

    [ https://issues.apache.org/jira/browse/AXIS2-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863787#action_12863787 ] 

Tharindu Mathew commented on AXIS2-1786:
----------------------------------------

Both aar files have unsupported encoding. It causes the exception given below. Is it possible to attach another aar file:

org.apache.axis2.deployment.DeploymentException: Unsupported encoding: IBM1252
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:150)
	at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:809)
	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:390)
	at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
	at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:384)
	at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64)
	at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
	at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:90)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
Caused by: com.ctc.wstx.exc.WstxIOException: Unsupported encoding: IBM1252
	at com.ctc.wstx.io.StreamBootstrapper.bootstrapInput(StreamBootstrapper.java:212)
	at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)
	at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
	at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:619)
	at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:317)
	at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
	at org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory.createXMLStreamReader(WrappingXMLInputFactory.java:120)
	at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
	at org.apache.axiom.om.util.StAXUtils$2.run(StAXUtils.java:185)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:181)
	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)
	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
	at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:76)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
	... 12 more
[ERROR] The XbiService.aar service, which is not valid, caused Unsupported encoding: IBM1252
org.apache.axis2.deployment.DeploymentException: Unsupported encoding: IBM1252
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:150)
	at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
	at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
	at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:809)
	at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
	at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:390)
	at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
	at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:384)
	at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:64)
	at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:71)
	at org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:90)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)
Caused by: com.ctc.wstx.exc.WstxIOException: Unsupported encoding: IBM1252
	at com.ctc.wstx.io.StreamBootstrapper.bootstrapInput(StreamBootstrapper.java:212)
	at com.ctc.wstx.stax.WstxInputFactory.doCreateSR(WstxInputFactory.java:543)
	at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:604)
	at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:619)
	at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:317)
	at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
	at org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory.createXMLStreamReader(WrappingXMLInputFactory.java:120)
	at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:99)
	at org.apache.axiom.om.util.StAXUtils$2.run(StAXUtils.java:185)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:181)
	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:596)
	at org.apache.axis2.util.XMLUtils.toOM(XMLUtils.java:581)
	at org.apache.axis2.deployment.DescriptionBuilder.buildOM(DescriptionBuilder.java:97)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:76)
	at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143)
	... 12 more
[INFO] org.apache.axis2.deployment.DeploymentException: Unsupported encoding: IBM1252



> Wsdl references schema that references schema bug
> -------------------------------------------------
>
>                 Key: AXIS2-1786
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1786
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.1
>            Reporter: Brecht Yperman
>            Assignee: Deepal Jayasinghe
>         Attachments: TestService.aar, XbiService.aar
>
>
> When deploying the following service using Axis2 1.1 http://www.invenso.com/downloads/XbiService.aar
> I get an exception in the logging, when starting up the server.
> 2006-11-28 13:17:48,568 [main] INFO  org.apache.axis2.deployment.resolver.AARFileBasedURIResolver  - AARFileBasedURIResolver: Unable to resolvemeta-inf/OC-Transport.xsd
> This is because the WSDL in the archive file references an XML Schema in the directory OrderConfirmation. This schema references another Schema in the same directory, but as this schema has got no directory prefix, the resolver starts looking in the meta-inf directory, instead of in the meta-inf/OrderConfirmation directory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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