gpt4 book ai didi

web-services - rg.apache.axis2.AxisFault : Transport error: 403 Error: Forbidden

转载 作者:行者123 更新时间:2023-12-04 06:43:22 33 4
gpt4 key购买 nike

我正在尝试通过 https 访问网络服务,我有 ssl 证书。但是,当我发送网络服务请求时,我得到:

threw exceptionorg.apache.axis2.AxisFault: Transport error: 403 Error: Forbidden
at org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:296)
at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:190)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

线路上的监听表明客户端正在尝试连接到服务器。
我对导致这种情况的原因感到困惑,任何帮助将不胜感激。

谢谢

最佳答案

尝试设置此属性,它有望解决问题:

options.setProperty(HTTPConstants.CHUNKED, "false");
-贾斯迪普

关于web-services - rg.apache.axis2.AxisFault : Transport error: 403 Error: Forbidden,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3979629/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com