Storing SUP credentials on Afaria Server

Hi,
I have a quick question to check if it is possible to read SUP credentials (CompanyIDsetting, activation code, URL prefix, UsernameSetting....) from Afaria server using a Afaria mobile device client.
This would eliminate the need for the end-user to fill in all these parameters on the "settings" part of the device (iOS)
I was reading a post on how Afaria accesses ODP (Online Data Proxy) and found code snippets to fetch SUP credentials:
Ex:
1.1.2.      (NSString *) getServer
getServer is part of the LiteSUPAppSettings class. This returns an NSString which contains the server IP.
Code Snippet:
// This method returns the SUP server host name.
NSString *server =  [LiteSUPAppSettings getServer];
I want to know if it is possible to fetch SUP credentials using Afaria on the mobile device, and then using these fetched parameters login to SUP applications.
Need is to eliminate user having to change/play around with "settings" on iOS devices.
Thanks in advance

Hi,
Thanks for the response. We kinda figured it out, how to do it.
You need LiteSUPAppsettings library in your xcode.
Then you can invoke details like -
1.   Method Signatures
1.1.                     iOS
1.1.1.      (NSMutableDictionary *) getSettingsFromAfariaWithUrl: (NSURL *) configurationUrl    UrlScheme:(NSString *)urlScheme
The API getSettingsFromAfariaWithURL is part of the LiteSUPUserManager in iOS takes two parameters
1)      Configuation URL
The configuration URL that is called to get the settings that were stored.
2)      URL Scheme
URL scheme of the calling application.
This API returns a NSMutableDictionary containing all the contents stored in the seed file as key-value pairs.
Code Snippet:
The calls to the Afaria server need to be made twice in application.
First, at anypoint in the application. This calls the Afaria server in which the seed file is located
Secondly, in the AppDelegate once the url is received from the Afaria client.
The first call can be made anywhere in the program.
LiteSUPUserManager* manager = [LiteSUPUserManager getInstance: :@"NewFlight"];
[manager setDelegate:self];
NSMutableDictionary *settings = [manager getSettingsFromAfariaWithUrl:nil UrlScheme:@"BASEAPP"];
In the AppDelegate once we receive the url from the AfariaClient, the second call is made:-  (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
                LiteSUPUserManager* userManager = [LiteSUPUserManager getInstance:@"NewFlight"];
NSMutableDictionary *map;
                @try{
                                //call the API again passing the URL this time
map = [userManager getSettingsFromAfariaWithUrl:url UrlScheme:@"BASEAPP"];
                                for(id key in map) {
                                //read the settings got from Afaria
                                id value = [map objectForKey:key];
                }@catch (NSException *exception) {
                                NSLog(@"%@ ",[[exception userInfo] objectForKey:@"ErrorCode"]);
                return YES;
1.1.2.      (NSString *) getServer
getServer is part of the LiteSUPAppSettings class. This returns an NSString which contains the server IP.
Code Snippet:
// This method returns the SUP server host name.
NSString *server =  [LiteSUPAppSettings getServer];
1.1.3.      (int) getPortNumber
getPortNumber is part of the LiteSUPAppSettings class. This returns an int which contains the port on the SUP server to which the client should connect.
Code Snippet:
// This method returns the port number on the SUP server to which the client should connect.
int portNO = [LiteSUPAppSettings getPortNumber];
1.1.4.      (NSString *) getFarmId
getFarmId is part of the LiteSUPAppSettings class. This returns an NSString which contains the server IP.
Code Snippet:
// This method returns the Farm ID of the SUP server.
NSString *farmID = [LiteSUPAppSettings getFarmId];
1.1.5.      (BOOL) isSUPKeyProvisioned
isSUPKeyProvisioned is part of the LiteSUPAppSettings class. This returns a BOOL which can be used to check if the SUP server's public key has been provisioned and returns 'true' if the key is provisioned, else returns 'false'.
Code Snippet:
// This method can be used to check if the SUP server's public key has been provisioned. returns 'true' if the key is //provisioned, else returns 'false'.
BOOL isKeyProvisioned = [LiteSUPAppSettings isSUPKeyProvisioned];
1.2.                     Android
1.2.1.      public static Hashtable getSettingsFromAfaria() throws SeedDataAPIException, IOException
The API getSettingsFromAfariaWithURL() is part of the LiteSUPUserManager in Android.
The API returns a hashtable containing the key-value pairs which were stored in the seed file.
In Android, the method getSettingsFromAfaria() is available statically and hence can be called using the Class name.
Code Snippet:
Hashtable settings_table =  LiteUserManager.getSettingsFromAfaria();
// Get all values
   for (Enumeration e = settings_table.keys(); e.hasMoreElements();)
                //logging the fetched information
                System.out.println("Afaria","Afaria values"+settings_table.get(e.nextElement()));
1.2.2.       public static String getServer() throws MessagingClientException
The API getServer() is part of the LiteAppSettings in Android. This returns an String which contains the server IP.
Code Snippet: 
// This method returns the SUP server host name.
String server = LiteAppSettings.getServer();
1.2.3.      public static int getPortNumber() throws MessagingClientException
The API getPortNumber() is part of the LiteAppSettings in Android. This returns an int which contains the port on the SUP   server to which the client should connect.
Code Snippet:
// This method returns the port number on the SUP server to which the client should connect.
Int portNo = LiteAppSettings.getPortNumber();
1.2.4.      public static String getFarmID() throws MessagingClientException
The API getFarmID() is part of the LiteAppSettings in Android. This returns a String which gives the Farm ID of the SUP server.
Code Snippet:
// This method returns the Farm ID of the SUP server.
String farmID = LiteAppSettings.getFarmID();
1.2.5.      public static boolean IsSUPKeyProvisioned() throws MessagingClientException
The API IsSUPKeyProvisioned() is part of the LiteAppSettings in Android. isSUPKeyProvisioned is part of the AppSettings class. This returns a boolean which can be used to check if the SUP server's public key has been provisioned and returns 'true' if the key is provisioned, else returns 'false'.
Code Snippet:
// This method can be used to check if the SUP server's public key has been provisioned. returns 'true' if the key is //provisioned, else returns 'false'.
boolean isKeyProvisioned = LiteAppSettings.IsSUPKeyProvisioned();
1.3.                     Blackberry
1.3.1.      public static Hashtable getSettingsFromAfaria() throws SeedDataAPIException, IOException
The API getSettingsFromAfariaWithURL() is part of the LiteSUPUserManager in Android. The API returns a  hashtable containing the key-value pairs which were stored in the seed file.
In Blackberry, the method getSettingsFromAfaria() is available statically and hence can be called using the Class name.
Code Snippet:
Hashtable settings = UserManager.getSettingsFromAfaria();
Enumeration it = settings.keys();
// Get all values
while (it.hasMoreElements())
               String key = (String)it.nextElement();
System.out.println ("key, value "+ ":" + key +"," + (String)settings.get(key));
1.3.2.      public static String getServer() throws MessagingClientException
  The API getServer() is part of the AppSettings in Android. This returns an String which contains the server IP.
Code Snippet:
// This method returns the Farm ID of the SUP server.
String farmID = AppSettings.getServer();
1.3.3.      public static int getPortNumber() throws MessagingClientException
  The API getPortNumber() is part of the AppSettings in Android. This returns an int which contains the port on the SUP   server to which the client should connect.
Code Snippet:
// This method returns the port number on the SUP server to which the client should connect.
int portNo = AppSettings.getPortNumber();
1.3.4.      public static String getFarmID() throws MessagingClientException
The API getFarmID () is part of the AppSettings in Android. This returns a String which gives the Farm ID of the SUP server.
Code Snippet:
// This method returns the Farm ID of the SUP server.
String farmID = AppSettings.getFarmID();
1.3.5.      public static boolean IsSUPKeyProvisioned() throws MessagingClientException
The API IsSUPKeyProvisioned() is part of the AppSettings in Android. isSUPKeyProvisioned is part of the AppSettings class. This returns a boolean which can be used to check if the SUP server's public key has been provisioned and returns 'true' if the key is provisioned, else returns 'false'.
Code Snippet:
// This method can be used to check if the SUP server's public key has been provisioned. returns 'true' if the key is //provisioned, else returns 'false'.
boolean isKeyProvisioned =  AppSettings.IsSUPKeyProvisioned();

Similar Messages

  • Creation of DB Adaptert for calling stored procedure in MS SQL server

    Hi,
    I need to create a DB adapter to call a stored procedure in MS SQL Server.
    I have gone thru the thread MS SQL Server database connection
    It mentions that we need to use a command line utility for generating the wsdl and xsd for calling stored procedures in MS SQL server. Please provide information where to find this utility and how to use it.
    Any links to tutorials are welcome.
    Thanks !!.
    Silas.

    Command line is required for stored procedures, if you are using the basic options you don't need to worry.
    (1) Download MS SQL Server 2005 JDBC Driver from Microsoft Site. http://msdn.microsoft.com/en-us/data/aa937724.aspx
    (2) The download is self extracting exe file. Extract this into Program Files on your machine. It should create folder as "Microsoft SQL Server 2005 JDBC Driver"
    (3) In above mentioned folder search for sqljdbc.jar copy this file into JDeveloper\JDBC\lib folder.
    (4) Open JDeveloper/jdev/bin/jdev.conf file add following entry.
    AddJavaLibPath C:/Program files/Microsoft SQL Server 2000 Driver for JDBC/lib
    While executing this step make sure that your JDeveloper is closed.
    (5) On command prompt go to J Developer folder and execute following command
    jdev -verbose
    This will open JDeveloper.
    (6) Now go to JDeveloper > Connections > Database Connections > New Database Connection
    (7) Select Third Party JDBC
    (8) Specify MS Sql Server User Name, password and Role.
    (9) In connection page specify following
    - Driver Class: com.microsoft.sqlserver.jdbc.SQLServerDriver
    - For class path browse to C:/Program files/Microsoft SQL Server 2000 Driver for JDBC/lib folder, select sqljdbc.jar add it as library.
    - Specify URL as following.
    jdbc:sqlserver://SERVERNAME:1433;databaseName=MSSQLDBNAME;
    (10) Go to Test page and test it.
    cheers
    James

  • Writing a stored procedure to import SQL Server table data into a Oracle table

    Hello,
    As a new DBA I have been tasked with writing a stored procedure to import SQL Server table data into an Oracle table. I have been given many suggestions on how to do it from SQL Server but I I just need to write a stored procedure to run it from the Oracle side. Suggestions/guidance on where to start would be greatly appreciated! Thank you!
    I started to write it based on what I have but I know this is not correct :/
    # Here is the select statement for the data source in SQL Server...
    SELECT COMPANY
    ,CUSTOMER
    ,TRANS_TYPE
    ,INVOICE
    ,TRANS_DATE
    ,STATUS
    ,TRAN_AMT
    ,CREDIT_AMT
    ,APPLD_AMT
    ,ADJ_AMT
    ,TRANS_USER1
    ,PROCESS_LEVEL
    ,DESCRIPTION
    ,DUE_DATE
    ,OUR_DATE
    ,OUR_TIME
    ,PROCESS_FLAG
    ,ERROR_DESCRIPTION
      FROM data_source_table_name
    #It loads data into the table in Oracle....   
    Insert into oracle_destination_table_name (
    COMPANY,
    CUSTOMER,
    TRANS_TYPE,
    INVOICE,
    TRANS_DATE,
    STATUS,
    TRANS_AMT,
    CREDIT_AMT,
    APPLD_AMT,
    ADJ_AMT,
    TRANS_USER1,
    PROCESS_LEVEL,
    DESCRIPTION,
    DUE_DATE,
    OUR_DATE,
    OUR_TIME,
    PROCESS_FLAG,
    ERROR_DESCRIPTION)
    END;

    CREATE TABLE statements would have been better as MS-SQL and Oracle don't have the same data types.
    OUR_DATE, OUR_TIME will (most likely) be ONE column in Oracle.
    DATABASE LINK
    Personally, I'd just load the data over a database link:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_table@mssql_db_link
    As far as creating the database link from Oracle to MS-SQL ... that is for somebody else to answer.
    (most likely you'll need to use an ODBC driver)
    EXTERNAL TABLE
    If the data from MS-SQL is in a CSV file, just use and external table.
    same concept:
    insert into oracle_destination_table_name ( <column list> )
    select ... <transform data here>
    from data_source_external_table
    MK

  • Configuration for storing CRM attachments to content server

    Hi Experts,
          We are in the process of large scale implementation. As part of it
    we are trying out solution to store attachments of business a transaction (ex-
    crmd_order - opportunities) to content server.
    As part of Initial configuration and set up
    1. We have installed and connected Content server to CRM system (
    CSADMIN)
    2. We have created a content repository ( OAC0)
    3. We have defined document type (OAC2)
    4. Category linked to content repository ( OACT)
    5. Created relationship b/w Content repository,Object type,document
    type and link table(OAC3)
    Connection looks fine and we are also able to store print lists to
    content server. But when we try saving attachments in tcode crmd_order
    for opportunities , its not saving to the content server. For this we
    have attached object type BUS2000111 to custom doc type and to content
    repository ID. But still have not been successful.
    If you could please confim on what are we missing here.
    We have actually able to save and retrive docs from ECC system but are
    not able to do so in CRM. Any assistance here will be of great help.
    Regards

    Hello,
    Table SOFFCONT1 attachments are stored that are recorded in the database logic of sap. That is if the id of the document not find it in this chart means that you are storing away in a content server.
    I've gotten crm annexes the content stored on a server.
    The first thing I have done is create a content server-class CRM. OAC0 in, then I created the category AOCRS taking the content. CSADMIN and I found that the content is running.
    In transaction SKPR08 BDS_POC1 class I have assigned to the Z-server content that I created. and in all kinds of CRM type I have assigned the new Z category I created.
    After the transaction SBDSV2 I created a new record with BUS1006 in this case because it was a contact in CRM and I have given the document class Z BDS_ATTACH the category of content.
    The BUS is obtained by a trace of the transaction and SWELS swel (with some modification from the transaction in which I attach the document).
    In SBDSV1 I've got to bus1006 BDS_LOC1 class.
    And with that I have solved the problem.

  • TS3276 OSX Mavericks Mail : I configured Yahoo! id in OSX mail, I noticed that sent mails are stored on Mac and not getting stored on Yahoo! sent (server) although I gave the option to store on server in preferences, is there any solution?

    I configured Yahoo! id in OSX mail, I noticed that sent mails are stored on Mac and not getting stored on Yahoo! sent (server) although I gave the option to store on server in preferences, is there any solution?

    Found solution of forum...

  • How to invoke a stored procedure on MS Sql Server with Java?

    I started writing Enterprise Java Beans and created an ODBC dsn with MS Sql Server 2000 which I can access using jdbc:odbc:mySqlDSN. This all works fine using Java Sql Statements. What kind of Java/Java Sql statement can I use to invoke a stored procedure on the Sql Server? Is it possible to use ADO/ADO command objects with Java? Is it possible to import/implement Mdac2.6 ActiveX data objects libary in Java?
    Thanks

    Thanks all for your replies. I will search the api for callable statements. I am curious though, the reply that suggests using a prepared statement - can I put the name of a stored procedure in a prepared statment or is this just suggestions an action query like Insert Into, Update, Delete? Like with ADO you can say
    cmdObject.CommandType = adStoredProcedure
    cmdObject.CommandText = "NameOfStoredProc"
    cmdObject.ExecuteNonQuery()
    Once I am calling/importing/implementing the proper libraries/interfaces in Java, can a prepared statement reference a stored procedure as above?
    Thanks

  • Afaria Server Service Error

    Hello,
    I have error when i'm starting "Afaria server" Service:
    XRS4906: Service: Program 'XMSGSERVER.EXE' terminated abnormally. NT error code '0'.
    Afaria service not started.  EXPLANATION: Afaria process did not finish as expected.
    Help me to correct this error.
    Message was edited by: Michael Appleby

    Hi Marina
    Here is what i just went through on sybase site
    Knowledgebase Article ID #4328
    Summary:
    Receive error: XRS4906: Service: Program 'XMSGSERVER.EXE' terminated abnormally. NT error code '0'. Afaria service not started. EXPLANATION: Afaria process did not finish as expected.
    Resolution ID:  
    4328
    Create Date:
    1/27/2009
    Last Modified:
    3/5/2009
    SYMPTOM:
    Receive error: XRS4906: Service: Program 'XMSGSERVER.EXE' terminated abnormally error message in the Event viewer application log when trying to start the Afaria Server service.
    CAUSE:
    Symantec EndPoint Protection Version 11 is running on the Afaria server.
    SOLUTION:
    Check the logs of the Symantec Endpoint application to determine what rules are preventing the Afaria services from running. An alternative would be to un-install Symantec Endpoint and install Symantec AntiVirus version 10.

  • Is it possible to connect my home computer to files stored on my running osx server mac via VPN

    Is it possible to connect my home computer to files stored on my running osx server mac via VPN. I have VPN set up and can access the Calendar and Contacts via a web browser, however I want to be able to access data files store on the hard drive and shared external drives connected to it. The MacPro runs OSX Server Lion. Any Ideas if this is even possible or how to do it!

    Yeah, that's what I kinda figured. Maybe there is another solution - here is my situation:
    I have internet and cable service through Telus. Telus' system consists of a modem/set-top-box that provides internet (ethernet and wifi) and TV signal (corded) for one TV and another set top box that provides internet (ethernet only) and TV signal (corded) for my other TV in the basement.
    I have an Airport Extreme connected to the modem upstairs which I am using as my home network wifi. I also have an external hard drive (USB) connected to it on which my iTunes library is shared with all Apple machines in my home network.
    My upstairs ATV, connected to my APE, works fine and streams internet (Netflix), iTunes Store and my shared iTunes drive just fine - the APE is 3 feet away with a great signal.
    My downstairs ATV, also connected to my APE via wifi, does not stream so well, particularly the media from the shared drive. I suspect that this is the case because of signal degredation.
    Any suggestions on how to reconstruct my home network to enable my downstairs ATV to work properly?

  • Modifying the credentials of SQL Server inside Netweaver

    Hi
           Can any one please let me know how can I modify the credentials of SQL Server instance which comes by default with Netweaver?
    Thanks
    Shaji

    Are you are referring to the NW database, which stores all the NW and MII administrative files and uses the SID for the database name?  If so I would post this on the Netweaver Forum, as I am not sure of the implications of changing this password.

  • Is there a way to access my iTunes library that's stored on my Mac Mini Server at home over the internet while I'm away on business?

    Hello.
    I've done a bit of searching on Google and have come up empty so far and am looking for your help.
    Here's my situation:
    I have my iTunes media files stored on my NAS on my home network along with my Mac Mini Server with the iTunes library files stored in my Dropbox folder. While I'm at home I can access all of my files without any problems from either my Mac Mini Server or my Macbook Air; however, I recently moved to San Diego for work and would still like to access the media that's on my NAS at home remotely from my Macbook Air so I can sync my iPhone and watch movies.
    Is this even possible? If so, how would I go about setting this up?
    Thanks!

    The sessionstore.js file only exists while Firefox is closed. During shutdown, Firefox writes out that file based (I think) on recovery.js as of that point. When Firefox starts back up again, it reads sessionstore.js and deletes it. So if Firefox is running, it's normal not to see sessionstore.js. Anyway, sessionstore.js is going to be empty now.
    Shadow Explorer might already have done this for you, but just in case...
    You could try the previous versions feature. This is harder to get to on Windows 8 and 8.1, but I have read about a roundabout way. I can't test this myself, but here's what you do:
    Let's say you have a Windows Explorer window open to your current Firefox profile folder. This is something like (with your username and semi-random profile folder name):
    C:\Users\''username''\AppData\Roaming\Mozilla\Firefox\Profiles\blahblah
    Click in the address bar and change the C: to
    \\localhost\c$
    to yield (with your username and semi-random profile folder name)
    \\localhost\c$\Users\''username''\AppData\Roaming\Mozilla\Firefox\Profiles\blahblah
    Press Enter to reload the folder contents that way.
    Now when you right-click recovery.js, recovery.bak, backup.js or sessionstore.js and choose Properties, there should be a Previous Versions tab. Usually the most recent previous version dates back to the last time Windows created a restore point (e.g., system update or possibly scheduled on a more frequent basis).

  • How can I Use a Stored Procedure from Microsoft SQL Server?

    Hi All,
    Would like to use stored procedure as my data service in Visual Composer.
    Our version is VC7.0 SP20.
    Is stored procedure feasible? What is the system that i need to create  in Enterprise Portal? Currently i have BI JDBC System which only allows me to search for tables from SQL Server.
    Much appreciate your help.
    Thanks & Regards,
    Sarah

    Hi Skif,
    Referring to my post: JDBC System Connection VS BI JDBC System Connection
    I do not even able to view list of stored procedure. I need help too..maybe you can show me how do you set the connection? What are the mandatory connection properties? I have filled up:
    - Connection URL
    - Driver class name
    - User Administration: User, Admin (I did user mapping too)
    The error message that i got is:
    com.sap.guimachine.portalconnector.commandhandler.CommandException: Failed to connect to backend system. Check your system definition and user privileges.#
    I had assigned full control to the DB user, and map my portal user to that DB user.
    Many Thanks,
    Sarah

  • Calling a stored procedure on SQL 2008 server

    This might be easy one, but I tried different things just cannot get it to work.
    I am trying to call a stored procedure in SQL 2008 R2 server using Type 4 driver (sqljdbc4.jar) with JR.
    The stored procedure basically has one input and two outputs
    ALTER PROCEDURE [dbo].[usp_Example_Master]
    @XMLResponse as varchar(max),
    @ERROR_NUMBER as int OUTPUT,
    @ERROR_MESSAGE as varchar(300) OUTPUT
    as
    My program.
    Connection connection =null
    CallableStatement cs =null;
    connection = DriverManager.getConnection(url, username, password);
    cs = connection.prepareCall("{call dbo.usp_Example_Master(?,?,?)}");
    cs.setString(1,requestStr);
    cs.registerOutParameter(2, Types.INTEGER);
    cs.registerOutParameter(3, Types.VARCHAR);
    cs.execute();
    ============
    Error: The output parameter 1 was not registered for output.
    But if I added cs.registerOutParameter(1, Types.VARCHAR);
    Error: The formal parameter "@XMLResponse" was not declared as an OUTPUT parameter, but the actual parameter passed in requested output
    ==========
    Appreciate any help !

    Ok. I have an alternative to get it to work now.
    Instead of using index number, I am using the parameter name now. It works as expected and more intuitive any way.
    Ex.
    cs.setString("XMLResponse",req);
    cs.registerOutParameter("ERROR_NUMER",Type.INTEGER);
    Edited by: 903857 on Dec 21, 2011 2:45 PM

  • DB Adapter calling stored procedure in MS SQL Server.

    Hi
    i am calling a stored procedure in a MS SQL Server.
    I configured a Datasource for MS SQL Server driver as Oracle's MS SQL Server Driver(Type 4) Versions: 7.0 and later and provide all db details of sql server. I tested the data source and was getting success message. My BPEL code is just talking with input parameter and then calling the stored procedure in sql server. I was able to compile the code in jdeveloper and deploy to weblogic. But when i am testing the code. i am getting an error.
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>Exception occured when binding was invoked.
    Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'IDMService' failed due to: JCA Binding Component connection issue.
    JCA Binding Component is unable to create an outbound JCA (CCI) connection.
    Test:IDMService [ IDMService_ptt::IDMService(InputParameters,OutputParameters) ] : The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/sql/idm from JNDI and get a new Connection Handle.
    Please make sure that the JCA connection factory and any dependent connection factories have been configured with a sufficient limit for max connections. Please also make sure that the physical connection to the backend EIS is available and the backend itself is accepting connections.
    The invoked JCA adapter raised a resource exception.
    Please examine the above error message carefully to determine a resolution.</faultstring>
    <faultactor/>
    <detail>
    <exception>[Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/sql/idm from JNDI and get a new Connection Handle.</exception>
    </detail>
    </env:Fault>
    What is the problem with connection . How cna i rectify it.
    Thanks,
    Venu Raja

    followed the steps mentioned in meatalnk..
         JCA-12563 - Unable to Establish an Outbound JCA CCI Connection [ID 1235943.1]
    Metalink ID - 1235943.1

  • Storing Unicode data in SQL Server 2000

    hello,
    I'm currently developing a website which must store Cyrillic characters in a SQL Server 2000 database. I know the database can store the data correctly because when I use the MS Front end to connect to the database I am able to copy/paste the text into the database columns correctly.
    Retrieving the data from the database also works correctly and is displayed with the correct characters.
    The problems I am having is that the text seems to get garbled during the SQL insert by the database driver. If I print out the SQL just before it is inserted the characters are still correct but once they get into the database they are wrong. I'm using the JDBC drive to connect to the database.
    Any help would be appreciated,
    Alan

    I change the way I was storing the data from using unicode to getting the char values of each letter (ie \u1041 for &#1041;) and storing them in the database. Then I parse the numbers when I bring them back out and combine them into the original String

  • Use XML files stored in directory of Application server as a input for XI ?

    I have a scenario that there is a xml file stored in sap application server for example /inf/ERQ/XML/XXX.xml which i want to use it as an input for XI. I know that there is an adapter in XI for getting xml file stored in normal path but in my situation it's in application server of SAP so i don't know how to do this.
    Any solution or example for this? Thank you in advance.
    Best regards

    Hi,
    We can read this file through FILE adapter with FTP protocol, before that i think need permission from basis for access.  Configure source(according to xml format) and target structure according to your requirement.  But one thing should remember in XI/PI sour/target XML formats should contain Message type name & namespace name else it can't work.
    Find below link for more information.
    Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)

Maybe you are looking for