Example of using of API Logon
Greetings,
I'm looking for example of using API Logon. The logon API is
Logon(User As String, Password As String, CMS As String, Mode As String, ThreeTier As Boolean, Offline As Boolean) As Boolean
I need an example because I'm using vbscript.
Here's some code that logs onto enterprise and starts servers.
' This script starts any server that
' is current not running with the exception
' of the wcs and aps.
Dim CMS
Dim Username
Dim Password
Dim Authtype
'Set CMS logon credentials - change these to match your particular CE environment
CMS = "katwin2kce9"
Username = "Administrator"
Password = ""
Authtype = "secEnterprise"
Dim ceServerStop
ceServerStop = 2
Dim ceServerStart
ceServerStart = 1
'Declare variables for Enterprise Session
Dim oEnterpriseSessionMgr
Dim ceSession
Dim iStore
'Load the Enterprise Session Manager
Set oEnterpriseSessionMgr = CreateObject("CrystalEnterprise.SessionMgr")
'Logon to the CMS and create iStore object
Set ceSession = oEnterpriseSessionMgr.Logon(Username, Password, CMS, Authtype)
Set iStore = ceSession.Service("","InfoStore")
'Declare InfoObject Variables
Dim ServerInfoObjects
'Retrieve a list of all the servers that are currently stopped
Set ServerInfoObjects = IStore.Query("SELECT * FROM CI_SYSTEMOBJECTS WHERE SI_PROGID = 'CrystalEnterprise.Server' AND SI_SERVER_IS_ALIVE = 0")
'Retrieve a server object using the plugin interface.
Dim ServerObjects
'Iterate through the collection of servers until we find the one that matches
For each InfoObject in ServerInfoObjects
'load the plugin
Set ServerObject = InfoObject.PluginInterface("")
'If ServerObject.ServerIOR = ServerIOR Then
'Error handle and start service
on error resume next
'Start the service - does not require a commit
ServerObject.ManageServer ceServerStart
'End If
Next
if err.number <> 0 then
MsgBox "Attempt to start the service failed\nerror number: " & err.number & "\nerror description: " & err.description
else
MsgBox "Servers were started."
end if
Similar Messages
-
Example of Asynchronous Web Service Using Oracle APIs
Greetings,
Is there any tutorial, section or example of Oracle, that explains clearly, how to create an Asynchronous Web Service using Oracle APIs.
Thakns in advance for your help.-Does this help:
http://niallcblogs.blogspot.com/2009/03/calling-async-bpel-process-from-jdev.html -
Problem Sending mails in a loop using JavaMail API
Hello All,
I am sending emails in a loop(one after the other) using JavaMail API,but the problem is, if the first two,three email addresses in the loop are Valid it sends the Email Properly, but if the Fourth or so is Invalid Address it throws an Exception....
"javax.mail.SendFailedException: Sending failed;"
nested exception is:
javax.mail.SendFailedException: Invalid Addresses;
nested exception is:
javax.mail.SendFailedException: 450 <[email protected]>:Recipient address rejected: Domain not found......
So if i want to send hundereds of emails and if one of the Emails inbetween is Invalid the process Stops at that point and i could not send the other emails in the Loop......
How Could i Trap the exception thrown and handle it in such a way, so that the loops continues ..
Is there something with the SMTP Server....?
The code which i am using is as follows....
<Code>...
try {
InitialContext ic = new InitialContext();
Session session = (Session) ic.lookup(JNDINames.MAIL_SESSION);
if (Debug.debuggingOn)
session.setDebug(true);
// construct the message
MimeMessage msg = new MimeMessage(session);
msg.setFrom(new InternetAddress(eMess.getEmailSender()));
String to = "";
msg.setRecipients(Message.RecipientType.TO,
InternetAddress.parse(to, false));
msg.setRecipients(Message.RecipientType.BCC,
InternetAddress.parse(eMess.getEmailReceiver(), false));
msg.setSubject(eMess.getSubject());
msg.setContent(eMess.getHtmlContents(),"text/plain");
msg.saveChanges();
Transport.send(msg);
} catch (Exception e) {
Debug.print("createAndSendMail exception : " + e);
throw new MailerAppException("Failure while sending mail");
</Code>....
Please give me any suggestions regarding it....and guide me accordingly..
Thanks a million in advance...
Regards
SamHow about something like the code attached here. Be aware it is lifted and edited out of an app we have here so it may require changing to get it to work. If it don't work - don't come asking for help as this is only a rough example of one way of doing it. RTFM - that's how we worked it out!
SH
try {
Transport.send(msg);
// If we get to here then the mail went OK so update all the records in the email as sent
System.out.println("Email sent OK");
catch (MessagingException mex) {
System.out.println("Message error");
Exception ex = mex;
do {
if (ex instanceof SendFailedException) {
if (ex.getMessage().startsWith("Sending failed")) {
// Ignore this message as we want to know the real reason for failure
// If we get an Invalid Address error or a Message partially delivered message process the message
if (ex.getMessage().startsWith("Message partially delivered")
|| ex.getMessage().startsWith("Invalid Addresses")) {
// This message is of interest as we need to process the actual individual addresses
System.out.println(ex.getMessage().substring(0, ex.getMessage().indexOf(";")));
// Now get the addresses from the SendFailedException
SendFailedException sfex = (SendFailedException) ex;
Address[] invalid = sfex.getInvalidAddresses();
if (invalid != null) {
System.out.println("Invalid Addresse(s) found -");
if (invalid.length > 0) {
for (int x = 0; x < invalid.length; x++) {
System.out.println(invalid[x].toString().trim());
Address[] validUnsent = sfex.getValidUnsentAddresses();
if (validUnsent != null) {
System.out.println("Valid Unsent Addresses found -");
if (validUnsent.length > 0) {
for (int x = 0; x < validUnsent.length; x++) {
System.out.println(validUnsent[x].toString().trim());
Address[] validSent = sfex.getValidSentAddresses();
if (validSent != null) {
System.out.println("Valid Sent Addresses found -");
if (validSent.length > 0) {
for (int x = 0; x < validSent.length; x++) {
System.out.println(validSent[x].toString().trim());
if (ex instanceof MessagingException)
ex = ((MessagingException) ex).getNextException();
else {
// This is a general catch all and we should assume that no messages went and should stop
System.out.println(ex.toString());
throw ex;
} while (ex != null); -
How can i add custom attributes to a new Class Object using the API ?
Hello everyone,
Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
// doc is an instance of Document
ClassObject co = doc.getClassObject();
ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
cod.setSuperclass(co);
cod.setSuperclassName(co.getName());
cod.setName("MYDocument");
ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
AttributeDefinition value = new AttributeDefinition(ifsSession);
value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
c.addAttribute(value);
But i got the following error message :
oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
So, what am i doing wrong ?
More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
Any help would be appreciated. Thanks in advance.
Guillaume
PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
nullHi Guillaume,
you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
is used to check for erronous cases only
and it shouldn't be used otherwise.
Creating your own objects could be simply done via
ClassObject ifsClassObject;
DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
// get class object for my very own document
ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
// set the class for the document i'd like to create
ifsDocDef.setClassObject(ifsClassObject);
// set attributes and content for the document...
ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
ifsDocDef.setContent("This is the content of my document");
// create the document...
PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
null -
How to get permission of a sharepoint list for a user using REST api
Hi there,
I have a requirement where i need to check the access permission of a user against a List or Library only using REST api from my remote salesforce app. [I already have access token and I am able to view list, add item etc..]
Say for example, I have to send the list name and user name, and get the result as Read, Write, Contribute(Manage), None. I need to display what permission does that user have for that List.
How do I achieve this. Please help me.
Thanks in advance.Hi,
For High and low bits, we can create a new SP.BasePermissions object to use like below:
function success(data){
var permissions = new SP.BasePermissions();
permissions.set(SP.PermissionKind.manageLists);
var hasPermission = permissions.hasPermissions(data.d.EffectiveBasePermissions.High, data.d.EffectiveBasePermissions.Low);
Here is a detailed article for your reference:
http://www.lifeonplanetgroove.com/checking-user-permissions-from-the-sharepoint-2013-rest-api/
Thanks
Best Regards
Jerry Guo
TechNet Community Support -
Hi,
I am trying to fetch report using bing API and making a SOAP call for fetching the data. I get the following error:
[Warning] fopen(): SSL: Connection reset by peer [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
02-04-2015 10:17:41 (BST) : [Warning] fopen(): Failed to enable crypto [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
02-04-2015 10:17:41 (BST) : [Warning] fopen(https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=rzr63XFt5qJduddohoIRyOYAP%2f1%2ftsnhk8L%2bzBmUpdU2CQlcUB98RpY%2bbOaLFFGMqAC4IUUadC%2fNdNnJqeVCY%2f%2bpy6noVsVA%2fMJp47a3Xb1VjABfKhcdKy6vqpgEdcQg%2fQZ7QcEpZ3bEloJjUtGpDquFk53BnkeHEPVWZkDYcsQegRz%2fpG4t4w6gKCCRmhArd6osr6ZU9CMJ3lbxtGXjcQEMPvP2apNyr9P%2fc8niyfWA2aBcm1aEmOLX2KL3aRJ4rz9N7gG7uBslVZH%2b4rUjHdB7CMkbb%2fHyHwvPTqGPbPCHnicefr%2b%2fDP70hlkBEGfyOOswK67%2bl1zh7CyIv%2bcMlaDsuDX1HeFf4uORfD41H1z7):
failed to open stream: operation failed [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
Whenever I execute my script. Can you please let me know what we can do to solve this issue. The version of PHP we are using is 5.3.3 with open ssl.Hi Shobha,
I can't confirm what version of PHP you are using, but to err on the side of caution please use the version specified in the sample/SDK:
PHP 5.4.14 has been installed from PHP.
Here is our code examples:
https://msdn.microsoft.com/en-US/library/bing-ads-overview-getting-started-php-with-web-services.aspx
Thanks,
Itai -
How to get the service name of a webservice using UDDI API
Hi,
Iam working on setting up a dynamic partner link in a BPEL, by passing the endpoint of a web service queried from the UDDI (Oracle Service Registry 10.3 ) using the API. Iam able to do it successfully.
Now, for example I have two operations in my wsdl, one to createCustomer and the other to bookTicket. I need to get the operation name using UDDI API so that i can pass it along with the endpoint to the partner link. ie. When i need to createCustomer, my UDDI API code will need to get the service name createCustomer and the endpoint and I would pass them to the partnerlink and the createCustomer operation of my webservice would be called.
Can any one help me to get the service names of the wsdl using UDDI APIs.
Thanks,
AnanthHi sia,
1. Table is APQI
2. field name for session name is GROUPID
regards,
amit m. -
Best practice for development using REST API - OData
Hi All, I am new to REST. I am a developer who works mostly in server-side code using Visual Studio. Now that Microsoft is advocating to write code using REST API instead of server-side code or client side object model, I am trying to use REST API.
I googled and most of the example shows to write a code and put it on Content Editor/Script Editor. How to organize code and deploy to the staging/production in this scenario? Is there any Best Practice or example around this?
Regards,
KhushiIf you are writing code in aspx or cs it does not mean that you need to deploy it in the SharePoint server, it could be any other application running from your remote server. What I mean it you can use C# & Rest API to connect to SharePoint server.
REST API in SharePoint 2013 provides the developers with a simple standardized method of retrieving information from SharePoint and it can be used from any technology that is capable of sending standard HTTP requests.
Refer to the following blog that provide your more details about comparison of the major features of these programming choices/
http://msdn.microsoft.com/en-us/library/jj164060.aspx#RESTODataA
http://dlr2008.wordpress.com/2013/10/31/sharepoint-2013-rest-api-the-c-connection-part-1-using-system-net-http-httpclient/
Hope this helps
--Cheers -
Best practice to monitor 10gR3 OSB performance using JMX API?
Hi guys,
I need some advice on the best practice to monitor 10gR3 OSB performance using JMX API.
Jus to show I have done my home work, I managed to get the JMX sample code from
http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/jmx_monitoring/example.html#wp1109828
working.
The following is the list of options I am think about:
* Set up: I have a cluster of one 1 admin server with 2 managed servers, which managed server runs an instance of OSB
* What I try to achieve:
- use JMX API to collect OSB stats data periodically as in sample code above then save data as a record to a
database table
Options/ideas:
1. Simplest approach: Run the modified version of JMX sample on the Admin Server to save stats data to database
regularly. I can't see problems with this one ...
2. Use WLI to schedule the Task of collecting stats data regularly. May be overkill if option 1 above is good for production
3. Deploy a simple web app on Admin Server, say a simple servlet that displays a simple page to start/stop and configure
data collection interval for the timer
What approach would you experts recommend?
BTW, the caveats os using JMX in http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/jmx_monitoring/concepts.html#wp1095673
says
Oracle strongly discourages using this API in a concurrent manner with more than one thread or process. This is because a reset performed in
one thread or process is not visible to another threads or processes. This caveat also applies to resets performed from the Monitoring Dashboard of
the Oracle Service Bus Console, as such resets are not visible to this API.
Under what scenario would I be breaking this rule? I am a little worried about its statement
discourages using this API in a concurrent manner with more than one thread or process
Thanks in advance,
SamHi Manoj,
Thanks for getting back. I am afraid configuring aggregation interval from Dashboard doesn't solve problem as I need to collect stats data of endpoint URI or in hourly or daily basis, then output to CSV files so line graphs can be drawn for chosen applications.
Just for those who may be interested. It's not possible to use SQL to query database tables to extract OSB stats for a specified time period, say 9am - 5pm. I raised a support case already and the response I got back is 'No'.
That means using JMX API will be the way to go :)
Has anyone actually done this kind of OSB stats report and care to give some pointers?
I am thinking of using 7 or 1 days as the aggregation interval set in Dashboard of OSB admin console then collects stats data using JMX(as described in previous link) hourly using WebLogic Server JMX Timer Service as described in
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/jmxinst/timer.html instead of Java's Timer class.
Not sure if this is the best practice.
Thanks,
Regards,
Sam -
Problems in using EP API in web dynpro
Hi all,
I am using of the UME API of EP in my web dynpro application. I have inlcuded the 'com.sap.security.jar' file in my build path and did a local build and deployed the application on my development system, it works well. But while moving the same to the quality system, while activating it is throwing syntax errors saying the classes that i have used are undefined. The same erros come even when i do a DC level build.
I have tried including the jar file in the 'lib' folder of the DC, even then, i dont get any errors when i build it locally, where as there are errors while doing a DC level build.
Please tell me if there is any way of including this jar file some where so that it does not throw any erros in DC level build and also while activating.
Regards,
NarahariHi Ravi,
Sorry for the late reply.
I inlcuded the security.jar file. but still i get the following errors,Please advice :-+
Enumeration enum = store.aliases();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:392: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.5 to use 'enum' as a keyword)
while(enum.hasMoreElements()) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:393: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
(try -source 1.5 to use 'enum' as a keyword)
alias = (String)enum.nextElement();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:31: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public IUser forceLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:31: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public IUser forceLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:42: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public IUser getLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:42: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public IUser getLoggedInUser(HttpServletRequest req, HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:51: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public void logout(HttpServletRequest req,HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:51: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public void logout(HttpServletRequest req,HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:68: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.IAuthentication
public void forceLogoffUser(HttpServletRequest req, HttpServletResponse resp, String url);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\IAuthentication.java:68: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.IAuthentication
public void forceLogoffUser(HttpServletRequest req, HttpServletResponse resp, String url);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSEObject.java:3: package iaik.asn1 does not exist
import iaik.asn1.ASN1Object;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSEObject.java:8: cannot find symbol
symbol : class ASN1Object
location: interface com.sap.security.api.keystore.secudePSEObject
public ASN1Object getObject ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:3: package iaik.x509 does not exist
import iaik.x509.X509Certificate;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:4: package iaik.asn1.structures does not exist
import iaik.asn1.structures.Name;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:16: cannot find symbol
symbol : class Name
location: interface com.sap.security.api.keystore.PKList
public void removeCertificate (Name subject);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\PKList.java:21: cannot find symbol
symbol : class X509Certificate
location: interface com.sap.security.api.keystore.PKList
public void addCertificate (X509Certificate cert);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:10: package iaik.asn1 does not exist
import iaik.asn1.SEQUENCE;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:11: package iaik.asn1 does not exist
import iaik.asn1.ASN1Object;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:12: package iaik.asn1 does not exist
import iaik.asn1.DerCoder;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:13: package iaik.asn1 does not exist
import iaik.asn1.SET;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:14: package iaik.asn1 does not exist
import iaik.asn1.INTEGER;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:15: package iaik.asn1 does not exist
import iaik.asn1.OCTET_STRING;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:16: package iaik.asn1 does not exist
import iaik.asn1.ObjectID;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:17: package iaik.asn1 does not exist
import iaik.asn1.PrintableString;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:18: package iaik.asn1 does not exist
import iaik.asn1.UTCTime;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:19: package iaik.x509 does not exist
import iaik.x509.X509Certificate;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:20: package iaik.asn1.structures does not exist
import iaik.asn1.structures.Name;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:42: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer = new INTEGER (2);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:43: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.secudePSE
static ObjectID oid = new ObjectID ("1.2.840.113549.3.7", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:44: cannot find symbol
symbol : class OCTET_STRING
location: class com.sap.security.api.keystore.secudePSE
static OCTET_STRING os = new OCTET_STRING (new byte [] { 0x00, 0x00,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:48: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.secudePSE
static PrintableString user = new PrintableString ("SYSTEM");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:49: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer2 = new INTEGER (1);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:50: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
static SEQUENCE oidseq = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:198: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.PKListImpl
private static ObjectID pkloid = new ObjectID ("1.3.36.2.6.1", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:201: cannot find symbol
symbol : class ASN1Object
location: class com.sap.security.api.keystore.PKListImpl
private ASN1Object asn = null;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:213: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.keystore.PKListImpl
public void addCertificate (X509Certificate cert)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:223: cannot find symbol
symbol : class ASN1Object
location: class com.sap.security.api.keystore.PKListImpl
public synchronized ASN1Object getObject ()
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:261: cannot find symbol
symbol : class Name
location: class com.sap.security.api.keystore.PKListImpl
public void removeCertificate (Name subject)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:261: removeCertificate(java.lang.String) is already defined in com.sap.security.api.keystore.PKListImpl
public void removeCertificate (Name subject)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\ILogonAuthentication.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\ILogonAuthentication.java:44: cannot find symbol
symbol : class HttpServletRequest
location: interface com.sap.security.api.logon.ILogonAuthentication
public javax.security.auth.Subject logon (HttpServletRequest req, HttpServletResponse resp, String authscheme)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\ILogonAuthentication.java:44: cannot find symbol
symbol : class HttpServletResponse
location: interface com.sap.security.api.logon.ILogonAuthentication
public javax.security.auth.Subject logon (HttpServletRequest req, HttpServletResponse resp, String authscheme)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:8: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:9: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletResponse;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:20: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.logon.WebCallback
private HttpServletRequest request;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:21: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.logon.WebCallback
private HttpServletResponse response;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:45: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.logon.WebCallback
public void setRequest(HttpServletRequest request) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:54: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.logon.WebCallback
public HttpServletRequest getRequest() {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:90: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.logon.WebCallback
public HttpServletResponse getResponse() {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\logon\WebCallback.java:99: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.logon.WebCallback
public void setResponse(HttpServletResponse response) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\permissions\ValuePermission.java:6: package com.sap.engine.lib.logging does not exist
import com.sap.engine.lib.logging.LoggingHelper;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\ISSOSession.java:3: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\ISSOSession.java:24: cannot find symbol
symbol: class HttpSession
public interface ISSOSession extends HttpSession
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:6: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletRequest;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:7: package javax.servlet.http does not exist
import javax.servlet.http.HttpServletResponse;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:68: cannot find symbol
symbol : class HttpServletRequest
location: class com.sap.security.api.session.SessionFactory
public abstract ISSOSession getSSOSession (HttpServletRequest req,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\session\SessionFactory.java:69: cannot find symbol
symbol : class HttpServletResponse
location: class com.sap.security.api.session.SessionFactory
HttpServletResponse resp);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:29: package iaik.x509 does not exist
import iaik.x509.X509Certificate;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:30: package iaik.asn1.structures does not exist
import iaik.asn1.structures.Name;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:31: package iaik.asn1 does not exist
import iaik.asn1.ObjectID;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:32: package iaik.pkcs does not exist
import iaik.pkcs.*;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:376: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public abstract X509Certificate getSignerCertificate()
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:453: cannot find symbol
symbol : class PKCSParsingException
location: class com.sap.security.api.ticket.TicketVerifier
PKCSParsingException,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:478: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static X509Certificate findCert(X509Certificate[] certs, Name issuer, BigInteger serial)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:478: cannot find symbol
symbol : class Name
location: class com.sap.security.api.ticket.TicketVerifier
public static X509Certificate findCert(X509Certificate[] certs, Name issuer, BigInteger serial)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:478: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static X509Certificate findCert(X509Certificate[] certs, Name issuer, BigInteger serial)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:510: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static boolean verifyCertificate (X509Certificate[] certs, X509Certificate test, boolean verifyChain)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:510: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.ticket.TicketVerifier
public static boolean verifyCertificate (X509Certificate[] certs, X509Certificate test, boolean verifyChain)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\ticket\TicketVerifier.java:570: cannot find symbol
symbol : class Name
location: class com.sap.security.api.ticket.TicketVerifier
public static Name newName(String country, String loc, String org, String orgUnit, String commonName) {
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\umap\IUserMappingData.java:8: package javax.xml.soap does not exist
import javax.xml.soap.SOAPMessage;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\umap\IUserMappingData.java:82: cannot find symbol
symbol : class SOAPMessage
location: interface com.sap.security.api.umap.IUserMappingData
public void enrich (SOAPMessage msg)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\umap\IUserMappingData.java:82: enrich(java.util.Properties) is already defined in com.sap.security.api.umap.IUserMappingData
public void enrich (SOAPMessage msg)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\UMFactory.java:26: package com.sap.engine.lib.logging does not exist
import com.sap.engine.lib.logging.LoggingHelper;
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:42: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer = new INTEGER (2);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:43: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.secudePSE
static ObjectID oid = new ObjectID ("1.2.840.113549.3.7", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:44: cannot find symbol
symbol : class OCTET_STRING
location: class com.sap.security.api.keystore.secudePSE
static OCTET_STRING os = new OCTET_STRING (new byte [] { 0x00, 0x00,
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:48: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.secudePSE
static PrintableString user = new PrintableString ("SYSTEM");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:49: cannot find symbol
symbol : class INTEGER
location: class com.sap.security.api.keystore.secudePSE
static INTEGER integer2 = new INTEGER (1);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:50: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
static SEQUENCE oidseq = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:88: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.secudePSE
SET set= new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:88: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.secudePSE
SET set= new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:89: cannot find symbol
symbol : class UTCTime
location: class com.sap.security.api.keystore.secudePSE
UTCTime utc= new UTCTime ("020101000000Z");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:89: cannot find symbol
symbol : class UTCTime
location: class com.sap.security.api.keystore.secudePSE
UTCTime utc= new UTCTime ("020101000000Z");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:90: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE outerSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:90: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE outerSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:91: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE otherSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:91: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.secudePSE
SEQUENCE otherSequence = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:111: cannot find symbol
symbol : variable DerCoder
location: class com.sap.security.api.keystore.secudePSE
DerCoder.encodeTo (outerSequence, os);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:171: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.keystore.secudePSE
pklist.addCertificate (new X509Certificate (new FileInputStream (args[1])));
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:198: cannot find symbol
symbol : class ObjectID
location: class com.sap.security.api.keystore.PKListImpl
private static ObjectID pkloid = new ObjectID ("1.3.36.2.6.1", "", "");
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:230: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE s = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:230: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE s = new SEQUENCE ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:231: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.PKListImpl
PrintableString str = new PrintableString (name);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:231: cannot find symbol
symbol : class PrintableString
location: class com.sap.security.api.keystore.PKListImpl
PrintableString str = new PrintableString (name);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:232: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.PKListImpl
SET ss = new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:232: cannot find symbol
symbol : class SET
location: class com.sap.security.api.keystore.PKListImpl
SET ss = new SET ();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:240: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE cert = (SEQUENCE)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:240: cannot find symbol
symbol : class SEQUENCE
location: class com.sap.security.api.keystore.PKListImpl
SEQUENCE cert = (SEQUENCE)
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:241: cannot find symbol
symbol : class X509Certificate
location: class com.sap.security.api.keystore.PKListImpl
((X509Certificate)certs.get (keys.nextElement())).toASN1Object();
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\keystore\secudePSE.java:258: cannot find symbol
symbol : variable DerCoder
location: class com.sap.security.api.keystore.PKListImpl
return DerCoder.encode (asn);
^
C:\Documents and Settings\Narahari_Vedula\.dtc\1\DCs\bp.com\securityAPI\_comp\src\packages\com\sap\security\api\permissions\ValuePermission.java:28: cannot find symbol
symbol : variable LoggingHelper
location: class com.sap.security.api.permissions.ValuePermission
private static Category cat = Category.getCategory(LoggingHelper.SYS_SECURITY, "Usermanagement");
^
Note: * uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Regards,
Narahari -
Using Windows API in my LabWindows CVI code
Hi all.
I would like any and all help. I am developing on LabWINDOWS 2010 and am trying to use the Windows API, particularly the multimedia APIs, in my CVI code. What I am trying to do is audio development, only it has to be in .NET or Visual C++ platform. I have developed the code and UIR, but when I build the solution it tanks on me. Of course when I use MS Visual C++ 2008 or 2010 there are no errors and I could use MS Visual C++ to develop my application, but the development of the user interface and the controls is much more straight forward with CVI and there are more controls to work with than there are with MS Visual C++. Most of the errors that I get are related to the following header files: "MMSystem.h", "devicetopology.h", and the "endpointvolume.h". When I try and build a skelton project with no controls or indicators on the .UIR I get the errors like:
"devicetopology.h"(2301,20) Missing parameter type.
"devicetopology.h"(2301,40) syntax error; found '*' expecting ')'.
"MMSystem.h"(151,1) Unrecognized declaration.
"MMSystem.h"(850,96) syntax error; found 'identifier' expecting ')'.
That is just a few of them, but they typically say the same thing. I have included the header files and libraries in my project, and have made sure that they are in the CVI "sdk" directory. I have tried example code that have these header files and the result is still the same. I know that I should not have these type of issue, at least I don't think I should. Like I said I could use as much help as possible of figuring out what is the matter. Did I install the CVI improperly? Are there patches that I need to actually use windows APIs? I am attaching to this post my code and the code I downloaded from a LabWINDOWS forum. When I ran the code from the forum I got the same errors.
Thanks in advance.
Attachments:
AudioVolume.c 2 KB
VISTAS-OpenAL.c 44 KBHumphreyy,
thanks for the tip. I tried it but it did not work, the same errors were present. Are there any other suggestions. I have racked my brain to figure out why this is happening and have come up with nothing. I am also getting a "Warning" message concerning the "KsMedia.h" file that says "Warning: Excess characters in multibyte character literal ignored." The warnings trace back to the "typedef enum" section of that file. Could that be causing a ripple effect that produces the error I am seeing in the other header files I mentioned??
I could really use your help and any more help that is available. I really don't want to use Visual C++, because this software is going to get more sophisticated and is to be used in NASA Langley's VISTAS simulator, an environment taylor made for National Instruments software. -
To recognize corrupt framemaker file using framemaker API
If I rename a framemaker book as .fm file and then I try to include this file as a component of another book, no pdf is generated on saving the book as pdf.
How can I make sure that a book file is not added as a component using framemaker API ( currently using fdk 6.0).
Thanks,
Asha RayakarAsha,
I think I understand now. Somebody else renamed the file... you are just trying to catch the error in your code, right?
I tried to duplicate this scenario, but in my experiments, FrameMaker was smart enough to know what kind of file it was, regardless of the extension. So, here are just some ideas...
- If the file isn't actually "corrupt," you can use F_ApiGetObjectType() to find out whether it is a FO_Book, FO_Doc, or something else. If a document is corrupted, I don't know what that function might return.
- If the file is corrupt, I would think that you should be able to query some kind of property to find that out. For example, maybe you could count the number of paragraph formats in the file. My guess is that a corrupt document will have significantly fewer than you would expect to see, if any at all.
Russ -
Best option to push Mass data using Java API
Hi All,
Can any one let me know how Java API push data to MDM? Is it a good option when ti comes to perfromance point of view? We have around 2000/5000 records to be imported every time using Java API and wondering what would be best way to acheive this using Java API?
Is java API is best option than Web services?
Thanks
RajeevRajeev,
It is perfectly fine to use API to push data into MDM, you just need to make sure that your API does all those tasks which import manager does by default. For example, it should know when to insert and when to update. if an error happens during insertion of record, you should be able to notify the users.
Having said that, where does the number 2000/5000 comes in? will you be creating users in batch and then invoke MDM API to store these in a single shot or willl it be a delta insert/update from Java to MDM?
Thanks
Aamir -
How to upload Image to MDM 5.5 SP3 using Java APIs
Hi,
I am trying to upload Image to Images table in MDM 5.5 using JAVA API for MDM. But. I'm not able to find particular field in Images table where I need to set the Blob object ( Image data ).
I'm not aware of the method to set the Blob, there is one for getting the Image data.
I have gone through I am not able to add images into Catalog thru java API forums posts and tried the code. But with no luck....
I think this code is for some other MDM version as the fields mentioned are not present in the Images table e.g. DataObject - this field is used in the above posts to set the Blob data but this field does not exist in Images table in MDM 5.5
Can anyone suggest the solution?
Thanks and Regards,
MausamHi Mausam,
Please try the following:
// adding to a image table
// get the bytes for the image
byte[] imageBuf = readFile("C:\pic.bmp");
// setup A2iFields
fields = new A2iFields();
fields.Add(new A2iField("DataObject", new
Value(imageBuf))); // the image binary (required)
fields.Add(new A2iField("Name", new Value("pic.bmp")));
// a name for the image
fields.Add(new A2iField("OrigName", new
Value("pic.bmp"))); // the original image file name
(required)
fields.Add(new A2iField("DataGroupId", new Value(888)));
// the data group to add to (required)
fields.Add(new A2iField("OrigLocationId", new
Value(999))); // the data location of the image
(required)
fields.Add(new A2iField("Description", new Value("a
short description"))); // a short description here
// add the image
String imageTable = "Images";
catalog.AddRecord(imageTable, fields, -1, -1);
It's taken out of the API guide for SP3 (the example for method AddRecord.
Best regards,
Amit -
Getting exceptions while sending mail using javamail api
Hi to all
I am developing an application of sending a mail using JavaMail api. My program is below:
quote:
import javax.mail.*;
import javax.mail.internet.*;
import java.util.*;
public class sms
public static void main(String args[])
try
String strstrsmtserver="smtp.bol.net.in";
String strto="[email protected]";
String strfrom="[email protected]";
String strsubject="Hello";
String bodytext="This is my first java mail program";
sms s=new sms();
s.send(strstrsmtserver,strto,strfrom,strsubject,bodytext);
catch(Exception e)
System.out.println("usage:java sms"+"strstrsmtpserver tosddress fromaddress subjecttext bodyText");
System.exit(0);
public void send(String strsmtpserver,String strto,String strfrom ,String strsubject,String bodytext)
try
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
Properties p=new Properties(System.getProperties());
if(strsmtpserver!=null)
p.put("mail.transport.protocol","smtp");
p.put("mail.smtp.host","[email protected]");
p.put("mail.smtp.port","25");
Session session=Session.getDefaultInstance(p);
Message msg=new MimeMessage(session);
Transport trans = session.getTransport("smtp");
trans.connect("smtp.bol.net.in","[email protected]","1234563757");
msg.setFrom(new InternetAddress(strfrom));
msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(strto,false));
msg.setSubject(strsubject);
msg.setText(bodytext);
msg.setHeader("X-Mailer","mtnlmail");
msg.setSentDate(new Date());
Transport.send(msg);
System.out.println("Message sent OK.");
catch(Exception ex)
System.out.println("here is error");
ex.printStackTrace();
It compiles fine but showing exceptions at run time.Please help me to remove these exceptions.I am new to this JavaMail and it is my first program of javamail.Please also tell me how to use smtp server.I am using MTNL 's internet connection having smtp.bol.net.in server.
exceptions are:
Here is exception
quote:
Javax.mail.MessagingException:Could not connect to SMTP host : smtp.bol.net.in, port :25;
Nested exception is :
Java.net.ConnectException:Connection refused: connect
At com.sun.mail.smtp.SMTPTransport.openServer<SMTPTransport.java:1227>
At com.sun.mail.smtp.SMTPTransport.protocolConnect<SMTPTransport.java:322>
At javax.mail.Service .connect(Service.java:236>
At javax.mail.Service.connect<Service.java:137>
At sms.send<sms.java:77>
At sms.main<sms.java:24>Did you find the JavaMail FAQ?
You should talk to your ISP to get the details for connecting to your server.
In this case I suspect your server wants you to make the connection on the
secure port. The FAQ has examples of how to do this for GMail and Yahoo
mail, which work similarly. By changing the host name, these same examples
will likely work for you.
Maybe you are looking for
-
My HP Color LaserJet 3600n won't install on new laptop running internet explorer 11 windows 8
HP3600n was installed on old Gateway desktop and was accessed wirelessly from Dell laptop with Windows XP. I purchased new Lenovo laptop with internet explorer 11, Windows 8.1. I am unable to access HP3600n wirelessly for some reason. I tried to inst
-
Calling different views at runtime based on my condition abap webdynpro
Hi friends, Could you pls help me in this issue. I am new to webdynpro abap. I have an action on my first view. basically its a sales order linktoaction. when i click it, i have to check a condition. if process type = A, then navigate to view 2(dif
-
Hi, I'm using my MacMini as a media-server for my music and videos. I want to share my files, so that I have access with my MBP. But I can only access some videos with my MBP. I have about 400 videos in my iTunes-Library on my MacMini, but I can only
-
Hello all... I am trying to install FDM Version 11 Fusion Edtion. All EPM products have been installed on the same machine. All products have been installed and configured successfully except FDM. After the installation of FDM, when I try to open the
-
How to lookup EJB3 beans using JNDI names without defining ejb-ref in DD?
Hi Kenneth, I am just continuing the topic: How Lookup SLSB from other SLSB? <HELP> http://forum.java.sun.com/thread.jspa?threadID=5117484&tstart=0 (my original forums account failed, so I am using new one) if I am not seeking portability I should be