Web service return 500 invalid response code in WS Navigator

hello everyone,
     There is a problem I work for several days.
     Everytime I deploy a web service in CAF, I can find it in WS Administraton. But in WS Navigator, I click it from the local services list. It says "Invalid Response Code: (500) Internal Server Error. The requested URL was <the wsdl url> "
     I try the NW Demo Web Service described in [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e050d6ac-01a7-2a10-f5b3-80e2f137b57b|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e050d6ac-01a7-2a10-f5b3-80e2f137b57b], also the 500 code return.That means, the demo service "http://<host>:<port>/NWDemoAdminBeanService/NWDemoAdminBean?wsdl" is also invalid in my WS Navigator.
     Anybody has some good ideas? or it is a bug?
     Our enviroment is CE 7.1 SR5 SP06
     Thank you!
Best Regards,
Liting Zhou

Hi Lakshminarayana,
there may be lots of reasons.
[http://lmgtfy.com/?q=http%20%2B%20403]
Regards, Hubert

Similar Messages

  • Web service error message ' Invalid Response Code: (403) Forbidden'

    Hi Experts,
    I created a webservice, and it working fine in Development and Quality systems. But it is not working in Production system. When trying to click on 'Open Web Service navigator for selected binding' for testing it's giving the following error message.
    Cannot download WSDL from http://na00stgerp01.systems.corbis.net:8003/sap/bc/srt/wsdl/bndg_DFCA9B84C8D5A7F1A013001C23C37FBD/wsdl11/allinone/standard/document?sap-client=120: Invalid Response Code: (403) Forbidden. The requested URL was:"http://na00stgerp01.systems.corbis.net:8003/sap/bc/srt/wsdl/bndg_DFCA9B84C8D5A7F1A013001C23C37FBD/wsdl11/allinone/standard/document?sap-client=120"
    Please suggest me any solution.
    Thanks
    Lakshminarayana

    Hi Lakshminarayana,
    there may be lots of reasons.
    [http://lmgtfy.com/?q=http%20%2B%20403]
    Regards, Hubert

  • Some Web Services return 500 Internal Server Error

    I've installed the Web Services Provider from the JPDK and several portlets work fine (Stock, Dictionary). However, most of the return 500 Internal Server Error. The application log under OC4J reports:
    SOAPException: faultCode=SOAP-ENV:IOException;
    msg=Connection refused: connect;
    targetException=java.net.ConnectException: Connection
    refused: connect]
         at
    oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765)
         at org.apache.soap.rpc.Call.invoke(Call.java:253)
         at
    oracle.portal.sample.v2.devguide.webservices.WeatherRetrieverStub.GetTemperature(Unknown
    Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at
    oracle.portal.provider.v2.webservice.RPCWebServiceRenderer.invokeService(Unknown
    Source)
         at
    oracle.portal.provider.v2.webservice.WebServiceRenderer.renderShow(Unknown
    Source)
         at
    oracle.portal.provider.v2.webservice.WebServiceRenderer.renderBody(Unknown
    Source)
         at
    oracle.portal.provider.v2.render.RenderManager.render(Unknown
    Source)
         at
    oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown
    Source)
         at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown
    Source)
         at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown
    Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at
    oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown
    Source)
         at
    oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown
    Source)
         at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at
    oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    11/20/02 7:50 PM jpdk: [id=(null),
    instance=1971_LOCALTIME INFORMATION_3933769] ERROR:
    Failed to handle HTTP Request
    [SOAPException: faultCode=SOAP-ENV:IOException;
    msg=Connection refused: connect;
    targetException=java.net.ConnectException: Connection
    refused: connect]
         at
    oracle.soap.transport.http.OracleSOAPHTTPConnection.send(OracleSOAPHTTPConnection.java:765)
         at
    org.apache.soap.messaging.Message.send(Message.java:125)
         at
    oracle.portal.provider.v2.webservice.DocWebServiceRenderer.invokeService(Unknown
    Source)
         at
    oracle.portal.provider.v2.webservice.WebServiceRenderer.renderShow(Unknown
    Source)
         at
    oracle.portal.provider.v2.webservice.WebServiceRenderer.renderBody(Unknown
    Source)
         at
    oracle.portal.provider.v2.render.RenderManager.render(Unknown
    Source)
         at
    oracle.portal.provider.v2.DefaultPortletInstance.render(Unknown
    Source)
         at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(Unknown
    Source)
         at
    oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(Unknown
    Source)
         at java.lang.reflect.Method.invoke(Native Method)
         at
    oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(Unknown
    Source)
         at
    oracle.webdb.provider.v2.adapter.SOAPServlet.service(Unknown
    Source)
         at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at
    oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for
    J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Any suggestions?

    Please refer to duplicate thread on the same topic at
    Re: records need to corect in a table

  • 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.

  • URG: Invalid Response Code: (401) Unauthorized to a web service

    Hello,
       I'm trying to configure a SSO between CE and ERP. I want to access a Web Services of the ERP from WSNavigator through a logical destination, but I have the following error,
    "Invalid Response Code: (401) Unauthorized"
    I dont know what step I'm doing wrong, I've already configured the CE Certificate in the ERP, I've put the flag in the Web Service Endpoint as "HTTP Authentication" with "Logon Tickets" and in the Logical Destination I've put the flag "HTTP Authentication" with "Logon Tickets".
    I dont know what's wrong. Please if anyone have a guide or tutorial for configure this, I would appreciate it very much.
    Thanks
    Regards
    SU

    Hi,
    Did you check the domain of CE and ERP are the same.
    Check the Port at the end of the WSDL, it should have the full domain.
    Regards, Gilles.

  • WS Navigator shows error "Invalid Response Code (500)

    I have published a ECC 6.0 webservice in PI Service Registry. I use NW Dev Studio and attempt to find the published WS but I get an error in the WS Navigstor.
    Endpoints were created so I attempt to consume it in NWDS but I get the the following error:
    "Invalid Response Code: (500) WSDL could not be generated  The requested URL........""
    In somamanger I can see the WSDL and it looks fine...
    Any ideas or steps that I need to do or missed?
    Thanks
    Mikie

    Hi,
    Are you able to test the web service on the web service navigator successfully. On the soamanager you have an option for testing the web services in web service navigator.
    Regards,
    Yasar

  • Invalid Response Code: (500) WSDL could not be generated

    Hello,
    Im trying to test an endpoint of an enterprise service that is already configured through the Service Registry, but, after I log to the backend thtough WSNavigator the following problem occurs,
    Invalid Response Code: (500) WSDL could not be generated. The requested URL was:"http://smindev0.minsur.com.pe:8000/sap/bc/srt/wsdl/bndg_DF046A5091DCB8F1A0FD0017A4770400/wsdl11/binding/ws_policy/document?sap-client=400"
    In the lg viewer I have this exception detail,
    Invalid response code while loading WSDL:
    http://smindev0.minsur.com.pe:8000/sap/bc/srt/wsdl/bndg_DF046A5091DCB8F1A0FD0017A4770400/wsdl11/binding/ws_policy/document?sap-client=400, responseCode: 500
    [EXCEPTION]
    com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. [Problem with WSDL file parsing. See nested message.]
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:667)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:130)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:119)
    at com.sap.esi.esp.wsnavigator.ManualTestView.createServiceByWSDL(ManualTestView.java:426)
    at com.sap.esi.esp.wsnavigator.ManualTestView.onEventWSDLSelected(ManualTestView.java:1553)
    at com.sap.esi.esp.wsnavigator.wdp.InternalManualTestView.wdInvokeEventHandler(InternalManualTestView.java:526)
    at com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Problem with WSDL file parsing. See nested message.
    at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:638)
    ... 93 more
    Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (500) WSDL could not be generated. The requested URL was:"http://smindev0.minsur.com.pe:8000/sap/bc/srt/wsdl/bndg_DF046A5091DCB8F1A0FD0017A4770400/wsdl11/binding/ws_policy/document?sap-client=400"
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:145)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:90)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:79)
    at com.sap.engine.services.webservices.espbase.client.ProxyGeneratorNew.loadWSDLapi(ProxyGeneratorNew.java:632)
    ... 97 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (500) WSDL could not be generated. The requested URL was:"http://smindev0.minsur.com.pe:8000/sap/bc/srt/wsdl/bndg_DF046A5091DCB8F1A0FD0017A4770400/wsdl11/binding/ws_policy/document?sap-client=400"
    Please help.
    Thanks & Regards
    SU

    Hello Christian,
       I put the same url in the browser as you said and it shows an error:
      "Unexpected error: Incorrect value: Location URL for subject IF " - "Incorrect value: Location URL for subject IF :SupplierBasicDataByIDQueryResponse_In not found".
      I analyzed the url of the SR, it is,
    http://XXXX:XXX/sap/bc/srt/wsdl/bndg_DF046A5091DCB8F1A0FD0017A4770400/wsdl11/binding/ws_policy/document?sap-client=400
    But, if I change the word "binding" for "allinone" it works.
    I have problems with this when I am working in Web Dynpro importing a web service model from the Service Registry (it always call the url - "with binding word").
    Do you know how can I solve this?
    Thanks
    Regards
    SU
    Edited by: soauniverse on Jan 20, 2010 2:56 PM

  • TechnicalException: Deserializing WSDL stream, Invalid Response Code: (500)

    I am creating a Composite Application, which consumes a Enterprise Serivce from the Service Registry.
    I have created the destination and also done the mapping.
    But when I test the service in WSNavigator I get the following error
    Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://<host>:8000/sap/bc/srt/xip/sap/ECC_SALESORDER009QR? failed
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.getWSDLDefinitions(WSQueryImpl.java:512)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:311)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:167)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:966)
    ... 81 more
    Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Invalid Response Code: (500) Internal Server Error. The requested URL was:"http://<host>:8000/sap/bc/srt/xip/sap/ECC_SALESORDER009QR?, used user to connect: dev01"
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:140)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:91)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.load(WSDLLoader.java:80)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.getWSDLDefinitions(WSQueryImpl.java:510)
    ... 84 more
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (500) Internal Server Error. The requested URL was:"http://<host>:8000/sap/bc/srt/xip/sap/ECC_SALESORDER009QR?, used user to connect: dev01"
    at com.sap.esi.esp.service.server.query.discovery.WSTransportSettingsResolver.resolveEntity(WSTransportSettingsResolver.java:376)
    at com.sap.engine.services.webservices.espbase.wsdl.WSDLLoader.loadDOMDocument(WSDLLoader.java:127)
    ... 87 more
    Is it a problem with the Destination settings or some Server problem, or some problem with coding.
    Thanks
       -Brian

    Hi Yasar,
    I tried using the Binding url
    and I received this error
    Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: {urn:sap-com:document:sap:soap:esr/document}ECC_SALESORDER009QR_Document
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:195)
    at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:966)
    I havent found any help pertaining to this error on sdn.
    Are there any indications from the last line of the error
    service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations  that the error is with the Destination ?
    Caused by: com.sap.esi.esp.service.server.query.discovery.ExtendedServiceException: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: ECC_SALESORDER009QR_Document&#xD;
         at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:977)&#xD;
         at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getWSDLUrl(DestinationsHelperImpl.java:401)&#xD;
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.getWSDLUrl(GenericServiceFactory.java:222)&#xD;
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService_NewInstance(GenericServiceFactory.java:192)&#xD;
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:175)&#xD;
         at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:160)&#xD;
         at com.sap.caf.rt.connectivity.ws.WSExecuteManager.executeWS(WSExecuteManager.java:106)&#xD;
         ... 75 more&#xD;
    Caused by: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: ECC_SALESORDER009QR_Document&#xD;
         at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSEndpoints(WSQueryImpl.java:195)&#xD;
         at com.sap.esi.esp.service.server.query.discovery.DestinationsHelperImpl.getEndpointConfigurations(DestinationsHelperImpl.java:966)&#xD;
         ... 81 more&#xD;
    </nestedStackTraceString><stackTraceString>com.sap.caf.rt.exception.CAFServiceException: com.sap.engine.services.webservices.espbase.query.exceptions.ObjectNotExistsException: ECC_SALESORDER009QR_Document&#xD;
         at com.sap.caf.rt.bol.da.remote.GenericOperationExecutor.execute(GenericOperationExecutor.java:56)&#xD;
         at com.wipro.get_sales_order.modeled.appsrv.ecc_salesorder009qr.ECC_SALESORDER009QRBean.SalesOrderERPBasicDataByElementsQueryResponse_In(ECC_SALESORDER009QRBean.java:34)&#xD;
         at com.wipro.get_sales_order.modeled.appsrv.ecc_salesorder009qr.ECC_SALESORDER009QRBeanImpl.getSalesOrder(ECC_SALESORDER009QRBeanImpl.java:44)&#xD;
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&#xD;
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&#xD;
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&#xD;
         at java.lang.reflect.Method.invoke(Method.java:585)&#xD;
         at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43)&#xD;
         at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(Ab
    1000
    stractInvocationContext.java:166)&#xD;
    Thanks
    --- Brian
    Edited by: Brian Fernandes on Jul 15, 2008 12:07 PM
    Edited by: Brian Fernandes on Jul 15, 2008 12:14 PM

  • BUG: Web service returns request XML as response when result too large

    Hi,
    sorry for cross-posting, but the Web Services forum seems to be quite abandoned and this is an urgent issue for me.
    I have a web service returning some records of a given type (created using JDeveloper 10.1.3.3). The running environment and the service implementation do not seem to make any difference, as the situation is the same whether running it in embedded OC4J or in AS 10.1.3.1, and whether it is generated from a PL/SQL procedure or a method of a plain Java class.
    The problem is that if the result of this web service is too large (contains a lot of records), then the processing halts in some Oracle class in some web service library, so not in a debuggable generated web service source or in the service implementation itself.
    I think that the XML processing halts because of a "java.lang.OutOfMemoryError: Java heap space".
    Then a more serious problem follows: the service doesn't return a fault message but the original request XML as a response. Obviously, this can lead to some really unexpected errors.
    To reproduce this error:
    1. Create a Java class with a method returning an array of an arbitrary type, of the size specified in an input parameter.
    2. Create a web service from this class.
    3. Call it multiple times increasing the size parameter in every call until you get back the request as response or any error message.
    For example:
    - if you test the web service using the web page generated to access the endpoint, then you can see the response XML - in case you don't get an Internal Server Error (Java heap space).
    - if you use a generated web service proxy for testing, then it will give an error saying "unexpected element name: expected={namespace}someOperationResponseElement
    actual={namespace}someOperationElement".
    Any ideas how to locate / solve this problem?
    Regards,
    Patrik

    Patrik,
    the usual recommendation is to try with 10.1.3.3 instead of 10.1.3.1 to exclude you are hunting down an already fixed issue. From what you describe, the error seems less JDeveloper related than OC4J or OracleAs.
    So in case it reproduces in 10.1.3.3 I suggest to create a testcase and open a service request with support, or try the OC4J forum in case its known there.
    Frank

  • Interactive Form Error:  Invalid Response Code: (503) Service Unavailable

    Hi,
    Here i am Facing a Problem while i try to develop a sample application using Interactive Forms.
    When i tried to Deploy it.
    the Error i am getting is
       com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://localhost:50000/AdobeDocumentServices/Config?style=document"
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:976)
        at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1423)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:82)
        at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:99)
        at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:279)
        ... 27 more
    i will be very thankful if anyone solve my problem ...
    Thank you
    Srikanth

    Hi,
    you seem to be pointing to a Java stack that either hasn't got the Adobe document services installed or has them incorrectly configured. Check the ADS Configuration Guide again against the settings of the Engine on which you have the ADS running. Without ADS, you won't get a PDF. The URL with http://localhost:50000/AdobeDocumentServices/Config?style=document in it is a good start, but the config is more than just that.
    Best regards,
    Markus Meisl
    SAP NetWeaver Product Management

  • Questions Tags Users Badges Unanswered Ask Question 502 - Web server received an invalid response while acting as a gateway or proxy server while accessing wcf hosted in azure

    I have just a simple WCF service and which is protected by azure ACS .I am getting this error while trying to invoke the service from a client.The WCF is hosted as a simple azure website.
          502 - Web server received an invalid response while acting as a gateway or proxy server
          There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
    This is my web.config for the service and I am guessing there is something wrong with it .It is working just fine on local IIS so I am not sure what exactly is causing the issue.Can someone please have a look and see if they can find something or point me to
    a direction.
        <?xml version="1.0"?>
        <configuration>
          <configSections>
            <!--WIF 4.5 sections -->
            <section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
            <section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
          </configSections>
          <system.diagnostics>
            <trace>
              <listeners>
                <add type="Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=2.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
                  name="AzureDiagnostics">       
                </add>
              </listeners>
            </trace>
          </system.diagnostics>
          <appSettings>
            <add key="aspnet:UseTaskFriendlySynchronizationContext" value="true" />
          </appSettings>
          <system.web>
            <authentication mode="None"/>
            <customErrors mode="Off"></customErrors>
            <compilation debug="true" targetFramework="4.5" />
            <httpRuntime targetFramework="4.5"/>
          </system.web>
          <system.serviceModel>
            <services>
              <service name="SidService.Service1">
                <endpoint address="https://sidwcfservice.azurewebsites.net/sidservice.svc"
                          binding="ws2007FederationHttpBinding"
                          contract="SidService.IService1" />
              </service>
            </services>
            <bindings>
              <ws2007FederationHttpBinding>
                <binding closeTimeout="10:10:10" openTimeout="10:30:00" sendTimeout="10:30:00" receiveTimeout="10:30:00"  
                        bypassProxyOnLocal="false" transactionFlow="false" maxBufferPoolSize="20000000" maxReceivedMessageSize="20000000"   >
                  <security mode="TransportWithMessageCredential">
                    <message establishSecurityContext="true"   negotiateServiceCredential="true"  issuedKeyType="BearerKey">
                      <issuer address="https://sidaccess.accesscontrol.windows.net/v2/wstrust/13/certificate"></issuer>
                      <issuerMetadata address="https://sidaccess.accesscontrol.windows.net/v2/wstrust/mex" />
                    </message>
                  </security>
                </binding>
              </ws2007FederationHttpBinding>
            </bindings>
            <behaviors>
              <serviceBehaviors>
                <behavior>
                  <serviceAuthorization principalPermissionMode="Always"></serviceAuthorization>
                  <!-- To avoid disclosing metadata information, set the values below to false before deployment -->
                  <serviceCredentials useIdentityConfiguration="true"></serviceCredentials>
                  <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
                  <!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information -->
                  <serviceDebug includeExceptionDetailInFaults="true"/>
                  <serviceSecurityAudit  auditLogLocation="Application"   serviceAuthorizationAuditLevel="Failure" messageAuthenticationAuditLevel="Failure" suppressAuditFailure="true"/>
                </behavior>
              </serviceBehaviors>
            </behaviors>
            <protocolMapping>
              <add binding="basicHttpsBinding" scheme="https" />
              <add binding="ws2007FederationHttpBinding" scheme="https" />
              <add binding="basicHttpBinding" scheme="http" />      
            </protocolMapping>    
            <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="false" />
          </system.serviceModel>
          <system.webServer>
            <modules runAllManagedModulesForAllRequests="true">
              <add name="WSFederationAuthenticationModule" type="System.IdentityModel.Services.WSFederationAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    preCondition="managedHandler" />
              <add name="SessionAuthenticationModule" type="System.IdentityModel.Services.SessionAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
    preCondition="managedHandler" />
            </modules>
            <directoryBrowse enabled="true"/>
          </system.webServer>
          <system.identityModel>
            <identityConfiguration saveBootstrapContext="true">     
              <certificateValidation certificateValidationMode="None" revocationMode="NoCheck"/>
              <issuerNameRegistry type="System.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <trustedIssuers>         
                  <add name="ACS2SigningCertificate"
                   thumbprint="DAE85FDA621FC090A8B0583we4380C52E484AE36" />
                </trustedIssuers>
              </issuerNameRegistry>  
              <audienceUris>
                <add value="https://sidwcfservice.azurewebsites.net/sidservice.svc" />
              </audienceUris>
              <securityTokenHandlers>
                <add type="System.IdentityModel.Tokens.Saml2SecurityTokenHandler, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
                  </securityTokenHandlers>   
            </identityConfiguration>
          </system.identityModel>
         <system.identityModel.services>
            <federationConfiguration>
              <cookieHandler mode="Default" requireSsl="true" />
              <!--<wsFederation passiveRedirectEnabled="true" issuer="https://localhost:123/issue/wsfed" realm="https://localhost:44300" reply="https://localhost:44300" requireHttps="false"
    />-->
              <wsFederation passiveRedirectEnabled="true" issuer="https://sidaccess.accesscontrol.windows.net" realm="https://sidwcfservice.azurewebsites.net/"  requireHttps="true" />
            </federationConfiguration>
          </system.identityModel.services>
        </configuration>
    This is the IIS log
        #Software: Microsoft Internet Information Services 8.0
        #Fields: date time s-sitename cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken
        2014-06-11 05:19:51 SIDWCFSERVICE GET / X-ARR-LOG-ID=f7e6da2f-78f0-4c27-9cae-bb1623d150d6 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 210675 863 694
        2014-06-11 05:21:07 SIDWCFSERVICE GET /sidservice.svc X-ARR-LOG-ID=dd15d3bc-3307-4b26-8787-1399a5e890ed 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko - - sidwcfservice.azurewebsites.net
    200 0 0 1800 718 1044
        2014-06-11 05:21:08 SIDWCFSERVICE GET /SidService.svc wsdl&X-ARR-LOG-ID=bb415471-866f-48a1-8b7a-e01d4410779e 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445
    http://sidwcfservice.azurewebsites.net/sidservice.svc sidwcfservice.azurewebsites.net 200 0 0 2417 878 0
        2014-06-11 05:21:16 SIDWCFSERVICE GET /Sidservice.svc wsdl/$metadata&X-ARR-LOG-ID=f5c6415d-9c18-4305-aad5-9cbe4fe16d43 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 813 15
        2014-06-11 05:21:16 SIDWCFSERVICE POST /Sidservice.svc wsdl/mex&X-ARR-LOG-ID=c2e3eeee-f5d9-49bf-b988-c524679409f3 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1336 62
        2014-06-11 05:21:16 SIDWCFSERVICE GET /Sidservice.svc wsdl&X-ARR-LOG-ID=66bac0fb-476d-4104-bf4b-22d3cd55e906 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 8138 793 0
        2014-06-11 05:21:16 SIDWCFSERVICE OPTIONS /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=82bf4ff4-4842-44a6-815e-adb8fdf01d13 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 400 0 0 398 764 31
        2014-06-11 05:21:16 SIDWCFSERVICE POST /Sidservice.svc wsdl&X-ARR-LOG-ID=6d7ba68e-67cd-4596-9bf9-861cab3140c2 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1324 31
        2014-06-11 05:21:16 SIDWCFSERVICE GET /SidService.svc xsd=xsd0&X-ARR-LOG-ID=d5890f1b-793e-4b13-9c75-ccd133be1cab 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1688 887 250
        2014-06-11 05:21:16 SIDWCFSERVICE GET /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=e15347e4-a7c0-4512-b3b7-a0ddf8d4ba6b 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 857 250
        2014-06-11 05:21:16 SIDWCFSERVICE GET /SidService.svc xsd=xsd2&X-ARR-LOG-ID=377aaf45-1c59-4254-a320-6f4028bf8928 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 992 887 31
        2014-06-11 05:21:16 SIDWCFSERVICE GET /SidService.svc xsd=xsd1&X-ARR-LOG-ID=29fddc12-c18f-42b5-b232-53c9cef6d982 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 2701 887 15
        2014-06-11 05:27:16 ~1SIDWCFSERVICE POST /diagnostics/settings X-ARR-LOG-ID=984746fe-583c-46f0-a241-2817286262f5 443 - 70.37.162.148 Azure-Portal/4.5.00298.11 - - sidwcfservice.scm.azurewebsites.net 204 0 0 462 1286 234
        2014-06-11 05:33:23 SIDWCFSERVICE GET /sidservice.svc X-ARR-LOG-ID=5e5047a3-839b-467d-9d7e-8e79cfe931b7 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445
    - sidwcfservice.azurewebsites.net 200 0 0 1800 804 499
        2014-06-11 05:33:27 SIDWCFSERVICE GET /Sidservice.svc wsdl/$metadata&X-ARR-LOG-ID=af5d2b66-366f-465b-9b38-b5fa6c49d103 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 813 0
        2014-06-11 05:33:27 SIDWCFSERVICE POST /Sidservice.svc wsdl&X-ARR-LOG-ID=a93f30b4-289c-4752-9e32-ba4b23cd5590 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1324 31
        2014-06-11 05:33:27 SIDWCFSERVICE POST /Sidservice.svc wsdl/mex&X-ARR-LOG-ID=68505196-ed63-4d65-adf2-af6413f450b6 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1336 31
        2014-06-11 05:33:27 SIDWCFSERVICE GET /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=8afaa4f2-643e-4534-b8e3-59d2c3755dee 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 857 0
        2014-06-11 05:33:27 SIDWCFSERVICE GET /Sidservice.svc wsdl&X-ARR-LOG-ID=abb68806-eb59-493f-a727-016115e60357 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 8138 793 15
        2014-06-11 05:33:27 SIDWCFSERVICE OPTIONS /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=5e9ebc9a-e0e0-431a-bbb8-02204af9f10e 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 400 0 0 398 764 31
        2014-06-11 05:33:27 SIDWCFSERVICE GET /SidService.svc xsd=xsd0&X-ARR-LOG-ID=2c7a504a-3c31-4875-add8-c17fd018ff01 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1688 887 234
        2014-06-11 05:33:28 SIDWCFSERVICE GET /SidService.svc xsd=xsd2&X-ARR-LOG-ID=1727b880-7148-4d15-9e9b-0f866def7c2f 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 992 887 31
        2014-06-11 05:33:28 SIDWCFSERVICE GET /SidService.svc xsd=xsd1&X-ARR-LOG-ID=40fc3543-d6a4-46ce-af1b-5aea83fb86df 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 2701 887 110
        2014-06-11 05:42:21 SIDWCFSERVICE GET /SidService.svc X-ARR-LOG-ID=70ce2aaa-a11b-4862-878b-2a67bbeb1bc5 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1800 904 46
        2014-06-11 05:42:25 SIDWCFSERVICE GET / X-ARR-LOG-ID=4d51ab01-d247-404f-8d78-3bfda8635a3b 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 304 0 0 364 961 47
        2014-06-11 05:42:34 SIDWCFSERVICE GET / X-ARR-LOG-ID=31d335ef-604f-4653-930f-6f6cf05664b6 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 150476 1020 46
        2014-06-11 05:42:35 SIDWCFSERVICE GET /favicon.ico X-ARR-LOG-ID=2fe77edb-dcd9-4fc6-b418-8bdcf2313473 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 404 0 2 468 971 31
        2014-06-11 05:42:39 SIDWCFSERVICE GET / X-ARR-LOG-ID=bf6e0cfb-7e5b-408f-9881-37e236b98a49 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 150476 1046 15
        2014-06-11 05:42:44 SIDWCFSERVICE GET /SidService.svc X-ARR-LOG-ID=263108d8-4e68-4b52-94bd-5b87186ba45e 443 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/35.0.1916.114+Safari/537.36
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1801 1048 0
        2014-06-11 05:57:41 SIDWCFSERVICE GET /sidservice.svc X-ARR-LOG-ID=d2ada703-123a-4842-b480-a150aec1080e 80 - 98.192.67.81 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+rv:11.0)+like+Gecko ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445
    - sidwcfservice.azurewebsites.net 200 0 0 1800 804 967
        2014-06-11 05:57:44 SIDWCFSERVICE GET /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=d53f52a5-8a77-439c-9ae7-cc58842d456f 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 857 0
        2014-06-11 05:57:44 SIDWCFSERVICE GET /Sidservice.svc wsdl&X-ARR-LOG-ID=31b4a024-c05d-47a6-91dd-1149f28c73bd 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 8138 793 15
        2014-06-11 05:57:44 SIDWCFSERVICE GET /Sidservice.svc wsdl/$metadata&X-ARR-LOG-ID=68e0c1da-8eb2-4b0d-ad2b-33a88cde8225 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    - - sidwcfservice.azurewebsites.net 200 0 0 3458 813 0
        2014-06-11 05:57:44 SIDWCFSERVICE OPTIONS /Sidservice.svc wsdl/_vti_bin/ListData.svc/$metadata&X-ARR-LOG-ID=9ca1a5ac-d8d3-4a41-bf7a-e118ef3a0e34 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 400 0 0 398 764 31
        2014-06-11 05:57:44 SIDWCFSERVICE POST /Sidservice.svc wsdl&X-ARR-LOG-ID=d9142d70-b052-4355-85cf-54a14e96209a 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1324 15
        2014-06-11 05:57:44 SIDWCFSERVICE POST /Sidservice.svc wsdl/mex&X-ARR-LOG-ID=19e8da83-aaaf-4ff8-b5ea-73508c494ac1 443 - 98.192.67.81 - - - sidwcfservice.azurewebsites.net 500 0 0 1548 1336 64
        2014-06-11 05:57:44 SIDWCFSERVICE GET /SidService.svc xsd=xsd0&X-ARR-LOG-ID=252dd0dd-1b84-4675-b855-750f69a49d07 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 1688 887 234
        2014-06-11 05:57:44 SIDWCFSERVICE GET /SidService.svc xsd=xsd2&X-ARR-LOG-ID=cc247b32-9145-4823-9927-d417f12cb360 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 992 887 0
        2014-06-11 05:57:44 SIDWCFSERVICE GET /SidService.svc xsd=xsd1&X-ARR-LOG-ID=ae402fb1-5caf-4e76-997a-6b2551cb3d49 443 - 98.192.67.81 Mozilla/4.0+(compatible;+MSIE+6.0;+MS+Web+Services+Client+Protocol+4.0.30319.34014)
    ARRAffinity=bd0ad669a44c5d1cd8901d2d8014718c9386a2f2ad52bb066cf1cfd489ed6445 - sidwcfservice.azurewebsites.net 200 0 0 2701 887 15

    hi,
    Firstly, I suggest you could see the same error threads (http://social.msdn.microsoft.com/Forums/windowsazure/en-US/5cf817b3-1295-41d7-b156-ce7aa5e4d11e/502-web-server-received-an-invalid-response-while-acting-as-a-gateway-or-proxy-server?forum=windowsazurewebsitespreview
    ). And then, I recommend you could refer to this basic code sample(
    http://social.technet.microsoft.com/wiki/contents/articles/4027.wcf-soap-service-with-federated-authentication.aspx ). And I recommend you could download this code sample and try to use it(http://code.msdn.microsoft.com/Windows-Azure-AD-Access-0dcde385/sourcecode?fileId=71587&pathId=477793108
    Please try it.
    hope this helps.
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Adobe Form Error: Invalid Response Code: (401) Unauthorized. The request...

    When trying to run an Adobe Form webdynpro app, I am receiving the following error:
    <b>Invalid Response Code: (401) Unauthorized. The requested URL was:"http://localhost:50000/AdobeDocumentServices/Config?style=document"</b>
    I have checked the ADS test at <server:port>/AdobeDocumentServices/Config; the test did return the version number.
    <i><b>Does anyone have any other ideas of what I should check?</b></i>
    Also, why is it running a url with "localhost" in it?  If this is running on the java was server, then I guess that could make sense.  But if the url request is requesting something from localhost, isn't that my computer?  I guess it depends on if this is a server request or a client request.  I hope this is a server request.

    Sumit -
    First, I think config is okay.  I can run the web service under my id okay.
    Second, I am not sure what the impact is having the build done locally.
    I am building and deploying locally in NWDS to my local portal. But then I am sending the EAR file to the system admin to deploy to my dev server (I am doing this because they will not give out the SDM password.  And, I am waiting on the NWDI setup to be complete; when that is complete I will let NWDI deploy to the dev portal.)
    Incidentally, I am receiving this error on the dev server, not my local portal. (I have tried running on my local portal, but I am getting a socket timeout error. But this is interesting, because I <i>can</i> run other webdynpro non-Adobe apps. I am not tracking down this error at this point because I am really just interested in the dev server.  If I get past the 401 error on the dev server, and then get the socket timout issue...then I will worry about it.)

  • Exception while calling ADS Inappropriate WSIL Invalid Response Code: (401)

    Hi Experts,
    Our ADS configuration was done on XCE a long time back and even reader credentials were installed and everything is working fine.
    Couple of days back, we enabled SSL configuration on the system. Even got the certificates signed by CA and HTTPS is also working without any problems.
    Then, problems are happening when we configured WebService SSL connection for ADS following the steps from
    http://help.sap.com/saphelp_nwce72/helpdata/en/90/71d273fa724cc9bb644ab00405e6f8/content.htm and also the SAP How to guide from: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d02262d8-7814-2c10-5c97-d855d38e9923?quicklink=index&overridelayout=true.
    Among other steps, I have created a View in Key Storage called "ADSCerts" and created an entry "ADSUser" as per the document, generated CSR request, imported CSR response and also the CA's root certificate.
    I exported the ADSUser-cert certificate from here and imported into Identity Management for the User ADSUser under its Certificates tab.
    Also updated SecureConfigPort_Document (in Destination Template Management under SOA Administration) security settings to X.509 Client Certificate and in Details, I have chosen the View ADSCerts and entry ADSUser.
    Even after all the steps as per the document and the help.sap.com link provided above, when I try to test this through a test URL
    (https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp) that our developers have given me for this, I get a (401)
    Unauthorized error:
    500 Internal Server Error is returned for HTTP request
    [https://host:https-port/webdynpro/resources/company.com/test~wd/TestAdobeApp]
    com.sap.tc.adobe.pdfobject.base.core.PDFObjectRuntimeException:
    Exception while calling ADS; Inappropriate WSIL; configure the
    destination path
    correctly./ncom.sap.esi.esp.service.server.query.discovery.ExtendedServiceException:
    com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested
    URL was:"Connect to https://host:https-port/inspection.wsil/"
    I have checked the security log file and it shows:
    LOGIN.FAILED
    User: N/A
    IP Address: 192.165.90.102
    Authentication Stack: sap.com/tcesiesp~wsil*inspection.wsil
    Also, ran Security Troubleshooting Wizard from NWA and reproduced the problem while collecting these traces. There were some entries like:
    Login failed!
    [EXCEPTION]
    java.security.PrivilegedActionException:
    com.sap.engine.services.security.exceptions.BaseLoginException: Cannot
    authenticate the user.
    Caused by: com.sap.security.core.server.jaas.DetailedLoginException:
    Received no SAP Authentication Assertion Ticket.
    Received no SAPLogonTicket. Authentication stack:
    [sap.com/tcesiesp~wsil*inspection.wsil].
    Any idea how I can solve this? Anybody got this error?
    Thanks,
    Shitij

    Opened an OSS message with SAP and they told me that the certificates being generated from NWA are in a different format from what is accepted in user store.
    So, generated new certificates from OS level using sapgenpse and now it worked.

  • INVALID RESPONSE CODE 301

    Hi Techie's..
    In a webdynpro application I have used a Web Service model to get backend data; we have a cluster environment in Test (two server nodes linked with load balancing server and a sap dispatcher).
    Using visual administrator --> web services container, the endpoint & WSDL is set to the load balancing server. The webdynpro application fails with this error
    The initial exception that caused the request to fail was:
    com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 301 while accessing URL: http://lumnrs61.luminus.int:8143/inspection.wsil. Response Message: MOVED PERMANENTLY. Content Type: text/html; charset=utf-8. Body Content: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>301 MOVED PERMANENTLY</TITLE> </HEAD><BODY>
    Moved Permanently
    The document has moved here </BODY></HTML>
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:220)
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:120)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
    at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
    ... 80 more
    The application works fine in development environment, the endpoint points to the single server node.
    Can you let me know how to resolve this issue, we need to have this scenario of load balancing in place such that the web services also get invoked in a load balanced mode.

    Hey buddy...
    The address is changed.... this code is a standard http status.
    Is a warning, saying that your target is not in this place... target changes....
    try to verify this target... under your web browser, or telnet, tracert... whatever... check what is your return...
    Regards...
    =)

  • Invalid Response Code 401 when calling webservice via wsil

    Hi Experts,
    I have some web services which use destinations which I maintained in Visual Admin under Web Service Security. For authentication I use SAP Logon Tickets. Everything worked fine until I applied SPS14 for nw04s. No I suddenly get the following Exeption:
      com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 401 while accessing URL: http://localhost:80/inspection.wsil. Response Message: Unauthorized. Content Type: text/html. Body Content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  No login module succeeded.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  No details available</pre></font></td> </tr> </body> </html>
        at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:220)
        at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:120)
        at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
        at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
        at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
        ... 58 more
    The strange thing is, when I set the destination to use basic authentication with user and pwd it works again. But then the given user account is used for authentication and not the account of the calling user. If I return to logonTickets it works correctly! When I restart the server I get the error again.
    Strange problem. I have this problem since I applied SPS14. Do I have to configure something additionally? I know there were changes made in the topic of web service security. Or could it be a bug of sps14?
    Any help is appreciated!
    Regards Manuel

    Hi,
    in sps14 the security levels are a bit stricter than before. So in my case, I was not allowed to access the inspection.wsil with web services. I solved my problem by changing the
    [sap.com/com.sap.engine.services.webservices.tool*inspection.wsil] authentication stack (policy configuration) to look like this:
    EvaluateTicketLoginModule SUFFICIENT
    BasicPasswordLoginModule REQUIRED
    CreateTicketLoginModule SUFFICIENT
    and additionally I had to map the WSIL_SecurityRole security role only to the
    role SAP-J2EE-Engine/all.
    I hope this helps.
    Regards Manuel

Maybe you are looking for

  • How do i print a contact sheet of pictures?

    how do i print a contact sheet of pictures?

  • Wifi certificate problem - free public wifi

    Hi I use a free public wifi access point at work. When I connect, there is a popup that states: The certificate for this website is invalid. Tap accept to connect to this website anyway. If I accept, I get redirected to https://1.1.1.1/ , where I hav

  • Multiple hero images from one thumb?

    Hello all, I have been trying to figure this out for a while and it's driving me crazy (In Muse). Normally when I click on a thumb in a slideshow it shows just one hero image of the thumb (which makes sense). But I really want to have it so that if y

  • What  type of Technical system ?

    Hi All, Could you please tell me, what type of Technical system ( Web AS ABAP, Web AS Java Standalone,Third-Party ) we have to create for Webservice -> XI -> R/3 or JDBC scenario. Regards Sara

  • EL from blank to null

    I was helping a coworker setup his machine today and had an interesting issue arise. I am curious why this happens. var1 equals the blank string or "" var2 "test" <c:set var="result" value="${var1}${var2}" scope="page" />the el-api.jar and the jstl.j