Problem while scheduling info package using HR datasource.

hi experts,
while scheduling the info package i am getting the following error.
Delete init. request
REQU_D340A67OSEQ9A6Q2B20X9SIOM before running
init. again with same selection
I think by deleting the setup it will work...
am i right or is there any other solution for this problem..
please reply soon.
its too urgent.
thanks n regards.
uday shankar.

Hi,
You are correct there is no setup table concept in HR extractors.
But there is a cache. Usually HR extractions will be full load. But it also supports delta. There is no setup table concept in HR.Once you perform your init (with or without Data transfer your delta path is set and delta will follow else can go for Full loads alone. It will extract data from the relevant tables like generic extractors. The data will be filtered based on the selection parameters.
Except for payroll and time management rest all sub-functional areas supports only full load.
In case of full loads, old data needs to be deleted to avoid duplicated records in the target.
Auditing Information Technical name: 0HR_PY_PP_1
http://help.sap.com/saphelp_nw70/helpdata/EN/c7/532d7835db9a41b744aea58ed699ed/frameset.htm
Delta Update
This DataSource supports delta updates. The source system fills table HRMS_BIW_PPDELTA with the date and time of the first data transfer (initialization) and the date and time of all subsequent data transfers. This information enables the system to perform a delta transfer. It only selects posting runs with the above statuses whose last changed on date is after the date in table HRMS_BIW_PPDELTA.
If you use DataSources 0HR_PY_PP_2 (Posting Documents) and 0HR_PY_PP_1 (Auditing Information), you must transfer data to BW from both DataSources using the same selection criteria.
Also
http://help.sap.com/saphelp_nw04/helpdata/en/2a/77eb3cad744026e10000000a11405a/frameset.htm
https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
/people/swapna.gollakota/blog/2008/01/14/one-stage-stop-to-know-all-about-bw-extractors-part1
step by step
https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
HR extraction:
The HR module enables customers to effectively manage information about the people in their organization, and to integrate that information with other SAP modules and external systems
HR broadly has the following modules:
PA (Personnel Administration) and Organization Management
Personnel Development
Payroll Accounting
Time Management
Compensation
Benefits
Training and Events
The Personnel Administration (PA) sub module helps employers to track employee master data, work schedules, salary and benefits information. Personnel Development (PD) functionality focuses on employees' skills, qualifications and career plans. Finally, the Time Evaluation and Payroll sub modules process attendance and absences, gross salary and tax calculations, and payments to employees and third-party vendors
HR delivers a rich set of business content objects that covers all HR sub-functional areas.
How the data extraction happens:
Before getting into how the data gets populated into HR info cube
Let's understand the term info type
"An info type is a collection of logical and/or business-related characteristics of an object or person"
Here the data will be extracted from an info type (PA, PD, time management etc) and for few other applications it is from the cluster tables (Payroll, compensation etc.)
HR is basically master data centric because it is always related to people related Info Objects, such as Employee, Person. In most of the cases HR master data is defined as Time Dependent to enable historical evaluation. HR R/3 system records a specific period of validity for each Info type.
Procedure to extract the HR data:
Activate Data Sources in the Source system (R/3)
Replicate Data Sources in BW system:
Activate business contents in BW.
Populate HR cubes with data by scheduling info packages.
Note: Master Data should be loaded first
Except for payroll and time management rest all sub-functional areas supports only full load.
In case of full loads, old data needs to be deleted to avoid duplicated records in the target.
Check the below links for more information
Technical Considerations in Global SAP BW/HR Implementations
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/505351fe-ec8c-2910-c5b5-a43bbf53f6fc
BW/HR Implementation
https://websmp201.sap-ag.de/~sapdownload/011000358700004478862001E
Hope this helps.
Thanks,
JituK

Similar Messages

  • Short dump while executing info package in 3.5 data flow?

    Hi,
    i am getting short dump while executing info package while executing info package. it was working perfectly 2 days back suddenly it is giving this problem. it is a full load for info object text data and i have only 600 records. when i tried with " only info package" it is working perfectly n bringing the data into PSA. But when i use "PSA and the into data target" it is giving short dump.
    i replicated Data source and also i activated transfer rules, update rules still it is not working. When i check with another info objects it is working perfectly fine. i dont know what is wrong with only particular info object.
    Please find attached short dump.
    Thanks

    Hi,
    When you load transaction data I think there is a deadlock.
    Check in the process overview (transaction SM50) the waiting processes are in program SAPLSENA .
    The program SAPLSENA is the lock handler tool.
    Also check if  ACR is running on this target while your load is happening.
    Check in SM12 if there are any lock entries for the Infoobject to which you are loading data and on RSICCONT table .
    Try reloading after deleting the locks manually.
    Regards.

  • Version error while creating info package of data source 0fi_gl_10

    Dear Friends,
    I have replicated the data source 0fi_gl_10 into sap bw but while creating info package i am getting error " The DataSource 0FI_GL_10(E01CLNT200) does not exist in object version A". IS the manual activation always should be done for that ?
    Regards
    Nilesh

    Hi,
    Please check if the veriosn of DataSource is A or not. Sometimes it shows as active but if you open the datasource then it might be in modified version only. Do activate it manually, it will serve your purpose to create a infopackge.
    Regards,
    Anjum.

  • Have a problem while installing Asmlib packages

    hi all
    I have some problem while installing ASMlib packages.
    my OS=Redhat linux 5.3
    kenel version using this command uname -r=2.6.18-128.el5
    I have downloaded packages and successfully installed following 4
    oracleasm-support-2.1.7-1.el5.i386.rpm
    oracleasmlib-2.0.4-1.el5.i386.rpm
    oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpm
    oracleasm-2.6.18-128.el5-debuginfo-2.0.5-1.el5.i686.rpm
    but while installing following got error
    rpm -ivh oracleasm-2.6.18-128.el5debug-2.0.5-1.el5.i686.rpm
    kernel-debug = 2.6.18-128.el5 is needed by oracleasm-2.6.18-128.el5debug-2.0.5-1.el5.i686
    rpm -ivh oracleasm-2.6.18-128.el5PAE-2.0.5-1.el5.i686.rpm
    kernel-PAE = 2.6.18-128.el5 is needed by oracleasm-2.6.18-128.el5PAE-2.0.5-1.el5.i686
    rpm -ivh oracleasm-2.6.18-128.el5xen-2.0.5-1.el5.i686.rpm
    kernel-xen = 2.6.18-128.el5 is needed by oracleasm-2.6.18-128.el5xen-2.0.5-1.el5.i686
    thanx in advance

    I think you just need below rpms to configure asmlib:
    oracleasm-support-2.1.7-1.el5.i386.rpm
    oracleasmlib-2.0.4-1.el5.i386.rpm
    oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpm
    Read this thread:
    Error install ASMLib on RedHat linux

  • Document Splitting problem while posting asset acquisition using F-90

    Hi,
    We are using ECC 6.0 with document splitting functionality and are facing problem while posting asset acquisition using F-90.
    The transaction entry details are as below:
    Document Type - KR
    Vendor Line Item PKey - 31
    Amount - 10000
    Asset Line Item with PKey - 70, Transaction Type - 100
    Amount - 10000
    The Document Splitting Rule - 0000000012 is used and the Field Status Group for the Vendor Reconciliation Account and Asset Reconciliation account have Cost Center, Profit Center and Segment as "Optional" field.
    The Balance Sheet Item - Asset Reconciliation Account has been created as
    Secondary Cost Element - 90.
    The Profit Center and Segment field have been made mandatory and zero balancing is also set in the settings for Document Splitting.
    While posting asset acquisition using F-90, we are getting the error message - "Balancing Field "Profit Center" in line item 001 not filled"
    The first line refers to the Vendor Line item.
    Please let me know how to overcome this error.
    Regards,
    Ramanand

    Please follow the below path and do config :-
    IMG>FA>Asset Accounting>Integration with the General Ledger>Additional Account Assignment Objects>Specify Account Assignment Types for Account Assignment Objects
    here you have to put KOSTL (Cost center) for both against APC and Dep run for each Dep area.
    Thanks
    Pyare

  • How to set request number of info package using start routine

    Hi All,
    I have a specific requirement in which I need to upload only selective request nos from PSA to DSO.
    Any one can suggest how to set request number of info package using start routine or any other mode so that only selective request should proceed using DTP?
    Thanks
    Sangita

    You'll probably want to do this in a start routine.  It is probably not advisable to hard-code the technical name of the InfoPak.  They seem to remain the same upon transport, unlike DTP technical names which are locally generated.
    I would do a SQL select like this in a start routine, and then filter based on the results of the SQL.  You'll probably want to sort the results by date and time, both descending.  Or do a MAX in the SQL.
    Please let me know if this isn't clear.
    select q~rnr q~logdpid q~tdatum q~tuzeit
    from rsreqdone as q
      inner join rsldpio as p
        on p~logdpid = q~logdpid
    where p~objvers = 'A'
    and p~logdpid like 'ZPAK%'
    and p~source = 'your data source'

  • Update mode options while creating info package

    Hi all .
        while creating info package in update tab  we have different radio buttons as
       FULL UPDATE,DELTA UPDATE,INTIALIZE DELTA PROCESS. could you pls explain this optons.
    Thanks in advance.
    Cheers,
    sami.

    Hi Sami,
    We have two update modes 1)Full update 2)Init Load(to enable delta)
    Full Load --->Master data Load
    Init Load----->Transaction data Load.
    Full Update-To load Historical Data.
    Init-This is done to enable the Delta Upload.
    Delta will be done only if the Init has happened.
    For deltas they are Data source specific which are delta enabled.
    1. Full Load (Extracts whole data available in source)
    2. Initialization (without data transfer): Enables only delta and no data.
    3. Initialization with data: Extracts whole data from source and enables delta.
    4. Delta: Extracts only modified or new data.
    Above modes works for Master as well as Transaction also.
    For further information check this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a65dce07211d2acb80000e829fbfe/frameset.htm
    Cheers,
    Tanish.

  • Problem while executing the package

    Hi Guys,
    I am getting the problem while executin the package for 1 of the interface named PRE_SYNC_EX_ARMY_VEH_DEL.
    The source tables are EX_ARMY_VEH_TMP and CONTROL_DEL & target table is CONTROL_DEL
    All the three tables are in the same schema named RTO_STAGE.
    I am looking in the operator as at the first session is in the process(running mode) with "DROP FLOW TABLE" as the message while all other sessions are in the waiting mode related to that interface PRE_SYNC_EX_ARMY_VEH_DEL.The previous interface before it ie PRE_SYNC_AXLE_DEL & PRE_SYNC_AXLE_DELNR is running okk(with all succesful session).
    **In one statement I can summerize that execution of package is halting/stopped at one interface & not showing error in operator(showing running)**
    what would be the problem?
    Thanx
    Edited by: user8849294 on Mar 1, 2010 10:17 PM
    Edited by: user8849294 on Mar 2, 2010 9:36 PM
    Edited by: user8849294 on Mar 2, 2010 9:43 PM

    Hi,
    You didn't mention the exact error.
    Did you check if your interface succeeds outside the Package?
    If yes, have you included any odiFileWait event which's why other tasks are kept in Wait mode?
    In any case, if there's an error, the task with the red-colored icon shows the one with problem. Double-click it & go to the Execution tab to get the exact error

  • Error while creating Info Package

    Hi,
    I am new to SAP-BW .Could anyone help me in fixing the following error .
    I have created an Info source for characteristic data and then trying to create a Infopackage to load master data , I have used the characteristic Material Number(IO-MAT) in this case .
    When creating the Info Package I got two data sources in the pop up , Material number (Master data)IO_MAT_ATTR and Material number (Texts) IO_MAT_TEXT .
    I was able to load data from a flat file into Data Source Material Number (Master data) But when I was trying to follow the same procedure and load the data for 'Material number(Texts) IO_MAT_TEXT' it gives me the following error .
    Select the Language field in the  source system -> Long Text
    I am not able to figure out and proceed further. Pls help me out.
    Regards
    Sudha

    I have another question..I was able to fix the error regarding info package but unable to load the data..(data load is being failed)
    In the DataSource/Transfer Structure I have LANGU , /BIC/ZB4_MAT (Material Number infoobject which i created) and TXTSH Fields ..
    the flat file which i used has Language, MaterialNumber,description pattern alone..
    (eg . E , M001,cookie ) and when i try to load this data..and  check in the Monitor - Administration Workbench..it shows as unsuccessful..
    The following error msg :
    Error message when processing in the Business Warehouse
    Diagnosis
    An error occurred in the SAP BW when processing the data. The error is documented in an error message.
    System response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    I could'nt see the long text of Help information...
    could you help me out in figuring out this..
    Points assigned for previous answer..
    Regards
    Sudha

  • Scheduling Info packages

    Hello Guru's,
    Please help me in one issue in the scheduling the infopackages with variables,
    My requirement is actually there are actual 17 companies, so the while scheduing the infopackage they want a selection screen for entering the values for data selection.
    Thanks in Advance
    Kumar

    Hello Vallese,
    Thanks for the prompt reply, actually we were having in the same way as u said, 17 diffrent info packages for 17 diffrent companies, but the user insisting that he wants a single infopackage, and while scheduling that, he wants a Pop-up-screen so that he can select the company fisical year..etc, so he is asking for variables, please let me know how to handle it,
    Thanks Once again,
    Kumar

  • Data selection in info package using ABAP routine.

    Hi,
    when we are  scheduling the info package(Infp package name is like XYZ),we want to load past 6 months data from the current date(INFO OBJECT(0CREATEDON) BETWEEN (Sy-Datum - 6 months TO  Sy-Datum),in the selection tab in schedule i want to write the abap routine (type 6).please can any one have this type of code please sedn to me asap.
    this is very urgent.delivery is tomorrow.

    hi Lekha,
    try following code.
    seems you post the same question twice, one posting is sufficient. and please don't forget to reward helpful answers.
    data: l_idx like sy-tabix.
    read table l_t_range with key
    iobjnm = '0CREATEDON'.
    l_idx = sy-tabix.
    DELETE l_t_range
    WHERE iobjnm = '0CREATEDON'.
    L_t_RANGE-SIGN = 'I'.
    L_t_RANGE-OPTION = 'EQ'.
    if not work, try
    L_t_RANGE-OPTION = 'BT'.
    BT = between
    last 6 month
    L_t_RANGE-LOW = sy-datum - 180.
    current date
    L_t_RANGE-HIGH = sy-datum.
    append l_t_range.
    modify l_t_range index l_idx.
    p_subrc = 0.
    $$ end of routine - insert your code only before this line -
    endform.

  • Problem in Scheduling a Package/Interface in Oracle data Integrator.

    Hi all,
    I have a problem in scheduling in odi.
    I have followed the steps:-
    1) launch a scheduler agent from commnadline using the command
    agentscheduler "-port=20300" "-v=5"
    2.)created a Physical Agent and Logical Agent on this port
    3.)and creating a scenario for the packege and scheduling it.
    But scheduling is not running
    Pls provide me the solution.is any step missing or Am i wrong anywhere?
    Message was edited by:
    user567803

    Hi,
    I have read this thread, and seem the solution you have mentioned may work for me also. But whenever I am trying to laun agent scheduler I am getting following errors
    OracleDI: Starting Scheduler Agent ...
    Starting Oracle Data Integrator Agent...
    Version : 10.1.3.2.0 - 03/01/2007
    com.sunopsis.tools.core.exception.g: java.sql.SQLException: socket creation error
    at com.sunopsis.dwg.cmd.n.a(n.java)
    at com.sunopsis.c.f.run(f.java)
    at com.sunopsis.dwg.cmd.i.y(i.java)
    at com.sunopsis.dwg.cmd.i.run(i.java)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.h.run(h.java)
    Caused by:
    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.h.run(h.java)
    Thanks in advance
    HA

  • Problem while scheduling job in apex

    Hi All ,
    I have problem while creating job in apex .Let me explain my problem clearly.I have created a page in
    url: http://apex.oracle.com/pls/otn/
    Workspace : PREETHI_WORKSPACE
    User ID : [email protected]
    Password : bowova1
    Application :Parse and upload csv file -21007
    Page No:1
    Page Name :Parse csv file.
    Main functionality of this page is to upload csv file into oracle table .First user will browse a file from local machine and upload it in upload region.After that,user enters a table name and clicks create table button which creates a table in DB and also shows the report for the same .Creating table is happening through "create table " process when user clicks "create table" button.Code is working fine .One more things here is, in csv file the second row should have data type mentioned .
    My requirement is ,i have to schedule "htmldb_tools.parse_file" in create table process as a job .In this "create table process" we are calling htmldb_tools.parse_file(:P1_FILENAME,'P1_COLLECTION','P1_HEADINGS','P1_COLUMNS','P1_DDL',:P1_TABLENAME);
    Problem Iam facing here is that the scope of item :p1_filename is getting lost when we pass it to procedure .I think problem is due to different apex and database session .
    Tried a lot through various ways ..Not finding the solution.
    Please help...

    Hi Marco,
    I have tried with the setting what u have mentioned in htmldb_tools.parse_file procedure: wwv_flow_api.set_security_group_id(<workspace_id>);
    But Job Getting fail and giving error ""ORA-01400: cannot insert NULL into (ORA-01400: cannot insert NULL into ("FLOWS_020200"."WWV_FLOW_COLLECTIONS$"."SESSION_ID")
    ORA-06512: at "FLOWS_020200.WWV_FLOW_COLLECTION", line 319
    ORA-06512: at "DIMPLE3_HD_DEV.HTMLDB_SID_50", line 196
    ORA-06512: at line 2
    Please help me out in this issue.
    Regards
    Dhan

  • Problem while sending/Receiving request using the HttpURLConnection obj

    Hi,
    We are facing the problem while passing the request in Weblogic.
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    Currently we are migrating 2 applications to WebLogic. Application1 to application2 request should pass.
    Below is some example we tried:
    "When we send a request to our code using the SSOAdaptor code (which handles the request/session in our application) which is on the SunOne server the request parameters are received by our code successfully. And also in Create User Functionality of application1 we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass."
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues.
    Where as when the request is sent from WebLogic to WebLogic the request parameters are missing some how.
    Is there any issue in Weblogic? Please helpus on this.
    Thanks,
    Nagesh
    Edited by: user9307541 on Mar 15, 2010 5:08 AM

    Hi,
    Please find below scenario for testing.
    We have tested the SSOAdaptor code (it is the fucntion name which will send the data from source) locally by hittiing the WPS adaptor URL in a Java client program(TestRequest.java) and the request parameters were reaching the WPS Adapter successfully.
    Then we have written two test servlets to test the communication between SSOAdaptor(TestServlet.java) and WPS adaptor(WPSServlet.java).
    Functionality of TestSevlet: It is sending a request to WPSServelt similar to the way we are doing it in SSOAdaptor.
    Functionality of WPSServlet: It will receive the request parameters and write the parameter Map to console.
    We have deployed and these two servlets(in a single webapplication) on Tomcat server and the request parameters are reaching the WPSServlet successfully.
    Output on Tomcat server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{TypeAcc=[Ljava.lang.String;@14e3f41, ServiceName=[Ljava.lang.String;@1acd47, GMEPortalUserID=[Ljava.lang.String;@19b04e2, UserID=[Ljava.lang.String;@5dcec6, Country=[Ljava.lang.String;@b25b9d}
    after sending request
    After this we have deployed these two servlets (with in a single webapplication) on the Weblogic server in Dev machine(path: /apps/usmport/domains/usmport/servers/usmport_admin/upload/ssoAdaptor/WEB-INF/classes/com/gm/gmeportal/security/adaptor) and
    now the request parameters are not reaching the WPSServlet.
    Output on Weblogic Server:
    before sending request
    **********************Inside WPS Servlet -- the request Map is:{}
    after sending request
    Looks like there is some problem with Weblogic while sending/Receiving the request using the HttpURLConnection object.
    When we send a request to WPSAdaptor using the Old SSOAdaptor code which is on the SunOne server the request parameters are received by WPS successfully. And also in Create User Functionality of Portal we are sending a request to webpass(which is on Sunone Server) using the HttpURLConnection object and the SOAP request is received successfully by the Webpass.
    Looks like when we send request (using HttpURLConnection) from a server other than Weblogic to a servlet in a Weblogic the request parameters are received with out issues. Where as when the request is sent from weblogic to weblogic the request parameters are missing some how.
    Please find below javs source code used to test this:
    TestRequest.java
    import java.io.BufferedReader;
    import java.io.DataOutputStream;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.MalformedURLException;
    import java.net.URL;
    public class TestRequest {
         * @param args
         public static void main(String[] args) throws Exception{
              // TODO Auto-generated method stub
              excutePost("http://localhost:8080/Testing/TestServlet", "GMEPortalUserID=captest.wss@it0555&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
              //System.out.println("********** Now the request is from SSO *****************");
              //excuteGet("http://10.156.0.173:7013/channel21/wpsadapter", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
         public static String excutePost(String targetURL, String urlParameters)
         URL url;
         HttpURLConnection connection = null;
         try {
         //Create connection
         url = new URL(targetURL);
         connection = (HttpURLConnection)url.openConnection();
         connection.setRequestMethod("POST");
         connection.setRequestProperty("Content-Type",
         "application/x-www-form-urlencoded");
         connection.setRequestProperty("Content-Length", "" +
         Integer.toString(urlParameters.getBytes().length));
         connection.setRequestProperty("Content-Language", "en-US");
         connection.setUseCaches (false);
         connection.setDoInput(true);
         connection.setDoOutput(true);
         //Send request
         DataOutputStream wr = new DataOutputStream (
         connection.getOutputStream ());
         wr.writeBytes (urlParameters);
         wr.flush ();
         wr.close ();
         //Get Response     
         InputStream is = connection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(connection != null) {
         connection.disconnect();
         public static String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    TestServlet.java
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.OutputStream;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class TestServlet
    public class TestServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * Default constructor.
    public TestServlet() {
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doPost(request,response);
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              //System.out.println("********************** the request Map is:" + request.getParameterMap());
              try {
                   System.out.println("before sending request");
                   excuteGet("http://localhost:7003/ssoAdaptor/WPSServlet", "GMEPortalUserID=captest.wss@it0554&UserID=bl1133&Country=it&TypeAcc=256&ServiceName=Logon");
                   System.out.println("after sending request");
              } catch (Exception e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public String excuteGet(String targetURL, String urlParameters) throws Exception
              URL url = new URL(targetURL);
              HttpURLConnection httpurlconnection =
                   (HttpURLConnection) url.openConnection();
              /*httpurlconnection.setRequestProperty(
                   "cookie",
                   constructRequestParams(httpservletrequest.getCookies()));*/
              httpurlconnection.setDoOutput(true);
              httpurlconnection.setDoInput(true);
              httpurlconnection.setRequestProperty(
                   "Content-length",
                   String.valueOf(urlParameters.length()));
              OutputStream outputstream = httpurlconnection.getOutputStream();
              outputstream.write(urlParameters.getBytes());
              outputstream.flush();
              //Get Response     
              try{
         InputStream is = httpurlconnection.getInputStream();
         BufferedReader rd = new BufferedReader(new InputStreamReader(is));
         String line;
         StringBuffer response = new StringBuffer();
         while((line = rd.readLine()) != null) {
         response.append(line);
         response.append('\r');
         rd.close();
         //System.out.println("Response from SSO is:" + response);
         return response.toString();
         } catch (Exception e) {
         e.printStackTrace();
         return null;
         } finally {
         if(httpurlconnection != null) {
              httpurlconnection.disconnect();
    WPSServlet.java
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Servlet implementation class WPSServlet
    public class WPSServlet extends HttpServlet {
         private static final long serialVersionUID = 1L;
    * @see HttpServlet#HttpServlet()
    public WPSServlet() {
    super();
    // TODO Auto-generated constructor stub
         * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
         protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              System.out.println("**********************Inside WPS Servlet -- the request Map is:" + request.getParameterMap());
         * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
         protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
              // TODO Auto-generated method stub
              doGet(request,response);
    Thanks,
    Nagesh

  • Problem while sending the message using RWB

    Dear All,
    I am facing a problem while sending a message from RWB. I sent the message using Test Message in component monitoring, it says message sent but I am not able to see any message in sxi_monitor.
    When I send the same message using the http client it successfully processed by XI and I can see the success message in sxi_monitor.
    Please let me know if anyone has face similar kind of issue.
    Thanks,
    Alok
    Edited by: Alok Raoka on May 26, 2008 5:08 PM

    Dear All,
    I am facing a problem while sending a message from RWB. I sent the message using Test Message in component monitoring, it says message sent but I am not able to see any message in sxi_monitor.
    When I send the same message using the http client it successfully processed by XI and I can see the success message in sxi_monitor.
    Please let me know if anyone has face similar kind of issue.
    Thanks,
    Alok
    Edited by: Alok Raoka on May 26, 2008 5:08 PM

Maybe you are looking for

  • How to connect a HP LaserJet Printer P1102w to my Toshiba Laptop

    I have just bought a LaserJet P1102w printer, but i cant seem to install it on my Toshiba laptop (or a HP laptop). I have tried the instruction that came with the product, the disc, the HP website, HP help support in Sydney (Who couldnt even install

  • Installation error 1335. The cabinet file Data1.cab...

    Hi, I am not getting install Oracle 10g Express Edition, the following error occurs: "error 1335. The cabinet file Data1.cab required for this installation is corrupt and cannot be used. This could indicate a network error, an error reading from the

  • Motion background stopped working

    Hi, I've created a DVD and have selected a menu from the library with a motion background ("Film" Menu from the Entertainment category). When I first made this it was fine. I then needed to add some logos etc in Photoshop and the motion background no

  • OSX 10.9.1 Dreamweaver CC startup stuck at initializing files

    Hi there, I've had some trouble with Dreamweaver CC startup sticking at initializing files. I force quit and tried a couple of times but wasn't getting anywhere so I uninstalled and re-installed Dreamweaver. The program has successfully opened but st

  • Error in renaming documents using Portal Drive

    Hi, we have NW Portal 7.0 SP12 and the following problem: when changing the name of a document using Portal Drive sometimes only the ID of a document changes but not the name. This means when I enter a folder using the portal I see a document with it