BPEL's NotifyUserOfChange with Content Services

We have a problem getting data from Collaboration Suite's Content Services. We are using BPEL 10.1.2. We've used the built in jdev project NotifyUserOfChange. We are able to assign the Workflow so that each time a Conten Services file is updated in certain folders an email is generated with the folder name and a hyperlink to the file's location.
What we would like to include in the email is the username of the person who uploaded or edited the file. In Content Services under document properties, we see the values Created By and Last Modified By, but are unable to figure out how to have BPEL get those specific values in our email.

Hi,
Assuming you are using the latest Content Services patch (10.1.2.3.x), you should be able to see in the incoming queue message a parameter named :-
IFS_ECM_WORKFLOW_OWNER
The value of this parameter is the user whom triggered the workflow.
You could create a simple assign\copy rule using an xpath expression to extract this.
For Content DB, we are soon releasing some new sample workflows based on SOA suite that should simplify things a fair bit.
-Matt.

Similar Messages

  • BPEL Custom Workflow (DocumentReviewWorkflow) with Content Services

    Hi All,
    Anybody working on BPEL Custom Workflows got Success in using the DocumentReviewWorkflow with the Content Services Development Kit 10.1.2.3.0
    Please update..
    Many Thanks in advance..!!!
    Prasant

    The DocumentReviewWorkflow that ships with the Content Services web services places the documents in the comments field.
    There are examples in the sample code - DocumentReviewWorkflowAction.java file demonstrates how to get the URLs from Oracle Content Services
    // Initialize the various Web Service Manager classes.
    StringBuffer sb = new StringBuffer(100);
    String endpoint = session.getServiceEndPoint();
    setUpManagers(session);
    try
    // Obtain the new/updated document items.
    Item[] documents = WorkflowUtils.getTargetDocuments(session,
    m_WorkflowId);
    int len = (documents == null) ? 0 : documents.length;
    for (int i = 0; i < len; i++)
    AttributeRequest[] pathar = WsUtil.newAttributeRequestArray(
    Attributes.URL);
    Item tmp =
    (Item) m_CommonManager.getItem(documents.getId(), pathar);
    String filepath = (String) WsUtil.getAttributesMap(
    tmp)
    .get(Attributes.URL);
    // Convert the String list to a single string for convenience.
    sb.append(filepath);
    sb.append("\n");
    finally
    session.logout();
    You can then add the document links as attachments by creating a list of attachments and then inserting the URLs for the documents in the URI - I've done it using a combination of Java and BPEL. Here is an excerpt
    <bpelx:exec name="countAttachments" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
                   System.out.println("Hello, World");
              // Note that the documents come back as a list of
              // documents with a line break between them
              String filename = (String) getVariableData("filename");      
              String[] docnames = filename.split("\n");
    setVariableData("numberofdocuments", new Integer(docnames.length));
    ]]>
    </bpelx:exec>
    <assign name="initCounter">
    <copy>
    <from expression="0"/>
    <to variable="counter"/>
    </copy>
    <copy>
    <from>
    <attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
    <name/>
    <URI/>
    <content/>
    </attachment>
    </from>
    <to variable="ParallelVar1" query="/task:task/task:attachment"/>
    </copy>
    </assign>
    <while name="While_1" condition="bpws:getVariableData('counter') &lt; (bpws:getVariableData('numberofdocuments') - 1)">
    <assign name="createAttachmentList">
    <bpelx:append>
    <bpelx:from>
    <attachment xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task">
    <name/>
    <URI/>
    <content/>
    </attachment>
    </bpelx:from>
    <bpelx:to variable="ParallelVar1" query="/task:task"/>
    </bpelx:append>
    <copy>
    <from expression="bpws:getVariableData('counter') + 1"/>
    <to variable="counter"/>
    </copy>
    </assign>
    </while>
    <bpelx:exec name="AddAttachmentsToList" language="Java" version="1.4"><![CDATA[/*Write your java code below e.g.
                   System.out.println("Hello, World");
              String filename = (String) getVariableData("filename");
              checkpoint();
              String[] docnames = filename.split("\n");
    for (int i = 0; i < docnames.length; i++) {
    int strlen = docnames[i].length();
    int slash = docnames[i].lastIndexOf('/');
    String filenameonly = docnames[i].substring(slash + 1, strlen);
    int item = i + 1;
    String varname = "/task:task/task:attachment[" + item + "]/task:name";
    String varuri = "/task:task/task:attachment[" + item + "]/task:URI";
    setVariableData("ParallelVar1", varname, filenameonly);
    setVariableData("ParallelVar1", varuri, docnames[i]);
    ]]>
    </bpelx:exec>
    This uses the fact that the document URLs are returned as a \n delimited string.

  • Oracle Content Services + BPEL for Human Workflow

    Greetings,
    I'm new to Oracle Collaboration Suite and BPEL. I'm starting to work with this technologies.
    My goal is to develop some custom human workflow using Oracle Content Services 10.1.2.3.0 and BPEL.
    Regarding software versions, some doubts arise ... I'm using Collaboration Suite 10.1.2.
    - Which version of SOA Suite (10.1.2 or 10.1.3.1) and BPEL are recomended to work with content services 10.1.2.3.0 ?
    Thanks,

    The certified version for Content DB/Content Services 10.1.2.3 is 10.1.2 of BPEL.
    Ravikiran

  • Classloading issues with Oracle AS 10.1.3.3 and Content Services 10.1.2.3

    Hi,
    Installed
    Oracle Content Services 10.1.2.3 and Oracle AS (SOA Suite) 10.1.3.3.
    Goal
    Deploying custom webservices on the Oracle AS which invoke the Content Services webservices API. These custom webservices are invoked from ESB processes to upload content.
    What does work
    The pre-installed oc4j home of Oracle AS 10.1.3.3 has no pre-defined shared library for Oracle Content Services. So if we create a shared library containing the Oracle Content Services 10.1.2.3 jars (axis.jar, commons-discovery-0.2.jar, commons-logging-1.0.3.jar, content-ws-client.jar, http_client.jar and wsdl4j-1.5.1.jar) and include this shared library during deployment of our custom webservices, content is nicely uploaded without problems.
    Problem
    However, we created another oc4j instance (oc4j_services) on which these webservices should deployed and run instead of the oc4j home instance. This time Oracle AS already creates a pre-defined shared library for Content Services containing a 10.1.3 version. This library is not compatible with Content Services 10.1.2.3.
    We tried to create another shared library with the same name (oracle.ifs.client) but another version number (10.1.2.3) and import it during deployment of our webservices (and exclude the 10.1.3 version), we also placed the Content Services 10.1.2.3 jars into the oc4j home applib and oc4j_services applib directory. Nonetheless, we either get a classnotfound or exceptioninitialization error.
    Anyone has a solution to this?
    Regards, Ronald

    The log file shows:
    ERROR [AJPRequestHandler-RMICallHandler-6]: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: oracle.ifs.fdk.RemoteLoginManagerServiceLocator
         Dependent class: oracle.ifs.examples.ws.WsConnection
         Loader: FAC_WS_Content_Services.root:0.0.0
         Code-Source: /oracle/as_soa/j2ee/oc4j_services/applications/FAC_WS_Content_Services/FAC_WS_Content_Services.jar
         Configuration: <ejb> in /oracle/as_soa/j2ee/oc4j_services/applications/FAC_WS_Content_Services
    The missing class is available from the following locations:
         1. Code-Source: /oracle/as_soa/j2ee/oc4j_services/shared-lib/oracle.ifs.client/10.1.2.3.0/content-ws-client.jar (from <code-source> in /oracle/as_soa/j2ee/oc4j_services/config/server.xml)
         This code-source is available in loader oracle.ifs.client:10.1.2.3.0. This shared-library can be imported by the "FAC_WS_Content_Services" application.
    But, if I select the shared library in Oracle AS EM, it states that my application (FAC_WS_Content_Services) does import this shared library.
    Regards, Ronald

  • Cluster and Content services

    Hi,
        In our environment, we have two nodes in a cluster with Content services runnin on both the cluster nodes.
         One of the process, which is configured to have watched folder end point. This process reads the document from watched folder and stores the same
         in specified content space structure.  When it is stored in content space we store the node id of the same for future reference.
         Now we have run into a situation where content from watched folder is read by Cluster Node A and stored it in Content Space under content services
    running on Cluster Node A. Now say after 5 mins we need to retrieve the same content but this time the process to read the content from content space runs on Node B.
      Content is read using retrieveContent service by passing node id which we have stored earlier but some reason it is not able to find the content.
    Does Livecycle automatically synchronises the cluster nodes for content and how often does it happen?
    Any suggestion on how to get around this issue.
    Regards,
    Vik

    For content services in cluster, content is stored at a shared location which can be accessed by each node. Only indexes for this content is synchronized across cluster nodes. Please make sure that content storage root directory is a shared and accessible location for all nodes in the cluster.
    Could you please perform a quick test?
    1. Go to http://node1:port/contentspace and add a content here.
    2. Now go to http://node2:port/contentspace and verify that you can see the content added.
    Thanks,
    Pankaj Parashar

  • Is Content Services the right tool?

    Hi all.
    I'm investigating the features of Content Services and I have a couple of (hopefully simple) questions.
    1) Can I install / use / license Content Services WITHOUT OCS?
    2) One of the requirements I have to meet is document locking and versioning. IOW, when one user opens (eg. via Oracle Drive) or downloads (via browser) a document, this should be locked (nobody else can download/edit it) until the user closes it or uploads a new version. Can I do that with Content Services? Do I have to use the CM SDK?
    TIA for you help.
    Alessandro

    Thanks for your QUICK reply!
    You can license just Content Services without the
    rest of OCS.And is there a separate download I can grab somewhere (provided I already have AS 10g installed)?
    Are you sure you want to lock documents whenever a
    document is opened? How will the documents get
    unlocked? Can you tell me what your use
    case/business requirement is?
    Content Services supports a user getting exclusive
    access to a document via explicit locks as well as
    check-out (when versioning is enabled).I have to build an Intranet site (probably using Portal). One section should allow people to upload docs (no problem here) and to UPDATE them (creating new versions). But the customer has requested that each doc can be modified only by one person at a time (that is, the other users will see the doc as "read-only" until the update is done or cancelled).
    AFAIK, this isn't possibile with Portal alone (but I can be wrong), so I was thinking to somehow "integrate" some features of Content Services into Portal, eventually writing a custom app, if needed.
    Thanks again for your assistance.
    Alessandro

  • Save a published Access services database site as a template with contents does not work

    Hi
    I have a Access site on the SharePoint. I wanted the site to be duplicated to another subsite, I then did the usual - save site as a template with contents and made a copy of it, however it does not work. I have been getting the error as stated below
     error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'Default'. (rsErrorExecutingCommand)
    For more information about this error navigate to the report server on the local server machine, or enable remote errors
    However, it works if I make a local copy and publish it to the subsite? How does access services work on SharePoint and why the template option can't be chosen.

    Hi cally, check the following links for possible solutions:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/1e2b77ba-4cfa-4aa3-97e4-b7b39fbd46fd/error-with-ssrs-report-that-has-a-sharepoint-list-data-connection-ssrs-r2-and-sharepoint-2010?forum=sqlreportingservices
    http://blog.mikehacker.net/2012/05/16/sharepoint-2010-access-services-reporting-with-sql-2012/
    cameron rautmann

  • A problem with initiating a BPEL process through its web service interface

    hi,
    i am trying to initiate the helloWorld BPEL process through its web service interface. i use a proxy class that i wrote and i use it from J#.net.
    this is the relevant code part:
    hello.HelloWorldBinding wsProxy = new hello.HelloWorldBinding();
    wsProxy.initiate("Hello");
    and the server shows the following message:
    ORABPEL-05002
    Message handle error.
    An exception occurred while attempting to process the message "com.collaxa.cube.
    engine.dispatch.message.invoke.InvokeInstanceMessage"; the exception is: Cannot
    decode properties.
    The process domain was unable to decode the properties for message guid 10, whic
    h are stored in column String index out of range: 3094; the exception reported i
    s: {2}.
    sql statement: SELECT conv_id, message_guid, domain_ref, process_id, revision_ta
    g, operation_name, receive_date, state, priority, properties FROM invoke_message
    WHERE message_guid = ?
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
    hHelper.java:152)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseSche
    duledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java
    :86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDriven
    BeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome
    .java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:
    928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2006-05-10 21:21:15,171> <ERROR> <default.collaxa.cube.engine.data> <BaseDeliveryPersistenceAdaptor::loadInvokeMetaDa
    java.lang.StringIndexOutOfBoundsException: String index out of range: 3094
    at java.lang.String.substring(String.java:1441)
    at com.collaxa.common.util.LVDecoder.decodeElement(LVDecoder.java:152)
    at com.collaxa.common.util.LVDecoder.decodeToMap(LVDecoder.java:45)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvokeMetaData(BaseDeliveryPersi
    r.java:2186)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.__loadInvoke(BaseDeliveryPersistence
    :2112)
    at com.collaxa.cube.engine.adaptors.common.BaseDeliveryPersistenceAdaptor.loadInvoke(BaseDeliveryPersistenceAd
    079)
    at com.collaxa.cube.engine.data.DeliveryPersistenceMgr.loadInvoke(DeliveryPersistenceMgr.java:357)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:465)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:335)
    at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleInvoke(ICubeDeliveryLocalBean_StatelessSessionBe
    java:1796)
    at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHa
    7)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    what is the problem? how come i can't initiate the process?
    i will be happy if i could get help..
    thanks in advance

    can you initate the process from the bpel console successfully?
    if so can you use obtunnel from the installation to trace the soap message (that goes over the wire), my best guess in this case is a problem with a header (holding the wsa information) ..
    after starting obtunnel it will liesten to a custom port, and will forward the request to the engine, so you need to point your client to this new port..
    hth clemens

  • Problems with G6 - PT API and Content Service Upload Installation

    Hi all,
    What port number is PT API using in G6? Examples in Installation Guide are using 11905for PT API, is that the right port or just a dummy port? Same question for Content Service Upload, is port 11910dummy?
    I installed all Plumtree Foundation Components in one box as a Test. Followed every single instruction in the installation guide and the installation went successfully. Installation logs have no errors at all. Run diagnostic.bat test and it went successfully. All Plumtree services started successfully.
    But the installation didn't create a "ptapi" virtual directory in IIS, hence the verifying installation (following instruction in installation guide page 4-25) step failed. PTSpy captured an error message (please see my reply coz the collab message can't exceed 16K chars).
    Verifying Content Upload Service also failed (Tried to upload a simple document to a KD folder, error occured and upload was unsuccessful). PTSpy captured some error messages (please see my reply coz the collab message can't exceed 16K chars).
    Can someone give me a hint ? Has anyone experienced these problems too???
    Regards,
    JS

    Content Service Upload Error
    406 portal.saptg6.Administrator 2-9-2006 16:12:10.296 Error Portal_Browsing .NET #37 com.plumtree.portalpages.browsing.directory.DirRepostControl DirRepost::PerformAction The following error occured when trying to submit a card: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>', lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive numbercom.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>', lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive numbercom.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == '<?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>', lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive number at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e) at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(String vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 465 at com.plumtree.portalpages.browsing.directory.DirModel.SubmitCardWithPropertyBag(Int32[] arFolderIDs, String strLanguage, Int32 nDocTypeID, Int32 nDataSourceID, IXPPropertyBag pbagCardProp, String strCardName, String strCardDescription) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirModel.cs:line 3290 at com.plumtree.portalpages.browsing.directory.DirModel.SubmitCardWithPropertyBag(Int32 nDataSourceID, String strCardName, String strCardDescription, IXPPropertyBag pbagCardProp) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirModel.cs:line 3205 at com.plumtree.portalpages.browsing.directory.DirModel.SubmitCard() in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirModel.cs:line 3051 at com.plumtree.portalpages.browsing.directory.DirRepostControl.PerformAction(Int32 nAction) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirRepostControl.cs:line 626   at com.plumtree.uiinfrastructure.form.RepostControl.CheckActionSecurityAndExecute(XPHashtable arguments) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\form\RepostControl.cs:line 184   at com.plumtree.portalpages.browsing.directory.DirRepostControl.CheckActionSecurityAndExecute(XPHashtable arguments) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\directory\DirRepostControl.cs:line 312   at com.plumtree.uiinfrastructure.interpreter.MVCController.HandleRedirect(Redirect redirect, RequestData tempData) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\MVCController.cs:line 385   at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 387   at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) in e:\buildroot\Release\uiinfrastructure\6.0.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 167   at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) in e:\buildroot\Release\httpmemorymanagement\2.0.x\dotNET\src\com\plumtree\uiinfrastructure\web\XPPage.cs:line 82   at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) in e:\buildroot\Release\portalui\6.0.x\ptwebui\portal\dotnet\prod\src\web\PlumHandler.cs:line 37   at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)   at System.Web.HttpApplication.ResumeSteps(Exception error)   at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)   at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)   at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr)   at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)Caused by: com.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTDataSource.ImportDocument (vDocumentLocationBagAsXML == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTCPBAGFORMAT">2002</I><S N="PTC_UNIQUE">http://www.copyright.gov/legislation/dmca.pdf</S><I N="PTC_DTM_SECT">1001</I><S N="PTC_DOC_ID">application/pdf</S></PTBAG>, lDocumentTypeID == 103, pCard == com.plumtree.server.impl.directory.PTCard, bSummarize == true, pProvider == ): Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive number at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e) at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(IXPPropertyBag vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 446 at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(String vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 456 ... 18 moreCaused by: com.plumtree.openfoundation.util.XPIllegalArgumentException: Error in function PTFileAccessorBase.AttachToDocument (pBagDocumentLocation == <?xml version="1.0" encoding="ucs-2"?><PTBAG V="1.1" xml:space="preserve"><I N="PTC_PBAGFORMAT">4000</I><S N="PTC_FILE">C:\Program Files\plumtree\ptportal\6.0\tmp\tmp\{73B926FC-52D7-4675-B0EA-BBFC610A8253}~~~1139465529921.pdf</S><S N="PTC_WEB_URL">http://www.copyright.gov/legislation/dmca.pdf</S><S N="PTC_WEB_CT">Windows-1252</S></PTBAG>, pSession == com.plumtree.server.impl.core.PTSession): Year must be a positive number at com.plumtree.openfoundation.util.XPException.GetInstance(String strErrorMsg, Exception e) at com.plumtree.server.impl.directory.accessors.PTFileAccessorBase.AttachToDocument(IXPPropertyBag pBagDocumentLocation, IPTSession pSession) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTFileAccessorBase.cs:line 130 at com.plumtree.server.impl.directory.providers.PTWebProvider.AttachToDocument(IXPPropertyBag spIPBagDocumentLocation, String AccessorID) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\providers\PTWebProvider.cs:line 183 at com.plumtree.server.impl.directory.PTDataSource.InternalImportDocument(IXPPropertyBag vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider, IPTDocumentType spDocumentType) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 1494 at com.plumtree.server.impl.directory.PTDataSource.ImportDocument(IXPPropertyBag vDocumentLocationBagAsXML, Int32 lDocumentTypeID, IPTCard pCard, Boolean bSummarize, IPTDataSourceProvider pProvider) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\PTDataSource.cs:line 436 ... 19 moreCaused by: com.plumtree.openfoundation.util.XPIllegalArgumentException: Year must be a positive number at com.plumtree.openfoundation.util.XPCalendar.ValidateYearRange(Int32 year) at com.plumtree.openfoundation.util.XPCalendar..ctor(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at com.plumtree.openfoundation.util.XPCalendar.GetInstance(Int32 year, Int32 month, Int32 day, Int32 hour, Int32 minute, Int32 second) at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.convertStringToDate(String val) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 643 at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.assignPropertyValue(Int32 iRow, Object key, OpenSearchFileProperty prop) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 363 at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.ReadPDFFieldsFromDoc() in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 292 at com.plumtree.server.impl.directory.accessors.PTPDFAccessor.CheckDocumentValidity() in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTPDFAccessor.cs:line 40 at com.plumtree.server.impl.directory.accessors.PTFileAccessorBase.AttachToDocument(IXPPropertyBag pBagDocumentLocation, IPTSession pSession) in e:\buildroot\Release\portalserver\6.0.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\directory\accessors\PTFileAccessorBase.cs:line 113 ... 22 more

  • Share adf content with web service

    Dear All.
    For my purpose I have to share adf context with web service. Let's have an example:
    I have managed bean class "Main.java":
    public class Main{
        public Main(){
        public String AnyResult() {            
            BindingContext bindingContext = BindingContext.getCurrent();
            DCBindingContainer dcb = bindingContext.findBindingContainer("view_page1PageDef");
            DCDataControl dc  = dcb.findDataControl("AppModuleDataControl1");
            AppModuleImpl appM = (AppModuleImpl)dc.getDataProvider();
            ViewObjectImpl vo = appM.getVO1();
            vo.executeQuery(); 
            Row row = vo.next();
            System.out.println(row.getAttribute("data1").toString());
    and web service class:
    @WebService
    public class Job {
        private WebServiceContext context;
    private Main cm;
        @WebMethod
        @Oneway
        public void run() {     
            cm = new Main();
        System.out.println(cm.AnyResult());
    Result: BindingContext bindingContext = BindingContext.getCurrent() :: returns NULL
    How to share ADF context with web service to be able to access ADF model.
    Regards.

    +1 on Shay's comment. Your architecture makes no sense.
    Try code like the below to access the AM from a method in the WS
    private final String amDef = " oracle.demo.model.viewer.soap.services.AmName";
    private final String config = "AmNameConfigurationLocal";
    //call in WS method to get AM reference
    private ApplicationModule getApplicationModule(String _amDef, String _config){
    return Configuration.createRootApplicationModule(_amDef,_config);
    //call at end of AM use to release AM
    private void releaseAm(ApplicationModule _am){  
    //release AM so it can be found in pool on subsequent calls
    Configuration.releaseRootApplicationModule(_am, false);  
    ... or, why don't you expose the AM as a Web Service ... See: http://docs.oracle.com/cd/E35521_01/web.111230/e16182/bcextservices.htm#CJAJGIEB   (works for all JDeveloper versions starting 11g+). If you Google for this then you find recordings Shay did about how to expose ADF BC AM as a service. Another piece of collateral is here: http://www.oracle.com/technetwork/issue-archive/2012/12-sep/o52adf-1735897.html
    Frank

  • Business Catalog updated with BPEL refs, not with BPMN refs

    When adding BPEL processes to the SCA component you see the Business catalog modules "References" and "Services" are updated. However, when adding BPMN processes the Business catalog is not updated (and btw you cannot check "Expose as an web service" when creating a BPMN process like you can with BPEL processes). In my opinion the current solution seems incomplete: viewing the "Exposed services" lane of my composite.xml I should expect all of them in the Business Catalog, not only the BPEL ones. It seems Oracle's work behind the Business Catalog component has not finished yet or is there some logic behind this behaviour?
    I am working with version 11.1.1.6
    Edited by: GSmink on Jul 9, 2012 5:12 AM
    corrected spelling errors

    Dan,
    No I did not use Reusable or Manual processes, I use processes (asyn) with a Message Start event, and yes, I see them nicely in the Composite's Exposed Services and the wsdl's in the project's SOA Content folder. But my 'concern' is why the Business Catalog (BC) is not populated with BPMN processes like it is with BPEL processes. In the "Services" module of the BC I see the submodule BPEL with my BPEL processes so I had expected a submodule BPMN with my BPMN processes. From a business perspective I certainly would also see my business processes in the BC, so for me it seems 'unbalanced'
    (I ran against this issue when using correlation:
    In the process receiving an 'in flight' message I defined a Message catch event step in where I defined in the box "Message Exchange" Type :"Define Interface". Then building the process that throws the message to the in-flight process instance I defined the Message Throw event step and in that step I had expected to be able to use the Message Exchange Type "Use Interface" but that was not possible because I could only select BPEL services.
    I solved this by selecting "Process call" in stead of "Use Interface".)

  • Setup BPEL Process Manager with OID

    I followed all the instructions provided by the Content Services Custom BPEL workflow to setup BPEL with OID but I have The error "Identity Service cannot find user" while log in to http://fr101sv0226.corp.tpnet.intra:9700/integration/worklistapp/Login
    I have configured :
    1)
    [oracle@fr101sv0226 orabpel]$ more ./system/services/config/is_config.xml
    <BPMIdentityServiceConfig xmlns="http://www.oracle.com/pcbpel/identityservice/isconfig">
    <provider providerType="JAZN" name="oid">
    <connection url="ldap://fr101sv0226.corp.tpnet.intra:389" binddn="cn=orcladmin" password="CLxKPM04EzA=" encrypted="true">
    <pool initsize="2" maxsize="25" prefsize="10" timeout="300000"/>
    </connection>
    </provider>
    </BPMIdentityServiceConfig>
    2)[oracle@fr101sv0226 orabpel]$ more ./system/appserver/oc4j/j2ee/home/config/jazn.xml
    <?xml version = '1.0' encoding = 'UTF-8' standalone = 'yes'?>
    <!DOCTYPE jazn PUBLIC "JAZN Config" "http://xmlns.oracle.com/ias/dtds/jazn-9_04.dtd">
    <jazn provider="LDAP" location="ldap://fr101sv0226.corp.tpnet.intra:389">
    <property name="ldap.cache.session.enable" value="false"/>
    <property name="ldap.cache.realm.enable" value="false"/>
    <property name="ldap.user" value="cn=orcladmin"/>
    <property name="ldap.password" value="{903}q/BL01wZ0UsS9H+PIN25ih4tlPcSWaLm"/>
    <property name="ldap.cache.policy.enable" value="false"/>
    </jazn>
    (password value was "!password"
    3)oracle@fr101sv0226 orabpel]$ more ./system/appserver/oc4j/j2ee/home/application-deployments/hw_services/orion-application.xml
    <?xml version="1.0"?>
    <!DOCTYPE orion-application PUBLIC "-//ORACLE//DTD OC4J Application runtime 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-application
    -9_04.dtd">
    <orion-application deployment-version="10.1.2.0.0" default-data-source="jdbc/OracleDS" treat-zero-as-null="true">
    <ejb-module remote="false" path="hw_services.war" />
    <web-module id="testconnection" path="testconnection.war" />
    <web-module id="deploy" path="deploy.war" />
    <web-module id="worklistxpress" path="worklistxpress.war" />
    <web-module id="hw_services" path="hw_services.war" />
    <persistence path="persistence" />
    <principals path="principals.xml" />
    <!--jazn provider="XML" location="jazn-data.xml" /-->
    <jazn provider="LDAP" location="ldap://fr101sv0226.corp.tpnet.intra:389" >
    <property name="ldap.cache.session.enable" value="false" />
    <property name="ldap.cache.realm.enable" value="false" />
    <property name="ldap.user" value="cn=orcladmin" />
    <property name="ldap.password" value="!sv0226" />
    <property name="ldap.cache.policy.enable" value="false" />
    </jazn>
    (the password has not beend encrypted for this file???)
    Please Help....
    Thanks
    JO

    Hi JO,
    Can you confirm the following:
    That the 10.1.2.0.0 Application Server instance to which you installed BPEL was configured with the same Oracle Internet Directory that is used by Content Services (you would have had an option during AS install to specify OID integration - aka Identity Management access).
    Note - that the OID Server must also be running on both SSL and non SSL Ports.
    The bpel integration documentation has been revised since the 10.1.1 release.
    As per the OC4J J2EE Security Guide, one should not need to specify full OID jazn provider information should the IAS instance be associated with Identity Management.
    Thus, you should now be able to set the following revised values in the various configuration files:
    $ORACLE_HOME/j2ee/OC4J_BPEL/config/jazn.xml
    <jazn provider="LDAP" />
    $ORACLE_HOME/integration/orabpel/system/appserver/oc4j/j2ee/home/config/jazn.xml
    <jazn provider="LDAP" />
    Also, the orion-application.xml file should not need to be changed at all, as it should inherit the jazn information from the container’s default JAZN configuration specified in $ORACLE_HOME/j2ee/OC4J_BPEL/config/jazn.xml
    To summarize:
    1) $ORACLE_HOME/j2ee/OC4J_BPEL/application/deployments/hw_services/orion-application.xml should not need to be modified.
    2) $ORACLE_HOME/j2ee/OC4J_BPEL/config/jazn.xml and $ORACLE_HOME/integration/orabpel/system/appserver/oc4j/j2ee/home/config/jazn.xml should contain a jazn entry <jazn provider=”LDAP”/>
    The steps for configuring Identity Service Provider (is_config.xml) are correct. However it should not noted that due to limitations with BPEL’s OIDIdentityService and OIDProvider classes, there is no way of setting up ssl connectivity in is_config.xml – this however has no effect on the workflows.
    thanks,
    Matt

  • PDF files in Oracle Content Services?

    Is it possible to create PDF files in Oracle Content Services? is there a facility to convert protected documents to .pdf files

    We are currently working with Adobe on this requirement and have implemented a POC that allows you to submit a document to workflow in content DB (for example, during a check-in operation) and through a custom BPEL flow, submit to an Adobe LiveCycle server where the document gets turned into a PDF, has policy and digital signatures applied to it.
    The current POC does more than just convert to PDF. it does the following to the original document:
    1) Converts it to PDF
    2) Inserts signature fields, so the PDF can be digitally signed later
    3) Applies policy (applies E-DRM, e.g. the end user can view but not copy the text or print the PDF)
    4) Certifies the document (Server applies digital certificate to signature field)
    5) Reader extends the document (enables end user to digitally sign PDF and add comments with Adobe Reader)
    thanks,
    Matt.

  • Upload blob to Content Services

    Hi
    Here's my problem... I have a blob in the E-Business Site iRecruitment table, IRC_DOCUMENTS. Using BPEL, I want to accept this blob and store it in Content Services using the filename in that table.
    I'm no java guru. Is this possible? How do I go about doing this?
    Thanks

    Hi Sancho
    1. When a new row is created in the iRecruitment table, I enqueue a message containing the BLOB and other data. In my BPEL process, I have a partner link that monitors and dequeues the message from the queue, then variables are assigned, which are read by a simple piece of embeded java code.
    2. This embeded java then creates a new folder in Content Services. So far so good. What I want to do next is to create a file in this new folder with the data from the BLOB. This is what I can't do yet, as I can't find the right documentation describing how this could be done.
    3. The requirements do not require me to maintain a link in iRecruitment (but who knows, that might change). Once the file is created (and there may be multiple files depending on the number rows read from the iRecruitement table, so I guess multiple enqueues), the process ends.
    Cheers
    Paul

  • Excel with contents in web dynpro for ABAP application

    Hi Experts,
    I have excel file (example "http://xxxx/test.xls") with contents in remote system. I want to incorporate this excel file into my web dynpro application. For this I used Officecontrol UI element and set the following properties for Officecontrol
    1. datasource : binding with context attribute DATAS(xstring)
    2. document type : ms_excel
    I wrote code the following code in WDDOMODIFYVIEW method.
    data :   content TYPE xstring,
               url TYPE string VALUE 'http://xxx/test.xls'.
    CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
      EXPORTING
        text           = url
    IMPORTING
       BUFFER         = content .
    wd_context->set_attribute( name = 'DATAS' value = content ).
    while running my application, I getting excel without contents and with one message "SAP IOS". Please suggest how to display excel with contents in view of my application.
    Can any one help me.....
    Thanks & Regards
    Sridhar

    >
    sridhar vadaga wrote:
    > Hi Experts,
    >
    >
    > CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
    >   EXPORTING
    >     text           = url
    >  IMPORTING
    >    BUFFER         = content .
    >
    >
    > Thanks & Regards
    > Sridhar
    I think you are overestimating the power of the SCM_STRING_TO_XSTRING function module.  By supplying a URL as the value of the input text, it isn't going to magically go read the content from the remote location and convert that to a binary string.  It is going to take whatever value you supply in th importing TEXT parameter convert that to binary.  In other words it is literally converting the string http://xxx/test.xls to binary.  You will need some other mechanism to read the content from the remote location into ABAP memory before you can process it.  You will need to use the CL_HTTP_CLIENT class or call some sort of web service to retrive the content.

Maybe you are looking for

  • Dynamic Configuration Parameters - FileName

    Hi to ALL. I have a File(EDI) to File(XML) scenario and I use seeburger . I want to get the source file timestamp . I made UDF with dynamic configuration and actived parameters on sender channel. (Source file timeStamp) My problem is the I can't get

  • Acrobat 8.1.2 Pro: Cannot find or create the font 'Arial'.

    I have two workstations both running Acrobat 8.1.2 Pro, both have the font Arial installed and working just fine in other applications. I have a pdf file from a customer which opens fine in one workstation, the other workstation gives the following e

  • ABAP Developer Key Required to Learn for Beginners?

    Hi, I'm working as a functional consultant in MM, I thought it would be good to start learning ABAP to help me with enhancements, debuggging .. FS creation etc. We have a sandbox system in our company and I wanted to write some code and start learnin

  • Panel menus aren't working correctly on dual monitors

    Hi, I posted a question yesterday about this, but no one replied.  Maybe my subject didn't describe the problem so I am trying again. I use DW on a dual monitor Windows XP system.  The program is on the main monitor and I move some of the panels/pale

  • Full text index searching in large document sets

    I have been placed in charge of a digital PDF document library for a small biotech company. The library consists of about 1000 100-300 page .pdf documents which have been scanned and OCRed. In order to facilitate the full text searching of the docume