Run the UCM Service using custom

Hello

I was looking for information how to run the service from the Complutense University of MADRID by composing personalized and found some articles about the same:

http://jonathanhult.com/blog/2012/06/execute-a-service-from-a-Java-filter/

http://jonathanhult.com/blog/2012/10/who-created-that-site-Studio-section/

http://www.redstonecontentsolutions.com/5/post/2012/05/executing-a-service-from-aservicehandler.html#sthash.X31M6ZCS.tvlE83Km.DPBS

I'm new to webcenter content and could not understand above blog stuff correctly. Queries:

1. we make use of the service of the University Complutense of MADRID to filter, Service or ServiceHandler. Is there a difference in the code required to perform a service?

2. What is the correct code to run the UCM service?

No, but your custom component can have html resources (including) and html templates that can contain some iDocScript. And there, you can use this way.

For the complete list, a service can also directly call subservices just the way it is defined - a personalized service is defined in the .hda file and it can contain a line containing such a call.

As you are new to the WebCenter content, I recommend you use the component wizard. You must also be familiar with the creation of custom components before you dive into programming (and the functionality of the system as it is, because very often, people develop functionality that is already there).

Tags: Fusion Middleware

Similar Questions

  • Unexpected error in the property page. The VSS service uses the system restore does not work. Error (0 x 810000202). __

    original title: "there was an unexpected error in the property page. The VSS service uses the system restore does not work. For more information, see the journal of events (0 x 810000202). __

    "There was an unexpected error in the property page. The VSS service uses the system restore does not work. For more information see log of events (0 x 810000202).

    Please try the troubleshooting below to check the status of the shadow copy Volume service

    1. click on start > all programs > Accessories > run

    Type the following text in the run window, and then click ok:

    Services.msc

    You will get the Services window.

    2. Please check service Volume shadow copy service is "started" and "automatic".

    If these services are not set to "Started" and "Automatic", please, do a right-click on the service and select "Properties".
    On the window properties, please change the startup type to automatic, and use the Start button to start the service.

    Click on apply, click ok.

    Close the Services window

    Restart the computer and check if the problem occurs again.

    If the problem persists, start your computer in safe mode and try to do a restore of the system again. Temporarily disable your anti-virus protection

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    I hope this helps
    If this post can help solve your problem, please click the 'Mark as answer"If you find it useful, mark it as useful by clicking the 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • run the Web service

    Hello
    my English is not very good
    I use jdeveloper 11.1.1.3.0.
    I have a function in the module of the application. return type of function is 'list < ViewObjRowImpl > '.
    I'm a Web Service from this function
    Accordingly, I have run 3 view Obj and do a calculation on the objects in view. then I put the final value in other Obj view (4th). and then I put the 4th view Obj value in a list < ViewObjRowImpl >.

    part of the code

    Set of lines objRowSet = getViewObjectImpl () .getRowSet ();
    objRowSet.first ();

    < ViewObjRowImpl > the list result = new ArrayList < ViewObjRowImpl > ();


    for (int i = 0; i < objRet.getRowCount () 2; i ++) {}
    result. Add (i, (ViewObjRowImpl) objRet.getCurrentRow ());
    objRet.next ();
    }

    try {}
    return the result;
    }
    catch (Exception e) {}

    ///////////////////

    When I send the parameter to the Web Service and run the Web Service: correctly fill the list with the value of obj view, and also the function run the last line 'result' and don't you go into the catch block
    but the Exception below is coming:

    < JAXWSMessages > < Journal > Exception during execution of the business logic: Transaction has expired after 34 seconds
    BEA1-023E16AE9EC79E472B1E

    I don't know why, can anyone help me?

    You can try to increase the JTA transaction time-out in Weblogic. http://docs.Oracle.com/CD/E13222_01/WLS/docs81/ConsoleHelp/domain_domain_config_jta.html
    (which is perhaps too short for your 30 ws)

    Dario

  • Problem of DH handshake with the web service using ColdFusion 7 and 8 after java update 8

    ColdFusion 7 and 8 are provided with a variant of JRE1.6.

    I have a script that has consumed a web service for years with success.  Last week, the web service provider updated their version of Apache and Java on the server java 1.8 (or java-8).

    I could no longer consume the web service once the web service provider updated to Apache and Java and would be the following error DH keypair every time that I try to consume the service:

    -----------------

    AxisFault

    faultCode: {http://schemas.xmlsoap.org/soap/envelope/} Server.userException

    faultSubcode:

    faultString: javax.net.ssl.SSLException: java.lang.RuntimeException: could not generate keypairs DH

    faultActor:

    faultNode:

    faultDetail:

    {}http://xml.apache.org/axis/} stackTrace:javax .net .ssl .SSLException: java.lang.RuntimeException: could not generate keypairs DH

    at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:190)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1554)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1537)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1130)

    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)

    at org.apache.axis.components.net.JSSESocketFactory.create(JSSESocketFactory.java:186)

    to org.apache.axis.transport.http.HTTPSender.getSocket (HTT... ''

    -----------------

    I asked the service provider web, why it would stop working and how we can solve this problem.  They suggested that upgrade to the latest version of Java on my server running ColdFusion.  I did some research and found the problem to be with the amount of memory allocated to the variable containing the encryption key.

    The big problem is when I tried to update java on this particular server (Windows Server 2003), the installation has returned a messaged stating that he could not run on the older operating system and I need to update my OS to install java.

    Does anyone have a workaround in ColdFusion 7 or 8 that you can establish the DH handshake using Java 1.6 on your local server while consuming a web service on a server using Java 1.8?

    Hi, frank000000,

    I know that we had a serious problem with any Java 7 after update 25.  They are off a lot of network permissions and other things, for safety, that used to be available in versions prior to the update 25.  But it's while we were in CF Server 9.

    Since we switched to CF Server 10 (making sure that we got the CF Installer provided with Java 8), we had very few issues related to Java.

    It seems strange to me that the upgrade to 1.8 host while your server is 1.6 would cause problems.  It could very well be something else.  I would like to ask the host for documentation describing exactly how/why their 1.8 may cause interference with your 1.6.

    HTH,

    ^_^

  • How to consume the web service using PLSQL in 11g

    Hello

    I created a site using jDeveloper, web services which when I put in the web browser and press enter, it will display the settings screen and when I pass the value for the parameter, and then it displays the output of the XML returned by the PL/SQL (called in the Web Service) package. Now, I want to call this webservice in PL/SQL and read XML data and fill in the staging table. Can anyone suggest me how to achieve this functionality by using Oracle PL/SQL

    I use the database 11g and jDeveloper Version :-Studio Edition version 10.1.3.0

    Thank you very much in advance.

    Vijay

    The WSDL file describes the web service.

    To obtain the WSDL, you enter the URL of the web service and add some ? WSDL to the URL. This indicates the web service to return to its definition.

    For example

    URL of the Web Service: http://wsf.cdyne.com/WeatherWS/Weather.asmx

    WSDL URL: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

    When you read (using 'web browser' UTL_HTTPpackage) the XML response from the web service, read as strings (PL/SQL varchar2, size 32 K max).

    You should read the answer as the strings, then writing/writeappend these channels in a CLOB (using the DBMS_LOB package). If you are VERY sure that the web service call ALWAYS returns an XML of less than 32 k, you can skip using a CLOB.

    Whatever it is, read you the response from the web service in the form of text (such as plain text, it is what is sent). The next step on your part is to parse text into an XML DOM (document object model) - and storing the DOM in an Oracle XmlType variable.

    When in a DOM, you can use Oracle XML functions to extract the attributes and values of the key element of the response from the web service.

  • Run the Ant script using Java in webcenter Portal

    Hi all

    I have requirement where I have to run an ant script using java or by any means to the webcenter portal.

    Ant script must be run on a triggering action.

    Please help me in this direction.

    Thank you and best regards,

    Shakir

    Hey all,.

    Here is the solution, I had finally

    BuildFile file = new File ("myBuild.xml");

    Project p = new Project();

    p.setUserProperty ("ant.file", buildFile.getAbsolutePath ());

    ConsoleLogger DefaultLogger = new DefaultLogger();

    consoleLogger.setErrorPrintStream (System.err);

    consoleLogger.setOutputPrintStream (System.out);

    consoleLogger.setMessageOutputLevel (Project.MSG_INFO);

    p.addBuildListener (consoleLogger);

    p.init ();

    ProjectHelper helper = ProjectHelper.getProjectHelper ();

    p.addReference ("ant.projectHelper", assistance);

    Helper.Parse (p, buildFile);

    p.executeTarget (p.getDefaultTarget ());

    Kind regards

    Shakir

  • Running the DHCP service on a computer virtual of Windows 2003 in ESX 3.5

    Hi all

    We intend to implement a DHCP server in our virtual environment for the rest of our network.  I have not heard or read that it would be a problem.  I just want to get confirmation of the community in this regard.  Anyone can share their experience with the DHCP service running in a virtual machine?

    Thank you

    Daniel

    We have implemented without any problem.

  • How to transfer data from oracle to the web service using ODI with axis2 tech

    Hi all

    Can someone cause a document or markets about 'How to transfer data from oracle to the web service with the help of ODI with AXIS2 technology'
    If any person with a document or markets, please share it with me

    Thank you
    Phani

    I can give you a few examples of web services in ODI, perhaps that you find them useful?
    Try: -.
    http://John-Goodwin.blogspot.com/2009/04/ODI-series-Web-services.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-3.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-4.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Run the .bat file using fileObj.execute () showing the result by completely removing the lines of code in extend script?

    Hi guys

    I created a dynamic .bat file created inside java and copy it to a location and managed through fileObj.execute ();

    Example of

    -------------------

    var line1 = 'some code ";

    var line2 = 'some code ";

    myCode var = line 1 + line 2;


    var myFileC = new file

    myFileC.open ('w');

    myFileC.write (myCode);

    myFileC.copy ("some location\file.bat");

    myFileC.close ();

    Run the .bat file

    batFile var = new file ("of the location\file.bat");

    batFile.execute ();

    Now .bat file is successfully executed but the content of this file created bat shows up to extend in script by removing all my code above...

    I have to cancel to do back whenever I run and sometimes accidentally I saved it lose all the code.

    can someone help with this problem?

    Simply change it to this:

    var myFileC = new File ("some location\file.bat");

    myFileC.open ('w');

    myFileC.write (myCode);

    myFileC.close ();

  • Error when you try to run the script by using the software development kit at the start of the plugin

    Hello

    I am trying to run a script when my InDesign plugin loading. I called the PanelTreeView sdk sample for example and implemented a Boss StartupShutdown

    In my implementation, in the startup() method, I have the code to get the scriptManager and the scriptRunner for my javascript I want to run. However, when my code hits the following line:

    InterfacePtr < IScriptRunner > theRunner (() Utils < IScriptUtils >-> QueryScriptRunner (scriptFile)); ScriptFile is the script ID file I want to run

    I get error saying "Calling ScriptInfoDatabase::InitScriptInfoManager until resources have been registered".

    I wonder how I can fix this error. or if it of too early to call scriptrunner, then is there another place where I can call him to scriptrunner run my script

    This is how I defined my StartupShutdown Boss class in the file .fr

    Class
    {
    kmyStartupShutdownBoss,
    kInvalidClass,
    {
    / * Implementation of the IStartupShutdownService that runs a script at startup * /.
    IID_IAPPSTARTUPSHUTDOWN, kmyStartupShutdownImpl,
    / * identify the type of service * /.
    IID_IK2SERVICEPROVIDER, kCStartupShutdownProviderImpl,
    }
    },

    Appreciate any help on this one... Thank you!

    Sameer

    Depends on your version of InDesign, you can plan an IdleTask and do it from there or just use a lazy start.

    IID_IK2SERVICEPROVIDER, kLazyStartupShutdownProviderImpl,

    Again depends on your version of InDesign, you first need to check if a script can if run at all - some other nasty plugins can prevent with modal dialog boxes.

    Finally, there is the ability to run scripts to start even without plugin...

    Dirk

  • Problems with the Web Service using XML in Flex

    Hello

    I use a ColdFusion CFC, which is configured to generate an XML string. It runs on ColdFusion MX 6.1 and is configured as a remote web service. I tested the call and it returns the string XML fine when it is called from another method of Flex unfounded. My problem is this simple Flex application to call the same function via a service web, I wrote below. I cannot get to the exit results, keeps showing as NULL. I can't use the HTTP of Flex appeal for remote access because I'm not under MX7. Does anyone know what is wrong with my code? BTW, I would do the work of cross - domain.xml file to call the cfc, let me know if you want to test and I can add your domain name. Thank you!

    <? XML version = "1.0" encoding = "utf-8"? >
    "" < mx:Application xmlns:mx = ' http://www.adobe.com/2006/mxml ' layout = "absolute" >

    <! - set Web Service to get the XML data of course catalog - >
    < mx:WebService
    ID = "cd".
    "WSDL =" http://training.wonderware.com/components/courses.cfc?wsdl "
    Load = "CD.getCourseCatalogXML.Send ()" "
    showBusyCursor = "true" fault = "Alert.show (event.fault.message), 'Error' ' result =" cdResult (event) ">"
    < mx:operation name = "getCourseCatalogXML" resultFormat = "e4x" >
    < mx:request >
    < IDCalendrier > 3 < / IDCalendrier >
    < / mx:request >
    < / mx:operation >
    < / mx:WebService >

    < mx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    Import mx.rpc.events.ResultEvent;
    Import mx.rpc.events.FaultEvent;

    [Bindable]
    public var outputString:String

    public void cdResult(event:ResultEvent):void
    {
    outputString = event.result as String
    }
    []] >
    < / mx:Script >

    < mx:Canvas horizontalScrollPolicy = "off" verticalScrollPolicy = "off" >
    < mx:Text width = '100% ' paddingLeft = "4" paddingRight = paddingTop "4" = "4" >
    < mx:text > OUTPUT: {outputString} < / mx:text >
    < / mx:Text >
    < / mx:Canvas >

    < / mx:Application >

    Thank you very much! I do not have the notion that the HTTPService is indded just an HTTP call. So yes that it a much simpler way to call just ColdFusion to return the XML string to the application. No reason to use Flash Remoting or CFCS etc... and certainly not a web server. This made the turn that I called a HTTPService now what charges by coldfusion page that returns XML and bam, works well with e4x result etc... Thanks tracy!

  • Focus / Unfocus spoils the fields when using custom fields - help

    Hello

    I hope someone can help me with a problem I see with a screen that contains a VerticalScreenManager that contains a number of custom HorizontalFieldManagers, which each contain a LabelField and an EditField.

    Note: I use a HorizontalFieldManager customer so that I can use sublayout to field possible as I need.

    The purpose of the screen is to allow the user to scroll through the fields and on the focus on the areas of editing.

    However, as the user rolls and fields in bulk and get focus, 'development emphasizing' is not 'cleaned' of previous field and so he is spoiling: several fields have the "update highlighting.

    I saw several other similar topics in the forum but nothing quite the same thing.

    Screen

    -Vertical area Manager (standard)

    -(Custom) HorizontalFieldManager - LabelField - EditField

    -(Custom) HorizontalFieldManager - LabelField - EditField

    -(Custom) HorizontalFieldManager - LabelField - EditField

    It seems that when the scrolling HorizontalFieldManager becomes and lose focus, but do not repaint itself? Is this possible?

    I use OS 5.0.

    Thank you very much

    David

    It seems that the problem was the VerticalFieldManager had not the color of the sae background as areas that are part of it and so when the focus and unfocus painted the background color VerticalFieldManager was painted, I don't know why this has been, and if it's a bug in the OS 5.0, but when I set the background color in the VerticalFieldManager I don't see the problem.

  • Please advise: I have a problem displaying RAW files correctly on Lightroom. The thumbnails look good before the import, but once that Camera Raw is applied when importing they turn green and are cropped. I'm shooting to the CR2 format using custom white

    Screen Shot 2015-08-16 at 8.01.21 PM.png

    Screen Shot 2015-08-16 at 8.01.54 PM.pngScreen Shot 2015-08-16 at 8.01.59 PM.png

    HannahMahassen wrote:

    Open the images in iPhoto gave correctly colored final images.

    iPhoto is only to display and to use the preview JPEG embedded within the raw file.

    https://support.Apple.com/en-us/HT202428

    HannahMahassen wrote:

    Unfortunately, the toolset is not so advanced that LR would prefer being able to edit my photos out there. Any suggestions as to why it cannot interpret the correct values in files? Camera Canon G15 btw.

    If you use the auto white balance setting in the camera it is remove the Green tint in the embedded preview raw file (JPEG files). LR White Balance tool is more limited in range compared to the correction of the White Balance in the camera. On your screenshot posted the tint WB slider is set to 150 (Magenta), but clearly it is not sufficient to correct the under cast of green water. You can create a custom profile of DNG to extend LR Temp WB and range of hue as shown here:

    Lightroom: Setting the white balance for underwater photography

    One of the Green images issued by export to the DNG format and open it in Adobe DNG Profile Editor. The corrections described above and then name and save the new DNG profile in below the location of the folder. Restart LR to load the new profile of the camera.

    Lightroom 4, 5, 6 and CC

    Windows Vista through 10

    C:------users------[your user name]-AppData-Roaming------Adobe------CameraRaw------CameraProfiles------.

    Mac

    Macintosh HD / users / [username] / Library / Application Support / Adobe / CameraRaw / CameraProfiles /

    Lightroom 1, 2, 3

    Windows XP

    C: \ Documents and Settings------all users------Local Settings------Application Data------Adobe------CameraRaw------CameraProfiles------.

    Windows Vista or 7

    C:------ProgramData------Adobe------CameraRaw------CameraProfiles------.

    Mac

    Macintosh HD / Library / Application Support / Adobe / CameraRaw / CameraPro! them.

  • The CSS stylesheet using custom

    I try to use a custom CSS stylesheet and cannot operate. I created my style sheet and downloaded to only show under the shared components > > Cascading Style Sheets.

    Displaying the source code for my pages currently indicates a reference to what I think is the default style sheet.
    <link rel="stylesheet" href="/i/css/apex_3_1.css" type="text/css" />
    But no reference to the one I uploaded. So I guess I need to add a new reference pointing to my sheet.

    So questions-
    -How and where can I add this reference?
    -Is the right way to do things if I want to use my own styles?

    West Indies,

    Go to your shared components > Temples > select the page template, you want to ask your CSS and in the "Header" area, you will see references to the CSS of the APEX, something like:

    
    

    Now, just add your CSS reference after reference CSS of the APEX.

    I hope this helps.

    -Chris

  • Running the command by using VI SDK API esxupdate

    Hi all

    I need to install a package on an ESX Server. Right now I use the command esxupdate with update on the esx console option, I want to do this remotely without SSHing into the machine. Is there some api in VI SDK for this or there is another VMware SDK/API I should be looking into?

    Thank you.

    vCLI uses the vSphere SDK for Perl... it's the Perl bindings/stubs to the vSphere API and/or VI API

    vSphere 4.x =

    VI = 3.x

    So yes, there are some methods that handle the updates/etc, look at the source code of vihostupdate which is just the Perl script and you'll see what methods are used.

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

    William Lam

    VMware vExpert 2009,2010

    VMware scripts and resources at: http://www.virtuallyghetto.com/

    Twitter: @lamw

    repository scripts vGhetto

    Introduction to the vMA (tips/tricks)

    Getting started with vSphere SDK for Perl

    VMware Code Central - Scripts/code samples for developers and administrators

    VMware developer community

    If you find this information useful, please give points to "correct" or "useful".

Maybe you are looking for