Connect to Collab through its Server API

I'm struggling to figure out how to connect to Collab Server using its server API. The API docs aren't online and I can't find any examples. Basically, I want to do this:
PortalObjectsFactory.Init(OKConfigFactory.createInstance(ConfigPathResolver.GetOpenConfigPath(), "portal"));
IPTSession ptSession = PortalObjectsFactory.CreateSession();
ptSession.Connect(username, password, null);
But for Collab . . . any ideas?

Perhaps WSS adapter is available for you.
The WSS adapter is for sending and receiving XML and binary messages from and to SharePoint document libraries.
I can use the WCF-WebHttp adapter to communicate with REST services but I have problems with authenticate with SharePoint Online.
Should I use ACS or a custom WCF Behavior to get a OAuth token?
Avanade - Resuls Realized - www.avanade.com

Similar Messages

  • Best way to connect mac clients through Lion Server to AD?

    Ok, so here's what we are trying to set up for our school network. We currently have a 2003 server system hosting our PCs.
    Authentication - through 2003 server AD
    When client logs in:
    Mac Client -------sends info to --------> Lion Server ----passed data through to-----> 2003 Server
    2003 Server -----responds with authentication----> Lion Server ---applies profile management to client------> Mac Client
    My thought is that Lion Server needs to connect to the 2003 server via the active directory setup in Users and Groups, but the clients should be connecting to the Lion server via LDAP3.
    We can authenticate to the AD server directly from the clients or from the server, no issues there. Yet putting the Lion Server in "attached to another server" mode in Server Admin Tools doesn't Kerberize, even after giving proper permissions to the server via AD. I'm assuming that Kerberization needs to happen in order for Lion server to pass ther login data from the mac client to the 2003 server and vice versa, right?
    Also, we would like to have the users' 2003 network user folders on the desktop automatically, or preferrably what they access when they go to Home. I noticed some options in Profile Manager as well as Workgroup Manager to make this happen. I assume that once the data between the 3 is working proerly, this will be close to a no-brainer.
    So, advice is much appreciated here, first time setting up this type of hybrid system. Thanks!

    I appreciate all your help. I really do.
    This is basically what I needed to know - You said,
    "The audio out on a TV will source whatever input is associated with the current screen."
    With my current macmini to TV setup - I have to have a separate audio line (apart from the dvi cable for video ) to the TV. I was not sure if that macmini audio line to the TV would transfer to the receiver. If it did not then I assumed (since the macmini only has one audio out line that I would have to split that audio line - one to the TV and one to the receiver ). That was my thinking anyway, but if whatever is on the screen will transport to the receiver then I should have no problem.
    Thank you again for helping me think through this.
    Pete

  • Delete a collab project using Server API 5.0

    Is there a way to delete a collab project using the Server API 5.0? I know I can delete a project using the EDK but I need to delete a project using the Server API. Can anyone help please?
    Thanks in advance.

    Thanks Imah.
    The EDK java doc said I could use RemoteSessionFactory.getExplicitLoginContext to access Collaboration Server API but I am getting the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: com/plumtree/openfoundation/util/XPMalformedURLException
    Any idea why? I am using EDK 5.2.0
    I could open this URL ("http://hostname/ptapi/QueryInterfaceAPI.asmx") in a browser.
    The code is as followed:
    try {
    IRemoteSession rSession = RemoteSessionFactory.getExplicitLoginContext(new URL("http://hostname/ptapi/QueryInterfaceAPI.asmx"),"Administrator", "");
    } catch (Exception e){
    System.out.println(e.toString());
    Can anyone help please? Thanks.

  • Applet using socket connection always go through proxy server

    Socket connection with socks always go through proxy server
    We have two applets in different codebases using socket to talk to each other, until now nothing new, but the problem is that we are behind a proxy server with socks and because of that, the connection always go through the proxy server even with proxy override point to the applet machine. We have tried a lof of things and until now nothing worked, it looks like the socket is ignoring proxy override configuration. We would like to know if there is a way to solve this problem making the applets comunicate to each other ignoring the proxy server. It should happen when we set the plug-in option to "no proxy host", but it doesn't. Maybe it can be a bug of JVM, I don't know, just maybe, and if it's true, any other good idea would be welcome as well.
    Thanks in advance.

    Hi,
    I am not very much sure if I can help you. In my previous experience, once you set the system property to use the proxy, then the jvm uses the proxy. If you want disable, in your code, you have to disable it.
    like System.setProperty("socksProxyHost","someHost"), Properties props = System.getProperties(); props.remove(("socksProxyHost");

  • How to insert records in user defined tables through DI Server API

    Hi All,
    I have created a UDO using some userdefined tables .I am able to insert records in the user defined tables using DI API but problem is that now I want to insert records in those tables using DI Server API but I dont know how to do that please give me some way to do that
    Thanks and Regards
    Utpal

    The AddObject message is :
    <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
      <env:Header>
        <SessionID>...</SessionID>
      </env:Header>
      <env:Body>
        <dis:AddObject xmlns:dis="http://www.sap.com/SBO/DIS">
          <BOM>
            <BO>
              <AdmInfo>
                <Object>...</Object>
              </AdmInfo>
            </BO>
          </BOM>
        </dis:AddObject>
      </env:Body>
    </env:Envelope>
    How to use it with a user defined table ?

  • Connect yudian controller through OPC server in Labview.

    I am trying to bind Indicator using DSTP server that gets data from Yudian controller AI706M.
    I want to get this data through yudian OPC server.
    when I do this in labview 7.1 version with windows XP OS, I get option of yudian OPC server from browse menu available at Indicator's property and It works 
    but with Labview 2012 and window 7 I am not getting this option ??
    I would appreciate your help on this.
    Thank You
    CLAD
    Passionate for LabVIEW

    Hi there,
    According to the following link, you might not be able to connect your PLC to LabVIEW:
    http://www.ni.com/white-paper/6417/en
    In general, if you would like to establish a connection between LabVIEW and a PLC, here is a step-by-step guide:
    http://www.ni.com/white-paper/7450/en
    Regards,
    Norbert

  • Connect to vpn through exchange server

    looking for some tips for connecting a mac pro with OS X 10.6.8 to a vpn and via an exchange server, accessing email.  Help please.

    Anthony,
    Thanks. A few answers for you...
    What VPN Client are you using. Are you conneting
    through a dial in or through a network protocol (like
    an ssh tunnel)?
    I'm using Apple's "Internet Connect" to connect by PPTP. I connect from home via DSL.
    Are you using the public or private ip address of the
    server for this ping?
    If I understand right, private. I ping an address that a 192.168.0.x style address. Originally I couldn't ping the server until I changed the local address assigned by my DSL router (also 192.168.0.x). They were too similar.
    "(When I try "Connect to Server..." and enter
    smb://serveripaddress, a dialog box comes back with
    the correct workgroup and my username, but when I
    enter my password I get: "Could not connect to the
    server because the name or password is not
    correct.")"
    What happens if you use the dns name of your server
    for example:
    smb://servername.domain.office/ShareName?
    I get an error (-36). The finder can not read some of the data in "smb://servername.domain.office/ShareName"
    Oh,and you are putting the share name youre trying to
    connect to right?
    Yes. I should have said "When I try "Connect to Server..." and enter smb://serveripaddress/Shared..."
    One more thing...
    -I tried mapping the drive through VPN on a PC connected to the same DSL modem/router as the Mac and succeeded. At least I know, I think, that it is possible...
    Thanks for the help! I'm out of answers or even guesses.

  • How to find the sessions connected to oracle through application server?

    Hi all,
    i want to restrict my application server users from the deletion of the data in my database.
    for this i was try to find out the application name from v$session but it is showing some application names and some blanks. i need to find out the application server name, so that i can restrict the users in product user profile.
    is there any view to find the sessions and applications which are connected to oracle database?
    Thanks,
    Sandeep

    hi pavan,
    Even whne the privileges are revoked, the java application(users) can able to delete data in the database schema through the java application.
    please suggest me on this?
    --sandeep                                                                                                                                                                                                                                                                                                                                                                                                       

  • Tests the connection to an SAP ITS server

    Hi friends,
    When iam trying to test the connections in portal the following errors are seen.Please help me to solve the problem if it is in the abap stack or java stack
    SAP Web AS Connection
      Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Checks if the host name of the server can be resolved.
    6. Pings the server to see if it is alive.
    7. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
    8. Checks HTTP/S connectivity to the defined back-end application
      Results
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (evoxssqab.comm.nonprod.evo.internal.vodafone.in:8000)
    5. The host name evoxssqab.comm.nonprod.evo.internal.vodafone.in was resolved successfully.
    6. The server evoxssqab.comm.nonprod.evo.internal.vodafone.in was pinged successfully.
    7. The Web AS ping service http://evoxssqab.comm.nonprod.evo.internal.vodafone.in:8000/sap/bc/ping was not pinged successfully. If the ping service is not activated on the Web AS, you can try to call the ping service manually.
    8. An HTTP/S connection to http://evoxssqab.comm.nonprod.evo.internal.vodafone.in:8000/sap/bc/bsp/sap was not obtained successfully; this might be due to a closed port on the Firewall.
    ITS Connection
      Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether the system object has a valid system alias
    4. Check whether a SAP system is defined in the system object
    5. Validate the following parameters: ITS protocol; ITS host name
    6. Checks if the host name of the server can be resolved.
    7. Pings the server to see if it is alive.
    8. Checks HTTP/S connectivity to the defined back-end application
      Results
    1. The system ID is valid
    2. The system was retrieved.
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ITS Protocol (http) ITS Host Name (evoxssqab.comm.nonprod.evo.internal.vodafone.in:8000)
    6. The host name evoxssqab.comm.nonprod.evo.internal.vodafone.in was resolved successfully.
    7. The server evoxssqab.comm.nonprod.evo.internal.vodafone.in was pinged successfully.
    8. An HTTP/S connection to http://evoxssqab.comm.nonprod.evo.internal.vodafone.in:8000/sap/bc/gui/sap/its was not obtained successfully; this might be due to a closed port on the Firewall.
    thanks

    Hi Murthy,
    From the Result message which you gave, it seems that you are using the incorrect Hostname/Host path.
    Try giving portal server name, generally the system name would be the portal server name.
    The port which you are using is 8000, try 80 instead.
    Please find the below URL for more details about these parameters.
    http://help.sap.com/saphelp_nw70/helpdata/EN/45/2f86691ca96d7be10000000a114a6b/frameset.htm
    Thanks,
    Ansar

  • Server API - User.QueryDirectGroups() question

    I have developed a method (Java) to check a user's specifc group membership.
    I am using the user.QueryDirectGroups() method to return back all the groups a user belongs and then iterate though that to find the specifc group membership that is being checked.
    We will be using this function heavily in our customizations of the Login page, PEI, Navigation and search and other areas of the Portal. Is there an overhead of repeated calls to this method? Does QueryDirectGroups() method make DB queries everytime to get the group membershiop info? Or, is this cached by the Portal? Any insight into this would be very appreciated as we are considering how best to design our custom method so it is scalable and performs well.
    We also plan to use the PRC to do the similar check on the remote server, which will be used by the Portlets and web services.
    We are using the Java 5.0.2 Portal.
    Thanks.
    Vanita

    I was thinking of the using group names because the object ID's might be different from one environment(stg, dev, prod etc.) to another and we usually keep the group names the same.
    What did you have in mind for converting the object name to an ID? I don't know if this also results in a SQL call. Anyway, I might have cache the users group on my own and use QueryFlattenedgroups etc.
    Here is the psuedocode for what I was thinking and it is very close to the process we have in place in our 4.5 portal. I will be using Java to develop this.
    This approach uses a custom boolean array(call it OurGroups) with each entry corresponding one of our custom groups.
    1. Get array of OurGroups from the session(using the getsubsession.getattribute).
    a. If it is not in the session, call queryflattenedgroups from the IPTSession.
    b. Iterate through the results and build a new temporary ourgroups array by settign each entry true or false based on the user's group memberships.
    c. Set the temporary our groups array in the current session.5. Get the a reference to the ourgroups boolean array from the session again.
    2. Iterate through the Ourgroups array and check if the user group being checked is set to true in the array.
    3. Return true or false based on whether the entry for the group is set to true or false.
    Please let me know your thoughts on this apprach and any pitfalls we need to avoid. This works well in our current 4.5 IIS/ASP Portal. I need to develop something similar for our 5.0 Java Portal.
    I have a couple of questions on the API related to this:
    1. How do I access the (ISessionManager)getsubsession.setattribute() and getattribute() methods through the server API (if have a handle to the PTsession or otherwise). Is there another way to store/retrieve info in the session?
    2. Any examples of using the setattributes and getattributes() would be of help.
    Thanks.

  • Error: Failed to acquire connection while exporting a file using SSIS package through SQl Server Agent job.

    Hi Team,
    I am running a sql server job which is loading data to a sharepoint document library.File is an excel format and is getting loaded
    when executed through SSDT solution .But when i am using an SQL Agent job to pick up the file it doesnt get the path and agent job fails with the error "Failed to acquire connection".I have deployed the SSIS Package through SQL Server 2012 deployment
    methodologies.
    I am not able to trace the error of loading data from a sharepoint library.library. Sql agent jobs works fine when i give local path.The
    account which is running the sql agent job is the same who has access to document library.I also tried to run the job through proxy account. I am using a xml configuraion to store my credentials.I am able to palce the same file to a network drive in the same
    server through sql server agent job. The only problem is when I am trying to load the file to a sharepoint folder.
    Thanks,
    Arsa..

    Is that the WebDAV method that you are suggesting here to map the n/w drive?
    Its kind of webdav but you will be using windows nw drive to store data
    yes, I am able to create the file to D: , but didn't check with the C:.
    Try with c:, as c: require special permisssions
    If this helped you resolve your issue, please mark it Answered

  • The ITS could not connect to the Web Application Server or the R/3 System

    Hi Gurus
    we are in the process of insalling ITS 6.20 (ITS version is 620010318381 ( itsWindowsX64_31-200001681, R/3 4.7 200)
    Actually we installed it for dev/qas server with connectin mode property as "Connect to SAP system Using Applicatin Server"  these are working fine for webgui!
    and the same thing i installed for Production as connection mode property as " Connect to SAP System Using message Server" (hostname/IP, port as 3600 (as instance number is 00) here in the production evnironment we have 2 app servers. The installation got successful but i am not getting the log on screen through the link: http://10.3.3.175:81/scripts/wgate/webgui!
    the error message is :
    Connect Error
    The ITS could not connect to the Web Application Server or the R/3 System
    any help please
    Thanks in advance

    Hello Balaji,
    Check the global.srvc file for errors in the R/3 system information.  The ITS uses the following to connect to your system:
    ~appserver     
    ~routestring     
    ~systemname
    ~systemnumber     
    ~logingroup     
    ~messageserver     
    Which parameters are used depend on how you are connecting (logon group, route string, etc.)
    Edgar

  • Not able to connect to oracle 11g database source through OBI Server

    Hi,
    I am having an issue regarding the database connectivity.
    Iam unable to connect to the oracle 11g database through OBI server. However its connecting through SQL Plus with same username/password@hoststring. Its giving the error as :
    [nQSError: 17001]Oracle Error code:1017,message:ORA-01017: invalid username/password; logon denied at OCI call OCILogon
    [nQSError: 17014]Could not connect to Oracle database.
    Please help me out in resolving the issue.

    If it's working in one place and not the other then it's obviously not an OBIEE problem.
    Are you typing it in right??
    Do you have multiple tnsnames.ora files pointing to different databases, maybe sqlplus is picking up one and toad & OBIEE the other and so the username/pw is wrong for that database?
    There's a limited amount that can be said to help, as the error is 100% clear what the problem is :) it's just working out whether you're connecting to the database that you think you are connecting to, and then whether the username & PW you're entering is correct for that DB.
    BTW OBIEE 10.1.3.4 is supported with 11g, and we're using it without problem here.

  • I cannot update my ipad2 to ios5.  Updating through iTunes on pc Windows Vista, Error message reads "cannot connect to iPad Software Update Server.  Tried resetting network settings, still not connecting.  Tried updating iTunes, still not connecting.

    I cannot update my ipad2 to ios5.  Updating through iTunes on pc Windows Vista, Error message reads "cannot connect to iPad Software Update Server.  Tried resetting network settings, still not connecting.  Tried updating iTunes, still not connecting.

    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
     Cheers, Tom

  • ITS could not connect to the Web Application Server or the R/3 System

    ITS 6.20 on a single host on a WinXP test machine, connecting to R3 4.6C.
    The webgui <u>was</u> working, but a test application created in the WebStudio would not work.
    Now it's the other way around, the test application works fine, but the webgui fails with a "The ITS could not connect to the Web Application Server or the R/3 System."
    I have not managed to get ../scripts/wgate/admin/! to work either.
    Is it possible to have both the webgui and WebStudio created applications, working on the same ITS installation?
    If yes, any ideas how?
    Many thanks
    Tim

    Hi Tim,
    You have to check the connection data in the relevant service file e.g.
    ~systemname   
    ~messageserver
    ~logingroup   
    ~appserver    
    ~systemnumber 
    ~routestring  
    ~connectstring
    If the Agate doesn't run you would see an ITS 500 error in the browser.
    Thanks and regards,
    Dieter

Maybe you are looking for