Using webservices to archive files to the Complutense University of MADRID

Hi all.

We are trying to perform some tests to the Complutense University of MADRID, but we do not see many examples on this subject.
That's what we want to do:

We want to use Web services for archiving of files at the Complutense University of MADRID.

How?

1. we will develop a java application
2 inside of the application, there will be a button that calls the Web service
3 after the Web service is called, the document should go outside UCM

So far, I only do research. Read the documents on Web services, how they work and what I could find.
But I can't find an example about this. Someone, please, I could tell where I can find it?

Thanks for your help and your patience.

Fernando

Just in case someone was looking for a code example, I created one:

            Stub stub = (Stub)client.getPort();
            stub._setProperty(stub.USERNAME_PROPERTY, "weblogic");
            stub._setProperty(stub.PASSWORD_PROPERTY, "welcome1");

            IdcPropertyList ipl = null;
            IdcFile primaryFile = new IdcFile();
            File f = new File ("C:/temp/test.doc");

            primaryFile.setFileName(f.getName());
            primaryFile.setFileContent(CheckInSoapPortClient.getBytesFromFile(f));

            //client.checkInUniversal(dDocName, dDocTitle, dDocType, dDocAuthor, dSecurityGroup, dDocAccount, CustomDocMetaData, primaryFile, alternateFile, extraProps)
            CheckInUniversalResult result = client.checkInUniversal("", "Checked-in via WS call", "Document", "weblogic", "Public", "", ipl, primaryFile, null, null);

            System.out.println(result.getStatusInfo().getStatusMessage());

All I needed was the CheckIn.wsdl and JDev (I created a Web Service Proxy, he gave the WSDL file and added in the code above to an auto-generated Java).

Tags: Fusion Middleware

