Applying Policy to a Webservice in Data services Project

I have a webservice map created on the ALDSP against a data service which has the a WSDL file that I can access and test. I want to apply Policies against this Service. Where can I do this? The documentation explains applying the security on a JWS file,but this one is not a jws file (it is a mapped .ws file)
AD

Please re-post in the ODSI/ALDSP forum
Data Service Integrator

Similar Messages

  • Error while creating New flex data services project

    Hi
    Error: Invalid server root. flex-config.xml or
    flex-enterprise-services.xml must exist in the WEB-INF/flex folder
    within the server root.
    Trying to create flex data services project with Weblogic8.1
    as the j2ee server, but am geting the above error in the screen
    where i point to the root of the server.
    I did deploy flex on weblogic.
    I would appreciate any help.
    Thank you
    Sun

    Hi Nj,
    Thanks for you reply, I did point root folder to WEB-INF
    folder(which contains flex folder). My WEB-INF folder is in the
    weblogics "c://bea/userprojects/applications/appname/"
    this the value in the root folder field "
    C:\bea81SP5\user_projects\applications\dcgsaApplication\dcgsAdaptersWeb\WEB-INF\flex"
    Let me know if am doing anything wrong.
    thank you
    sun

  • New Flex Data Services Project

    Hi all,
    When creating new Flex Data Services Project i found this
    error
    "Unexpected attribute 'url' found in 'endpoint' from file:
    services-config.xml."
    and i don't know what it means.

    Hi Nj,
    Thanks for you reply, I did point root folder to WEB-INF
    folder(which contains flex folder). My WEB-INF folder is in the
    weblogics "c://bea/userprojects/applications/appname/"
    this the value in the root folder field "
    C:\bea81SP5\user_projects\applications\dcgsaApplication\dcgsAdaptersWeb\WEB-INF\flex"
    Let me know if am doing anything wrong.
    thank you
    sun

  • Directory structure for the new Data Services Project

    1) I do as prescribed in the manual "Building and deploying
    Flex 2 Applications", page 325
    "To create a web application make a copy of the /flex
    directory and its contents. Rename the copy and store it in the
    same location under /servers/default directory."
    ("flex" is an empty Flex Data Services application that
    serves as a template for creating your custom application)
    2) I create a corresponding project from Flex Builder 2 :
    Project type: Flex Data Services
    Root folder: C:\fds2\jrun4\servers\default\MyDS
    Root URL:
    http://localhost:8700/default/MyDS
    Project name: MyDS
    Project contents: C:\fds2\jrun4\servers\default\MyDS
    2) I build the project
    Immediately after "build project" the directory structure at
    C:\fds2\jrun4\servers\default\MyDS becomes the following:
    .settings
    bin
    ----------------META-INF
    ----------------WEB-INF
    ---------------- --------------- classes
    ---------------- ---------------flex
    --------------------------------jsp
    --------------------------------lib
    -------------------------------sessions
    html-template
    META-INF
    WEB-INF
    ----------------classes
    ----------------flex
    ----------------jsp
    ----------------lib
    ----------------sessions
    Notice that bin directory now contains another pair of
    META-INF and WEB-INF in addition to those already existing in the
    template project "flex".
    Can anybody comment on this directory structure?
    Which META-INF and WEB-INF are supposed to be used for
    configuration?
    What is the purpose of having two pairs of META-INF and
    WEB-INF in the same web app?

    Hello -
    first, those folders are necessary in deployment - You need
    only the contents of the bin folder for deployment, not the
    sources. Since you're compiling the application locally in FB2 it
    places all of the supporting and necessary files into one location
    namely the "bin" folder. You'd deploy the "bin" folder's contents
    to the FDS server, perhaps another FDS server that is not your
    "development" server -- like a production server. The data and
    configuration information that your app needs for FDS services are
    stored in the WEB-INF and META-INF folders so these need to travel
    with the final product. On the production server you'd just cop the
    "bin" folder and it's contents to the /servers/default folder -
    where you could then rename your bin folder to "MyDS"
    HTH, Bill

  • Help with data services to run a job

    Hi,
    I have a xcelsius file (swf) that run a job using webservices from data services, and verything works good, the problem is when i publish the file in thw web server IIS, the webservice dont start the job.
    There is some configuration of IIS that can i set to permit the webservice start the job from web server?
    Thanks

    Hi BlaxButt,
    The package is developed in SSDT installed by SQL Server 2012, so it is a SSIS 2012 package. However, the Integration Services you have installed is SQL Server 2008 R2 version. To run the package outside SSDT, you need SSIS 2012 installed. The reason why
    the package runs fine with only Source and Destination components is that such a simple package can be executed by the DTExec utility installed by SQL Server 2012 Data base Engine or Client Tools (SQL Server Import and Export Wizard). To run a package that
    uses other tasks/components outside SSDT/BIDS, the SSIS runtime is also required except the DTExec utility. To obtain the SSIS 2012 runtime, we have to install SSIS 2012 on the server where the package runs.
    Reference:
    http://stackoverflow.com/questions/19989099/getting-error-running-ssis-package-on-non-ssis-server
    Regards,
    Mike Yin
    TechNet Community Support

  • Ld namespace prefix in data service files

    Mike,
    Strange question. As you know typically when importing a schema the import will look something like this:
    import schema namespace ns="http://www.test.com/test/1/" at "ld:schemas/SomeSchemaFile_1_0.xsd";
    The namespace prefix in the URI "ld", I know you need that because it tells the data service that the file is local to the data service project. My question is it possible to import schema files in an external project outside the data space project? Also where is the ld prefix defined?
    The only way I was able to import a schema file was using an absolute path from my hard drive...this would not be a good thing to do.
    Mike

    It would be embarrassing for me to tell you it is possible, and then three minutes later you post saying that you tried it and it isn't. So try it first and then let us all know.Yes, it would be embarrassing! Of coarse I tried, but according to the xquery spec when defining schema import they must be absolute paths, so I wasn't sure if there was an ODSI implementation specific mechanism for declaring other types of paths...like the ld namespace prefix, but a custom one.
    >
    import schema namespace ns="http://www.test.com/test/1/" at "ld:schemas/SomeSchemaFile_1_0.xsd";
    Also where is the ld prefix defined?I believe the string following the "at" in an import statement in xquery is "implementation dependent" (you can check the spec). The 'protocol' ld is just something ODSI uses to indicate that schema will be self-contained in the dataspace. I'm guessing that the protocols http and file will also work - you can try that to answer the first part of your question. I believe if you have an update function, you'll find you that datagraph.xsd is accessed via http.
    - MikeI haven't tried but I am willing to bet the http path will work because that is an acceptable path based on the xquery spec. I am thinking to get what I want to happen, I could write a small ant task to copy the schemas from the external project to the data space when building. As always thanks for the quick reply!
    Mike

  • Error in data service

    i have create a simple flex data services project and i am
    getting error
    Unexpected attribute 'url' found in 'endpoint' from file:
    services-config.xml. helloworld
    i am new in flex data service plz help me

    Not sure if you have already got the answer, use "URI" not
    "URL".

  • FLex Data service

    I run into problem when i create Flex Data Service project. I
    get error when i try to compile my code
    "Invalid byte 1 of 1-byte UTF-8 sequence"
    Doesnt say anything more of what is going on. I tried it both
    on Vista and XP but sometimes project runs and after a while i
    start receiving this error again.
    Thanks in advance

    What about ColdFusion?

  • Cant work with Data Services

    Hi,
    I am new to flex and I want to know step-by-step guidelines
    to smoothly install FDS on my laptop and easily run the sample
    applications. Currently when I install FDS on my machine,
    everything works fine and I am even able to access the
    http://localhost:8700/flex
    url and
    http://localhost:8700/samples
    url. But when I click on the link for any sample application on the
    samples page, it gives me a page not found. Also when I open a new
    Flex data services project in Flex Builder and write some code, I
    get an problem error in flex builder-"unable to open
    services-config.xml"
    I browsed to the folder in JRun\default\servera\flex and
    indeed there was no file called "services-config.xml"
    I am stuck at this point and hence cannot run any sample or
    my own application using data services. Please someone help me out
    here as maybe I am forgetting something trivial or there is some
    other issue.
    Thanks.

    Then I'd say you don't have a correctly setup web
    application... look for
    samples.war and expand it using winzip - notice the contents
    of /WEB-INF/
    directory. You should have /WEB-INF/flex/services-config.xml
    if you have
    a valid FDS war file.

  • Securing Data Services-Webservice

    I have the Data Services with Webservices mapping (.ws) defined and policies (auth/encrypt/sign/map) associated with the Service. Once this application is deployed I have created a webservice security (default_wss) with key pairs in key store generated and applied to this security configuration. Now When I try to modify the application and deploy it I get "Duplicate x509 token" error - which obviously means something is wrong...
    How can I configure the security to my DSP Application?
    Thanks,
    AD

    Loooks like someone had the similair issue- could not track the message on the new forums.
    http://74.125.47.132/search?q=cache:thrun7KryBcJ:forums.bea.com/thread.jspa%3FthreadID%3D400000881+Duplicate+x509+token&hl=en&ct=clnk&cd=1&gl=us

  • Apply policy from VB 6.0 using webservices?

    Hi All,
    Our requirement is to call Adobe methods from VB 6.0 to apply policy, i have the .wsdl file of the service, using which i tried generating VB project to generate VB DLL with the help of tools Pocket Soap / wsdl.exe (for command line). but i am facing errors and unable to generate the VBP. Please help me in this regard, am i doing the right thing to generate interface between Adobe  and VB 6.0.
    Any suggesions of help will really help me solve my problem.
    thanks in advance,
    Srinivas

    Hi neveen,
    We can retieve data from SAP by using RFC fuction modules .
    here can you elabarate you question . from which system to which sytem you
    want to retrive.
    Regards
    ramesh

  • Help with data services webservice in Xcelsius

    Hi,
    I have the a problem, this is the problem:
    1. I add a web service connection, to run a data services job
    2. I put thw WSDL URL and after that i click the button import
    3. When i click the button IMPORT, that generate a WEB SERVICE URL
    The problem is, if a copy this WEB SERCVICE URL in my internet explorer it shows me the xml data but if i open this url in the server when i will publish the swf file the url doesnt open...
    Why in my machine can open and in other machine no....?
    Please i need help thanks

    Hi,
    Need some more information.
    1) Do you have a problem in viewing data when you import it to swf on infoview.
    2) Or you have any problems in importing that wsdl link at data connection level.
    If you have issue with the first 1 then you have to place a cross-domain.xml file in your ROOT path of BO Tomcat server.
    Apart from that you have to allow the local disk ro access external source in Flash Global settings manager.
    Is the link generated with QaaWS tool or java or .net ?
    Let me know if you need more information.
    Regards,
    Anjani Kumar C.A.

  • Problem with data Service  - DSP

    Hi,
    i´m in trouble using DSP on unix machine.
    DSP-config failed to start.
    this is the error message:
    <Jan 1, 2009 9:53:36 PM BRST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'dsp_config' due to error weblogic.management.DeploymentException: .
    weblogic.management.DeploymentException:
    at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:167)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:95)
    at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:105)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: com.bea.dsp.management.bootstrap.AppListener
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)
    Truncated. see log file for complete stacktrace
    >
    <Jan 1, 2009 9:53:36 PM BRST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'dspconsole' due to error weblogic.application.ModuleException: .
    weblogic.application.ModuleException:
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
    Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: com/bea/ld/metadata/Function
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
    at java.lang.Class.getDeclaredMethod(Class.java:1907)
    at javelin.jsp.JspFunctionMapper.mapFunction(JspFunctionMapper.java:57)
    at jsp_servlet._jsp._admin._application.__appglobalaudit.<clinit>(__appglobalaudit.java:133)
    Truncated. see log file for complete stacktrace
    below is my complete log message
    JAVA Memory arguments: -Xms512m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m
    WLS Start Mode=Development
    CLASSPATH=:/usr/bea/patch_weblogic922/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/bea/jdk150_11/lib/tools.jar:/usr/bea/weblogic92/server/lib/weblogic_sp.jar:/usr/bea/weblogic92/server/lib/weblogic.jar:/usr/bea/weblogic92/server/lib/webservices.jar:C:/bea/aldsp_3.0/lib/ld-server-core.jar::/usr/bea/weblogic92/common/eval/pointbase/lib/pbclient51.jar:/usr/bea/weblogic92/server/lib/xqrl.jar::
    PATH=/usr/bea/weblogic92/server/bin:/usr/bea/jdk150_11/jre/bin:/usr/bea/jdk150_11/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http://hostname:port/console *
    starting weblogic with Java version:
    java version "1.5.0_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)
    Starting WLS with line:
    /usr/bea/jdk150_11/bin/java -client -Xms512m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=48m -XX:MaxPermSize=128m -Xverify:none -da -Dplatform.home=/usr/bea/weblogic92 -Dwls.home=/usr/bea/weblogic92/server -Dwli.home=/usr/bea/weblogic92/integration -Daldsp.home=C:/bea/aldsp_3.0 -Djavax.xml.soap.MessageFactory=weblogic.xml.saaj.MessageFactoryImpl -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/usr/bea/patch_weblogic922/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/usr/bea/weblogic92/server/lib/weblogic.policy weblogic.Server
    <Jan 1, 2009 9:34:33 PM BRST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
    /usr/bea/user_projects/domains/aldsp/lib/NETFrameworkBootstrap.jar:/usr/bea/user_projects/domains/aldsp/lib/NETFrameworkSecurity.jar:/usr/bea/user_projects/domains/aldsp/lib/NETWeblogicAuthentication.jar:/usr/bea/user_projects/domains/aldsp/lib/log4j-1.2.14.jar:/usr/bea/weblogic92/platform/lib/p13n/p13n-schemas.jar:/usr/bea/weblogic92/platform/lib/p13n/p13n_common.jar:/usr/bea/weblogic92/platform/lib/p13n/p13n_system.jar:/usr/bea/weblogic92/platform/lib/wlp/netuix_common.jar:/usr/bea/weblogic92/platform/lib/wlp/netuix_schemas.jar:/usr/bea/weblogic92/platform/lib/wlp/netuix_system.jar:/usr/bea/weblogic92/platform/lib/wlp/wsrp-common.jar>
    <Jan 1, 2009 9:34:33 PM BRST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.5.0_11-b03 from Sun Microsystems Inc.>
    <Jan 1, 2009 9:34:34 PM BRST> <Info> <Management> <BEA-141107> <Version: WebLogic Server Temporary Patch for CR322355 Tue Oct 09 10:46:38 PDT 2007
    WebLogic Temporary Patch for CR328469 Tue Jul 17 10:32:10 PDT 2007
    WebLogic Server Temporary Patch for CR330108 Fri Sep 14 11:30:56 PDT 2007
    WebLogic Server Temporary Patch for CR329825 Wed Nov 07 17:02:36 PST 2007
    WebLogic Server Temporary Patch for CR345256 Fri Oct 26 16:08:36 PDT 2007
    WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826 >
    <Jan 1, 2009 9:45:05 PM BRST> <Info> <WebLogicServer> <BEA-000215> <Loaded License : /usr/bea/license.bea>
    <Jan 1, 2009 9:45:05 PM BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 1, 2009 9:45:06 PM BRST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
    <Jan 1, 2009 9:45:06 PM BRST> <Notice> <Log Management> <BEA-170019> <The server log file /usr/bea/user_projects/domains/aldsp/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
    log4j:WARN No appenders could be found for logger (br.com.netservicos.framework.security.weblogic.authenticaction.provider.AbstractNETPerfilAuthenticationProvider).
    log4j:WARN Please initialize the log4j system properly.
    <Jan 1, 2009 9:53:21 PM BRST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
    <Jan 1, 2009 9:53:25 PM BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
    <Jan 1, 2009 9:53:25 PM BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
    <Jan 1, 2009 9:53:36 PM BRST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'dsp_config' due to error weblogic.management.DeploymentException: .
    weblogic.management.DeploymentException:
         at weblogic.application.internal.flow.BaseLifecycleFlow$CreateListenerAction.run(BaseLifecycleFlow.java:167)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.application.internal.flow.BaseLifecycleFlow$BaseAction.invoke(BaseLifecycleFlow.java:95)
         at weblogic.application.internal.flow.HeadLifecycleFlow.createListener(HeadLifecycleFlow.java:105)
         Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: com.bea.dsp.management.bootstrap.AppListener
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:289)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:262)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:161)
         Truncated. see log file for complete stacktrace
    >
    <Jan 1, 2009 9:53:36 PM BRST> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'dspconsole' due to error weblogic.application.ModuleException: .
    weblogic.application.ModuleException:
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:292)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:360)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
         Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: com/bea/ld/metadata/Function
         at java.lang.Class.getDeclaredMethods0(Native Method)
         at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
         at java.lang.Class.getDeclaredMethod(Class.java:1907)
         at javelin.jsp.JspFunctionMapper.mapFunction(JspFunctionMapper.java:57)
         at jsp_servlet._jsp._admin._application.__appglobalaudit.<clinit>(__appglobalaudit.java:133)
         Truncated. see log file for complete stacktrace
    >
    <Jan 1, 2009 9:53:36 PM BRST> <Notice> <Log Management> <BEA-170027> <The server initialized the domain log broadcaster successfully. Log messages will now be broadcasted to the domain log.>
    <Jan 1, 2009 9:53:37 PM BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Jan 1, 2009 9:53:37 PM BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Jan 1, 2009 9:53:38 PM BRST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.230.230.18:7041 for protocols iiop, t3, ldap, http.>
    <Jan 1, 2009 9:53:38 PM BRST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 127.0.0.1:7041 for protocols iiop, t3, ldap, http.>
    <Jan 1, 2009 9:53:38 PM BRST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "aldsp" running in Development Mode>
    <Jan 1, 2009 9:53:38 PM BRST> <Warning> <Server> <BEA-002611> <Hostname "portabilidade.artit.com.br", maps to multiple IP addresses: 10.230.230.18, 127.0.0.1>
    <Jan 1, 2009 9:53:38 PM BRST> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 10.230.230.18, 127.0.0.1>
    <Jan 1, 2009 9:53:38 PM BRST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Jan 1, 2009 9:53:38 PM BRST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

    Hi..
    Your classpath isn't set properly.. (i've not used 3.0, went from 2.5 to 3.2 so can't really help on the details), you should really post ALDSP issues to the ODSI Forum (the new name for the product) at Data Service Integrator Mike Reiche will most probably solve your problem for you...
    ..Mark.

  • Apply Policy

    Hi,
    I try to apply a policy(test) from a policy set (int) to a document using the apply policy service in a process, and in LC ES 8 I get this error
    Caused by: com.adobe.edc.sdk.SDKException: Failed to retrieve policy [int:test] -- Invalid policy(error code bin: 1284, hex: 0x504)
    at com.adobe.livecycle.rightsmanagement.RightsManagementService.getPolicyId(RightsManagement Service.java:206)
    at com.adobe.livecycle.rightsmanagement.RightsManagementService.applyPolicy(RightsManagement Service.java:296)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)
    ... 88 more
    The same process works with the same configuration works fine in LC 8.2.
    Why?
    regards
    Johannes

    I have a problem in apply a policy using watched folder. An error occurs and document (a PDF) is trasferred in failure folder. Here is then log. Someone can help me? Thanks.<br /><br />Failure Time----Tue Jul 29 18:03:18 CEST 2008<br />source location ---- Reason of failure is-----Internal error.<br />Internal error.<br />Cannot coerce object: <document state="active" senderVersion="0" persistent="false" senderPersistent="false" passivated="false" senderPassivated="false" deserialized="false" senderHostId="null" callbackId="0" senderCallbackId="0" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="0" contentType="application/pdf" length="-1"><cacheId currentCacheId="13748333066588340" cacheId="13748333066588340" documentId="2"/><localBackendId/><globalBackendId/><senderLocalBackendId/><senderGlobalBa ckendId/><inline/><senderPullServantJndiName/><attributes ADOBE_SAVE_MODE_ATTRIBUTE="NO_CHANGE" ADOBE_SAVE_MODE_REQUIRED_ATTRIBUTE="false"/></document> of type: com.adobe.idp.Document to type: class com.adobe.livecycle.formsservice.client.AcrobatVersion<br />ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.<br />     at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:311)<br />     at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:98)< br />     at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)<br />     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)<br />     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)<br />     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)<br />     at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:282)<br />     at sun.reflect.GeneratedMethodAccessor268.invoke(Unknown Source)<br />     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />     at java.lang.reflect.Method.invoke(Method.java:585)<br />     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)<br />     at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)<br />     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)<br />     at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)<br />     at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)<br />     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) <br />     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)<br />     at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:389)<br />     at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)<br />     at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)<br />     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)<br />     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)<br />     at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)<br />     at org.jboss.ejb.Container.invoke(Container.java:873)<br />     at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)< br />     at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)<b r />     at $Proxy210.doRequiresNew(Unknown Source)<br />     at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)<br />     at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)<br />     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)<br />     at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)<br />     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)<br />     at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:93)<br />     at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)<br />     at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)<br />     at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)<br />     at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)<br />     at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)<br />     at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)<br />     at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)<br />     at com.adobe.idp.jobmanager.ejb.JobManagerBean.doOnMessage(JobManagerBean.java:967)<br />     at com.adobe.idp.jobmanager.ejb.JobManagerBean.onMessage(JobManagerBean.java:817)<br />     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />     at java.lang.reflect.Method.invoke(Method.java:585)<br />     at org.jboss.invocation.Invocation.performCall(Invocation.java:345)<br />     at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.j ava:475)<br />     at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)<br />     at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) <br />     at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)<br />     at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 58)<br />     at org.jboss.ejb.plugins.MessageDrivenTxInterceptorBMT.invoke(MessageDrivenTxInterceptorBMT. java:32)<br />     at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterc eptor.java:101)<br />     at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)<b r />     at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)<br />     at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)<br />     at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)<br />     at org.jboss.ejb.Container.invoke(Container.java:873)<br />     at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1077)<br />     at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerI nvoker.java:1379)<br />     at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)<br />     at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904 )<br />     at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)<br />     at org.jboss.mq.SpySession.run(SpySession.java:333)<br />     at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)<br />     at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748)<br />     at java.lang.Thread.run(Thread.java:595)<br />Caused by: ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: <document state="active" senderVersion="0" persistent="false" senderPersistent="false" passivated="false" senderPassivated="false" deserialized="false" senderHostId="null" callbackId="0" senderCallbackId="0" callbackRef="null" isLocalizable="true" isTransactionBound="false" defaultDisposalTimeout="600" disposalTimeout="600" maxInlineSize="65536" defaultMaxInlineSize="65536" inlineSize="0" contentType="application/pdf" length="-1"><cacheId cur

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

Maybe you are looking for

  • Adobe Reader not working in browser

    Hi!  For some reason the pdf files that I posted at http://ohmydebt.com/free-e-book/ are not opening in firefox; they seem to work fine in IE though.  They are pdf files.  Help!

  • Is there an app or way to monitor my teens texts

    Is there an app that allows a parent to monitor there child's text or activity

  • Activation Flash Player with AVANT Browser

    Hello, can you help me for this question, please  : I can't activate Flash Player with AVANT Browser.

  • 4Gs playlist not working since iOS6 install

    Ever since I installed iOS6 my playlists won't play on my 4Gs iphone, or if they start to play (after a very long start up), they stop.  One time it kept playing the same song over and over again.  I save my music on iCloud and use iMatch.  I restore

  • Refresh JSF page (SOLVED)

    Hi - I have multiple master-detail pages and want to refresh the master and details pages upon performing a DB update operation. How can I accomplish this? In detail: I have a three level master-detail table and users can view details page MasterA th