Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Invalid
-
1.5.4
-
None
-
None
-
Windows
Description
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