axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankur Avlani (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AXIS2-5045) Axis2 Client produces exception java.io.UnsupportedEncodingException: plain
Date Mon, 16 May 2011 18:45:47 GMT
Axis2 Client produces exception java.io.UnsupportedEncodingException: plain
---------------------------------------------------------------------------

                 Key: AXIS2-5045
                 URL: https://issues.apache.org/jira/browse/AXIS2-5045
             Project: Axis2
          Issue Type: Bug
          Components: client-api
    Affects Versions: 1.5.4
         Environment: Windows
            Reporter: Ankur Avlani
            Priority: Blocker


Hi,

I have a web service running on Axis1(1.4).  I have created the clients based on aAxis2-1.5.4.
 I am using https connection and I have created the TrustStore required.  When I try to execute
the client I get the following error :


org.apache.axis2.AxisFault: [unsupported encoding]: java.io.UnsupportedEncodingException:
plain
	at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)
	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
	at com.hds.clientVM.VimServiceStub.retrieveServiceContent(VimServiceStub.java)
	at com.hds.vmClient.VMConnector.connect(VMConnector.java:82)
	at com.hds.vmClient.VMConnector.main(VMConnector.java:38)
Caused by: javax.xml.stream.XMLStreamException: [unsupported encoding]: java.io.UnsupportedEncodingException:
plain
	at com.ctc.wstx.io.DefaultInputResolver.constructOptimizedReader(DefaultInputResolver.java:195)
	at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:628)
	at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:324)
	at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:95)
	at org.apache.axiom.util.stax.wrapper.WrappingXMLInputFactory.createXMLStreamReader(WrappingXMLInputFactory.java:116)
	at org.apache.axiom.util.stax.wrapper.XMLInputFactoryWrapper.createXMLStreamReader(XMLInputFactoryWrapper.java:95)
	at org.apache.axiom.om.util.StAXUtils$1.run(StAXUtils.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:198)
	at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:190)
	at org.apache.axis2.builder.BuilderUtil.getSOAPBuilder(BuilderUtil.java:684)
	at org.apache.axis2.transport.TransportUtils.createDocumentElement(TransportUtils.java:215)
	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:145)
	at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:108)
	... 8 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message