SSRS Web Service: works over wire, but 401 Unauthorized from server.

I'm trying to port a program from an older system to a new SSRS 2014 installation, and am having trouble with authorization.
The program uses the SSRS Web Service to get reports from the report server. At present, I can make the web service call from my development machine to the server, and the server responds correctly with the appropriate report. The problem is that I need
the program (making the report request) to run on the same machine as SSRS. When I deploy and run the program from the server (with the exact same credentials that worked over the wire), I get a 401 Unauthorized response.
I've been struggling with this all week, and have gotten nowhere. I'm sure there's something (probably something small) that I missed, but I just can't figure out what it could be. Would really appreciate any suggestions.

Hi sbinder1,
According to your description, you have a problem which call web services to use report. It works on development environment. When it runs on report server, it get the 401 error even using same credential. Right?
In Reporting Services, the default authentication type is Windows Integrated authentication. Since we are not clear about your program and the authentication type. If this is an asp.net application with NTLM and you don't bind any credential in the
code, it may have "double hop" issue so that it will connect report with anonymous credential. In this scenario, please configure the Kerberos authentication for Reporting Services. Please refer to the links below:
The Kerberos Double Hop Problem
Enabling Kerberos Authentication for Reporting Services
If you have any question, please feel free to ask.
Best Regards,
Simon Hou

