Skip to Content
author's profile photo Former Member
Former Member

Web Service Authority Check Failed

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 11:42 AM

    Hi Raja ... could you please post the link again ... this one doesnt work !

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 28, 2008 at 11:37 AM

    looks like and authorization issue.

    check this thread for solution.

    https://forums.sdn.sap.com/click.jspa?searchID=8372884&messageID=3128701

    Raja

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:14 PM

    Thanks Raja !!!

    Edited by: Anurag Bahadur Mathur on Jan 28, 2008 5:45 PM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.