How to Implement HTTP Request Status Code Processing

I actually have two questions. First, I wondering how to add multiple status code processing to an http request. Secondly, I was wondering how to go about using alternate http requests to different servers in case the primary server is down. What kind of parameter would the program use to determine that the server is unavailable and switch to another server??
Currently, the program I've written calls an rdf server (http://www.rdfabout.com/sparql) using a sparql query,
the server returns an xml string, the program parses it, and calculates numbers
from the string. The program works, but the problem is that the server is down occasionally.
When the server is down, we need to add calls to another server to
increase reliability. So, the next task is to call this server:
http://www.melissadata.com/lookups/ZipDemo2000.asp
I need to do exactly the same things I did with the rdf server. The
difference will be constructing a request and a bit different parsing of
the response.
current SPARQL query is defined as follows:
PREFIX dc:  <http://purl.org/dc/elements/1.1/>
PREFIX census: <http://www.rdfabout.com/rdf/schema/census/>
PREFIX census1: <tag:govshare.info,2005:rdf/census/details/100pct/>
DESCRIBE ?table WHERE {
<http://www.rdfabout.com/rdf/usgov/geo/census/zcta/90292> census:details
?details .
?details census1:totalPopulation ?table .
?table dc:title "SEX BY AGE (P012001)" .
}current HTTP Request is defined as follows:
import java.net.*;
import java.net.URL;
import java.net.URLConnection;
import java.io.*;
import java.io.DataOutputStream;
import java.io.BufferedReader;
import java.io.StringReader;
import java.io.InputStreamReader;
import java.io.PrintStream;
import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import java.util.Arrays; 
public class MyConnection
     static Scanner sc = new Scanner(System.in);//allows user to input zipcode
    public static void main(String[] args) throws Exception
         int zip;//zipcode is declared as integer format
        //User defines zip through input
        //proceed to put SPARQL query into string, which is then used to call the server
        String requestPart1 =
        "query=PREFIX+dc%3A++%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%3E+%0D%0APREFIX+census%3A+%3Chttp%3A%2F%2Fwww.rdfabout.com%2Frdf%2Fschema%2Fcensus%2F%3E+%0D%0APREFIX+census1%3A+%3Ctag%3Agovshare.info%2C2005%3Ardf%2Fcensus%2Fdetails%2F100pct%2F%3E+%0D%0A%0D%0ADESCRIBE+%3Ftable+WHERE+%7B+%0D%0A+%3Chttp%3A%2F%2Fwww.rdfabout.com%2Frdf%2Fusgov%2Fgeo%2Fcensus%2Fzcta%2F";
        String requestPart2 = "" + zip; // zipcode is transformed from int to string format and plugged into SPARQL query here
        String requestPart3 =
        "%3E+census%3Adetails+%3Fdetails+.+%0D%0A+%3Fdetails+census1%3AtotalPopulation+%3Ftable+.+%0D%0A+%3Ftable+dc%3Atitle+%22SEX+BY+AGE+%28P012001%29%22+.+%0D%0A%7D%0D%0A&outputMimeType=text%2Fxml";
        String response = "";
        URL url = new URL("http://www.rdfabout.com/sparql");//designates server to connect to
        URLConnection conn = url.openConnection();//opens connection to server
        // Set connection parameters.
        conn.setDoInput (true);
        conn.setDoOutput (true);
        conn.setUseCaches (false);
        // Make server believe we are form data…
        conn.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
        DataOutputStream out = new DataOutputStream (conn.getOutputStream ());
        // Write out the bytes of the content string to the stream.
        out.writeBytes(requestPart1 + requestPart2 + requestPart3);
        out.flush ();
        out.close ();
        // Read response from the input stream.
        BufferedReader in = new BufferedReader (new InputStreamReader(conn.getInputStream ()));
        String temp;
        while ((temp = in.readLine()) != null)
             response += temp + "\n";
        temp = null;
        in.close ();
        //parsing stuff is taken care of after here
}What remains now is to:
1) add status code processing: notify if the server is not available, ect.
2) add ability to connect to additional server if primary server is down.
I'm thinking an if/else statement, which I've tried a few different ways,
but I don't quite know how to implement that...Also trying to add the
status code processing/error handling, but I'm not sure how to do that
for multiple/different errors, such as 404, 503, 504, ect.. try/catch statements?
So yeah, just been scratching my head on this trying to figure out how to work it..
If you can help me out on this, I've been going nuts trying to figure this out...

