403 Forbidden。服务器理解请求,但拒绝履行请求

时间:2018-04-09 15:49:22

标签: php soap jdeveloper nusoap

我试图部署我的移动应用程序,但我无法从我的nuSOAP网络服务获得连接。

我正在使用jdeveloper MAF 12c和php。

当我点击按钮时出现此错误

enter image description here

翻译: 403 Forbidden服务器理解请求,但拒绝履行请求。授权无效,请求不应重复

当我点击按钮时,这是日志:

D/Proxy Selector(13021): >>> Java_com_oracle_net_ProxySelectorImpl_getProxyForURL0

D/Proxy Selector(13021): >>> Call getProxyForURL

D/Proxy Selector(13021): >>> initDalvikPointers: 0x60a4dce1 0x60a4dcf9 0x60a560a8 0x60a560a4

D/Proxy Selector(13021): >>> attachCurrentThreadToDalvik: Attach returned JNIEnv=0x0x6899c2a4

I/System.out(13021): DalvikProxySelector.getProxyForURL(): No proxy found

D/Proxy Selector(13021): >>> detachCurrentThreadFromDalvik: Detach current thread from dalvik VM

D/Proxy Selector(13021): proxy not found!

D/JVM     (13021): [SEVERE - oracle.adfmf.framework - HttpServiceConnection - log] Erreur de connexion : 403

D/JVM     (13021): [SEVERE - oracle.adfmf.framework - HttpTransport - parseResponse] Réponse [Erreur : 403] : <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

D/JVM     (13021): <html><head>

D/JVM     (13021): <title>403 Forbidden</title>

D/JVM     (13021): </head><body>

D/JVM     (13021): <h1>Forbidden</h1>

D/JVM     (13021): <p>You don't have permission to access /gcm/MyService.php

D/JVM     (13021): on this server.<br />

D/JVM     (13021): </p>

D/JVM     (13021): <hr>

D/JVM     (13021): <address>Apache/2.4.27 (Win64) PHP/5.6.31 Server at 192.168.1.2 Port 80</address>

D/JVM     (13021): </body></html>

D/JVM     (13021): 

D/JVM     (13021): [SEVERE - oracle.adfmf.framework - Utility - invoke] InvocationTargetException Erreur : ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - Code d'état HTTP 403 Interdit : le serveur a compris la demande, mais refuse d'y répondre. Une autorisation serait inutile et la demande ne DOIT PAS être répétée.

I/System.out(13021): [SEVERE - oracle.adfmf.framework - adf.mf.internal - logError] Requête : {"classname":"oracle.adfmf.framework.api.Model","method":"processBatchRequests","params":[false,[{"classname":"oracle.adfmf.framework.api.Model","method":"evaluateMethodExpression","params":["#{SaveDeviceTokenBean.executeinsertUserRegistrationId}",[{".type":"oracle.adfmf.amx.event.ActionEvent"}],"void",["oracle.adfmf.amx.event.ActionEvent"]]}]]}

这是我的Connection.xml:

enter image description here

我的httpd-vhosts.conf:

# Virtual Hosts # 
<VirtualHost *:80> 
    ServerName localhost 
    ServerAlias localhost 
    DocumentRoot "${INSTALL_DIR}/www" 
    <Directory "${INSTALL_DIR}/www/"> 
        Options +Indexes +Includes +FollowSymLinks +MultiViews 
        AllowOverride All 
        Require local 
    </Directory> 
</VirtualHost>

0 个答案:

没有答案