on 01-28-2008 9:33 AM
Hi
I have created a web service from a function module using the Web Service Creation Wizard. The WSD and VI are active. Also added my logon details in the ICF Details -> Service Data. I am able to view/access the WSDL file. But when i test my web service and send the request, i am getting an error in the response : Authority Check Failed.
SOAP Request -
POST /sap/bc/srt/rfc/sap/ZTEST_STINFO_WSD2?sap-client=100 HTTP/1.1
Host: boi356.boise.itc.hp.com:8010
Content-Type: text/xml; charset="UTF-8"
Connection: close
Content-Length: 566
SOAPAction: ""
<?xml version="1.0" encoding="UTF-8" ?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Header><sapsess:Session xmlns:sapsess="http://www.sap.com/webas/630/soap/features/session/"><enableSession>true</enableSession></sapsess:Session></SOAP-ENV:Header><SOAP-ENV:Body><ns1:ZtestStinfo xmlns:ns1='urn:sap-com:document:sap:soap:functions:mc-style'><ObjectId>8000002192</ObjectId></ns1:ZtestStinfo></SOAP-ENV:Body></SOAP-ENV:Envelope>
Response -
HTTP/1.1 500 Internal Server Error
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 363
sap-srt_id: 20080128/092346/v1.00_final_6.40/479AAD74FE0C5B25E10000000F4E583F
server: SAP Web Application Server (1.0;640)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode xmlns:n0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">n0:FailedAuthentication</faultcode><faultstring xml:lang="e">Authority check failed</faultstring></soap-env:Fault></soap-env:Body></soap-env:Envelope>
Have already referred to the other posts with the same issue but there is no definitive solution provided in any of them. Please Help !!!
Hi Raja ... could you please post the link again ... this one doesnt work !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Raja !!!
Edited by: Anurag Bahadur Mathur on Jan 28, 2008 5:45 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
looks like and authorization issue.
check this thread for solution.
https://forums.sdn.sap.com/click.jspa?searchID=8372884&messageID=3128701
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.