Get Response after HTTP Request

Is it possible to display the response after a http request in forms? the response comes from a kind of reader which sends the reading-result as parameters after a request.

Hello Henry,
We are firing the CREATE/POST operation in the BATCH mode exactly with the same type of PAYLOAD what you have shared here and we are correctly getting response.
1st operation was successful and we have got content with 201 Created Status Code.
2nd operation failed and got 400 bad request with some error.
3rd operation was successful and we have got the content with 201 Created Status Code.
I am unable to replicate your problem in my case. Everything is working fine for me.
Your problem is strange.
Regards,
Ashwin

Similar Messages

  • Possible to get runtime info (Http request, response) from a WD4A Appl.?

    Hey,
    In a BSP / JSP application, it is possible to retrieve and set the runtime data (http request and response). For Example:
    response.setContentType("application/x-suvaagent;charset=iso-8859-1");
    response.setHeader("Cache-Control", "public");
    response.getWriter().print("<Request>");
    response.getWriter().print("</Request>");
    Is it possible to do this in a WebDynpro (ABAP) Application?
    The requirement is to construct a file using http response method. This file contains parameters like business data etc. The file type is already registered as a MIME type which is associated with a standalone program.
    When sending the http response, the file will be filled out with needed data and the associated program will be called using the data in the file.
    I haven't found out how to do this in web dynpro application, since we use WD4A in our project.
    Thanks and Regards,
    Liang

    In Web Dynpro you do not have direct access to the Request or Response object. This is part of the design of the abstracted rendering and makes things like the SmartClient and the AJAX based Delta Rendering possible.
    In Web Dynpro you should use the FileDownload UI element or the CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a8d95673b12fe2e10000000a42189d/frameset.htm
    If you want more control over the response object for a download then I might suggest that you can create a cached response object, place it into the ICM cache and generate a unique URL for it.  You can then fire a navigation plug or a LinkToURL to go to that cached response object.

  • How to display response of http request as a web page in ABAP?

    Hi all,
    In ABAP, we can use class <b>cl_http_client</b> to send a http requst and then got the response data as a XSTRING variable. Usually, the response data is the html source of a web page. How to display this web page within dynpro?
    I found we can use class <b>cl_gui_html_viewer</b> to display the web page of a URL or data in SAP web respository. Is there any way of using it to load response data in cl_http_client and display that web page?
    Thanks a lot.

    Welcome to SDN.
    1. use http_client->response->get_cdata( ).
    to get the response data in string format instead of xstring format.
    2. use FM CONVERT_STRING_TO_TABLE to covert the string to table of type W3HTML
    3. use method
    data: l_doc_url(255) type c.
          call method html_control->load_data
                      exporting
                         type         = 'text'
                         subtype      = 'html'
                      importing
                         assigned_url = l_doc_url
                      changing
                         data_table   = html_table.
    call method html_control->show_data
                      exporting
                         url       = l_doc_url.
    to load the html content and show it in cl_gui_html_viewer
    Regards
    Raja

  • Does client get response only when doGet return?

    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet {
        public void doGet(HttpServletRequest req, HttpServletResponse res)
                throws ServletException, IOException {
            PrintWriter out = res.getWriter();
            out.println("<html><body>Hello World!</body></html>");
            out.close();
            try {
                Thread.sleep(5 * 1000); //some time-consuming job
            } catch (InterruptedException ie) {}
    }hi,
    I was wondering if the client will get response from a servlet only when doGet method returns or when the writer is closed. In the code above, the client will get response after five seconds. If I have some time-consuming job and don't want users to wait until the job is finished, what should I do. Thanks in advance.
    Joey

    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class HelloServlet extends HttpServlet {
    public void doGet(HttpServletRequest req,
    req, HttpServletResponse res)
    throws ServletException, IOException {
    PrintWriter out = res.getWriter();
    out.println("<html><body>Hello
    dy>Hello World!</body></html>");
    out.close();
    try {
    Thread.sleep(5 * 1000); //some
    000); //some time-consuming job
    } catch (InterruptedException ie) {}
    }hi,
    I was wondering if the client will get response from
    a servlet only when doGet method returns or when the
    writer is closed. In the code above, the client will
    get response after five seconds. If I have some
    time-consuming job and don't want users to wait until
    the job is finished, what should I do. Thanks in
    advance.
    JoeyThe client will get the response when the response writer is flushed, which occurs automatically when the writer is closed, when a certain amount of data is written to the writer (a buffer is filled), or when you do it manually by calling out.flush().
    Note, there are some issues with Internet Explorer, I believe, where it has an internal buffer, so when you flush you writer it may not get written to screen until the request is complete (the output stream is closed). To get around this you need to write a big enough output to fill IE's buffer. Not particularly sure how big it is, but something like 10-12 lines or HTML usually does the job. It may be less...

  • HTTP Request error: 403 Client Error: Forbidden

    Greetings -
    I am trying to pull event data from blobs & tables storage using REST API built using python.
    After running script, I am getting following error -
    HTTP Request error: 403 Client Error: Forbidden
    Could someone please advise me how to fix this.
    Thank you

    Hi Satish,
    Would you be able to share some details about the error like the operation text?
    You could refer the following link for details on the types of 403 errors and why they might occur:
    http://azure.microsoft.com/en-in/documentation/articles/storage-monitoring-diagnosing-troubleshooting/#the-client-is-receiving-403-messages
    Regards,
    Malar.

  • SOAP Adapter Sender PI7.1: 400 Bad HTTP request

    Hello,
    I have a problem with a SOAP adapter sender communication channel.
    I'm trying to migrate a scenario from XI 3.0 to PI7.1 SP6 (PI_BASIS 2006_1_710 SAPKIPYN06).
    I can send messages successfully to the old system using the URL
        http://host:port/XISOAPAdapter/MessageServlet?channel=:BC_Name:CC_SOAP_Sender
    On PI7.1 I get
        400 Bad HTTP request
        Error: -21
        Version: 7010
        Component: HTTP_PLG
        Module: http_plgrt_mt.c
        Line: 5226
        Error Tag:
        Detail: illegal request version
    I have created a Sender Agreement, generated the wsdl from that and tried the URL in there.
    Surprisingly it has the old format, namely
        http://host:port/XISOAPAdapter/MessageServlet?senderParty=&senderService=BC_Name&receiverParty=&receiverService=&interface=myInterface&interfaceNamespace=urn:my.Interface:ns
    although the 7.1 documentation describes the ?channel=party:service:channel style only.
    Anyway, the result remains the same.
    I tried some other approaches like escaping the colons in the URL without success.
    The user has the role SAP_XI_DEVELOPER_J2EE assigned.
    Any idea what's wrong here?
    Thanks in advance
    Rainer

    >>In RWB the channel appears as "started but inactive".
    Yeah,it will be like that because you are posting messages directly to Integration server."Propose URL" does that.You are bypassing the adapter engine when you use the URL generated by "Propose URL" button.
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    The above blog gives the reason for this,if you want to bypass the adapter engine,then generate the URL as given in the above blog
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    This blog explains how to post message to adapter engine,here you need to change the URL,don't click on "Propose URL" button.You can monitor SOAP adapter in RWB only if you generate the URL as given in second blog
    The URL which is working for you in XI 3.0 is posting messages to adapter engine,so generate the URL in PI 7.1 in the same way,by following the second blog i have mentioned.
    Thanks
    Aamir

  • "http request error" - SQL call sometimes works, sometimes doesn't

    Hello everyone,
    A bit of a random question, maybe someone has an idea...
    I have a flex app that queries data from a mySQL service via http service. Overall, things work great! The queries are quick to return a result and without issues. But, when I view the website from my work PC, I get this error "HTTP Request Error", and none of the SQL calls work. Any ideas? I know my work has very tight security regulations, but I would still think it would be able to work.
    I can't get a better security message because I can't set up and run flex to debug the issue, all I get is "HTTP Request Error", so who knows what it could be. I have tested my website from about 15 computers/different networks, and they all work, except my work PC. Any ideas?
    And yes, the flash version is current.
    Thanks!

    it sounds like the work security is blocking it
    can you write a simple html page that fetches the data and displays it?It might give you a better idea what is happening behind flex

  • Way to record only HTTP requests

    Hi All,
    Is there anyway to record only record HTTP requests, I don't want to record any navigation or frames etc.
    please let me know.
    Regards,
    Ashok Chava.

    Ashok,
    The tool will record everything that the browser requests, and this includes all redirections and frame requests. There is a way to record a 'pure' http level script and ignore all the browser events that are usually used to create the script. In the Options->Recording->Proxy settings there is a "Record Navigations in external applications" checkbox. Please turn this on, and press the Start Button.
    Start IE or Firefox. I recommend you start firefox since it is much easier to manager multiply configurations. You can have IE and one firefox profile for day-to-day browsing, IM, ect..., and one firefox for e-tester recording. When firefox starts you should create a new "Proxy Recording" profile. In this profile change the firefox connection settings to use a Proxy Server localhost, port 7777
    Always start Firefox this way:
    "\Program Files\Mozilla Firefox\firefox.exe" -ProfileManager -no-remote
    Now when you start your regular script recording, and you have the etester proxy recorder turned on, you will get only raw http requests from the browser. As Dave mentioned, it is easiest to view these requests from the Navigation Editor.

  • How to get the number and response time of HTTP request through Weblogic?

    hi,
    does anybody know how to get the HTTP request information through Weblogic server, such as the number of HTTP request in 1 min and the average response time of request in 5 mins ?
    Or is there anyway i can do it through monitoring and get these data then? If so, please help tell me.
    Thanks in advance
    BTW, we don't have the 3rd-party monitoring tool here.

    Hi,
    tables: usr02, usr41.
    data: OPCODE_MODE_COUNT(1) TYPE X VALUE 3,
          modes like sy-index,
          u_MODES LIKE MODES.
    select * from usr02.
      select * from usr41 where BNAME = usr02-bname.
        CALL 'ThUsrInfo' ID 'OPCODE' FIELD OPCODE_MODE_COUNT
          ID 'TID' FIELD usr41-TERMID
          ID 'MODES' FIELD MODES.
        IF SY-SUBRC = 0.
          u_MODES = u_MODES + MODES.
        ENDIF.
      endselect.
      if sy-subrc = 0.
        write:/ usr02-bname, u_MODES.
      endif.
      clear u_modes.
    endselect.

  • OATS Enhancement: Verify the response contents of http requests which enclosed by begin/endconcurrent

    Recently I’m testing the Fluid UI with OATS 12.4.0.2.
    In this test, since the browser get all tiles in current page simultaneously, I have to simulate this behavior in OpenScript/OLT.
    Then I put all those http requests into a concurrent block ( marked by begin/endconcurrent statments) and it works fine.
    But this bring in a limitation: so far, the OATS doesn’t support to verify the http response contents if those http requests resided inside the concurrent blocks.
    So I did an enhancement for OpenScript to overcome this limitation. I think it might useful if you have similar test scenario.
    How to use it:
    Put the attached file ConcurrentHTTPService.java into your OpenScript project folder ( same folder as where your script.java living).
    Replace the alias line for http in script.java, the below is after replacement:
    //@ScriptService oracle.oats.scripting.modules.http.api.HTTPService http;
    @ScriptService ConcurrentHTTPService http;
      3. Put your http.get inside concurrent block as usual:
    http.beginConcurrent("Get_Tiles_Concurrently");
    //The below IDs are useful for later. We use this ID to identified the http requests inside the concurrent block.
    //If you dn’t have those IDs, it’s OK, we can use the full URL string (including all parameters)to do the same thing,
    //but the full URL is very long, and I hate the screen were occupied by URLs…
    http.get( 193, "http://Page1",...);
    http.get( 194, "http://Page2",...);
    http.endConcurrent("Get_Tiles_Concurrently");
      4. After endConcurrent statement, We can use the following methods to get the http response content by RecID or full URL:
    //Those methods should be used after the endConcurrent statement
    //Get the response contents:
    //Please reference the http.getLastResponseContent method for the explain of parameters.
    info("Resp 193/Page1:" + http.getLastResponseContentForConcurrent(193,Source.Html));
    info("Resp 193/Page1:" + http.getLastResponseContentForConcurrent("http://Page1",Source.Html));
    //Verify the response contents:
    //Please reference the http.AssertText method for the explain of parameters.
    http.AssertTextForConcurrent(193, "Text Match Name", "Key_word_should_appear_in_response_content_of_request_193/page1",
        Source.Html, TextPresence.PassIfPresent, MatchOption.Exact);
    http.AssertTextForConcurrent(("http://Page1", "Text Match Name", "Key_word_should_appear_in_response_content_of_request_194/page2",
        Source.Html, TextPresence.PassIfPresent, MatchOption.Exact);
    Done!
    Thank glenn.s in this thread: How to test asynchronous web service.

    I think I have the solution to your dynamic addressing problem, but I have a problem combining HTTP authentication with dynamic address resolution.
    I've got an external service that requires basic authentication and I've handled it successfully by adding a <MustSupportBasicAuthentication> block to the WSDL, as described in the article "Basic Authentication in HTTP SOAP BC" (http://wiki.open-esb.java.net/Wiki.jsp?page=HTTPBasicAuthentication). This works perfectly, causing the HTTP BC to send credentials every time it accesses the external service.
    Now I want to make the URL of this external service dynamic (i.e., read it at run time from a configuration mbean). I followed the example from the article "Using Dynamic Address feature" (http://wiki.open-esb.java.net/Wiki.jsp?page=UsingDynamicPartnerLinks), which shows you how to send an endpoint reference (EPR), in the form of an <EndpointReference> block. This also works fine.
    (I believe this last technique is the solution to your dynamic addressing problem. I've used both with and without BPEL. To use it outside of BPEL, you make a DocumentFragment out of the XML tree that begins with <EndpointReference> and pass it as an argument to the resolveEndpointReference method of your component context. This causes the JBI container to contact the HTTP BC, which understands the EPR.)
    My problem is this: once I've dynamically changed the target URL of the external service, the HTTP BC seems to forget that it requires authentication and no longer sends credentials.
    Has anyone else experienced this behavior, and if so how did you work around it?

  • Multiple HTTP Requests in for loop response handling

    i am working on stock market portfolio. a user saves his stock name , buy price ,etc .i've added this details in database.but while viewing his portfolio he should even get the current price of d stocks he has added. while retrieving i fetch all data from database set them in a bean and for each stock i make a HTTP Request. in result handler i event set the current price into the bean. Problem is my entire application is displayed with all the CurrentPrice fields with null.
    private function selectContacts():void
        trace("select before");
        stmt.sqlConnection = this.isDbConnected(conn);
        stmt.text = "SELECT * FROM stocks_t";
        stmt.addEventListener(SQLErrorEvent.ERROR, sqlError);
        stmt.addEventListener(SQLEvent.RESULT, sqlResult);
        stmt.execute();
        trace("select after");
    private function sqlResult(res:SQLEvent):void{
        httpServ = new HTTPService();
        data1 = stmt.getResult().data;
        stockList = new ArrayCollection();   
        for(var d:int=0;d<=data1.length-1;d++)
            myPortfolioBean = new MyProtfolioBean();
            httpServ.url = 'http://quote.yahoo.com/d/quotes.csv?s='+data1[d].stockName+'&f=snl1a';
            httpServ.method = 'GET';
            httpServ.addEventListener(ResultEvent.RESULT,yDataResult);
            httpServ.addEventListener(FaultEvent.FAULT,yDataFault);
            httpServ.showBusyCursor= true;
            httpServ.send();
            myPortfolioBean.stockNameB = data1[d].stockName;
            myPortfolioBean.buyB = data1[d].buy;
            myPortfolioBean.quantityB = data1[d].quantity;
            myPortfolioBean.totalQuantityAmountB = data1[d].totalQuantityAmount;
            myPortfolioBean.profitB = data1[d].profit;
            stockList.addItem(myPortfolioBean);
    public function yDataResult(evt:ResultEvent):void
        var s:String = evt.result as String;
        var a:Array = s.split(",");
        //To add to a form or individual fields
        lastTraded =  a[2].toString();
        lastTradedFloat = parseFloat(lastTraded);
        myPortfolioBean.currentB = lastTradedFloat;
        stockList.addItem(myPortfolioBean);
        //stockList.addItem({current:lastTradedFloat});
    the yDataResult() is called after the entire datagrid is displayed on screen as a result of which the CurrentPrice in datagrid column in null. Eg: user has added google ,yahoo,apple( CurrentPrice  is null for all three values) after some time three more rows (as a result of call to yDataResult) with CurrentPrice xx.xx displayed. I want merged results.

    hello ,
    "CurrentPrice" is "lastTradedFloat" sorry for the ambiguity.
    and u got my problem but there is an issue ..
    all the results are set using "sqlResult" except the "lastTradedFloat" which is set in "ydataResult".
    but i confused with HTTP ResultEvent Execution.
    first "sqlResult" method is called arrayCollection is populated. then result is displayed on screen.( lastTraded value is null then)
    then "ydataResult" executes again manipulating data in arraycollection.
    what i want is data in "sqlResult" and "ydataResult" to be set sequentially then callin my display page . such that display is correct.

  • Problems by getting info out of XML file with a HTTP request

    Hi,
    I have a litte question. I'm working on an application that works together with google maps. In my java code, I get general information about address out of one database table, and I want to add some geographic information like coordinates that I want to retrieve from Google Maps through HTTP:
    Right now my code is like:
    while (resultSet.next())
                             title = resultSet.getString("title").replaceAll("'","''").toUpperCase();
                             author = resultSet.getString("author").replaceAll("'","''").toUpperCase();
                             location = resultSet.getString("location").replaceAll("'","''").toUpperCase();
                             straatnaam = resultSet.getString("straatnaam").replaceAll("'","''").toUpperCase();
                             nummer = resultSet.getString("nummer");
                             landcode = resultSet.getString("landcode").replaceAll("'","''").toUpperCase();
                             address = straatnaam + " " + nummer + " , " + location + " " + landcode;
                             url = "http://maps.google.com/maps/geo?q=" + address + "&output=xml&key=+key+";
                             String query = "INSERT INTO data2 VALUES ('" + i + "','" + title + "','" + author + "','" + resultSet.getString("date1") + "','" + resultSet.getString("date2") + "','" + location + "','" + resultSet.getString("postcode") + "','" + straatnaam + "','" + resultSet.getString("nummer") + "','" + landcode + "','+something like url.getCoordX+','something like url.getCoordY')";
                             success = sql2.executeUpdate(query);
                             i++;
    Now I don't know how I can handle that. Is it possible to do an HTTP request in Java without using Java Script of servlets? I just want to get the X and Y coordinates out of the XML file.
    The XML file will be something like:
    <kml xmlns="http://earth.google.com/kml/2.0">
    <Response>
    <name>1600 amphitheatre mountain view ca</name>
    <Status>
    <code>200</code>
    <request>geocode</request>
    </Status>
    <Placemark>
    <address>
    1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA
    </address>
    <AddressDetails Accuracy="8">
    <Country>
    <CountryNameCode>US</CountryNameCode>
    <AdministrativeArea>
    <AdministrativeAreaName>CA</AdministrativeAreaName>
    <SubAdministrativeArea>
    <SubAdministrativeAreaName>Santa Clara</SubAdministrativeAreaName>
    <Locality>
    <LocalityName>Mountain View</LocalityName>
    <Thoroughfare>
    <ThoroughfareName>1600 Amphitheatre Pkwy</ThoroughfareName>
    </Thoroughfare>
    <PostalCode>
    <PostalCodeNumber>94043</PostalCodeNumber>
    </PostalCode>
    </Locality>
    </SubAdministrativeArea>
    </AdministrativeArea>
    </Country>
    </AddressDetails>
    <Point>
    <coordinates>-122.083739,37.423021,0</coordinates>
    </Point>
    </Placemark>
    </Response>
    </kml>
    many greetings and thanks in advance
    Mathias

    Hi, sorry for being not so clear. My question was actually if it is possible to do a HTTP request in Java without using servlets or being in Java Script. Actually my question was more specific for Google maps, because it didn't seem to work. It was my mistake, and already solved, to forget to make the webservice-call "URL-encoded". Because of that, I always received a HTTP 400 error, and that's why I thought it wouldn't be possible.
    But now I have another, perhaps for you guys stupid question. The result I get from the webservice URL is of the form:
    <?xml version="1.0" encoding="UTF-8"?>
    <kml xmlns="http://earth.google.com/kml/2.0">
    <Response>
         <name>nieuwelaan 38, Hamme</name>
         <Status>
              <code>200</code>
              <request>geocode</request>
         </Status>
         <Placemark id="p1">
              <address>Nieuwelaan 38, 9220 Hamme, Hamme, Belgium</address>
              <AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
              <Country>
                   <CountryNameCode>BE</CountryNameCode>
                   <AdministrativeArea>
                        <AdministrativeAreaName>Vlaams Gewest</AdministrativeAreaName>
                        <SubAdministrativeArea>
                             <SubAdministrativeAreaName>Oost-Vlaanderen</SubAdministrativeAreaName>
                             <Locality>
                                  <LocalityName>Hamme</LocalityName>
                                  <DependentLocality>
                                       <DependentLocalityName>Hamme</DependentLocalityName>
                                       <Thoroughfare>
                                            <ThoroughfareName>Nieuwelaan 38</ThoroughfareName>
                                       </Thoroughfare>
                                       <PostalCode>
                                            <PostalCodeNumber>9220</PostalCodeNumber>
                                      </PostalCode>
                                 </DependentLocality>
                            </Locality>
                        </SubAdministrativeArea>
                   </AdministrativeArea>
             </Country>
             </AddressDetails>
             <Point>
                   <coordinates>4.126295,51.097724,0</coordinates>
             </Point>
         </Placemark>
    </Response>
    </kml> Now I want to get the value of the coordinates field.
    This is my code:
    address = URLEncoder.encode(address, "UTF-8");
    urlString = "http://maps.google.com/maps/geo?q=" + address + "&output=xml&key=ABQIAAAA9fEXNK-q6vKpPU0JCmPPkxQjbVBpjtblJJYkDfbMo0e51afwehRmujfvBtJqx1Qehg6e6QgCRY8poA";
    url = new URL(urlString);
    XPath xPath = XPathFactory.newInstance().newXPath();
    Document domDoc = processData(url);
    path = "/kml/Response/Placemark/Point/coordinates";
    coord = xPath.evaluate(path, domDoc);
    System.out.println("coord : " + coord);Now, in the last line, by writing out the value of coord to my screen, I get the value "1", instead of "4.126295,51.097724,0" I would expect, anyone knows what I'm doing wrong?
    greetings
    Mathias

  • Autoscaling Application block for Azure worker role console app not working. Get error as The HTTP request was forbidden with client authentication

    I have written a console application to test the WASABi(AutoScaling Application Block) for my worker role running in azure. The worker role processes the messages in the queue and I want to scale-up based on the queue length. I have configured and set the
    constraints and reactive rules properly. I get the following error when I run this application.
    [BEGIN DATA]{}
        DateTime=2013-12-11T21:30:02.5731267Z
    Autoscaling General Verbose: 1002 : Rule match.
    [BEGIN DATA]{"EvaluationId":"4f9f7cb0-fc0d-4276-826f-b6a5f3ea6801","MatchingRules":[{"RuleName":"default","RuleDescription":"The default constraint rule","Targets":["AutoscalingWebRole","AutoscalingWorkerRole"]},{"RuleName":"ScaleUpOnHighWebRole","RuleDescription":"Scale
    up the web role","Targets":[]},{"RuleName":"ScaleDownOnLowWebRole","RuleDescription":"Scale down the web role","Targets":[]},{"RuleName":"ScaleUpOnHighWorkerRole","RuleDescription":"Scale
    up the worker role","Targets":[]},{"RuleName":"ScaleDownOnLowWorkerRole","RuleDescription":"Scale down the worker role","Targets":[]},{"RuleName":"ScaleUpOnQueueMessages","RuleDescription":"Scale
    up the web role","Targets":[]},{"RuleName":"ScaleDownOnQueueMessages","RuleDescription":"Scale down the web role","Targets":[]}]}
        DateTime=2013-12-11T21:31:03.7516260Z
    Autoscaling General Warning: 1004 : Undefined target.
    [BEGIN DATA]{"EvaluationId":"4f9f7cb0-fc0d-4276-826f-b6a5f3ea6801","TargetName":"AutoscalingWebRole"}
        DateTime=2013-12-11T21:31:03.7516260Z
    Autoscaling Updates Verbose: 3001 : The current deployment configuration for a hosted service is about to be checked to determine if a change is required (for role scaling or changes to settings).
    [BEGIN DATA]{"EvaluationId":"4f9f7cb0-fc0d-4276-826f-b6a5f3ea6801","HostedServiceDetails":{"Subscription":"psicloud","HostedService":"rmsazure","DeploymentSlot":"Staging"},"ScaleRequests":{"AutoscalingWorkerRole":{"Min":1,"Max":2,"AbsoluteDelta":0,"RelativeDelta":0,"MatchingRules":"default"}},"SettingChangeRequests":{}}
        DateTime=2013-12-11T21:31:03.7516260Z
    Autoscaling Updates Error: 3010 : Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.ServiceManagement.ServiceManagementClientException: The service configuration could not be retrieved from Windows Azure for hosted service with DNS prefix 'rmsazure'
    in subscription id 'af1e96ad-43aa-4d05-b3f1-0c9d752e6cbb' and deployment slot 'Staging'. ---> System.ServiceModel.Security.MessageSecurityException: The HTTP request was forbidden with client authentication scheme 'Anonymous'. ---> System.Net.WebException:
    The remote server returned an error: (403) Forbidden.
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       --- End of inner exception stack trace ---
    Server stack trace: 
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateAuthentication(HttpWebRequest request, HttpWebResponse response, WebException responseException, HttpChannelFactory`1 factory)
       at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    If anyone know why I am getting this anonymous access violation error. My webrole is secured site but worker role not.
    I appreciate any help.
    Thanks,
    ravi
      

    Hello,
    >>: The service configuration could not be retrieved from Windows Azure for hosted service with DNS prefix 'rmsazure' in subscription id **************
    Base on error message, I guess your azure service didn't get your certificate and other instances didn't have certificate to auto scale. Please check your upload the certificate on your portal management. Also, you could refer to same thread via link(
    http://stackoverflow.com/questions/12843401/azure-autoscaling-block-cannot-find-certificate ).
    Hope it helps.
    Any question or result, please let me know.
    Thanks
    Regards,
    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.

  • PO 7.4: NW BPM: HTTP Error response for SOAP request or invalid content-type.HTTP 200 OK

    Hi Experts
    I am trying to call NW BPM scenario(File to BPM) from PI, and using below adapter config.
    I am getting below error.
    Failed to call the endpoint: Error in call over HTTP: HTTP 200 OK
    SOAP: Call failed: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    SOAP: Error occurred: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: HTTP Error response for SOAP request or invalid content-type.; HTTP 200 OK
    Any idea how to fix this issue?
    Thanks,
    Sandeep Maurya.

    Hi Sandeep,
    Test the URL from your browser and check the proxy settings as well.
    Refer the below links
    SOAP: call failed: java.io.IOException: invalid content type for SOAP: TEXT
    SOAP: Call failed: java.io.IOException: Failed to get the input stream from socket: java.net.SocketException: Connection…
    Regards
    Bhargava Krishna

  • Page display:400 Bad HTTP request after implement WebDispatcher fo portal

    Dear all
       Our portal implement the WebDispatcher(7.0) to load balance for our
    portal system(include one CI and one Dialog instance,we use HTTP to
    load our portal request.).After that,some of the portal page display
    the information like this:
    400 Bad HTTP request
    Bad HTTP request
    Error: -21
    Version: 7000
    Component: HTTP_FILTER
    Date/Time: Thu Sep 27 10:26:51 2007
    Module: http_auth.c
    Line: 469
    Server: portal_WDP_02
    Error Tag:
    Detail: illegal request
    &copy; 2001-2005, SAP AG
    We logon the CI and the page all are right.So,some wrong with our
    WebDispatcher?Can you give us some advice?

    Hi,
    The answer from SAP:
    The maximum size of request URI is hard coded in kernel, and it cannot be configured by a parameter. The maximum size of PATH is 4096, and the maximum size of query string is 4096 as well.
    If the request is a post request, you have to ask the calling side to move some name value pairs from query string to the POST body.
    If it is a GET request, you have to ask the calling side to change it to POST and move value pairs to the POST body.
    Kind Regards

Maybe you are looking for

  • Account type M and G/L account with open item management not permitted

    Hi, I am getting the following error while applying VL02N (PGI) is "Account type M and G/L account with open item management not permitted".  Before I got an error like posting period and I have closed those posting periods 2008/08 and 2008/07.   Now

  • Problem with Nokia Asha 200 apps

    Hello guys, I am using Nokia Asha 200 and i am quite satisfy with this phone. The only drawback that i can find is that i cannot ue it social prebuild apps, like Social and i cannot use the e-mail app as well. When i open them and accept the license,

  • Wait events - how to read it

    Hi frnds, As, I'm beginner to performance tuning I dont know What action do i need to take? I mean how to read the output which I given below. this is the output suffering buffer busy waits. Could anyone please tell me CLASS TOTAL_WAITS TOTAL_TIME da

  • Problem with system settings for different project.

    Hello, I have something that pauses me a lot of problems. I work on different editing projects with deferent externe Hard Disc. I have 3 of those but on each one I have the video and sound and render...importation for one specific project. The thing

  • How do I download Audiobooks from i tunes to my IPOD shuffle?

    I bought a ipod shuffle at Walmart and was told to just plug it into my compter.  Its plugged in but I don't know where to start to download an audiobook.