Use Sync Services in Java

Hi,
I have a Java application and want to sync it with an Objective-C Sync Engine. Could this cause any problems? Are there pieces of example code how to do it?

Hi,
I have a Java application and want to sync it with an Objective-C Sync Engine. Could this cause any problems? Are there pieces of example code how to do it?

Similar Messages

  • Synchronization between Mac and iPhone using sync services framework

    Hi,
    I want to sync custom data between Mac app and iPhone app. In the first stage it would be sufficient to sync all data from Mac to iPhone, but I want to use sync services framework to make it extensible (just updating new data, syncing from iPhone to Mac, ...).
    Are there any documents, reports, articles, examples, tutorials, books or anything where is described how to implement this?

    No

  • Unable to checkin a document using 'CHECKIN_UNIVERSAL" service through java

    Hi All,
    I am trying to checkin a document through java code and following is my code part for the same( UCM 11g)
    But whenever i run this code part, it throws the following exception
    intradoc.common.ServiceException:csUnableToCheckin,<null>!csUnabletoExecMethod,populateMissingDocumentValues
    Can anyone help me with this?
    Code part
    private void checkinDoc()
    File f=new File("D:/testfolder/BPEL.pdf");
    System.out.println(" absolute path :"+f.getAbsolutePath());
    String filePath = f.getAbsolutePath().replace("\\", "/");
    checkedOutDataBinder.putLocal("IdcService", "CHECKIN_UNIVERSAL");
    checkedOutDataBinder.putLocal("dDocTitle","test");
    checkedOutDataBinder.putLocal("dDocAuthor", "weblogic");
    checkedOutDataBinder.putLocal("dDocType","Document");
    checkedOutDataBinder.putLocal("dSecurityGroup","public");
    checkedOutDataBinder.putLocal("doFileCopy", "1");
    checkedOutDataBinder.putLocal("primaryFile", filePath);
    checkedOutDataBinder.putLocal("xCollectionID", "425180507509000004");
    checkedOutDataBinder = executeService(checkedOutDataBinder,
    "weblogic");
    private DataBinder executeService(final DataBinder binder,
    final String userName) throws DataException, ServiceException
    // obtain a connection to the database
    Workspace workspace = getSystemWorkspace();
    // check for an IdcService value
    String cmd = binder.getLocal("IdcService");
    if (cmd == null)
    throw new DataException("!csIdcServiceMissing");
    // obtain the service definition
    ServiceData serviceData = ServiceManager.getFullService(cmd);
    if (serviceData == null)
    throw new DataException(LocaleUtils.encodeMessage(
    "!csNoServiceDefined", null, cmd));
    // create the service object for this service
    Service service = ServiceManager.createService(serviceData.m_classID,
    workspace, null, binder, serviceData);
    // obtain the full user data for this user
    UserData fullUserData = getFullUserData(userName, service, workspace);
    service.setUserData(fullUserData);
    // binder.m_environment.put(REMOTE_USER, userName);
    ServiceException error = null;
    try
    // init the service to not send HTML back
    service.setSendFlags(true, true);
    // create all the ServiceHandlers and implementors
    service.initDelegatedObjects();
    // do a security check
    service.globalSecurityCheck();
    // prepare for the service
    service.preActions();
    // execute the service
    service.doActions();
    // do any cleanup
    service.postActions();
    // store any new personalization data
    // service.updateSubjectInformation(true);
    //service.updateTopicInformation(binder);
    catch (ServiceException e)
    error = e;
    e.printStackTrace();
    finally
    // Remove all the temp files.
    service.cleanUp(true);
    workspace.releaseConnection();
    // handle any error
    if (error != null)
    // throw new ServiceException(error.m_errorCode, error
    // .getMessage());
    return binder;
    }

    I have been running into the same exception, albeit with UCM 10g:
    Content item 'xxx' was not successfully checked in. Unable to execute service method 'populateMissingDocumentValues'. (System Error: Runtime error: java.lang.NullPointerException
    at collections.CollectionMetaHandler.validateMetaDataDates(CollectionMetaHandler.java:771)
    at collections.CollectionMetaHandler.fillInUndefinedMeta(CollectionMetaHandler.java:806)
    at collections.CollectionUserHandler.setUndefinedMetaData(CollectionUserHandler.java:1353)
    at collections.CollectionUserHandler.populateMissingDocumentValues(CollectionUserHandler.java:1275)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    it seems to have something to do with the xCollectionID.
    If I don't set this, it works fine (checking in and out, checking in new revision). If I set it I can check in a new item using CHECKIN_NEW but I am unable to use CHECKIN_UNIVERSAL to check in a new revision.
    Any pointers would be appreciated.
    Edited by: Jaap on 6-jun-2011 2:41
    Edited by: Jaap on 6-jun-2011 3:09

  • Sync Services eliminated from Mavericks - can no longer sync contacts

    I clearly made a big error updating to Mavericks. I only discovered after the installation that Mavericks no longer supports Sync Services, which was critical to my ability to sync my personal contacts and calendars to all of my devices. In the absence of restoring my computer back to Mountain Lion, I am wondering whether there is anything I can do, but I fear the incompatibilities are too great to surmount.
    My work email, contacts, and calendar are on a 2003 Microsoft Exchange server, and I have no power to change that. That apparently means that the only Mac email client I can use to sync my work contacts and calendar is Microsoft Entourage 2008. (The email is less of a problem, as I believe I could access it through IMAP.) I had also been using Entourage for many years for my personal email, contacts, and calendar, so it has been nice having everything centralized in one program. To sync my personal contacts and calendar, I was using Sync Services to sync everything first with Apple's Address Book and iCal/Calendar, and then those were synced with my online Google account to serve the rest of my devices.
    I had everything set up, as described above, to conveniently sync everything in all directions. Then came Mavericks and the unexpected loss of Sync Services. Now, Entourage 2008 is completely isolated from the outside world with regard to contacts and calendar events, and I believe the same would be true of the newer Outlook 2011. (I never even bothered to upgrade to Outlook 2011, because it apparently is not compatible with 2003 Exchange Server, so it would not have functioned with my work contacts and calendar.) Apple Mail is also apparently not compatible with 2003 Exchange Server. I tried DAVMail to serve as an intermediary to no avail.
    Then, I thought, well, perhaps I could continue to use Entourage 2008 for work email, contacts, and calendar, and switch to Apple Mail, Address Book, and Calendar for my personal email, contacts, and calendar. That is not particularly convenient, but perhaps it would not be too bad. However, I cannot figure out how to transfer my hundreds of calendar events from Entourage 2008 to Apple Calendar. There is an "Import from Entourage" function in the Calendar program, but nothing ever gets imported. It will launch Entourage, if Entourage is not already running, and it will crash Entourage sometimes, but nothing ever gets imported.
    I can also export my calendar events from Entourage in RGE format (some sort of archive format), and I could probably also get them into Outlook 2011 and then export them in OLM format. However, Calendar cannot handle either of those either. I am also not particularly impressed with the functionality of Calendar relative to Entourage/Outlook's calendar system.
    So, now I am wondering whether my best option is to restore my computer to Mountain Lion and hope that my work will eventually change to a 2007 or newer version of Exchange Server. It seems that there are a lot more syncing options on the Windows side of things, as well, so I am thinking my next computer is going to be Windows, and I am due for a new one soon.

    I restored to 10.8.5 using Time Machine. However, Time Machine immediately seemed to get confused and tried backing up my entire entire hard drive, even though I had just restored it and nothing had changed. This process went on for like six hours, and I was afraid to interrupt it. In the end, it failed, because the backup drive was too full. But it kept trying unsuccessfully to backup the whole thing, and I could not figure out a way to make it stop! Eventually, I had to reformat the backup drive and start over with a new backup, which took another eight hours.
    I am going to buy a new computer in the next few months, because my current Mac is over five years old, but I will likely switch to Windows after 20 years of using a Mac at home. It saddens me a bit, and I know that my sync problem with Entourage/Outlook is probably mostly the fault of Microsoft. However, I must have compatibility with my system at work, and the simple fact is that is not possible on the Mac without jumping through hoops.
    In addition, Apple presented Mavericks as a free upgrade in the App Store and promoted all of its alleged new features, but they did not list the things that had been removed (including the Sync Services functionality on which I depended). Given the widespread usage of Office for Mac, I would think it might have been good for them to reveal that broken functionality more prominently. Then, of course, there was the fiasco of trying to restore things back with Time Machine.
    Sigh....

  • How do i enable sync services

    On my iMac OS X Yosemite, I often get an error "Sync Services is disabled."  How do I ENABLE Sync Services software!!!
    Thanks, Lisa

    Hi Lisa.F,
    I'm sorry to hear you are having issues with your Mac. I also apologize, I am a bit unclear in exactly what context you are seeing these error messages (what you were doing at the time), or what the exact error message text is. There is a way to reset Sync Services and re-enable the various sync-related settings afterwards (as outlined in the below article), but Sync Services is only used for very specific (and limited) purposes in OS X 10.10 Yosemite:
    OS X Mavericks 10.9.3 or later use Sync Services only to exchange contact and calendar data with iPhone, iPad and iPod Touch devices over USB when using iTunes 11.2 or later. SyncServices is not used to synchronize data with Exchange, iCloud or other services listed in the Internet Accounts pane of System Preferences in OS X Mavericks.
    OS X: Resetting Sync Services - Apple Support
    Regards,
    - Brenden

  • Web Services SDK (Java API)

    Hi,
    By using Web Services SDK (Java API) can I extract the Table,Join information related to a Universe?
    If so, then can you please give me some guidelines?
    Thanks
    Nirabhra

    Hi Nirabhra,
    I don't think this is possible with the Web Services SDK.
    This can only be done through the Universe Designer SDK (which is only available in COM).
    Please kindly refer to the API reference for the Universe Designer SDK for more details:
    [http://help.sap.com/businessobject/product_guides/boexir31/en/bodessdk.chm]
    Hope this helps.
    Regards,
    Dan

  • Sync Services for iCal

    Hello all,
    I want to make Sync Services for iCal.Currently i want to read the changes in iCal using Sync Service.please give an idea about this...

    I have found the problem and fixed it. I wanted to post the solution so that others might benefit...
    After reading through the developer docs for Sync Services, I isolated the files in /[my home]/Library/SyncServices/Local/ as being suspect. Moving these to my desktop and starting up iCal worked.
    As it turns out, there are a lot of little gotchas surrounding the magic that is Sync Services. This is just one of many!
    Regards,
    Mike
    iBook (brand spanking new)   Mac OS X (10.4.2)  

  • Send Push Notification after Sync Service Updates SQL Database

    I am using Sync Services to synchronize an on-premise database with an Azure SQL Database.  The Azure database is never updated directly - only through the sync service.    I'd like to send a push notification to a mobile app whenever the
    Sync Service changes the Azure database.  How can I do that?  Thanks very much.
    Howard

    Hello,
    When you say "Sync Service", did you means Sync Framework?
    If so, the issue is more relater to the Sync Framework development, I suggest you post the question in the following forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?category=sync
    Reference:Sync Framework: SQL Server to Windows Azure SQL Database Synchronization
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • R.I.P. Sync Services, hello ...eh wait what to use now??

    Hello everybody,
    silently SyncServices have disappeared in OS X Lion. What kind of options to we have now to synchronize? I'm currently working on an application that makes use of contacts and keeps them in sync via sync services. Right now it still works, but as sync services have disappeared, it seems like it is not much future proof at all. After a few hours of searching around, I couldn't find anything related to it, so my questions is, what to do now? What options do we have to keep our applications in sync with contacts, safari bookmarks etc. ...

    Yeah, the writing has been on the wall for SyncServices for sometime. What I'm saying is, its not disappeared yet.
    MobileMe calendar syncing switched from SyncServices to the open CalDAV protocol some time ago. Although MobileMe still uses SyncServices for contact syncing, I'm assuming that when MobileMe is finally switched off in June 2012, by then iCloud will be using (most likely) CardDAV for contact syncing. Presumably Safari Bookmarks will sync using one of the aforementioned iCloud APIs.
    With regard to your application specifically, you might find more relevant discussions in the public Developer Forum, or the developer-only DevForums.

  • Using SQL reporting services with java

    how can i use Microsoft SQL Server reporting services with java? The idea is that we create the reports using Microsoft SQL Server reporting services. Then we have our web application where user will select one of those report, pass 0 or more arguments and then we will show the report.

    nobody is using Microsoft SQL Server reporting
    services with java?Found this in 0.01 seconds with Google http://www.javaworld.com/javaworld/jw-01-2005/jw-0110-sqlrs.html
    Handy tool that Google.

  • SSAS cube sync between two servers using analysis service execute DDL task in SSIS

    hi folks:
      I have two AS servers: TOBIDW and TOBIDW2. TOBIDW2 is the production server where users use Excel to connect . TOBIDW has been identified as a backup Cube server in case if TOBIDW2 is not available.   My job is to create a SSIS package that syncs
    cube db from TOBIDW2 to TOBIDW everyday (one way).
       The standard SSIS dev process  for us   is to develop  in the dev environment and deploy  to production env.  The XMLA script has been extracted using Sync wizard of SSMS on production cube server.  Inside this
    XMLA, the connectionstring is using integrated security = SSPI. 
    When deploy to production, what username/password I should use to replace the integrated security? 
    Thanks
    <Synchronize xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
    <Source>
    <ConnectionString>Provider=MSOLAP.5;Data Source=TOBIDW2;Integrated Security=SSPI;Initial Catalog=ORDERDW</ConnectionString>
    <Object>
    <DatabaseID>ORDERDW</DatabaseID>
    </Object>
    </Source>
    <SynchronizeSecurity>CopyAll</SynchronizeSecurity>
    <ApplyCompression>true</ApplyCompression>
    </Synchronize>
    --Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --

    Hi cat_ca, 
    You don't need to replace Integrated Security=SSPI with other Windows username and password. Integrated Security means it uses the Windows user that launches the process (the dtexec.exe that runs your SSIS package) to connect to the server TOBIDW2 you defined
    in your connection string. 
    Actually for SSAS connection string, you don't normally need to specify user name and password because SSAS only takes Windows Authentication and Integrated Security takes care of it for us automatically using SSPI. The only case when you need to manually
    enter user name and password (Windows user) is when you configured a HTTP Pump to sit in front of your SSAS server and use HTTP://servername/ to access your SSAS server. This is because IIS server could be configured to take Basic Authentication which requires
    explicitly supply Windows user name and password for authentication. In that case your connection string should look similar to this:
    Provider=MSOLAP;Data Source=http://serverName/;Initial Catalog=myDataBase;
    User Id=domain\user;Password=myPassword;

  • Call a C++ services using an uuid from java

    I need to call a C++ services which is using the UUID for RPC. The interface is having the UUID. The previous client program is also in C++, they have used RpcBindingFromStringBinding(UUID value, .,.,.) to call the interface. Right now I need to call this service from Java using the UUID. Can anyone help me in it.

    Passing the UUID should be the easy part, the tricky bit is performing an RPC from Java to C++. How are you doing that? Once you sort that out, passing arguments should be straight forward.
    Note: Java's RMI only works between a client server running RMI. To connect to C++ server, you need to use a Java client library which is compatible with your C++ server.
    If you still don't know how to perform the RPC call, I suggest you contact the people supporting the C++ program as they should know how RPC calls are made currently. If they don't know, it is highly unlikely we can guess a solution unless you are willing to change the C++ server to use a known RPC mechanism.

  • Is it possible to use portal service written in Java?

    Hello,
    I've written a certain portal service in Java and deployed it to the portal and it is working OK.
    My question is if it is possible for .NET developers to use it and it's method in their projects as I am using in my Java and DynPro projects.
    Roy

    Hi Roy,
    What you asked requires interoperability between two very different technology stacks - Java and .NET (which is basically what the .NET PDK does for you).
    What you need for this is a mechanism to "translate" between these two stacks. This can be done with various 3rd party tools (that you can buy from companies who specialize in this kind of tools).
    BUT
    The quick, easy and cheap way is to use the industry-standard of interoperability, which is, as Tsachi told you - Web-Services.
    Regards,
    Ofer

  • Using Decision Service for existing  rules based on Java Fact

    Hello
    According The BPEL Process Manager developers guid (10.1.3.1) page 18-28 if we want to call existing ruleset from BPEL that it's based on java facts . We should write RL function and convert xml data into java and assert the facts and after retrieving the result we should set the data from java types into xml types. From BPEL we should call this function
    But I have question : We know that rules based on java facts has better performance than xml facts , Instead of Using Decicion Service , we have writen java function and run ruleset and then we have exposed this as a webservice and invoke it from BPEL.
    What is the performance difference if we use this way instead of Decision Services?

    Thank you ralf
    So I want to write an RL Function and call my ruleset (based on my Java facts) from this RL Function and then Call this RL Function from BPEL decicion services.
    I have problem : I want to generate XSD that match with my JavaFact A . How can I easily create XSD from my java fact class.? I saw http://technology.amis.nl/blog/?p=3221 that shows how we can create xsd from Java classes . I could generate XSD from Java class A by the recommended method.
    I have Class A that contains member B as an array of objects (C) , My problem is that When I import generated xsd into rule Author it's generated JAXB class does not generate member B as an array of class(C)
    Is there any way that I can modify class A into JAXB compatible class and generate xsd file from it's JAXB class .
    I don't know JAXB specification and I do not know how JAXB works.I want easily generate JAXB class form my java class A and then retrieve corresponding xsd from it .
    Can I do such thing?

  • Writing java program that uses UMTS service

    Hi
    I wonder if it is possible to write java programs that use UMTS services. Is there any class-package in java related with UMTS services?

    you can call a batch file using NT service. the batch file executes the java program. and you can also send an email thru that java program.

Maybe you are looking for

  • Dunning Report - Regards

    Dear all In our system, we maintain the dunning intervals is 15 days  i.e 30 / 45 / 60 and 75 days. but now the user wants the dunning report 30 / 45 / 60 and 90 days. Instead of 75, they send the last dunning report on 90th day. In dunning procedure

  • Generation of CSV file

    Hi I am looking for the best approach to generate a CSV File extract from a database result set. I am currently using Workshop 8.1. Are there any controls that enables to perform this task. Thanks for your ideas Chrs Raj

  • Since upgrading to Firefox 5 I cannot view my emails on my ISP's web site, can you help?

    Since upgrading to Firefox 5 I can no longer view my emails on my ISP's web site, can you help?

  • Users with different delivery dates

    Hi , Two users entering a sales order with same master data of customer, material and quanty are having different delivery date at item level? Any reasons? Thanks, Pramod

  • Command line mail not working since Server 2.2

    Since Mountain Lion, everytime Server.app updates it borks my previous mail settings/hacks/workarounds to the issues with the last version. I just want sendmail, mail, postfix, etc to work and stay working. I even have my own list of stuff to reapply