I think your issue comes form the fact that you are not casting URLConnection to HttpURLConnection.
Doing the cast would allow you to use getResponseCode() - among other methods - and test for a response different than 200.
Read: [http://mindprod.com/jgloss/urlconnection.html|http://mindprod.com/jgloss/urlconnection.html]

Similar Messages

  • How to Record HTTP Requests and POST data

    Hai all..
    Can anyone help me to solve this issue..
    How to Record HTTP Requests and POST data by using java..
    regards
    Ranjith Nair

    You should read about TCP and splitting data stream into packets and learn how to understand packet header to assemble stream from packets.
    Actually there are few different stages:
    1. detect handshake to start new empty stream within your code;
    2. detect subsequent packets and assemble stream (there are counters within packet header and they will help).
    After creating start of TCP stream (usually 1KB is enough) you'll be able to detect is it HTTP request/header or no and start logging or ignoring packets for this connection.

  • AdControl error: HTTP error status code: NotFound (404)

    For over a week now, a Silverlight WP 8 app with an AdControl configured for "test_client" continues to report this error and thus no bing ad visible either while running from an emulator (8.1 512) or from a WP 8 device. If I change the AdUnit
    to use a PubCenter ID it works fine on the device and ads are displayed. The emulator connects to the Internet just fine via IE.
    Could the ad server not be responding to the "test_client"?
    Could someone let me know if it has worked recently for them? I tried contacting MS and no one seems to have an app configured with the test ad... I could give MS so many helpful suggestions. But looking at the hundreds of un-answered posts here - I
    suppose they're busy with Windows 10...and have they asked developers if they're willing to put up everything on the cloud? all the while people still waiting to see the 'start' button on Windows 9?
    here's the trace
    Ad Err: NetworkConnectionFailure,Microsoft.Advertising.Shared.AdException: HTTP error status code: NotFound (404) ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned
    an error: NotFound.
       at System.Net.Browser.ClientHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
       at System.Net.Browser.ClientHttpWebRequest.<>c__DisplayClasse.<EndGetResponse>b__d(Object sendState)
       at System.Net.Browser.AsyncHelper.<>c__DisplayClass1.<BeginOnUI>b__0(Object sendState)
       --- End of inner exception stack trace ---
       at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
       at System.Net.Browser.ClientHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Advertising.Shared.HttpRequest.EndGetResponse(IAsyncResult asyncResult)
       at Microsoft.Advertising.Shared.WebRequestWrapper.WebRespCallback(IAsyncResult result)
       --- End of inner exception stack trace ---
    I do love Windows - don't get me wrong - I'll check my 2nd dev system soon.

    Hi Ravi,
    Reward points if this helps
    The J2EE server might be overburdened and cannot accept the call. The 'Receive'servlet is not called. You will find further details on the HTTP status code definitions under "http://www.w3.org". Check the accessibility of the server by calling: http://<hostname>:<port>/MessagingSystem/receive/AFW/XI.
    The Listener Beans of the affected connection (AFW, Marketplace, BC,see above) were not registered or the log-specific Event Handler was not found.
    Check out this trouble shooting guide for SAP XI...Section 7.4.4.4 talks about exactly the same problem:-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd5950ff-0701-0010-a5bc-86d45fd52283
    Reward points if this helps
    Regards
    Pragathi.

  • How to implement HTTP Streaming for Flash Player 10.1 ?

    Hi there,
    I have been developing a streaming video player application in Flash Builder 4, and have been really excited about the HTTP Streaming functionality now available in Flash Player 10.1.
    Unfortunately, there seems to be an extreme dearth of materials on how to actually implement HTTP Streaming both server side and client side. Does anyone have a straightforward tutorial/example of how to implement HTTP Streaming from start to finish, or do any of the Adobe Developers plan on releasing documentation for this?
    I've looked through the BETA Actionscript 3.0 API Documentation and noticed the new NetStream.appendBytes() and NetStream.appendBytesAction(), which I suspect are involved in HTTP streaming. I also saw a sketchy introduction from Ryan Shin on the Open Source Media Framework (OSMF) website (https://admin.na3.acrobat.com/_a204547676/p96986524?launcher=false&fcsContent=tr ue&pbMode=normal), but it seems to be lacking in details regarding how to actual implement a "file packager" on the server or how to open an HTTP Stream on the client side.
    Any help would be much appreciated.
    Thanks!
    Ho Tuan

    It is unlikely that you will get an answer here in the Flash Player (release version) forum.  Better try in the appropriate Flash, Actionscript, or FP 10.1 beta forum http://forums.adobe.com/community/labs/flashplayer10/flashplayer10.

  • How to monitor Http Request and Response when load testing is going on

    Hi,
    can any one please let me know how to monitor http request sent and response received for each virtual ID when a load test is going on ?
    Thanks,

    You used to be able to see what the VUs "see" using the "VU Monitor" (it would only do a simple rendering of the HTML but it served it's purpose). However this was replaced (in v12 I think?) by the "VU Log". While this offers simlilar functionality, I have had problems getting to see the same level of detail. You may need to use the "debug" modes. Also check the "Content" tab within the VU Logs (it is the closest equivalent to the HTML you would see in the responses in the old VU Monitor).

  • Firefox 3.6.3, windows 7 HP,flash player 10.1.53.64---unexpected http response-status code 13030--

    windows 7 HP, Firefox 3.6.3,flash player 10.1.53.64--unexpected HTTP response-status code 13030- any idea on what to do?
    == URL of affected sites ==
    yahoo mail

    Same problem here! Actually took me quite awhile to figure out what the hell was causing the slight screen flicker when going on Youtube, but I'm confirming this. With Hardware Acceleration enabled, Flash changes GPU Memory (VRAM) frequency and locks it so that it can't be changed until the video page is closed. Mine downshifts from 950 down to 500, which is quite of an achievment as for some reason this card with it's fancy schmancy GDDR5 memory isn't too keen on underclocking the VRAM..
    Hardware:
    CPU: Intel Core 2 Quad Q6600 2,4Ghz @ 3 Ghz
    RAM: 4GB A-Data 800mhz
    GPU: ATI Redeon HD 4870
    GPU  clock settings:
    - GPU: 790 MHZ/ default 750 MHZ
    - VRAM 950  MHZ/ default 900 MHZ
    MB: MSI P35 Neo Combo
    Software:
    OS: Windows  7 Ultimate x64
    Browser:    Firefox 3.6.3 and it's speedy variant Pale Moon (http://www.palemoon.org)

  • HTTP Response Status Codes: GET (retrieve), POST (create), PUT (modify), and DELETE (REST, Bulk, Any API)

    Many of us, who are starters, starting to wonder when reading any API documentations or starting out with your first program built to make any of the API calls, what do all error codes means, when I get many different types of response from running the program/script. The only reason I thought about sharing this is because I know how motivation plays a key role when dealing with Eloqua platform and building components on top. This extends the functionality beyond what is already out of the box.
    I put together a table that explains these in details. I hope you can benefit in resolving issues as you venture in your journeys. This is a very common chart that can be seen across many platform REST APIs. Idea was to have it here because the audience are not always the same.
    Response Code
    HTTP Operation
    Response Body Contents
    Description
    200
    GET, PUT, DELETE
    Resource
    No error, operation successful.
    201 Created
    POST
    Resource that was created
    Successful creation of a resource.
    202 Accepted
    POST, PUT, DELETE
    N/A
    The request was received.
    204 No Content
    GET, PUT, DELETE
    N/A
    The request was processed successfully, but no response body is needed.
    301 Moved Permanently
    GET
    XHTML with link
    Resource has moved.
    303 See Other
    GET
    XHTML with link
    Redirection.
    304 Not Modified
    conditional GET
    N/A
    Resource has not been modified.
    400 Bad Request
    GET, POST, PUT, DELETE
    Error Message
    Malformed syntax or a bad query.
    401 Unauthorized
    GET, POST, PUT, DELETE
    Error Message
    Action requires user authentication.
    403 Forbidden
    GET, POST, PUT, DELETE
    Error Message
    Authentication failure or invalid Application ID.
    404 Not Found
    GET, POST, PUT, DELETE
    Error Message
    Resource not found.
    405 Not Allowed
    GET, POST, PUT, DELETE
    Error Message
    Method not allowed on resource.
    406 Not Acceptable
    GET
    Error Message
    Requested representation not available for the resource.
    408 Request Timeout
    GET, POST
    Error Message
    Request has timed out.
    409 Resource Conflict
    PUT, PUT, DELETE
    Error Message
    State of the resource doesn't permit request.
    410 Gone
    GET, PUT
    Error Message
    The URI used to refer to a resource.
    411 Length Required
    POST, PUT
    Error Message
    The server needs to know the size of the entity body and it should be specified in the Content Length header.
    412 Precondition failed
    GET
    Error Message
    Operation not completed because preconditions were not met.
    413 Request Entity Too Large
    POST, PUT
    Error Message
    The representation was too large for the server to handle.
    414 Request URI too long
    POST, PUT
    Error Message
    The URI has more than 2k characters.
    415 Unsupported Type
    POST, PUT
    Error Message
    Representation not supported for the resource.
    416 Requested Range Not Satisfiable
    GET
    Error Message
    Requested range not satisfiable.
    500 Server Error
    GET, POST, PUT
    Error Message
    Internal server error.
    501 Not Implemented
    POST, PUT, DELETE
    Error Message
    Requested HTTP operation not supported.
    502 Bad Gateway
    GET, POST, PUT, DELETE
    Error Message
    Backend service failure (data store failure).
    505
    GET
    Error Message
    HTTP version not supported.
    Hope this helps. Original post: REST API Status Codes and Complete REST API Tutorial with Status Codes.
    Thank
    Amit

    Hi, I am trying to PUT to update contact info and I get following error:
    2015-01-16 11:00:17,970 INFO [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(97) | accessHttpsPut.url=https://secure.eloqua.com/API/REST/2.0//data/contact/7606838, text={"id":"7606838","accountName":"openIdStr001","emailAddress":"[email protected]","type":"Contact"}
    2015-01-16 11:00:18,931 ERROR [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(140) | ClientProtocolException
    org.apache.http.client.HttpResponseException: Request is malformed.
    Is there any idea?
    Thanks so much.
    Sincerely.

  • HTTP 414 Status code for POST messages greater than 4096 bytes.

    Hello,
    I am using Sun One 6.0 sp2 and Weblogic 6.1 sp3 for my application. All the requests
    are being sent to the Weblogic server using the NSAPI plug-in.
    For all POST messages with size greater than 4096 bytes, I am getting a HTTP Status
    Code 414.
    I have set the MaxPOSTSize to 10240 both on the Weblogic server side, but it still
    gives same error.
    Can someone please guide me as to how to enable processing of POST messages greater
    than 4096 bytes ?
    Thank You.
    Sanjay.

    Hi, I am trying to PUT to update contact info and I get following error:
    2015-01-16 11:00:17,970 INFO [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(97) | accessHttpsPut.url=https://secure.eloqua.com/API/REST/2.0//data/contact/7606838, text={"id":"7606838","accountName":"openIdStr001","emailAddress":"[email protected]","type":"Contact"}
    2015-01-16 11:00:18,931 ERROR [main] oracle.eloqua.connector.eloqua.EloquaConnector.putWithBasicAuth(140) | ClientProtocolException
    org.apache.http.client.HttpResponseException: Request is malformed.
    Is there any idea?
    Thanks so much.
    Sincerely.

  • How to intercept Http requests by writing an App Server plugin?

    Hi all,
    My requirement of "Application Server plugin/filter" is to intercept all Httprequests coming to an
    Application Server instance (and not webserver), get the related information from the request, do whatever
    i want to do and then forward the request based on the info available in the request header to any
    webapplication or EAR deployed in the application server.
    I do not want to implement as a Servlet filter in a webapp. which is intrusive to the webapp.
    as we are aware, Servlet Filters can be attached to resources in a Web application and are configured in the
    web.xml file.
    I have tried out my requirements in Tomcat as follows, it works:
    In Tomcat, Valves are attached to a Tomcat container and are configured using a <Valve> element in the
    server.xml file.
    We have modified RequestDumperValve Filter ( source available) class extending Valve to intercept Http
    requests.
    I perform whatever i want to do in this custom Filter and then able to forward to the next valve in the valve
    chain of Tomcat container. I have Configured this valve in server.xml and it works fine.
    My queries are:
    1. Can i do it the same thing in WebLogic application server or other IBM Websphere application server ?
    2. Do the commercial appservers expose their APIs ( e.g. like Valve or Filter in Tomcat ) such that i can
    implement an application server plugin ?
    i.e. Are there any such Filter classes available which will intercept the Http request processing pipleine
    in application server ( precisely, its web container )
    If so, can you pls provide pointers for WebLogic application server and IBM Webpshere application server
    3. Is this against J2ee specs ?
    Appreciate if you can provide me any clues, tips, solutions, pointers regarding this problem.
    thanks and regards
    rajesh

    Try proxyHandler property and implement a custom ProxyHandler.
    ex:
    <property name="authPassthroughEnabled" value="true"/>
    <property name="proxyHandler" value="com.sun.enterprise.web.ProxyHandlerImpl"/>
    null

  • How to Intercept Http requests by Application Server plugin ?

    Hi all,
    My requirement of "Application Server plugin/filter" is to intercept all Httprequests coming to an
    Application Server instance (and not webserver), get the related information from the request, do whatever
    i want to do and then forward the request based on the info available in the request header to any webapplication or EAR deployed in the application server.
    I do not want to implement as a Servlet filter in a webapp. which is intrusive to the webapp.
    as we are aware, Servlet Filters can be attached to resources in a Web application and are configured in the web.xml file.
    I have tried out my requirements in Tomcat as follows, it works:
    In Tomcat, Valves are attached to a Tomcat container and are configured using a <Valve> element in the server.xml file.
    We have modified RequestDumperValve Filter ( source available) class extending Valve to intercept Http requests.
    I perform whatever i want to do in this custom Filter and then able to forward to the next valve in the valve chain of Tomcat container. I have Configured this valve in server.xml and it works fine.
    My queries are:
    1. Can i do it the same thing in SunONe application server or other IBM Websphere application server ?
    2. Do the commercial appservers expose their APIs ( e.g. like Valve in Tomcat ) such that i can implement an application server plugin ?
    i.e. Are there any such Filter classes available which will intercept the Http request processing pipleine
    in application server ( precisely, its web container )
    If so, can you pls provide pointers for SunONE application server and IBM Webpshere application server
    3. Is this against J2ee specs ?
    Appreciate if you can provide me any clues, tips, solutions, pointers regarding this problem.
    thanks and regards
    rajesh

    Thanks for the info, vbk.
    Actually we are looking filers not at the servlet level in a web application.
    We are looking ways for the filter to work at web container level across different web applications... That is whatever comes to the application server, should hit at this filter ,then we perform some processing, analysis and then continue for the correspnding web application
    thanks
    rajesh

  • How to test HTTP request for Sender SOAP Channel

    Hi all,
    We are testing Soap requests from SOAP UI tool.
    We are able to call HTTPS calls from SOAPUI tool, but unable to call HTTP request.
    we eanbles ssl and able to post https requests.
    please advice .
    Thanks
    RGDASARI

    Hi Stefan, I configured the way you have put it, but I get the error "no receiver could be determined"
    Here are my settings:
    Sender service - HTTP_SEND
    sender o/b interface - PROD_MSG_INT_OB_ASYNC
    receiver service - FILE_RECEIVE
    receiver i/b interface - PROD_MSG_INT_IB_ASYNC
    receiver communication channel - FILE adapter
    JAVA script:
    String Party       = "MFC";
    String Service     = "HTTP_SEND";
    String XINameSpace = "mfc%3Anamespace1";
    String Interface   = "PROD_MSG_INT_OB_ASYNC";
    String Url   = "http://nemo:8000/sap/xi/adapter_plain?";
    XML DATA File:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:PRODUCT xmlns:ns0="mfc:namespace1">
    <ID>E</ID>
    <NAME>thank god</NAME>
    <BRAND>SOME BRAND</BRAND>
    </ns0:PRODUCT>
    Stefan Am I missing anything?
    XML error message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    It would be great if you have solution for this.
    Regards
    felix

  • Appropriation Request: Status 'In process' after all approvals (IMA11)

    Hello,
    We are using IMA11 and associated workflow tasks to create and approve a appropriation request. Occasionally, the status of the appropriation request wouldn't change to 'Approved' even after all the approvals. When we look at the corresponding workflow, the status of the task "New status for appropriation requests" would be 'In process'. There would be no error messages shown in the workflow log and there won't be any short dumps.
    The same appropriation request, when restarted for the second or third time, would complete without any issues and the status of the appropriation request would change to 'Approved'.
    Can someone let me know what could be the reason for occasional failure of the appropriation request workflow?
    Thanks,
    Surya

    Here is another issue for the same workflow approval process.
    There are 4 approval levels. Identifying the agent and the approval happens in a loop.
    Occasionally, the workitem fails with the message 'Work item XXXXXXXX locked by user XXXXXXX (enqueue error)' The workitem is  getting locked by the previous approver. Is there any specific reason for this lock or do I need to add a wait step for each loop?
    The approver, approves the workitem from his Business Workplace. I checked other threads, but I am not able to figure out a reason. These are all synchronous processes.
    Thanks,
    Surya

  • How to restrict the Request and Response process in that cookies should be Secure way SAP Portal 7.0 ?

    Dear Experts,
    Please any one can help me i am getting one security issue.Some third party tools using and hacking the Request and Response of the Server.That time there taking one successfully Request (GET http://1.1 302 found)   and Response (http://1.1 200 ok).In this request based on again there giving some invalidate credential in that time server giving request replacing for success fully Request that time there login in to portal successfully(Bypassing).In this Request level only getting the information for URL and set-cookies only.Here any process is there to restrict the set cookies.like JSESSIONMARKID and JSESSIONID SAP_LB.
    We are using 7.0 Version and SP 12. Please share you are solutions because of this is very high problem here.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao. 

    Dear Samuli,
    Thanks for the Replay,
    We are using HTTPS and SSL confined but man in the middle types of attack is happening here there using one tool based one there taking the Request and Response.The below given cookie are available in that request.
    According to this , set-cookie: JSESSIONMARKID , JSESSIONID and MYSAPSSO2 values are user login time it will change every time  are not.
    After  capturing above response HTTP/1.1 302 etc , when user gives valid credentials and logs in ,
    and now ill give wrong password and wrong user id and on click of log on button, i can intercept the request and response coming from the server and when i replace this valid response stil i am able to loggin in to the portal , which should not happen as JESSIONMARKID is changed , server should not allow , but it is loggin in.Standard Login page also allowing to login in this case.
    My server version is EP 7.0 SP 12.
    Please suggest a solution so that if we restric the hacker at this stage , no matter he can never hijack the sesiona and login  with invalid username and  password.
    Thanks for Advance
    Thanks and regrades,
    Durga Rao.

  • How to implement bapi for transaction code f-02 for multiple line items

    Hi All,
    I am having one requirement to of implementing bapi for tcode f-02.
    I have identified the name of the badi e.i.  BAPI_ACC_GL_POSTING_POST.
    but i dont have any idea how implement it.
    i have multiple line items for one header.
    Please help me in this.
    Regards,
    Shoaib.

    HI
    In recording once u save, the recording comings out the transaction.
    If u want the pop-up to display before save. Then in recording also
    after entering all data and before Save press enter or do check.Try
    this way after that save the transaction.
    Regards,
    Raghu.

  • How to enable https in Oracle BPEL Process Manager 10.1.2

    Hi,
    I have a few security related questions surrounding BPEL process manager.
    1. Does the BPEL engine have the capability to invoke a web service using https (HTTP over SSL)? Does it automatically do that if partner link URI starts with https:// ?
    2. If not, what needs to be done to enable accessing a https based web service?
    Thanks,
    Vidya

    Eric,
    I had applied the steps specified in the URL and modified the files default-web-site.xml, secure-web-site.xml and server.xml in directory Ora_Home\j2ee\home\config. Able to invoke the application deployed in Ora_Home\j2ee\home\applications successfully using https.
    For securing BPEL process I had followed the same steps by modifying files default-web-site.xml, secure-web-site.xml and server.xml in directory Ora_Home\j2ee\OC4J_BPEL\config. While invoking the BPEL Processes using https protocol I am facing error “HTTP 500 - Internal server error”, after the security alert popup.
    Do I need to do any other configurations for securing BPEL processes deployed in Ora_Home\integration\orabpel\domains\default\deploy directory?
    Please assist me on this.
    Thanks,
    Vidya

Maybe you are looking for

  • Purchase orders and their open order quantity with their due delivery date

    hi friends i need to build a query where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done this. ME2M serves my requirement upto little but i cannot see the delivery dates in that re

  • Can't make an AVI file

    I'm trying to create an AVI file for someone, but I just can't seem to get it to work. I currently have it encoded in a MOV wrapper, and when I run it through MPEG Streamclip, it comes out with no audio, or, depending on the settings, QT complains th

  • Substitution rule for Business place and section code

    Hello Friends, We have a business place and a section code. I want to write a substituion rule for vendor invoice for business place and section code. When i see in header, i am not find BUPLA and SECCO in header. I am finding them in line item. How

  • What's the best option when the internal hard drive is full?

    Hi all, I am running an iMac 27" with a 2 TB hard drive, which is supported by a 5 GB external RAID for backup (Time Machine and Aperture Vault). At the moment I have RAW masters located on the iMac in a special folder and linked into Aperture (refer

  • Renaming FLVPlayback files

    Hi: I am trying to use multiple video clips to work on a flash project. All the video clips should be imported to the same flash project. However, when doing it, every video clip is named automatically FLVplayback. The problem is when I try to use tw