轴2错误: - org.apache.axis2.AxisFault:javax.xml.stream.XMLStreamException:遇到文件过早结束

时间:2017-04-11 15:00:22

标签: java web-services axis2

我已经完成了this posted question earlier,但我的问题不同了:

  

org.apache.axis2.AxisFault:javax.xml.stream.XMLStreamException:   遇到文件过早结束   org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)

     

org.apache.axis2.AxisFault:javax.xml.stream.XMLStreamException:   遇到文件过早结束   org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)at at   org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:122)     在   org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:66)     在   org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:347)     在   org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:414)     在   org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)     在   org.apache.axis2.client.OperationClient.execute(OperationClient.java:150)

任何人都可以帮助我,因为我在本地机器上工作得非常好。但未能进入我的服务器环境。

如果需要更多详细信息,请与我们联系。 我在我的服务器Web-Inf中添加了这个罐子:

enter image description here

请查看我们正在发布的SOAP请求:

<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>

0 个答案:

没有答案