API for getting SAP WebAS / J2EE SystemInformation
Hi all,
I am looking for an API to access J2EE Server information as it is displayed on the Systeminfo page when you access your SAP J2EE installation using http://<host>:<port>/index.html.
Is there anything like an API to access this J2EE information?
Any help is greatly appreciated!
Thanks
Helga
Hi Barry,
I found out that jmonapi.jar is deprecated:
http://help.sap.com/saphelp_nw2004s/helpdata/en/bf/df813e77d46245e10000000a114084/frameset.htm
Is there any other api?
Best regards,
Helga
Similar Messages
-
IGS Install with SAP WebAS J2EE 6.4 SP8 -
Hi,
I've just installed the latest SAP WebAS J2EE 6.4 SP8 which is supposed to install Internet Graphcis Server (SAP IGS). I can see that the IGS files are installed under \usr\sap\{sapsid}\jc00\igs
How do I activate or what do I need to get it to run? I don't see any "SAP IGS" service under my Windows Services as suggested by other posts; but perhaps that only applies to the older version of IGS?
Can't seem to locate any further information in the NetWeaver manuals on how IGS is activated. Pretty sure nothing is running as there's nothing listening on my "http://localhost:8030".
Any ideas?
ThanksHi,
There's no igswd.exe process running in the SAP MMC console as you described. I've checked that the configured HTTP port has been set to 40080 by default but nothing is listening on that port.
I've checked the startup profile for my instance.
There's 2 files in that directory one called
START_JC00_<HOST>
START_JC00_<HOST>.1
the ".1" extension has an entry to tart IGS but the former doesn't.
The entry in the ".1" looks like
_IGS = igswd.exe
Start_Program_03 = local $(DIR_INSTANCE)\igs\bin\$(_IGS) -dir=$(DIR_INSTANCE)\igs -mode=all -sysname=P01 -sysno=00
Any idea what could be wrong? I've checked the logs.
Also, there's nothing listening on port 40080.
Thanks Ivanov -
"SSO" for non-sap web application using SAPGUI to browse?
I have a web application (non SAP) and the user base are also SAP users in an ABAP system.
To strengthen the authentication in the web app, I wanted to implement SSO
authentication as we pity the users for having to remember so many strong pw's and I
dont like LDAP based pw sync or other technology I dont understand, because then we are
just yet another application with the same pw...
We are having technical problems implementing SSO on the web app side, and are anyway a
bit sceptical about the user admin / role admin assignment if we get it to work.
So I have created a transaction in SAP which browses the web app and the intention is to
send the SAP sy-uname as the web app user. We can control this using s_tcode, and
an own auth object on the WAS side and a check on the session type before the connection is
established. In this sense we are dependent on the SAP concept implemented, but even so:
The role assignment is controlled in the web app itself -> so assume that I am not overly
worried about unauthorized access to the web application, as they would not have any
system role for it as their sy-uname does not exist. (Infact we can monitor this)
The browser on the front end is the SAPGUI with html controls on the SAP side.
I would be interested in knowing whether anyone else has experience with this approach, and
whether there are any areas to be carefull of?
I would also like to know whether this is a strategic error?
Kind regards,
JuliusHi Julius,
well, if that web application would run on the same ABAP backend system then the solution described in <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0612670">SAP Note 612670</a> would be applicable:
a so-called "Re-entrance ticket" (based on the "SAP logon ticket" SSO proceedings) is issued, transported via the SAPGUI connection and back to the system via the invoked HTML control.
But for non-SAP web applications that does not help.
In that case only X.509 client certificates can be used for SSO. Actually, the web application could then also be invoked directly (independent from the SAPGUI session). The user is authenticated based on the X.509 client certificate - and not based on the ABAP userID (of the SAPGUI session).
Well, if you don't mind the effort you could also use the "SAP Logon Ticket evaluation library" (sapssoext, see <a href="http://service.sap.com/~iron/fm/011000358700000431401997E/0304450">SAP Note 304450</a>) to evalute the SAP logon ticket externally. You'll then need to have a "stub application" at the ABAP side that triggers the http redirect to your external web application. Not a nice solution but a possible one.
In the future SAML browser artifacts would be an option (preferable to integrate non-SAP applications). But currently that's not available (for NWAS ABAP).
Cheers, Wolfgang -
API for getting diagnotic server info
Is there an API for getting diagnostic information about the server (memory usage, etc.). We'd like to write a program to monitor the server.
I am trying to do something similar my call to Session.getSession generates
the following exception:
com.iplanet.portalserver.session.SessionException: Can't find resource for
base name iwtNaming, locale en_US
Can you help?
Thanks?
"Marshall Levin" <[email protected]> wrote in message
news:9ljs3s$[email protected]..
Hi,
I have a JSP running on the same web server as the portal server but not
running within the portal desktop (it is a stand-alone JSP).
I have successfully gotten the user's Profile object via the Sessionobject
and I can get the Hashmap of attributes.
What I'm trying to get now is the user's domain and role -- is there anyway
I can get this? I don't see these in the list of attributes. Is there an
API to find this out? Any suggestions on how I can obtain this info
programmatically?
Thanks -
Java API for Primavera p6 Web services
Hi All,
- Anyone can please suggest me how to create the Java API for primavera p6 web services ?.
-if is this inbuild then from where we can download please suggest me or give me some link ?.
Thanks & Regards
DharmendraYou can review P6 Professional Project Management 7.0 Documentation Library for documentation on API and how to use it.
API are available and can be downloaded from edelivery.oracle.com. -
Requirements for installing SAP Web As and NWDS IDE?
Hi All,
Please give me details what are the requirments need for installing the SAP Web AS and NWDS IDE in my personal computer .
Thanks
Nageswara.HI Nageswar,
if you want to install developer workplace (NWDS + JAVA WAS)
you need:
RAM: 1 GB required, 2 GB recommended
CPU: 1 GHz required, 2 GHz recommended
Disk Space: 3,3 GB (1,9 GB temporary)
Detail information you can find in
service.sap.com/instguides -> SAP Netweaver -> release 04 ->
installation -> Inst. Guide - SAP NetWeaver Developer Workplace Stack x
Regards
Bogdan -
Server API for Looking up Web Applications
Is there a public server API for obtaining a list of deployed web applications and configuration information for those deployed applications?
Thanks.We strongly discourage to use the tomcat APIs. We may support those API's this version and may not support in next version. You can find the deployed app's from server.xml or admin interface. There is a work around to find the deployed applications programatically by using the command
asadmin> ist-components --user admin_user [--password admin_password] [--host localhost] [--port 4848] [--secure | -s] [--passwordfile file_name] [--type application|ejb|web|connector] instancename -
ISEE API for getting the HP warranty details
As per my research i don't find any REST-API to get the HP warranty details, so i tried to achieve the same using ISEE-API. But when sending the request using the below request xml i get an error as 'BAD REQUEST'.
<?xml version="1.0"?>
-<SOAP-ENV:Envelope xmlns:iseeReg="http://www.hp.com/isee/webservices/" xmlnsOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
-<SOAP-ENV:Body>
-<iseeReg:RegisterClient2>
-<iseeReg:request>
-<isee:ISEE-Registration xmlns:isee="http://www.hp.com/schemas/isee/5.00/event" schemaVersion="5.00">
-<RegistrationSource>
-<HP_OOSIdentifiers>
-<OSID>
-<Section name="SYSTEM_IDENTIFIERS">
<Property name="TimestampGenerated" value="2014/1/14 10:25:30 GMT Standard Time"/>
</Section>
</OSID>
-<CSID>
-<Section name="SYSTEM_IDENTIFIERS">
<Property name="CollectorType" value="MC3"/>
<Property name="CollectorVersion" value="T05.80.1 build 1"/>
<Property name="AutoDetectedSystemSerialNumber" value="USM5500380"/>
<Property name="SystemModel" value="HP ProLiant"/>
<Property name="TimestampGenerated" value="2014/1/14 10:25:30 GMT Standard Time"/>
</Section>
</CSID>
</HP_OOSIdentifiers>
-<PRS_Address>
<AddressType>0</AddressType>
<Address1/>
<Address2/>
<Address3/>
<Address4/>
<City/>
<Region/>
<PostalCode/>
<TimeZone/>
<Country/>
</PRS_Address>
</RegistrationSource>
-<HP_ISEECustomer>
<Business/>
<Name/>
</HP_ISEECustomer>
-<HP_ISEEPerson>
<CommunicationMode>255</CommunicationMode>
<ContactType/>
<FirstName/>
<LastName/>
<Salutation/>
<Title/>
<EmailAddress/>
<TelephoneNumber/>
<PreferredLanguage/>
<Availability/>
</HP_ISEEPerson>
</isee:ISEE-Registration>
</iseeReg:request>
</iseeReg:RegisterClient2>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Can any one help me out what is wrong in the above xml format, which is causing such an error to occur. And i would be very grateful if any one can provide me the way to call this API using VB-Script.Any how i manage to get the GDID and RegistrationToken but when i send a request for HP warranty detail using the GDID and RegistrationToken, i receive a error message 'entitlement service connection failed'. Please find the below details :-
Request xml:
<SOAP-ENV:Envelope
xmlnsOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:isee="http://www.hp.com/isee/webservices/">
<SOAP-ENV:Header>
<isee:IseeWebServicesHeader>
<isee:GDID>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</isee:GDID>
<isee:registrationToken>XXX</isee:registrationToken>
<iseeSID/>
<isee:CSID/>
</isee:IseeWebServicesHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<isee:GetOOSEntitlementList2>
<isee:request>
<isee:ISEE-GetOOSEntitlementInfoRequest
xmlns:isee="http://www.hp.com/schemas/isee/5.00/entitlement"
schemaVersion="5.00">
<HP_ISEEEntitlementParameters>
<CountryCode>ES</CountryCode>
<SerialNumber>CZ10130050</SerialNumber>
<ProductNumber>519841-425</ProductNumber>
<EntitlementType></EntitlementType>
<EntitlementId></EntitlementId>
<ObligationId></ObligationId>
</HP_ISEEEntitlementParameters>
</isee:ISEE-GetOOSEntitlementInfoRequest>
</isee:request>
</isee:GetOOSEntitlementList2>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
SOAP action : http://www.hp.com/isee/webservices/GetOOSEntitlementList2
HTTP URL : https://services.isee.hp.com/EntitlementCheck/EntitlementCheckService.asmx
Response Received:
<?xml version="1.0" encoding="UTF-8"?>
-<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-<soap:Body>
-<GetOOSEntitlementList2Response xmlns="http://www.hp.com/isee/webservices/">
-<GetOOSEntitlementList2Result>
<IsSuccess>false</IsSuccess>
-<Error>
<Code>200</Code>
<IsTransientError>true</IsTransientError>
<IsClientError>false</IsClientError>
<IsReRegisterError>false</IsReRegisterError>
<Message>entitlement service connection failed</Message>
</Error>
<BackoffMultiplier>1</BackoffMultiplier>
</GetOOSEntitlementList2Result>
</GetOOSEntitlementList2Response>
</soap:Body>
</soap:Envelope>
Is there any issue with the Request xml?? -
Which is the best API for creating restful web services.
Hi guys,
I have tried a lot of apis to create a restful web service. But none of them has perfect documentation or examples. Which is the best one that has good support and future."Best" automatically implies opinions and speculation; one I personally believe has a bright future is Jersey. Jersey is the reference implementation (RI) for [JSR-311|http://jcp.org/en/jsr/detail?id=311] ("The Java API for RESTful Web Services" or JAX-RS).
-
Need API for getting List price and unit price before Order entry
Hello,
I have requirement of provide unit & list price before order entry (Oracle Pricing and availability form provide the same).
Please suggest any API for the same.
Thanks
Akil.Hi,
Thanks luko,
I got API QP_PREQ_PUB.PRICE_REQUEST, and its return output as expected,
Just have confusion that how many qualifiers we have to send
Here is my sample code
OR REPLACE PROCEDURE xx_web_get_price (
IN NUMBER,
IN NUMBER,
IN NUMBER,
IN NUMBER,
IN VARCHAR2,
IN VARCHAR2,
IN VARCHAR2,
IN NUMBER,
OUT NUMBER,
OUT NUMBER,
OUT VARCHAR2,
OUT VARCHAR2)
QP_PREQ_GRP.LINE_TBL_TYPE;
QP_PREQ_GRP.QUAL_TBL_TYPE;
QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
QP_PREQ_GRP.CONTROL_RECORD_TYPE;
QP_PREQ_GRP.LINE_TBL_TYPE;
QP_PREQ_GRP.QUAL_TBL_TYPE;
QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
VARCHAR2 (240);
VARCHAR2 (240);
QP_PREQ_GRP.QUAL_REC_TYPE;
QP_PREQ_GRP.LINE_ATTR_REC_TYPE;
QP_PREQ_GRP.LINE_REC_TYPE;
QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
QP_PREQ_GRP.RELATED_LINES_REC_TYPE;
QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
INTEGER;
BINARY_INTEGER;
VARCHAR2 (240);
VARCHAR2 (60);
oe_debug_pub.debug_on;
oe_debug_pub.initialize;
:= OE_DEBUG_PUB.Set_Debug_Mode ('FILE');
oe_Debug_pub.setdebuglevel (5);
('File : ' || l_file_val);
QP_Attr_Mapping_PUB.
(p_request_type_code => 'ONT',
=> 'L',
=> l_pricing_contexts_Tbl,
=> l_qualifier_Contexts_Tbl);
:= 1;
---- Control Record
.pricing_event := 'LINE'; -- 'LINE';
.calculate_flag := 'Y'; --QP_PREQ_GRP.G_SEARCH_N_CALCULATE;
.simulation_flag := 'N';
.source_order_amount_flag := 'Y';
.rounding_flag := 'Q';
.manual_discount_flag := 'Y';
.request_type_code := 'ONT';
.TEMP_TABLE_INSERT_FLAG := 'Y';
---- Line Records ---------
.request_type_code := 'ONT';
.line_id := 2125125; -- Order Line Id. This can be any thing for this script
.line_Index := '1'; -- Request Line Index
.line_type_code := 'LINE'; -- LINE or ORDER(Summary Line)
.pricing_effective_date := SYSDATE; -- Pricing as of what date ?
.active_date_first := SYSDATE; -- Can be Ordered Date or Ship Date
.active_date_second := SYSDATE; -- Can be Ordered Date or Ship Date
.active_date_first_type := 'NO TYPE'; -- ORD/SHIP
.active_date_second_type := 'NO TYPE'; -- ORD/SHIP
.line_quantity := 1; -- Ordered Quantity
.line_uom_code := p_uom; --'Ea'; -- Ordered UOM Code
.currency_code := p_currency_code; -- 'USD'; -- Currency Code
.price_flag := 'Y'; -- Price Flag can have 'Y' , 'N'(No pricing) , 'P'(Phase)
(1) := line_rec;
------ Line Attribute Record
.LINE_INDEX := 1;
.PRICING_CONTEXT := 'ITEM';
.PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE3';
.PRICING_ATTR_VALUE_FROM := 'ALL';
.VALIDATED_FLAG := 'N';
(1) := line_attr_rec;
.LINE_INDEX := 1;
.PRICING_CONTEXT := 'ITEM'; --
.PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE1';
.PRICING_ATTR_VALUE_FROM := p_item_id;
.VALIDATED_FLAG := 'N';
(2) := line_attr_rec;
.LINE_INDEX := 1;
.PRICING_CONTEXT := 'ITEM';
.PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE2';
.PRICING_ATTR_VALUE_FROM := p_category_id;
.VALIDATED_FLAG := 'N';
(3) := line_attr_rec;
------ Qualifier Attribute Record
.LINE_INDEX := 1; -- Attributes for the above line. Attributes are attached with the line index
.QUALIFIER_CONTEXT := 'MODLIST';
.QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE4';
.QUALIFIER_ATTR_VALUE_FROM := p_price_list_id;
.COMPARISON_OPERATOR_CODE := '=';
.VALIDATED_FLAG := 'Y';
(1) := qual_rec;
.LINE_INDEX := 1;
.QUALIFIER_CONTEXT := 'CUSTOMER';
.QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE2';
.QUALIFIER_ATTR_VALUE_FROM := p_customer_account_id;
.COMPARISON_OPERATOR_CODE := '=';
.VALIDATED_FLAG := 'Y';
(2) := qual_rec;
.LINE_INDEX := 1;
.QUALIFIER_CONTEXT := 'CUSTOMER';
.QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE40';
.QUALIFIER_ATTR_VALUE_FROM := p_customer_category; --'INDUSTRIAL';
.COMPARISON_OPERATOR_CODE := '=';
.VALIDATED_FLAG := 'Y';
(3) := qual_rec;
QP_PREQ_PUB.PRICE_REQUEST (p_line_tbl,
-- Return Status Information ..
:= x_return_status_text;
:= x_return_status;
:= x_line_tbl.FIRST;
IF I IS NOT NULL
THEN
:= x_line_tbl (I).unit_price;
:= x_line_tbl (I).adjusted_unit_price;
END IF;
xx_web_get_price;
Regards,
akil. -
API for getting iView name, type, tCode
Hi
I am trying to figure out if there is a way in my program to get iView properties: the iView type (e.g. transaction, Web Dynpro, etc), then if it's a transaction iView to get the tCode for that iView.
I have seen document that tells me I can get the list of iViews in a given PCD location, and I think you can get the properties I mentioned above as such:
// id is the full path of the iView
public void getProperties(IPortalComponentRequest request , String id) throws Exception{
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
env.put(Context.SECURITY_PRINCIPAL, request.getUser());
env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
InitialContext iCtx = null;
try {
iCtx = new InitialContext(env);
IiView result = (IiView) iCtx.lookup(id);
result.getAttribute("????");
result.getAttribute("????");
} catch (Exception e) {
throw new Exception (e);
Am I in the right direction?
I don't know what are the names of those attributes I need? - I cannot find them in any Java docs or forum?
I also looked at com.sap.portal.pcm.attributes.IAttriView but that does not appear to have the suitable attributes that I am looking for?
Please help.
Kind regards,
SharathHi
Check theses links
http://help.sap.com/erp2005_ehp_03/helpdata/EN/44/bfb2a470033f45e10000000a114a6b/frameset.htm
https://help.sap.com/javadocs/NW04S/current/index.html
Hope this helps.
Cheers-
Pramod
reward points if helpful. -
What is the API for getting a list of students that have taken a specific course?
We are on Adobe Connect 9. Through the UI, you can generate a nice report on who has taken a course and when they completed it (Training > Shared Training > [course name]).
How do I get this report using Adobe Connect APIs?You can use the UserReaderMBean.
http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/javadocs_mhome/weblogic/management/security/authentication/UserReaderMBean.html
You mite find this helpful in ur development...
http://secure-zone.blogspot.com/2009/10/creating-users-in-weblogic-server.html
Let me know if it helps..
Thanks,
Faisal -
API for getting iView Type?
Hi All,
I could only get the iView description,title from the PCM Object.
I would like to retrieve the type(like webdynpro,bsp etc) of iView and other properties.
Thanks much,
-KrishnaPlease refer to this document. It will help you.
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401">Codes - Accessing PCD Contents like iViews, Pages, Worksets, Roles and Their Properties.pdf</a> -
API for getting the build date of development components
Hello ,
we are changing the format of the <about> screen of our application. We show the version of the main development components that are the part of our application.
For the version date of the development components, we were earlier showing the deployment date. However we now plan to change it to their build date. We need to know if there is any API to find the build date of the development components.
Thanks alot in advance for helping!Hi do you want all the dates from the back date to sysdate or only the particular back date
SQL> select sysdate from dual;
SYSDATE
22-JUN-09
SQL> select sysdate-10 from dual;
SYSDATE-1
12-JUN-09or if you want all the back dates starting from one particular then
SQL> select sysdate-10+level from dual
2 connect by level<=10;
SYSDATE-1
13-JUN-09
14-JUN-09
15-JUN-09
16-JUN-09
17-JUN-09
18-JUN-09
19-JUN-09
20-JUN-09
21-JUN-09
22-JUN-09
10 rows selected.Edited by: oracle_for_dude on Jun 22, 2009 12:11 PM -
Kernel NW740 for SAP Web Dispatcher
Hello,
where and how can I find the correct kernel "NW740" for my SAP Web Dispatcher installation?
I proceeded like this:
Software Provisioning Manager -> SAPinst -> SAP Netweaver 7.4 -> MS SQL Server -> SAP Systems -> Standalone Engines -> Web Dispatcher.
Now during step 2 "defining parameters" I need to provide a software package calles "Kernel NW740". My server is a MS server 2008 x64.Is it this one:
SAPEXE_60-10011888.SAR
Kernel Part I
Found here: My Company's Application Components" Complimentary Software" SAP KERNEL 64-BIT" SAP KERNEL 7.40 64-BIT -> windows x64 -> db independent
Maybe you are looking for
-
I wonder if anyone could please help. I have just bought AppleTV and am trying to use it with my old Samsung DLP (with no HDMI but DVI) and a Denon AVR 789 (witch has HDMI pass-through) . When I connect the AppleTV through the receiver (using a HDMI
-
How do you fill in a pdf in Adobe Reader 9?
I have Adobe Reader 9 on my laptop. I've received several PDF forms which I need to fill in and then email back to the sender. Can this be done with Adobe Reader 9 or do I have to buy an additional program? I'm overseas and for a variety of reasons I
-
MySQL Transaction last_insert_id
Can anyone tell me how to get the last inserted id when in transaction ? I have to do inserts in several tables. Problem is when inserting into one table my auto_increment id of the table should be used as a foreign key in the next table and so on. I
-
Video screen capture capability for ios5??
I remember in the pre-release video for ios5 that there was a video screen capture capability.. Question 1 is: where is it? Question 2: is it available for the iphone 4 with ios5?
-
Why is Muse sold by subscription only?
I'm interested to know why Adobe has decided on a subscription based model for Muse (and the next version of Adobe CS?) as this seems to be the way a lot of software products are going? I imagined Muse as a standalone boxed product rather than softwa