Tags as a Service

Hi, we're looking guidance on a way to completely externalize the keyword annotation function within LR. We had imagined that this could be done via the SDK but it appears there are some blockers. One such issue is that there didn't seem to be an API to directly modify the metadata for an image. We could modify the metadata that our Plugin declared it provided but we could not modify the keyword metadata for an image directly. I believe we could read keyword metadata but that's not the point. The net effect of the precieved limitation is that our application cannot act as a web service to LR. The keyword metadata that we generate would need to be manually copied over to keyword metadata in LR image by image. While this might work for small numbers of images its increaingly unsutanable as collection sizes increase.
We also couldn't find a good way to launh a background job or service that would periodically check to sync with a keyword annotation service running outside of LR. We imagined that we could get around this constrain by adding "check external service" menu item. While this isn't a huge issue its a bit of an annoyane for the end user. The story we'd like to support is simply allowing a user to check a bunch of images, launch them to an external service, go back to playiing Angry Birds and have their images tagged automatically. That would be sweet ...
Any feedback from experienced LR devs is appreciated.
Thanks,
Todd

See my response in the Lightroom SDK forum:
http://forums.adobe.com/thread/986458

Similar Messages

  • Unallowed RFC-XML Tag (SOAP_EINVALDOC) - Web Service using ABAP Proxy

    Hi there
    I am trying to consume a Web Service using ABAP Proxies.  I have done the following in the system:
    I configured the HTTP and HTTPS Proxy settings. 
    I created a package with package interfaces SAI_TOOLS and SAPPINT included under the Use Access tab.
    I created the proxy classes by using the WSDL provided by the system I'm trying to interface with. 
    I created my HTTP destination RFC via SM59. 
    I configured a logical port for the proxy. 
    I developed the ABAP code for calling the proxy. 
    In the code the exception CX_AI_SYSTEM_FAULT gets raised with error message <b>"Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b> when I call the method for passing data to the destination system in the proxy class.
    I had a look at SM21 and the following message was written in the log:
    <b>"SOAP Runtime: SOAP Runtime exception: 111 occurred in method XP_READ_TAG of class CL_SOAP_XP at position 1
    SOAP Runtime: Exception message: Unallowed RFC-XML Tag (SOAP_EINVALDOC)"</b>.  I also looked at SAP Note 919886 which states that it can be dumps in the system, missing configuration or the path prefix of the RFC destination that is incorrect.  I cannot find any ST22 entries.  The trace file looks as follows:
    SAP System ID: DGH
    Client: 009
    User: COLESKG
    System time: 072910
    System date: 20070531
    SAP Release: 700
    Host: hd307c
    Operating system: AIX
    DB System: ORACLE
    Program: ZUK_IPA00003
    Processing State: 0
    Location: Client
    Transport Binding: http://schemas.xmlsoap.org/soap/http
    SOAP Application: urn:sap-com:soap:runtime:application:client
    SOAP Runtime Protocol: http://www.sap.com/webas/630/soap
    /runtime/protocol
    SOAP Protocols: <initial>
    Request Message: <initial>
    Response Message: <initial>
    Fault: <initial>
    Registry: <initial>
    SOAP Roles: <initial>
    Trace Level: 3
    Logging Level: 2
    Monitoring Level: 0
    Security Profile: <initial>
    WS Security Protocol: <initial>
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to create client application for Proxyclass:
    ZES_CO_PROCESS_EMPLOYEE_BATCH LP name: DEFAULT
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application created
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Try to initialize client application
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Try to initialize application
    urn:sap-com:soap:runtime:application:client
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new runtime CL_SOAP_RUNTIME_CLIENT
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Try to register application
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->REGISTER_APPLICATION() Application registered
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Read type of transport binding from
    configuration
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->INTERNAL_CLIENT_INIT() Create new transport binding type
    http://schemas.xmlsoap.org/soap/http
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() Try to initialize
    http://schemas.xmlsoap.org/soap/http
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~INIT() http://schemas.xmlsoap
    .org/soap/http initialized
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Try to create request message
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~REQUEST() Request message created
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Try to create response message
    INFO 07:29:10: SOAP Transport Binding CL_SOAP_TRANSPORT_BINDING_ROOT->IF_SOAP_TRANSPORT_BINDING~RESPONSE() Response message
    created
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Try to initialize
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Check transport binding
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT() Create runtime protocol
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Runtime-intrinsic
    Protocol as SENDER with Priority 5
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create trace header/part
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Trace header/part created
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Try to create logging header/part
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->INIT_MODULES() Logging header/part created
    INFO 07:29:10: SOAP Runtime Protocol CL_SOAP_RUNTIME_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
    INFO 07:29:10: SOAP Runtime CL_SOAP_RUNTIME_CLIENT->INIT()
    Initialized
    INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
    Try to create instance for http://www.sap.com/webas/630/soap
    /runtime/session/protocol::http://www.sap.com/webas/630/soap
    /runtime/session/protocol/srt640_impl
    INFO 07:29:10: SOAP Protocol CL_SOAP_PROTOCOL_FACTORY->CREATE()
    Instance of CL_SOAP_SESSION_PROTOCOL created for http://www.sap.com/webas/630/soap/runtime/session/protocol::http://www.sap.com/webas/630/soap/runtime/session/protocol/srt640_impl
    INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Try to initialize SOAP Session Protocol
    as SENDER with Priority 5
    INFO 07:29:10: SOAP SESSION Protocol CL_SOAP_SESSION_PROTOCOL->IF_SOAP_PROTOCOL~INIT() Protocol initialized
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Try to configure features
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() Try to
    create ICF Client for DESTINATION = ALSB
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_CLIENT_BY_DESTINATION() ICF
    Client created by DESTINATION
    INFO 07:29:10: SOAP HTTP Binding CL_SOAP_HTTP_TPBND_ROOT->IF_SOAP_HTTP_TRANSPORT_BINDING~SET_DESTINATION_URL_PATH() Set
    DESTINATION PATH = /SapHRSmartIntegrationWeb/processes/ProcessEmployeeBatch.jpd
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT_GEN->CONFIGURE_FEATURES() Features configured
    INFO 07:29:10: SOAP Application CL_SOAP_APPLICATION_CLIENT->IF_SOAP_APPLICATION_CS~INIT() Application urn:sap-com:soap
    :runtime:application:client initialized
    INFO 07:29:10: SOAP LP Registry CL_SRT_LP_MAINTENANCE->CREATE_CLIENT_APPL() Client application initialized
    Trace file opened at 20070531 073030 GMT SAP-REL 700,0,95
    Error in module XMLParserGetNextElement:773
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfcpars.c#2 $
    Unallowed RFC-XML Tag
    Error in module XMLConverterReadTag:3061
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/xrfccnvrt.c#5 $
    Unallowed RFC-XML Tag(24)
    Error in module ab_soap:4392
    Id @(#) $Id: //bas/700_REL/src/krn/rfc/abxrfccal.c#2 $
    failed with return code 1
    It then must be something in the config.  Has anyone got any idea why this message is encountered?
    Kind Regards
    Gustav Coleske
    Message was edited by:
            Gustav Coleske

    Hi,
    I have the same problem as described.
    Can you give me a little more information about the error you have solved in the proxy.
    Thanks for help
    John

  • Not inlcude empty tag while invoking service from ESB

    The ESB receives a request with input xml which contains some empty tag. while ESB invokes the actual services the empty tags should not be included. can any one help how to achieve this?

    define that tag as optional in schema and don't map that element. This should help you.
    -Ramana.

  • Getting Display Names & Integration tags from Mapping Service

    Hello All,
    We are trying to get display names and integration tags using OnDemand mapping service. Though we get them for most of the fields in all the OnDemand objects, we noticed that for some of the fields we are not getting this information. Any idea on how to handle this?
    Regards,
    Venky
    CRMIT

    I have not seen anything definative on what the difference between the Generic and Custom WSDL's are.
    I believe the Custom WSDL is a sub-set of the most commonly asked for fields while the Generic WSDL is everything under the sun.
    Do you have a speciific example of what you are looking for?

  • Finder tags in cloud services?

    Does anyone know how to get cloud services other than iCloud to include OS X tag metadata?  I'm aware that iCloud Drive is capable but I need to create an account that will be shared between several people so I need something like google drive, dropbox, etc but they don't seem to work. 
    Any info would be awesome!  Thanks!

    Corrected image of file menu:

  • Please help...I can't solve this web services error (ConfigException)

    Hi
    I've got the following error when I try to build document-oriented web services
    [clientgen] Generating client jar for WLWSSEApp.ear(SimpleService) ...
    [clientgen] weblogic.webservice.server.ConfigException: Could not add parameter
    to operation. You must specify either its Java or XML type.
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addPart(WebServi
    ceFactory.java:1258)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.addParamsToMetho
    d(WebServiceFactory.java:1211)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.registerOperatio
    n(WebServiceFactory.java:798)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.initOperations(W
    ebServiceFactory.java:633)
    [clientgen] at weblogic.webservice.server.WebServiceFactory.createFromMBean(
    WebServiceFactory.java:220)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.getWebSe
    rviceRuntime(WSDLGenImpl.java:240)
    [clientgen] at weblogic.webservice.tools.build.internal.WSDLGenImpl.run(WSDL
    GenImpl.java:135)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.doClie
    ntGenFromEAR(ClientGenImpl.java:438)
    [clientgen] at weblogic.webservice.tools.build.internal.ClientGenImpl.run(Cl
    ientGenImpl.java:345)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.doC
    lientGen(ClientGenTask.java:351)
    [clientgen] at weblogic.ant.taskdefs.webservices.clientgen.ClientGenTask.exe
    cute(ClientGenTask.java:208)
    [clientgen] at org.apache.tools.ant.Task.perform(Task.java:341)
    [clientgen] at org.apache.tools.ant.Target.execute(Target.java:309)
    [clientgen] at org.apache.tools.ant.Target.performTasks(Target.java:336)
    [clientgen] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
    [clientgen] at org.apache.tools.ant.Project.executeTargets(Project.java:1255
    [clientgen] at org.apache.tools.ant.Main.runBuild(Main.java:609)
    [clientgen] at org.apache.tools.ant.Main.start(Main.java:196)
    [clientgen] at org.apache.tools.ant.Main.main(Main.java:235)
    BUILD FAILED
    file:C:/bea/user_projects/domains/examples/build_ws/build.xml:54: weblogic.webservice.tools.build.WSBuildException: Could not add parameter to operation. You mu
    st specify either its Java or XML type. - with nested exception:
    [weblogic.webservice.server.ConfigException: Could not add parameter to operatio
    n. You must specify either its Java or XML type.]
    My environment:
    - JBuilder X
    - Weblogic Platform 8.1
    - Windows XP SP2
    Here are my steps of implementing web services:
    1. Write the Java code for the back-end components that make up the Web Service. Here's the method that handle the operation
    public String testName(InputParam test) {
    String inputName = test.getName();
    System.out.println("Input name:"+inputName);
    return "Hello "+inputName;
    Here's InputParam:
    public class InputParam {
    private String name;
    public InputParam() {
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    2. Since I use JBuilder X I configure everything including handlers chain through web services designers
    3. Build project
    If nothing goes wrong, I will get generated client jars and a war file with web-services.xml inside.
    I have no problem when I implement RPC-style web services.
    I got the above error when I implement Document-oriented web services, but
    I have no problem when I use String as a parameter instead of InputParam class.
    I tried to change some attributes that might be relevant but got no luck.
    I've tried using clientgen command line as well but the result was the same.
    Below are the guidelines for creating document-oriented web services from the BEA's document that I think I already followed
    - The methods that implement each operation of the Web Service can have only one parameter. This single parameter can be of any supported data type. (The Weblogic web services toolkit support simple JavaBean, doesn't it?)
    - The methods that implement each operation cannot use out and in-out parameters. (I'm not sure about this one since I got Holder classes after using clientgen. However, there's no <param> tag in web-services.xml.)
    I found the old solution from support.bea.com (ID = S-25689), but I don't think my situation is the same. I got the error while building web services...not deploying a web service.
    Any answers to this question will be very much appreciated.
    George

    Quote from: danknuggets11 on 22-December-06, 11:23:06
    Reply, Should have mentioned this before, I can't even turn agp on.  I go into SMARTGART it shows AGP off, Fastwrites off.  If I move the AGP settings to 4x, 8x, it says I need to restart to apply. After the restart it just resets it back to off.
    get Driver Cleaner and remove curently ATI Drivers.
    reboot,
    get and install chipset Drivers: http://download.msi.com.tw/support/dvr_exe/mbd_dvr/VIA4in1_MB.zip
    reboot,
    then get and install ATI Drivers: https://forum-en.msi.com/index.php?topic=102839.msg761297#msg761297

  • "LayoutTagLibrary" tag error in JSP file .

    Dear All,
    I am trying to implement Custom Framework Page in SAP NW Portal 7.3 with the help of the [DOCUMENT|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/001bfa1a-958e-2e10-c2be-d914f673e21e?QuickLink=index&overridelayout=true]
    I am getting an error in the FrameworkPageLayout.jsp file,   Can not find the tag library descriptor for "LayoutTagLibrary
    I added the SharingReference - com.sap.portal.pagebuilder Under Application tag
    and LayoutTagLibrary - /SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld Under Component Profile tag.
    But still, I am getting this error. How to resolve this?
    Regards
    Eben Joyson.

    Hi Detlev,
    I modified my jsp page. but still I get the same error. Can not find the tag library descriptor for "prt:taglib:LayoutTagLibrary"
    Should I need to add any jar file under the lib folder of the project? Help me to solve this issue. Only in NWDS 7.3 i am facing this issue. with NWDS 7.0, its working.
    My JSP Code :
    <%@ taglib uri="prt:taglib:LayoutTagLibrary" prefix="lyt"%>
    <lyt:template eliminatemessagebar="true">
         <lyt:container id="container" wrappingMethod="none">
         </lyt:container>
    </lyt:template>
    My Portalapp.xml
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <application alias="affs">
      <application-config>
        <property name="Vendor" value="sap.com"/>
        <property name="SecurityArea" value="NetWeaver.Portal"/>
        <property name="SharingReference" value="SAPJ2EE::library:com.sap.portal.themes.lafservice, com.sapportals.htmlb, com.sap.portal.navigation.api_service, com.sap.portal.pagebuilder, com.sap.portal.useragent, com.sap.portal.navigation.helperservice, com.sap.portal.navigation.afp.helperservice"/>
      </application-config>
      <components>
        <component name="layout">
          <component-config>
            <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout"/>
            <property name="ResourceBundleName" value="pagebuilder_nls"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="ComponentType" value="com.sapportals.portal.layout"/>
            <property name="com.sap.portal.pcm.Category" value="platform">
              <property name="inheritance" value="final"/>
            </property>
            <property name="LayoutTagLibrary" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld"/>
            <property name="com.sap.portal.reserved.layout.TemplateFile" value="FrameworkPageLayout.jsp"/>
            <property name="com.sap.portal.reserved.layout.Cont1" value="container">
              <property name="title" value="Content"/>
              <property name="orientation" value="vertical"/>
            </property>
            <property name="com.sap.portal.page.builder.optimization.level" value="2"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="Title" value="AFP Layout"/>
            <property name="EPCFLevel" value="1"/>
            <property name="SupportedUserAgents" value="(*,*,*)">
              <property name="validvalues" value="7/(*,*,*)"/>
            </property>
          </component-profile>
        </component>
        <component name="iview">
          <component-config>
            <property name="ClassName" value="com.customer.afp.fromscratch.FrameworkPageComponent"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="com.sap.portal.iview.ShowTray" value="false"/>
            <property name="AuthScheme" value="anonymous"/>
            <property name="EPCFLevel" value="1"/>
            <property name="SupportedUserAgents" value="(*,*,*)">
              <property name="validvalues" value="7/(*,*,*)"/>
            </property>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>

  • PPPoE circuit-id tag processing with NAS-port-ID feature in 7200VXR problem

    We faced the following problem when we configured both vendor-tag circuit-id service and radius-server attribute nas-port format d command in our 7200VXR.
    When finishing configuration we did a debug radius and received the "AAA Unsupported Attr: circuit-id-tag". Circuit-id-tag as you can see in the sniffer traces has a format of access-node-identifier atm slot/module/port/vpi/vci.
    However we never got this value as a NAS-Port-Id in our debug radius command. Instead we received in specific NAS-Port-Id the format Access-Node-Identifier eth slot/subslot/port:vlan tag (? I guess so).
    The above described situation occurs when we run 12.2(31)SB2 IOS version. However we received different (probably better) results when we run on the router 12.3(7)XI7a IOS version. In this latter case as you can see in the debug radius output log the NAS-Port-Id field is filled with the correct circuit-id-tag : 10.112.0.227 atm 1/6:8.35.
    Shall we try another configuration than the nas-port format d command for radius?
    Thanks in advance for any answer provided.
    Kind Regards
    Dimitris Elefsiniotis

    Hello,
    thank you for your prompt response.
    You can find additional information in the attached files (BRAS show tech/run, sniffer traces, debug radius commands in BRAS).
    We are talking for normal sessions and as you can easily track yourself the NAS-Port-Id is different than the circuit-id-tag inserted by access device (DSLAM)(IOS 12.2(31)SB2. However, the DHCP snooping is used in aggregation 7600 router and option 82 is set by DSLAM as well.

  • No print service found

    After turning <applet> tag into <object> tag, no print service found. How to figure out the problem? Thanks

    Sorry for the other post (really bad mood).
    Try to sign the applet or change the java.policy (set allpermission for all code and test it).
    In IE you can change msjvm security settings and this will change the way an applet behaves.
    SUN jre has a different setup, you either sign the applel or contact the sys admin
    of your consumer and ask them to change java.policy for your applet.
    Signing applets:
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and last post for the java class file using doprivileged

  • How to call a WSDL Service

    Hoping to get some helpful hints and a working example atl file.
    We have been able to establish the connection between Business Objects Data Services and the WSDL service provider by defining the data store.  The functions available as part of the WSDL service have been imported and are available on the datastore.
    Only one input parameter is shown when we add the function in a query, however there are multiple parameters that need to be passed in the SOAP request.
    Thanks in advance for any suggestions.

    David -
    Web services description language (WSDL) is a sub-set of XML. It defines the web services interfaces, transport mechanisms, and messages. Data Integrator publishes its jobs in WSDL so they can be called by your external applications. All comments entered into the job descriptions box in the Data Integrator designer graphical user interface are also published with each job in WSDL. The WSDL file generated by Data Integrator includes tags (such as services, bindings, ports, and operations) that support the use of the SOAP protocol. Each tag has names associated with it that Data Integrator provides
    also see below links
    http://forums.asp.net/t/1463365.aspx/1
    http://www.forumtopics.com/busobj/viewtopic.php?p=666522
    hope this helps
    thx
    Deep

  • Workshop Web Service Security

    We have a Workshop Web service, where we want to use digital signature for a particular soap header element. SO if any SOAP REQUEST used digital signature for this particular node them only webservices will be executed.
    Initially we are planning to use WSSE policy file for the web services using the "<b><additionalSignedElements></b>" in "<wsSecurityOut>" tag for Web service control to sign the soap message and "<wsSecurityIn>" tag for WEB SERVICE policy file to verify it. But it is signing the whole soap body and it was unable to verify the signature of particular node because we can not mention a particular element in "<wsSecurityIn>".
    Is it possible to implement this type of scenario using WSSE POLICY file or we have to write WEB SERVICE handler for verification ?
    What is the use of <additionalSignedElements> in "wsSecurityOut" tag because we can not use it in "wsSecurityIn" element to verify it.

    Why do you want to do that? Any specific use case? I think for SOA services, you have to use OWSM. You may refer -
    http://download.oracle.com/docs/cd/E17904_01/web.1111/b32511/intro_ws.htm#BACBBDIB
    Regards,
    Anuj

  • Stub for web service in JSP

    How do i embed a scriptlet inside my JSP page for the stub of my web service? is there any examples that i can refer to?
    Thanks in advance. ;)

    Check out the 2 How To:
    9.0.4 / 10.1.2 "How to use OC4J JSP Tags for Web Services" [1].
    10.1.3 (preview) "Access J2EE 1.4 JAX-RPC Java Web Services from Web Clients" [2].
    Hope this helps,
    Eric
    [1] http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/wstags/index.html
    [2] http://www.oracle.com/technology/products/jdev/101/howtos/jaxrpc/java14_ws_web_clients.html

  • Passing data among nested tags

    Hey all,
    Man, am I confused. Trying to put together a few simple tags to get some chunks of Java code out of existing jsps. I've read a good part of the Wrox book (Pro JSP?) and the custom tags trail/tutorial, I've got various bits of sample source code, and it's still not clicking. (Part of the problem is the source code is from fairly rich applications, and it's hard to see the forest for the trees.)
    Anyway, to get a bit more specific, the general flow is:
    1) Query a database to get a list of names of things, say "SELECT widge_group_id, widget_group_name FROM widget_group".
    2) Assemble a little form with a dropdown whose elements are the "widget_group_name" from the query.
    3) When the user selects an item from the dropdown, we will get a list of things corresponding to what was selected, say, "SELECT <a bunch of widget stuff> FROM widget WHERE widget_id = <widget_id corresponding to selected widget_name>" and pass this list on to a new page or frame that is the result of the form's submit or onChange.
    What I thought I'd do for the tags--and yes, I know there are taglibs out there that will do this, and I may end up using one, but for now I've decided to do it this way because a) it will be instructive and b) what I have to do is so small, it seemed it might not justify the overhead of researching, obtaining and learning a 3rd party lib--anyway, what I thought I'd do was have one tag that generated the form with its dropdown, where the list of items to appear in the dropdown was provided from "somewhere else."
    The "somewhere else" in this case would be another tag that queried the db and brought back the list of widget group names. As far as the form tag was concerned, the list of dropdown elemenst could come from anywhere.
    I'd still need another mechanism (another tag? part of the form tag?) to then get the second list from the db for the next page, but I'm not that far yet.
    Basic idea was something like this:
    <mine:dropdown>
       <mine:query
          table="widget_group"
          display_column="widget_group_name">
       </mine:query>
    </mine:dropdown>Now, yes, I know there's stuff missing--like tying the selection to the submit target. And I know it's not the most general design, but I'm not worried about that now--for me, this is a nice compromise between realistic and simple. That point aside however, I have a couple of questions:
    1) Does this design make sense as far as how one tag interacts with the other--that is, the dropdown tag using the services of the query tag in this way? (again, keeping mind this is for instruction, not production.)
    2) What's the best way to communicate the results of the query--basically a list of strings--from the inner tag to the outer? TEI? pageContext.getAttribute? ancestor.getThingamabob?
    3) Where does all the work go? doStartTag? doEndTag? Elsewhere?
    I've read a bunch of docs, looked at sample code, but some of the particulars are just not clicking. I imagine I can get something to work, but I could use a little guidance as far as best practices go.
    Thanks!
    Jeff

    Excelent! At least I know I'm not totally missing the picture.
    Ok, this is pretty good. However, I'd do it the other
    way around. Use the query-tag as the outer tag and
    allow as many dropdowns, textfields et ceteras INSIDE
    of that.
    Why? Because this way you can just run your query
    once, cache the results and then use them for your
    input tags. Understood. I think I want the results of the query only to be available to that list. In this case I'm using the query to get specific data needed to populate a specific list. Another list on the page may use the same query tag but with different table and column parameters.
    I had considered flipping the nesting order, but for different reasons--namely I didn't know WTF was going on. I've got a fair amount of OO design experience, so where that applies in this arena, I think I'm pretty well covered. However, I'm acutely aware that my tool of choice is a hammer, so I'm wondering if sometimes I'm viewing all manners of problems as nails, when they aren't.
    In this particular case, I was viewing my tag nesting as sort of the tag equivalent of
    Dropdown dd = new Dropdown(new Query("widget_group", "widget_group_name"));that is, using the "return value" of the query to feed the dropdown.
    The problem I have with this is that it appears that things have to be named. I wanted the dropdown and query tags to be completely independent of one another, where the only shared knowledge was that the query "returned" a List of String, and dropdown used a List of String. That works in the method calling analogy above, but in this case, it seems I have to force them to agree on a name. That goes against tens of thousands of lines of Java development experience :-)
    2) What's the best way to communicate the resultsof
    the query--basically a list of strings--from theinner
    tag to the outer? TEI? pageContext.getAttribute?
    ancestor.getThingamabob? Again, it depends entirely on you. If you are using
    ancestor.getWhatEverAttribute(), this limits your
    tags, so that they can only be nested in the order you
    defined. Which I think is okay for my needs
    Moreso, if you use pageContext, you can use
    the results even after your tags, for example
    displaying some text as a label outside your form or
    whatever. With the ancestor -method, they'll only be
    accessible inside the tag, which is fine if you really
    want to control their lifecycle and be sure that they
    won't "bleed" onto the outer page.Again, I think I want this. I mainly avoided pageContext for name collision avoidance, and because it seemed like a "global variable," which goes against my OO instincts.
    Well, for your query tag, you'd definitely wan't to do
    the query at the doStartTag() and store the results
    somewhere. Then, if you need to iterate over the
    resultset, you do that at the doEndTag().Hmm. Okay. First, which tag's start/end are we talking about? Second, why iterate in doEndTag?
    Now, if nesting your tags like you suggested, you need
    to generate the list at the doEndTag(), since the
    query results won't be available during the execution
    of the doStartTag() method.Again, whose start/end? I guess you must mean query's results aren't present for dropdown's start, yes?
    Actually, now that you mention iteration, that reminds me of another question. I've looked a little bit at the iterate tag provided by struts, and from what I gather, it seems to be a common construct. I'm wondering if there's any reason I'd want such a beast in this situation. It seems simpler just to do the iteration in DropdownTag.java (in doEndTag, from what you say). If that's not the case, why not? And if it is the case, what would be a situation where it's better to use the iterate tag?
    Thanks a ton for your help!
    Now, one other question...
    TagExtraInfo: Docs say it's for when the tag needs to validate something or other, which makes sense, but also to create/read/modify scripting variables. That left me a little confused. We've already got pageContext, so what are scripting variables? Are they things that show up in scriptlets? For instance, if your TEI set a "banana" variable, you could later do <%=banana> ?Thanks again!
    Jeff

  • VLAN tags over Pseudowire

    I have an existing MPLS Pseudowire connection that I need to rework to be able to carry vlan tags instead of just plain L2 frames.
    Existing setup:
    ME3400 <-> 7206VXR <-> 7206VXR <-> ME3400
    The ME3400's customer facing int tags incoming frames, which go over a trunk interface to a 7206VXR subint. The subint is conf'd for pseudowire p2p to the remote 7206VXR which has an identical setup. Subint on a trunk int to a ME3400, cust facing int tied to a matching vlan.
    My thought is use QinQ on the switches, with the question being will the 7206s correctly strip off one vlan tag layer, encapsulate the remaining vlan tagged L2 frame for psuedowire, and on the remote end take the pesuedowire packet, decapsulate it, add on the QinQ tag, and shove it back out to the switch? I won't know ahead of time what vlan tags the customer will be looking to pass, so I need to be able to support whatever they try to throw across this link.

    Hi,
    You can definitely do that, The pseudowire has 2 labels , the outer label represent the (tunnel label), the inner label represent the (Vc label).
    The egress 7206Vxr performs lookup at Vc label and forward the frames un labeled to the ME3400.
    On the other hand, with QinQ, the customer vlan access port is tunneled across the Service provider Network, this has no affect in your MPLS Forwarding which done at the vxr7206, The outer vlan tag(tagged by the service provider) is stripped out when the frames forwarded firstly unlabeled to the ME3400 at the egress tunnel interface , the inner vlan tag (customer tag) is forwarded untouched (preserved) to the ingress ME3400 interface.
    So, from different point,the MPLS provider is transparent for the Customer Vlan traffic even within the MPLS forwarding LSRs, The Only vlan that is binded to the inner label (Vc label) is the service provider access vlan provided to each customer.
    HTH
    Mohamed

  • Pl/sql webservice

    Hello,
    I would like to publish a pl/sql package as webservice. Let's say using Jdeveloper 10.1.3.3. Generation is fine, I can compile my project and it runs perfectly with OC4J. I deploy the project into a war and try to deploy it to a Sun Application server 9. That is when all hell breaks loose.
    - I have to change the urlpattern in the web.xml, it needs a slash
    - the server said namingconflict. I found that the <service-interface> and the <service-endpoint-interface> tags point to the same name in the java-wsdl-mapping file so I changed the service-interface tag by removing the package name
    Still I cannot deploy the war and I find the following in the server log:
    [#|2008-11-07T09:45:23.249+0100|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=32;_ThreadName=Thread-107993;|
    C:\Sun\SDK\domains\domain1\generated\ejb\j2ee-modules\Application2-Project1-context-root\f10\MyWebService1_Tie.java:34: cannot find symbol
    symbol : class MyWebService1_SerializerRegistry
    location: class f10.MyWebService1_Tie
    super(new MyWebService1_SerializerRegistry().getRegistry());
    ^
    |#]
    I guess the server is looking for something which should be there according to the jax-rpc spec, but maybe JDeveloper does not generate it. I am totally out of ideas. Anyone? BTW, I have downloaded 11g but actually it is worse than the old one. It cannot compile the code it generates from the same pl/sql package.
    Regards,
    Krisztian

    Finally figured it out. If you generate pl/sql webservices and you want to deploy them to a Sun Application server, you have to change 2 things:
    - in web.xml change the urlpattern to start with a slash
    - in the java-wsdl-mapping file change the <service-interface> tag contents, add Service to the end of the interface name (package.interface -> package.interfaceService
    K

Maybe you are looking for

  • N5K: PortChannel & Load Balancing

    Hello All, I've configured port-channel for my backup servers and also applied load balancing on the switch (NEXUS 5548 with 2248 FEX). The server is configured with NIC teaming and is set on auto, which negotiates to use 802.3ad for the channel. All

  • Menu bar account listing--want it to show up!

    My family of seven has seven accounts on each of our two iMacs. In five of the seven accounts, in the upper right of the menu bar, you can see the name of the account that you're on. If you click that, you get a list of all accounts and can switch ac

  • HT1386 computer says it cannot start sync session when I plug in my ipad

    I am trying to back up my ipad so I can restore it. It keeps freezing and quitting on me. I went to sync it and the computer keeps coming up with the message that it cannot sync because the sync session did not start. help!!!!

  • Oracle Jinitiator

    Dear All, I have installed Jinitiator on the web server and included Jinitiator tags in the html forms that call d2k forms. But on one of my client machine, I have : 1. Installed Jinitiator 2. I havent included any other JVM on this machine However,

  • HT5557 Why can't my ibooks download samples? On my iPhone 5s??

    For some reason ibooks won't let me download samples Does anyone else have the same problem And how can I resolve this ?? Thanks