Similar Questions

  • Users consulted the files of the Complutense University of MADRID.

    Hello

    I would like to know how I can not get the information that users have access to the files of the AAU.

    Thank you...

    Content Tracker (tracking of access to content - 11 g Release 1 (11.1.1)) is what you are looking for.

  • See the size of the file from the Complutense University of MADRID

    I need to show the size of a file which comes from Oracle UCM and the file size should be displayed in kilobytes, the file size is expressed in bytes, so I divided by 1024 for the number of kilobytes

    I have the following source code and the continuous result being shown in bytes.

    Please if you can give me your comments.

    Thank you very much

    < c:set var = value = "#{cmfn:getNodeById(cptutils.repository[node.propertyMap['BCCH_PUBLICACION_RD:ARCHIVO'].value.stringValue])"nodeArchivo"}" / >

    < c:set var = value = "#{nodeArchivo.propertyMap ['VaultFileSize'] .value, 'fileKB'}" / > "

    < fmt:parseNumber var = "fileKBTransf" type = "number" value = "${fileKB}" / >

    < fmt:parseNumber var = "fileKBTransf" integerOnly = "true" type = "number" value = "${fileKB/1024}" / >

    < af:outputText id = "archDown" styleClass = "pesoArchivo" value = "#{fileKBTransf}" / >

    Yes.

    It's better, use the converter provided by doclib library.

    You can also create your own converters.

    Good suggestion Nanda.

    Kind regards.

  • How to get around the process of authentication of the Complutense University of MADRID

    Hi all

    I use Oracle Content Server and I need to get the file directly so I can attach my mail application. However, I am able to get the native file using this URL:


    http://localhost:16200/cs/idcplg? IdcService = GET_FILE & dID = 29401 & dDocName = IPM_029601 & allowInterrupt = 1

    But as soon as I click on that URL, it shows me the Login Page and after you submit the user name and password, it gives me the file to save to my local computer.
    I need to bypass the authentication page, and I need this file directly to save on my local computer.
    Is there a method that I can implement to pass the credentials as hardcoded or is it possible to pass the credentials in the url GET_FILE above.

    Please suggest!
    Urgent!

    Thank you...

    Taken the lead here: service GET_FILE p does not accept user and password settings. He worked while authentication has been cached in the browser.

    If you can handle protocols SOAP & WSDL side client (Visual Basic or Java), then there is the solution to get the file from the Complutense University of MADRID with a proper authentication. It is a GetFile.wsdl to start.

    http://download.Oracle.com/docs/CD/E17904_01/doc.1111/e10807/a01_wsdl_and_soap.htm

    and 10gR 3 manual with even better examples:

    http://download.Oracle.com/docs/CD/E10316_01/CS/cs_doc_10/documentation/addons/soap_wsdl_10en.PDF

    Kind regards
    Boris

  • WebService custom at the Complutense University of MADRID

    Hello world

    Can anyone confirm if a web service at the Complutense University of MADRID is created the same way as creating an IdcService custom.

    To experiment, I generated the WSDL file for my personalized service, but I can't find any entry and exit of the metadata in the WSDL file.

    I'm it's incorrect, generating or y at - it another way to create a webservice in UCM or am I supposed to manually change my WSDL?

    This is what looks like the element

    < s:element name = "getTwoMetadata" >

    < s:complexType >

    < s:sequence >

    < s:element minOccurs = "0" maxOccurs = "1" name = "extraProps" type = "s0:IdcPropertyList" / >

    < / s:sequence >

    < / s:complexType >

    < / s:element >

    In fact, it takes in 3 metadata, but does not show here.

    Thanks in advance

    Hi Valerie,.

    So custom WSDL can be created the same way as we do for STANDARD services. I assume that you have added the relevant parameters of the demand for this service and then run WSDL generates. If not, then try and communicate the results.

    Thank you

    Srinath

  • How to re-create the database from the Complutense University of MADRID

    «I was able to change the connection DB from one to the other by changing the settings through the ' system properties '.» However, there are a few objects (tables) database created during installation of the Complutense University of MADRID. is there anyway that I can go to the new database and database get UCM objects re-created without re-installation of the UCM? It seems some sql scripts in the database directory, but I don't know how to operate, the order and setting are not clear for me.

    Thank you

    Hello

    One thing you can do to recreate the default tables and columns is to run the script all.sql on the DB that is specific for your db. If you want to just recreate a replica of the image then extract the ddl from your current database instructions and put it in a sql script that run directly on the another instance of db. In this case make sure you change instance specifc details in the extracted ddl script and replace with the instance details latest as the table space name, the user name will execute it and like wise.

    Another way would be to use archiver to create the batch file export for tables and then imported to the target instance. The way out for this is to go to Archiver Applet - create new Archive - Export - Tables and here and include any tables that are there in the content server.

    Hope this helps

    Thank you
    Srinath

  • Export of SOAP WSDL at the Complutense University of MADRID

    Hi all

    I created WSDL for 'AddCollection' in development approx. I can able to create the (files) collection and archiving documents this collections through a java program using this wsdl. Now I want to export this file AddCollection.wsdl to the test CA. I couldn't find any option to export and import wsdl s soap at the Complutense University of MADRID. (or) I need to generate/create the same structure of wsdl in the tests manually, env collection is this common sense?

    Could someone can provide an idea to overcome these tasks.

    The configuration of my Complutense University of MADRID

    Product version 10.1.3.3.2 (071031)
    Product build 7.2.2.184
    Version 7.1.0.1 Native

    Thank you.

    Kind regards
    Joel.

    You have several options:

    First, check the directory/data/soap/custom and you might find the definition of your custom wsdl. You can move to the new server, it wire in and see if it shows up?

    Second, there used to be a class called WsdlMerger.java that allows you to create a component that would install/update s custom wsdl on the target computers. It is of limited use for one or two shots, but if you create a component with a lot of reuse it works slick. It takes some work to build and requires some Java skills. If you are interested, I kick a note and I'll try to get you the Java class for you to play around with. Jason at corecontentonly dot com. sign

    -Jason
    http://www.corecontentonly.com

  • user autherization at the Complutense University of MADRID.

    Hi all

    Please, help me to understand next.
    -> 11 g authentication is carried out thorugh Admin Server.
    -> When we configure a new provider and reorganization of albums, autherization user takes plase from there only.
    -> we need create a ldapProvider at the University Complutense of MADRID after you have created the new Admin Server provider.
    -> what is the purpose of jpsUserProvider in above senerio.
    -> for built-in ldap users mapped to the role/account r group.
    -> should we create role account with the same name at the University Complutense of MADRID also?

    These are the fundamental issues that I'm not able to understand in the oracle documentation.

    any help is much appreciated. (Please provide a few entries, I hv been through security oracle docs section in the Administrator's guide)
    Thank you
    -Yves

    Hello

    --> 11 g authentication is performed Server Admin thorugh.

    WLS is the central Security Manager where the authenticator of security provider like authenticator by default (for Embedded LDAP), OIDAUthenticator (for the OID), ADAUthenticator (for AD) etc. are created when any external identity store must be used for the AAU.

    --> When configure us a new provider and reorganize top autherization user takes plase from there only.

    That is right. It is one of the steps that must be accomplished where configure WLS security providers. With PS5, we can have several providers authentication and using her virtualize indicator = true in the security xml file, users can be authenticated from these multiple sources.

    --> do we need to create ldapProvider at the Complutense University of MADRID after you have created the new Admin Server provider.

    No.. It is supported to WLS.

    --> What is use of jpsUserProvider in high senerio.

    Read / available to users at the AAU of WLS.

    --> for ldap integrated users mapped to the role/account r group.

    For all groups of cases LDAP / AD are mapped as the roles at the Complutense University of MADRID.

    -> do we need create the role account with the same name in the UCM too?

    No.. You can use the credentials to map the LDAP group / accounts to the roles of the UCM / accounts.

    I hope this helps.

    Thank you
    Srinath

  • SAY do not check in the PDF back to the Complutense University of MADRID

    Hello

    I put TELLING you 'open' a document instead of default 'view'. Now, when I "opened" a Microsoft Word document, it is extracted. I can modify it, and when recording, it is extracted in Complutense University of MADRID a new revision by SAY.

    When I do the same thing with the PDF, I try to open a PDF file, it opens and not re-recorded in UCM after save and close. I have to checkin explicitly the document to the Complutense University of MADRID.

    If I use Adobe Writer, it works well.

    However, even with the Adobe reader software, should not order the full doc. After the closure of the doc, it should ideally placed to the AAU. This work is designed?

    Thank you
    R

    I expect that hit you the questions with the support of adobde for WebDAV, which is best described as limited.

    There will be a number of customers who will not support WebDAV to record new content in the Complutense University of MADRID

    Tim

  • Conductor 3.0 with 10.5 of the Complutense University of MADRID - cannot get the AdHoc questions work/TLS record

    I'm working on a laboratory configuration to prepare application a client driver 3.0 with 10.5SU1 of the Complutense University of MADRID.  I have the base line everything up, but I can't get the Ad Hoc conference bridge to enroll at the University Complutense of MADRID by the conductor, nor I can SIP trunk to become accessible.  This all points to a TLS problem, which is reflected in the newspapers of the Complutense University of MADRID:

    Pre-verifie SdlSSLTCPListener::verify_cb = 0, cert check errno = 20, depth = 0
    00269848.000 | 22:41:54.023 | AppInfo | HandleSSLError - verification of the certificate has no:(Verification error:20)-Impossible to get the certificate of the local radio station for 10.0.0.113:41409

    This repeats for the Ad Hoc and appointments of the intellectual property on the driver.

    I followed the conductor with the guide of the AAU (http://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/con...) as well as the deployment of certificate (http://www.cisco.com/c/dam/en/us/td/docs/telepresence/infrastructure/con...) guide.  I have a root certification authority I use (lab.local), I installed the root certificate and the certificates of the host on both devices.  OpenSSL gives me the verification of the return code: 0 (ok), at once UCM and conductor during validation to the root certificate.

    I think that I followed the guides and double-checked against them.  Someone else has seen this? What Miss me?

    Hi Ryan,

    I think that I am running into the same question... The TAC engineer gave you a bug ID I can follow?

    Thank you

    Peter

  • Release Date of the Document at the Complutense University of MADRID is 1 day earlier

    Hi Experts,

    I use WebCenter content 11.1.1.8.0 and here if I'm checkin document of Console and the Complutense University of MADRID Capture workspace console it takes 1 day release date earlier.

    For example: If Today(28/0ct/2015) I'm checkin document release date will be (October 27, 2015) and UCM Console too, I can see the same date, please let know us how I can change the date of release of the day...

    Thank you

    Sanjeev

    Follow these steps:

    1. connect to your content as a user admin server.

    2. go to the admin user.

    3. you should see a list of users display, select the user having cause and then click on edit in the user Admin screen.

    4. on the Info tab for this user, check the time zone of the user. What is he on?

    5. If the zone shows something different for the user, then change the correct time zone.

    =================

    Another point:

    The value "EnableSetIdcTimeZone = true" in config.cfg and also check after restart

  • OAM 11gR2PS2 - no authenticated access to public Documents at the Complutense University of MADRID

    Hi all

    We had a requirement to one of our clients, in which the documents who have received the public's access to the Complutense University of MADRID should not be challenged for authentication.

    Examples of URLS that are not in dispute when you use the managed for UCM server port (16200)

    http://xxx.com:16200/cs/idcplg? IdcService = GET_FILE & dID = 1445 & dDocName = DEV_COMPLOGO_31364 & allowInterrupt = 1

    http:// xxx.com : 16200/cs/groups/public/documents/digitalmedia/b2dv/xzmx/~edisp/dev_complogo_31364.jpg

    This GS search page ready must also open without authentication.

    http:// xxx.com : 16200/cs/idcplg? IdcService = GET_DOC_PAGE

    After the configuration of SSO and protection/CS, when I go above URL using the port of OSH only the second opens without challenge me the name of user and password.

    Knowing that I can protect/unprotect URL patterns, I was wondering if this is possible using OAM at all.

    The document is assigned to a group of public safety at the Complutense University of MADRID.

    http://xxx.com:16200/cs/idcplg? IdcService = GET_FILE & dID = 1445 & dDocName = DEV_COMPLOGO_31364 & allowInterrupt = 1

    By looking at the URL, would you be able to identity if this url is to document to the Group of public safety? All of the query parameter would help you to differentiate the document in the public safety group

    If the answer is NO then you will not be able to create policies OAM who could remove the URL

    If the answer is YES you can then use 'Query parameter' section resource OAM to remove the specific URL

    hope this helps

    Concerning

    Aakash

  • Question on the alias in the Complutense University of MADRID

    Hello

    I am currently in the process of brainstorming of ideas that would help streamline the e-mail notifications by using the cmdlet workflow management and wonder if there are best practices following help put me in the process.

    In essence, I want to do, it's associate a security group at the University Complutense of MADRID to groups of users by using aliases and tokens. My implementation involved naming aliases similar to security groups and have a token to decide which group to choose. It worked well, but I got to thinking that there may be a way to streamline this process, so when a user creates a new field in LDAP, an alias can be created that is associated with members of the cname. Is it possible to embed aliases in Complutense University of MADRID with members of a specific LDAP cname? Are there other processes that can do what I'm doing?

    Thank you for your time.

    Hello

    Of course, it is possible, but with some customization. There are two options for you.

    Option 1: Conduit in the Complutense University of MADRID

    1. do you have a personalized search LDAP for users who belong to a cname using JNDI calls (regular service)

    2 look for this information in a result set and use it as input for the creation of the alias of the Complutense University of MADRID with this set of users

    Note: Users should be connected to the AAU at least once to have his updated profile cached in the Complutense University of MADRID

    Option 2: Led outdoor AAU

    1. do you have a program of independent Java at the request of the LDAP query for the new groups/areas created (new JNDI)

    2 do you calls of CRMI to AAU to create aliases with the users information from LDAP

    I hope this helps.

    Kind regards

    -Anand

  • setting up e-mail server in the Complutense University of MADRID

    Hi all

    I am new to the Complutense University of MADRID. I have to configure the mail server of development at the Complutense University of MADRID. How that.any idea?

    : PEI

    bad question.how I do know.ask your mail administrator.

    for ex -.

    MailServer - example - testmail.com

    Admin e-mail - [email protected]

    It may be useful

  • Mapping of the external LDAP user with the role of the Complutense University of MADRID

    Hello WebCenter content masters,

    I'm having trouble mapping a group LDAP to the role of the Complutense University of MADRID.
    Let me explain the situation.

    I have an external LDAP (Apache DS) with two groups (groupofuniquenames), 'Administrators' and 'Test' and two users 'ldap_admin' and 'ldap_user '. ldap_admin is a uniqueMember administrators and the ldap_test a test uniqueMember.

    At the University Complutense of MADRID, I created a custom role 'Test' with privileges "RWD" group 'Public '.

    I guess that the external LDAP has been configured successfully as an LDAP authenticator provider - myrealm settings tab, since I can see groups and external LDAP users, and they can connect the DCU with their user id and password.

    However, ldap_user is unable to perform the check, and on their profile page, the role is "invited, authenticated."
    And when I pass ldap_user in the test group to the Administrators group, the role is then "invited, authenticated, admin, sysmanager, refineryadmin, rmaadmin, pcmadmin, ermadmin.
    It seems that the Administrators group is mapped correctly, but not the group test.

    I try to apply the advice given in these two threads:
    External LDAP user has only priviledge research at the Complutense University of MADRID
    Unable to map external users to roles in content Webcenter 11 g

    I have created a 'externalLdapMap' identification card, completed the provider.hda file and put the map "Test, Test". I also tried with "Test, contributor" that I was not sure about the first mapping.
    Whatever it is, after restarting the server of the University Complutense of MADRID, I'm still not able to grant the privilege of writing for a user to the Administrators group.

    I missed something in the process?
    Thank you for your attention and of course any help would be greatly appreciated.
    L.

    Hello

    I think that you have enabled the LDAP authenticator credits and that this error will go up.

    You must create an OpenLDAPAuthenticator and do the same settings with flag set up and then test the scenario.

    Thank you
    Srinath

Maybe you are looking for

  • Kay737

    10 Windows does not start at startup after loading Sierra. any thoughts?

  • Shared variables problem

    Hello I'm using LabVIEW 8.5.I uses about 80 variables shared in my project using Datasocket also to write on the network wanted to know if I face any problem while doing the exe? What I have to follow a special procedure to generate exe? Help, please

  • I need to install a Radio Tuner in my computer. How can I do this?

    original title: How can I install a radio tuner I appreciate your help... If anyone knows how to INSTALL... A Radio Tuner

  • BlackBerry Smartphones Internet?

    Hello! So, I bought a second hand blackberry curve 8520 off eBay. The phone is in very good condition and I just stuck my own SIM talk. I understand now I can not get internet and would really appreciate it if someone could tell me what to do! I can'

  • BlackBerry Smartphones and the memory card applications

    is there a way to downloap applications on the memory card and run those apps on the card?