I have gone through this posted question earlier, however my issue is different:
org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: Premature end of file encountered at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
org.apache.axis2.AxisFault: javax.xml.stream.XMLStreamException: Premature end of file encountered at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:122) at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:66) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:347) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:414) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:150)
Can anybody help me out please what I'm missing as this is working perfectly fine in my local machine. But failing onto my server environment.
Please let me know if more details are required. I had added this jars in my server Web-Inf :
Please have a look at this SOAP request that we are hitting :
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:tem="http://tempuri.org/">
<soap:Header>
<tem:UserAuth>
<!--Optional:-->
<tem:UserName>?</tem:UserName>
<!--Optional:-->
<tem:Password>?</tem:Password>
</tem:UserAuth>
</soap:Header>
<soap:Body>
<tem:Cities/>
</soap:Body>
</soap:Envelope>