Similar Messages

  • Web service works when tested, but a report on is blank

    Hi All,
    I have created a web service reference in apex using WSDL option. It works very well when tested.
    Then I built a report on top of it. But I always see the message "no data found".
    I even created the same web service reference manually. This also works fine when tested.But still a report on top of it is blank.
    This web service does not take any input parameters.
    I also tried the most popular Movie Information web service reference, and a form and report on top of it. Everything works fine for this.
    I am wondering what could be wrong with my web service...?
    Please help me with this.
    Thanks and regards,
    Deepika.

    Hi All,
    As I already mentioned, the web service definition works fine when tested from shared components, but when I create a web service report or sql report with onload web service process, or a form and report.. nothing works.
    Always I see "no data found".
    It would be very helpful if some body could throw light on this issue.
    Thanks and regards,
    Deepika.

  • PL/SQL Web services working with synonyms but not parameters Collection

    Hi
    I am Using JDeveloper 10.1.3.1.0
    i could able to test successfully the PL/SQL web services with the synonyms.I created the PL/SQL web services in 'MKI' schema and then i dropped the objects from the MKI schema and launched the same in 'BAS' Schema and given grants to MKI schema and Created the Local synonyms in Schema 'MKI' and now when i test the PL/SQL web service, it is working successfully.
    There was problem with passing the collection types as parameters in web services in that case it is giving the following Error
    "Internal Server Error (Caught exception while handling request: java.rmi.RemoteException: java.sql.SQLException: Internal Error)"
    Could any one suggest me the reason for the above error?
    Regards
    Malathi

    Just a clarification about the problem.
    Even though, if an exception is raised, the Connection object will be eventually closed(), it may take a while and if there are lots of users getting exceptions at the same time the connection pool can quickly run out of connections (correct me if I am wrong please.)
    That is why we think the Connection object should be immediately closed in the case of an exception is raised and we are looking for a fix for this.
    Thanks
    Luis

  • Web Service problem: HTTP/1.1 401 Unauthorized

    Hmm, I had a working set-up with Wireless Toolkit client communicating with Sun One Application Server 8 Web Service using 2004Q4 version of J2EE SDK. I just upgraded to 2005Q1 version, and noticed that the web service fails to work anymore.
    I took a peek into the SOAP calls, and noticed that Appserver is now returning error message "HTTP/1.1 401 Unauthorized" with content of '0' instead of the SOAP envelope with correct response.
    My web service doesn't use any authentication, confidentiality and integrity is set to 0, and there are no roles defined. I can access the web server root and WSDL file just nicely, the problem comes when the midlet connects to the server. It didn't exist with the previous version, everything worked fine there.
    What might be the cause of this change in behavior? It seems like it's forcing me to authenticate but I don't want to and have no idea what kind of credentials it would then be asking for.

    Ah, a bit testing and I figured it out myself. For some reason, to use the endpoint without authenticating, transport-guarantee & login-config should be left unset intead of 'none' which I used to have there. Mighty peculiar behavior - but it works now.

  • Authenticating web services -- get Invalid Response Code:(401) Unauthorized

    Hi,
    ich have implemented a websirve in dynpro java (thanks for all the guys who wrote guides for that), but i still have a problem. i have to set username and password for authorization.
    i have already tested follwoing code:
    reqMo.wdSetInvocationModifier(
               new IWDWSInvocationModifier() {
                 public void doModifyInvocation(Object port) {
                    // Creating the SOAP Header node.
                    HTTPControlInterface http = HTTPControlFactory.getInterface(port);
                    http.setHTTPProxyUserPass("xxxxx","xxxxxx");
                 public void doModifyAfterInvocation() {}
    but i get same message as follows:
    Exception on execution of web service with WSDL
    URL 'http://server:port/special/wsdl_report_gen.wsdl' with operation '_-xxxx_-generateReport' in
    interface '{urn:sap-com:document:sap:soap:functions:mc-style}XXXX_REPORT_GEN':
    Invalid Response Code: (401) Unauthorized. The requested URL
    was:"http://server:port/sap/bc/srt/rfc/sap/XXXX_report_gen/111/XXXX_report_gen/XXXX_report_gen";
    nested exception is:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid
    Response Code: (401) Unauthorized. The requested URL
    was:"http://server:port/sap/bc/srt/rfc/sap/XXXX_report_gen/111/XXXX_report_gen/XXXX_report_gen"
    any ideas?
    Edited by: Dennis Ahaus on Dec 10, 2008 11:40 AM

    Hi Dennis Ahaus,
    If you are using Adaptive webservice model, you can provide the credentials as below.
    wdContext.currentXXXXElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,"username");
    //           wdContext.currentXXXXElement().modelObject().setInvokerProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,"password");          
    Regards,
    VJR.

  • LabVIEW 2013 Web Service works on debug server but not on application server

    I have made a LabVIEW web service, that needs to get 2 inputs from the user through html request, and one input from a running VI. For this communication I have used a notifier to transfer data between the VI and the webservice method. This works perfectly fine on the debug server, but doesn't work when I deploy the web service on the Application Web Server. As shown in the attached snippets, I use a FGV to transfer the reference of the Notifier from the VI to the web service method. This is the same method that is described in this link.
    Is this method correct? Or am I missing something?
    Chinmay Anand Misra
    CLD
    Technical Marketing Engineer
    NI IndRA

    I can't find the right link but....
    There is something I ran across a while ago about how to enable the correct server port in you application.  The VI Server debug port gets enabled with debugging enabled but, you need to specify your services port in the <MyApp>.ini file.
    I'll sit back and watch the masters now
    Jeff

  • Oracle script that was used to confirm the web services working????

    I am having major problems with the top 2 web servers and top 3 app servers, which would be the cluster facing our external customers. This is how our our web services are deployed. I used an oracle script that was used to confirm the web services worked when I installed this working with the oracle consultant taken from metalink. I simply edited it for our web services.
    Can’t deploy web services. Using a script. 2 work on 2 of the machines. Doesn't always work on third machines. Third web service doesn't work on any of the machines.
    Please help, Thank you

    Please can you provide more information, its really not much to work with when u just my web server is not working. any log files ...error messages ?

  • Facetime, imessage and find my ipad doesn`t work over wifi but they work over 4g

    Facetime, imessage and find my ipad doesn`t work over wifi but they work over 4g, please help me

    Are you sure?
    According to Apple Facetime will only work over WiFi. IOS 6 will bring feature that you can make Facetime call over 3g-4g

  • Lion server doesn't delete open port service once added in time capsule mgmt from server app.

    I was trying to set a specific port to avoid file sharing conflict using time capsule as main router with lion server.
    I added a new public service in Server.app in time capsule section where you can manage Airport setting and open ports for mail cal vpn etc. I  assigned a port and given a name as requested. In my case a named "test"  and gave port number 5678 to try.
    Once I decided to delete this public service I noticed that anytime I make a changes in Server.app in Time capsule settings Server.app perform a refresh and the deleted servirce appear again and again with the same name and same setting in airport utility (ports management)
    The only way to delet it is to go in airport utility and delete that from there. But in the chance you want to make another change in TC managemnet from Server.app you.ll see the service deleted from everywhere magically appearing again in your airport device in my case a TC.
    Callled Apple and they said to investigate the forum.
    Now if I maje a change in Server app. TC section to add or remouve public service I have 10 usefull open ports (not enabled) in Airport ( TC)
    Any Help?
    Thx
    Jo

    I have been having this same problem, except that I cannot open basic ports through either app. I've tried opening the standard web services port on 80, but neither app (Server or Airport Utility) will open it. Apple support has been worthless.

  • SSRS web services 401 if you pass "Authorization" http header

    We use both SSRS 2008 R2 and 2012. When i access a report using url access (direct ssrs server hit) and add a "Authorization: Bearer xyzelkalklsjsdfalsjdf" http header, i get a 401 from somewhere in the request pipeline. I have a custom httpmodule
    registered at the top of the chain which does some OAuth related security checks. But when this header is included, the request never reaches the httpmodule. If i change the header slightly ex: "YAuthorization: ljlxzcvc..", then the request reaches
    the httpmodule and everything works. So obviously SSRS is looking for a particular header named "Authorization" and does something with it. Point to note: we have implemented a custom forms authentication module and we are doing some rich authorization
    using the extensible ssrs api. 
    Now my questions are:
    1. What is happening here? Who is acting on my request before my HttpModule registered on top in ssrs\reporting service\web.config gets it?
    2. How do i ensure my httpmodule executes before whatever component is terminating my request with a 401

    Sorry if this sounds like I am new to this but I am.
    So, the extended version is the format that would be used if you were not utilizing the files that the wsdl2java function creates?
    And this is done to when you want more flexibiility for the user to call your service?
    So, you would push to have the stub files used when you want to control how the web service is used?
    thanks for the feedback.

  • How to pass server/domain credentials when accessing SSRS report through SSRS Web service programmatically?

    I am trying to render SSRS Report located on my remote report server in my ASP.NET MVC 4 app through reporting services web service programmatically.
    how can i send the server (windows/domain credentials) at runtime?
    tried below but no success.
    ReportingService2010 service = new ReportingService();  service.Credentials = new System.Net.NetworkCredential("username", "password");    service.Url = "http://MyReportServer/ReportServer/";

    Why are you using window domain credential ?
    Simply "rs.Credentials =
    System.Net.CredentialCache.DefaultCredentials" should work.
    http://technet.microsoft.com/en-us/library/ms170088(v=sql.110).aspx
    Regards, RSingh

  • Embedded OC4J  - Web Service works... not OC4J!

    I have a very interesting issue here.. when I run my EJB 3.0 - Web service in Jdeveloper using the embedded OC4J, I am able to successfully test my services.
    But, When I deploy the Web service to an OC4J server, I get the folowing error when I try to run one the exact same service:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://model.sofia.dryden.nasa.com/"><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>Internal Server Error (Caught exception while handling request: javax.ejb.EJBException: java.lang.StackOverflowError; nested exception is:
         java.lang.StackOverflowError; nested exception is: oracle.oc4j.rmi.OracleRemoteException: java.lang.StackOverflowError; nested exception is:
         java.lang.StackOverflowError)</faultstring></env:Fault></env:Body></env:Envelope>
    Note: This has been happening since I am working on migrating from an mySQL database to Oracle.....
    It may be something in the table structure on the oracle db.... due to the conversion process... but what is puzzling is how the embedded OC4J is very forgiving!
    -Thanks for any input...

    The version of OC4J: 10.1.3.1.0
    I am thinking it has to do with the UNIQUEID.... because the same code works fine on mySQL and SQL2005 db's....
    Perhaps it is something in the Oracle table.... (tdc)
    from the log:
    More of the stack:
    <MODULE_ID>ejb.transaction</MODULE_ID>
    <THREAD_ID>14</THREAD_ID>
    <USER_ID>mritchso</USER_ID>
    <SUPPL_ATTRS>
    <ATTR NAME="J2EE_MODULE.name">oraTdcWebservice</ATTR>
    <ATTR NAME="J2EE_APP.name">oraTdcWebservice</ATTR>
    <ATTR NAME="WEBSERVICE_PORT.name">oracleTdcSessionEJB</ATTR>
    <ATTR NAME="WEBSERVICE.name">oracleTdcSessionEJBBeanService</ATTR>
    </SUPPL_ATTRS>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>IPAddress:62846:1221082977722:2164</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>[oracleTdcSessionEJB:public java.lang.String com.nasa.dryden.sofia.model.oracleTdcSessionEJBBean.getTdc(int)] exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: java.lang.StackOverflowError; nested exception is:
         java.lang.StackOverflowError</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.oc4j.rmi.OracleRemoteException: java.lang.StackOverflowError
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at oracleTdcSessionEJB_RemoteProxy_2ce1bo.getTdc(Unknown Source)
         at com.nasa.dryden.sofia.model.runtime.OracleTdcSessionEJBBeanSoapHttp_Tie.invoke_getTdc(OracleTdcSessionEJBBeanSoapHttp_Tie.java:411)
         at com.nasa.dryden.sofia.model.runtime.OracleTdcSessionEJBBeanSoapHttp_Tie.processingHook(OracleTdcSessionEJBBeanSoapHttp_Tie.java:1265)
         at oracle.j2ee.ws.server.StreamingHandler.handle(StreamingHandler.java:297)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doEndpointProcessing(JAXRPCProcessor.java:413)
         at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doRequestProcessing(JAXRPCProcessor.java:277)
         at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
         at oracle.j2ee.ws.server.JAXRPCProcessor.doService(JAXRPCProcessor.java:134)
         at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.lang.StackOverflowError
         at com.nasa.dryden.sofia.model.oracleTdcSessionEJBBean.<init>(oracleTdcSessionEJBBean.java:20)
         at com.nasa.dryden.sofia.model.oracleTdcSessionEJBBean.getTdc(oracleTdcSessionEJBBean.java:83)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Web Service call over an Apache

    Hello everybody,
    we developed a Web Service running on the J2EE Engine. The definition is available at:
    http://<host>:50000/VSServer/Config1... Using this URL the WS call works fine.
    However, our portal is behind an <b>Apache using https</b>. Necessary rewrite rules exist:
    https://host/VSServer/Config1... -> http://<host>:50000/VSServer/Config1... The redirect works in the browser.
    However, when the proxy is trying to call the WSD with the URL:
    https://host/VSServer/Config1... we get the following: <b>com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (302) Found</b>
    does anybody know where the problem is? do we need to change the Apache settings so that the definition is returned?
    many thanks in advance,
    cheers Sascha

    Thanks Gregor,
    however we still get the exception mentioned above. All Apache modules are in use, so are the rewrite rules. Since the redirect works in the browser we think they are correct.
    <b>Do I have to edit my proxy settings in the Config tool?</b> The WS call is done between the J2EE engines of the peer portal, not over the browser.
    Does anybody has updates on this for me?
    mnay thanks in advance

  • Facebook App not working over 3G, but works over Wi-Fi.

    I have a BlackBerry® Curve™ 3G 9330 Social Messaging Ready smartphone. My current software version is 6.0 Bundle 2333. My Facebook application worked perfectly fine when I got the phone a few months ago over the Verizon 3G network and Wi-Fi, but when I recently updated Facebook to version 2.0.0.58, it does not work over 3G anymore. But everytime I try to connect via 3G it says "We cannot reach the Facebook server at this time. Please try again later. (100)" It does however still work over Wi-Fi.
    I have tried various attempts to fix it: uninstalling the App and re-installing it and also removing the battery and putting it back in (hard reset), but nothing has worked.
    Is anyone else have this same issue? Is there a way to restore my Blackberry to its factory settings so that I can just use the older version of the Facebook App [that was previously installed]?
    Thank you.

    Hey metalhourse90,
    I can see from your PIN that you currently don't have browsing services included in your data plan. I would advise contacting your wireless provider to have this enabled.
    Thanks,
    -FS
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.
    Click Solution? for posts that have solved your issue(s)!

  • Used a XI web service in dot net, but cannot access the message types .

    I have created a web reference in dot net for a XI web service. In the front end i have a form which has 4 fields these are the fields of my request msg in XI. But when i compile the project, i get an error 'Reference to a non-shared member requires an object reference.' I'm not able to create a object of the request and response classes.
    Need help.

    Hi,
    Please check on this blog:
    /people/sap.user72/blog/2005/10/21/xi-the-underlying-connection-was-closed-an-unexpected-error-occurred-on-a-send

Maybe you are looking for