Use case related question

I have the requirement to read the data from a oracle table and do some transformation on few of the columns and then push them via a webservice to create in the target system.
As of now i am done with a model in the odi studio and i dragged and dropped the source table to the interface on left side. i know how to apply trnsformations as well.
the point where i stuck is what to specify in the target data store as i need to call a webservice instead.
Further, how will i actually pass the desired soap request to the webServiceInvoke component ? I know how to invoke my service from odi by pasting the soap request into the command section of the webserviceComponent directly. but how to build a request
dynamically from the table rows after applying the required transformation rules?
Please advise.
i am using odi 11.1.1.6
Vik

Bhabani
Based on some suggestions I changed it a bit as follows:
1. I created a procedure instead with source as following command
select description descr from cn_rs_rules_all_vl where rule_id in (4201, 300100011001731) order by creation_date desc
2. and target to invoke a webservice call as follows:
OdiInvokeWebService "-URL=https://efops-rel7st1-cdrm-external-crm.us.oracle.com/opptyMgmtOpportunities/OpportunityService?WSDL" "-PORT_TYPE=OpportunityService" "-OPERATION=createOpportunity" "-HTTP_USER=Sales_Representative" "-HTTP_PASS=aIyX1kofZWZSvZxcq8xf"
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/types/" xmlns:opp="http://xmlns.oracle.com/apps/sales/opptyMgmt/opportunities/opportunityService/" xmlns:rev="http://xmlns.oracle.com/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:not="http://xmlns.oracle.com/apps/crmCommon/notes/noteService" xmlns:not1="http://xmlns.oracle.com/apps/crmCommon/notes/flex/noteDff/" xmlns:rev1="http://xmlns.oracle.com/oracle/apps/sales/opptyMgmt/revenues/revenueService/" xmlns:act="http://xmlns.oracle.com/apps/crmCommon/activities/activitiesService/">
<soapenv:Header/>
<soapenv:Body>
<typ:createOpportunity>
<typ:opportunity>
<opp:Name>#descr</opp:Name>
</typ:opportunity>
</typ:createOpportunity>
</soapenv:Body>
</soapenv:Envelope>
The problem is the target fails to call the webservice using #descr or :descr and works if i pass a hard coded value. I am not sure what is the problem. Please advise

Similar Messages

  • A Use Case question.

    Hello all
    I am currently developing an event management assignment for my degree.
    A subset of problem statment
    Attendee is a person, who would register with the application
    in order to view the posted events.
    For this part of the problem statment i have identified a usecase
    "register attendee".
    I will type the use case here. Since i am a novice, I would really like
    design gurus to throw some light on the use case and suggest me changes
    I will really appreciate it.
    Use case : register attendee
    Pre-condition: Attendee decides to register.
    Main Success Scenario:
         Actor                         System
    1. Attendee requests to register.
                        2. Provides registration form.
    3. Attendee fills the form and
    submits.                     
                        4. System checks for valid
                        authentication.
    (//for eg. unique username)
                        5. System validates the information
    (//for eg.compulsory fields
                             present or not)
                        6. System notifies through mail.
                        7. Displays registration was
                        successful.
    Alternative Flow :
    4 a) Invalid authentication : Displays appropriate message.
    5 a) Invalid information : Displays appropriate message.
    6 a) Mail notification failure : Logs the failure message and email.
    Please guide me friends. I am a bit confused.
    Thanks in advance.
    Jenny               

    Use case are pretty good for both of these. You know
    your system needs to allow an ATTENDEE to register
    with the SYSTEM using a REGISTRATION FORM. These sound
    like things that either you need to model (what
    attributes do the form and attendee have) or a thing
    that you need to build the "system".
    The steps in the use case tell you how the system must
    behave. It needs to "getRegistrationForm" and give it
    the attendee. The Attendee needs to
    "completeRegistrationForm" and
    "submitRegistrationForm". So, with the authentication
    and validation rounding out the process you have a
    good idea of what kind of methods you need as a base
    in order to deal with the real world concepts you have
    identified.I am through with what behaviour my system will need to provide in
    order to realize the use case. But I will have to assign the behaviour
    appropriately to classes of objects. I would like to go to the design model once i have a good understanding of the domain model. This is where the problem starts, should i identify, AuthenticationVerifier,InformationVerfier as different concepts and give later say AuthenticationVerifier the responsibility of verifying unique authentication and InformationVerfier the responsibility of verifying information received with the form or should I only take one concept of say Administrator that would perform the above two stated behaviours. I understand that it is always good to overspecify concepts rather than under specify but at some point of time i will have to make that decision.
    If its a libray system, it is easy to identify certain priliminary concepts say book, patron, etc. as they occupy some physical space. But here nothing is clear. There isn't any entity in my use case, that occupies a physical space that i can easily identify as a real world concept.
    My question is, how in this case, do someone define the notion of concept when there is nothing in the main success scenario that occupies space. My use case, only specifies what will be done with the
    attendee information, not who will do it. So as a use case developer, am i responsible to map these processes with some physical entities that i have derived for eg. AuthenticationVerfier.
    ps. You will need to add the Attendee as an Actor. She
    is the one that is initiating the activity.Does it mean that as Attendee is an actor, he/she cannot be a concept?

  • I HAVE A QUESTION ABOUT USING CASE STRUCTURE

    Can I compute a percentage using case structure?
    In the following query below, I have been able to use CASE STRUCTURE to add to a counter when days were between 0 and 30, or when days were between 31 and 60 or when days were between 61 and 90 or when days were between 91 and 9999. I have also been able to get a GRAND TOTAL of all days between 0 and 9999. This is done in the LAST ITEM of the SELECT STATEMENT. The FIRST ITEM of the SELECT STATEMENT counts rows of records being processed. I want to take the LAST ITEM of the SELECT STATEMENT and MULTIPLY it by 100 and then DIVIDE it by the FIRST ITEM of the SELECT STATEMENT to get a percentage. I know that you can do this with numeric fields in a file but is there a way to do this in CASE STRUCTURE with calculated totals?
    SELECT
    count(distinct v.rowid) v_cnt,
    SUM(CASE WHEN(V.LCL_ER_RECV_DT - ADD_MONTHS(V.IND_ER_PER_END_DT,3)) BETWEEN 0 AND 30 THEN 1
    ELSE 0
    END) one_mo,
    SUM(CASE WHEN(V.LCL_ER_RECV_DT - ADD_MONTHS(V.IND_ER_PER_END_DT,3)) BETWEEN 31 AND 60 THEN 1
    ELSE 0
    END) two_mo,
    SUM(CASE WHEN(V.LCL_ER_RECV_DT - ADD_MONTHS(V.IND_ER_PER_END_DT,3)) BETWEEN 61 AND 90 THEN 1
    ELSE 0
    END) three_mo,
    SUM(CASE WHEN(V.LCL_ER_RECV_DT - ADD_MONTHS(V.IND_ER_PER_END_DT,3)) BETWEEN 91 AND 9999 THEN 1
    ELSE 0
    END) three_pl_mo,
    SUM(CASE WHEN(V.LCL_ER_RECV_DT - ADD_MONTHS(V.IND_ER_PER_END_DT,3)) BETWEEN 0 AND 9999 THEN 1
    ELSE 0
    END) TOT
    FROM NCOER V, NCOER_IN_ERROR NIE, NCOER_ERROR NE, ALL_CMD_VIEW ACV
    WHERE V.MIL_CMD_ASGN_CD IN ('FC')
    and v.lcl_er_form_cd = '4'
    and acv.cmd_cd = v.mil_cmd_asgn_cd
    and nvl(acv.lcl_code_stat,'N') = 'Y'
    and NVL(v.lcl_omit_from_stats_ind,'N') <> 'Y'
    AND V.PSC_CD IN ('FS10')
    AND (V.LCL_ER_RECV_DT >= '01-MAR_2007' AND V.LCL_ER_RECV_DT <= '31-MAR-2007')
    AND V.IND_SSN = NIE.IND_SSN(+)
    AND V.IND_ER_PER_END_DT = NIE.IND_ER_PER_END_DT(+)
    AND V.LCL_ER_RECV_DT = NE.LCL_ER_RECV_DT(+)
    AND V.IND_SSN = NE.IND_SSN(+)
    AND V.IND_ER_PER_END_DT = NE.IND_ER_PER_END_DT(+)
    AND V.LCL_ER_RECV_DT = NE.LCL_ER_RECV_DT(+)

    Solution for you:
    SELECT
    COUNT(V_CNT) PROCESS_RECORD,
    SUM(CASE WHEN(PROCESS_MONTHS) BETWEEN 0 AND 30 THEN 1
    ELSE 0
    END) ONE_MO,
    SUM(CASE WHEN(PROCESS_MONTHS) BETWEEN 31 AND 60 THEN 1
    ELSE 0
    END) TWO_MO,
    SUM(CASE WHEN(PROCESS_MONTHS) BETWEEN 61 AND 90 THEN 1
    ELSE 0
    END) THREE_MO,
    SUM(CASE WHEN(PROCESS_MONTHS) BETWEEN 91 AND 9999 THEN 1
    ELSE 0
    END) THREE_PL_MO,
    SUM(CASE WHEN(PROCESS_MONTHS) BETWEEN 0 AND 9999 THEN 1
    ELSE 0
    END) TOT,
    (SUM(CASE WHEN(PROCESS_MONTHS) BETWEEN 0 AND 9999 THEN 1
    ELSE 0
    END) *100/COUNT(V_CNT)) TOT_PER
    FROM
    (SELECT     V.ROWID V_CNT, V.LCL_ER_RECV_DT - ADD_MONTHS(V.IND_ER_PER_END_DT,3) PROCESS_MONTHS
    FROM     NCOER V, NCOER_IN_ERROR NIE, NCOER_ERROR NE, ALL_CMD_VIEW ACV
    WHERE     V.MIL_CMD_ASGN_CD IN ('FC')
    AND     V.LCL_ER_FORM_CD = '4'
    AND     ACV.CMD_CD = V.MIL_CMD_ASGN_CD
    AND     NVL(ACV.LCL_CODE_STAT,'N') = 'Y'
    AND     NVL(V.LCL_OMIT_FROM_STATS_IND,'N') <> 'Y'
    AND     V.PSC_CD IN ('FS10')
    AND     (V.LCL_ER_RECV_DT >= '01-MAR-2007' AND V.LCL_ER_RECV_DT <= '31-MAR-2007')
    AND     V.IND_SSN = NIE.IND_SSN(+)
    AND     V.IND_ER_PER_END_DT = NIE.IND_ER_PER_END_DT(+)
    AND     V.LCL_ER_RECV_DT = NE.LCL_ER_RECV_DT(+)
    AND     V.IND_SSN = NE.IND_SSN(+)
    AND     V.IND_ER_PER_END_DT = NE.IND_ER_PER_END_DT(+)
    AND     V.LCL_ER_RECV_DT = NE.LCL_ER_RECV_DT(+) )
    Regards,
    Rajs
    www.oraclebrains.com

  • VMware Performance Event Triggers use case questions.

    1) Can the CPO VMware Adapter Performance Event Triggers and their
    SAMPLE SIZE, INTERVAL, and CONDITIONS attributes be configured
    for the following use case?
    2) Can VMWare Performance Event Triggers be CORRELATED?  and if so would it be needed to satisfy the use case?
    3) Would an additional performance monitoring tool be required to satisy the use case?:
    If a VM CPU or RAM has been 80% for 2 hours then trigger a workflow
    and
    If a VM CPU or RAM has been at 60% for X days then trigger a workflow

    I will first describe how you could instrument a correlation method, but ultimately, I'm not sure it is really necessary for the uses cases described.
    To correlate VMware performance events over a designated timeframe, you would create a correlation process that tracks the underlying performance event and decides whether or not to trigger the process you want triggered when the correlated event is detected.
    Here's how it works.
    First, create a global table with three columns:
    1) Virtual Machine path
    2) Consecutive Trigger Count
    3) Last Trigger time
    Create a process that is triggered by a VMware performance event (such as Memory Avg > 80%) where you can set a sample size and interval that makes sense given the timeframe of interest (2 hours or X days). For example, a sample size of 10 and interval of 30 seconds (5 minutes) is a reasonable time slice from vCenter for a 2 hour timeframe. This results in requiring 24 consecutive triggers to raise the actual event of interest. (2 hours divided by 5 minutes)
    That is, the formula is:
    Sample Size * Interval / Timeframe = Consecutive Trigger Count
    The correlation process triggered by the raw VMware event does the following:
    1) If there is no existing entry in the global table for the VM, add entry to table with count = 1 and current time
    2) if entry exists, check the current time against the last trigger time
       a) if it is the next interval, for example, current time is 12:15 and last triggered time was 12:10 (see note below),
            Increment counter and set last trigger time 
            If count = 24, then run the process that handles the "VM Memory Avg > 80% for at least 2 hours " and delete entry from table.
           If count < 24, the process exits having only incremented the counter and set the last trigger time
       b) if the current time is > than last trigger time + time slice (+ a little padding), set the counter back to 1
    Note: When comparing current time w/last time, you should pad to account for slight processing delays so compare current-time < last-time+(time slice*2). Anything less than 10 minutes in this case would be considered a consecutive trigger. You could also compare current-time < last-time+time-slice+1, which is probably also safe.
    Now, having gone through all that, you may not need the correlation process after all. Simply adjust your sample size to be large enough to accommodate your ultimate timeframe and you can trigger your event handler directly without the need to correlate. So for the 2 hour window, just create a sample size of 240 (* 30 seconds = 2 hours). This may or may not work depending on how performance metrics have been configured on the server (sample size, intervals and how much is saved). You can only set your own sample and intervals to multiples of those configured values (so be careful and refer to the VMware documentation when relying on such metrics)
    You may find that the correlation method I first described is more reliable, especially for longer timeframes such as X days (where you need to sample hourly rather than every 5 minutes).
    In any case, I think you can do what is asked without external monitoring, but it will require some experimentation and a deeper knowledge of how performance metric sampling works for ESX.

  • Use case for showing records in report view BAM based on version number

    Hi,
    I have a use case to update records based on version no. Let say I have a table or data object in BAM called 'Notes'. The Notes dataobject has three fields Id, Version, Description. The Notes data is displayed in a BAM report. I need to just display the latest version of the Notes. Say two records with one with Id as '124' and Version '4' and another with Id as '124' and version as '5'. The record related to version 5 should be dispalyed to user. How will I introduce this check in BAM reports for the latest version?
    Thanks
    Edited by: user5108636 on 28/06/2010 16:47

    That you see you're prints only means that your method outta called. The code creates a new row, but never inserts the row into the rowset. Then you call execute query which loses any connection to the new route which is not part of the rowset.
    First action would never to call insertRow(r1) on the view object.
    If you change data this way, only the model layer knows about it, the ui can't know about this (one of the disadvantages of using plsql or this construct you try). You have to tell the view controller to update it's data to. For this you can execute the iterator in the binding layer and/or ppr the container showing your data.
    Then I don't see any complicated plsql called do I question if a programmatic co is necessary.
    Timo

  • Problems with use cases in JDeveloper 11.1.1.1.0

    Use cases made with JDeveloper 11.1.1.0.2 can not be used and edited in JDeveloper 11.1.1.1.0.
    Same problems with Use Case Diagrams.
    And it seems to be impossible to create new use cases in JDeveloper 11.1.1.1.0.
    What are the differences between 11.1.1.0.2 and 11.1.1.1.0 if you look at use cases??

    In JDeveloper 11.1.1.0.2 each use case has one file with the folllowing name: *.xhtml_usc.
    In JDeveloper 11.1.1.1.0 each use case has two files with a names like *.xhtml_usc and *.uml_usc (after standard migration with JDeveloper). I can still edit the *.xhtml_usc files, but I have no idea what to do with the *.uml_usc files. I can only open a Property-editor, but the properties I see have no relation with the text I used in my original use cases . New use cases only have a *.uml_usc file and a Property-editor. In javadoc the new use case does not appear.
    My question is: why do I have two different use case files in JDeveloper 11.1.1.0 and how can I use the Property editor??

  • Two related questions:  ColdFusion 10/Java applications and J2EE supported servers

    I have two related questions:
    1.  CF10 and integration with Java Web applications
    We have a couple of Java applications running on JRun and interfacing with CF9 applications.  The JRun clusters were created through the JRun Admin and, apart from lack of Axis 2.0 support, have served us well for years now.  And, as would be the case, the ColdFusion9/Java/Flash application is a critical public-facing application that the business uses for bidding on projects.
    It appears that with ColdFusion 10 on Tomcat, we will not be able to run those Java applications on a Tomcat-CF10 JVM cluster.  Is this correct?  IF so, what are our options? 
    2.  J2EE Application Servers supported by Adobe for CF10
    Which of these is correct?
    A.  This URL (http://www.adobe.com/products/coldfusion-enterprise/faq.html) states "ColdFusion 10 supports IBM® WebSphere, Oracle® WebLogic, Adobe JRun, Apache Tomcat, and JBoss."
    B.  This URL (http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/coldfusion/pdfs/cf1 0/coldfusion10-support-matrix.pdf) states:
    "J2EE application servers: WebLogic Server 10.3, 11.1, WebSphere Application Server 7, ND 7 JBoss 5.1, 6.0, 7.1.0"
    I *think* "A" above is wrong re. support for Adobe JRun.  It does not specify a version of Apache Tomcat unless it is simply referring to the custom version the comes with CF10.
    Option "B" above shows no support of Adobe JRun or 'standard' Apache Tomcat.
    Thanks,
    Scott

    Question 1 above was answered:  "No support for Java web applications under CF10's custom version of Tomcat"
    Question 2:  No answer yet:  Is Apache Tomcat (NOT Adobe's customized version) supported for CF10 J2EE deployment?  I do not see any installation instructions on how to install CF10 on Apache Tomcat 6 or 7.
    Is anybody using Apache Tomcat as their J2EE app servers and, again, NOT Adobe's customized/limited version? 
    Thanks,
    Scott

  • EVO:RAIL - Use Cases?

    I think as soon as the world becomes aware of EVO:RAIL then folks will start asking what the use cases are. It's clear that there are couple of immediate use cases, but I'm betting that customers will bring to the table applications that perhaps we hadn't considered. The other night I was our Tech Summit event (its private event for VMware SE/TAMs to attend prior to VMworld to get them up to speed on what the announcements are all about), and I was approached by a number of SE/TAMs who are interested in running EVO:RAIL in the basements and garages as the foundation to their homelabs. Even with the onsite of Cloud - and we have an internal cloud that SE/TAMs can use demo products to customers - just like the VMware Community they still have a passion for building out their own demos, just how they like them - that they can tailor make to handle customer questions that come up. I'm the same, despite being at VMware for 2+ years, I'm still running my own gear at home. It just worked out more cost effective form my needs than keeping my 42U rack at a colo.
    I doubt that my might the "WAF" would apply to having a 4U box with 4 nodes inside it - in the spare bedroom. So I'm already looking at running EVO:RAIL in a nested configuration on my home lab gear for testing, videos and demos to customers. That work has already been done for the VMworld HoL, by William Lam (the undisputed king of nested ESX, well, perhaps Simon Gallagher comes close!) - who's done some excellent work on this already. So hopefully it won't take much work to get hold of the bits from the HoL, and pump the lastest build of EVO:RAIL into it...
    Anyway, I digress use cases. It's clear that ROBO, SMB and VDI are the top use cases - situations where an appliance like model, with zero configuration (almost!) is needed. I think we perhaps be a bit careful with the SMB use case. EVO:RAIL is 4xNodes in a 4U configuration with each node presenting 192GB of RAM. One thing I've always been concerned with is how variable "SMB" is as term. Over here in a the US an SMB would be classed as company with <1000 employees. Over here in Europe, that would be regarded as still quite large for an SMB.. The same goes ROBO. So I guess what I'm saying is size is relative, and so we have to be careful when use terms like "small".
    Folks who know me will know that I'm a big fan of VMware Site Recovery Manager and vSphere Replication - having written books about the version 1.0, 40 and 5.0 versions. I think there's use case where an EVO:RAIL is put into some colocation facilitiy and used as DR target. The important thing to remember about EVO:RAIL as its based on vSphere 5.5 U2, other products in the vCloud Suite family will work with it - like SRM, View, vCloud Director or vCAC... So its not some special "moded" version of the platform. Perhaps a better model for DR and EVO:RAIL is to run VR locally on it, and use vCloud Air as the target for recovery...? I guess we have to ask the question what's going to be more popular/easier. Two site with EVO:RAIL at either end, or EVO:RAIL enabled for DR to the cloud. Just to be clear. That isn't baked into EVO:RAIL today, I'm just blue sky thinking about the possibilities in the future.
    So what do folks think here? Can you dream up any other scenarios where an EVO:RAIL would be good fit...?

    You make some valid points there, but there's a couple of things that are worth clarifying....
    Firstly, EVO:RAIL is pre-installed at factory. So really the only "installation" is racking up, and connecting to the TOR. In fact I think an EVO:RAIL is easier to setup that a VSA is, and gives more usable disk space, and lower cost per gigabyte..
    IF the customer has given the OEM the IPs, IP Ranges, Hostnames, and Passwords - then it literally is a 15min setup after clicking "Build Appliance". On the other hand if the customer wants to customize the EVO:RAIL prior to build - such as changing the VLANs Tags (That they supplied) that would add a couple of minutes...
    vDS is NOT a prequistie. EVO:RAIL uses standard switches... Although an EVO:RAIL is licensed for Enterprize Plus. There's no requirement to configure a Distributed Switches.
    The real "asks" here is the customer needs 10Gb switch - I think its fair to say that isn't common in SMB/ROBO environment. I suspect many of the OEMs will be asking the customer to validate their switch configuation. Multicast for IPv4/IPv6 is used by the "Zero Network Configuation" on the management/VSAN networks. As the name suggest no configuration is required on the EVO:RAIL, its used as part of the discovery process for finding the nodes, and finding new appliances. One most switches this tick off box option on the switch for the VLANs that require it...
    Anyone of my plans is to order an EVO:RAIL from one of our suppliers just like a customer would, and document/record that process. So i can get a feel for a real world customer experience would be. In fact I might see if my wife, Carmel can set it up... :-)

  • Use Cases

    I need help making a use case diagram for a piece of text, is there any1 willing to help.
    its 5 lines of text, but tryed it but i think i have done it wrong

    Sun Studio is a suite of tools for developing, debugging, and analyzing programs written in C, C++, or Fortran (and to a limited extent, Java). You seem to be asking how to draw a diagram that represents some natural-language text. Such a task does not seem to be related to anything to anything you can do with Sun Studio.
    Where ever you wind up asking your question, I suggest you be more specific about what you are trying to do. For example, are you trying to draw a program flow chart, a PERT or Gantt chart (showing project flow), a UML chart (program organization), or something else?

  • PM/EAM related questions posted in PLM forum

    Hi,
    I was going through some of the threads available in PLM forum, but to my surprise, most of the threads posted are related to PM, which should have been posted in EAM forum. It was clearly mentioned by the moderator in one of the sticky thread [PLM-Forumsplit - Please ensure you are using the right forum|PLM-Forumsplit -  Please ensure you are using the right forum;
    Questions regarding Plant Maintenance (PM) or Customer Service (CS) are discussed in the Enterprise Asset Management (EAM) forum
    forums - posts will be moved to the right forum.
    Please ensure your are opening a new thread in the right forum
    Despite the clear instructions given my the moderator, PM related questions are still posted to PLM forum and some of the active participant of EAM forum answers these questions in PLM forum. It would be nice if those threads are moved to appropriate forum, so that the relevant informations are available under one forum, also, PLM forum should be monitored regularly and inappropriate threads are to be moved to their respective forum.
    Few PM related threads posted recently in PLM forum:
    [Change PR for External order|Change PR for External order;
    [BAPI or Function Module to Complete Maintenance calls in IP10|BAPI or Function Module to Complete Maintenance calls in IP10;
    [delete material from PM order|delete material from PM order;
    [Message no. IW056 Work center change --> default data redefined|Message no. IW056 Work center change --> default data redefined;
    [Component in Task list not reflecting in maintenance order|Component in Task list not reflecting in maintenance order;
    [Deleted functional location/equipments|Deleted functional location/equipments;
    [PM orders not listing components from material BOM|PM orders not listing components from material BOM;
    [Completion date in Maintenance Plans in IP10|Completion date in Maintenance Plans in IP10;
    I had used abuse reports for some, but numbers of such posts are many.

    I hate to say this, but I often see the same thing, and I've never been able to figure out exactly what triggers selectability vs. non-selectability, but I suspect some of it has to do with tranparency flattening in particular, and possibly text wrap in cases where that comes into play. ID optimizes the PDF it creates, I think, and that might cause text, or even images, to be broken into chunks in funny ways. It occurs to me that turning off optimzing for fast web view might help in this regard.

  • Cannot Record Material Inspection Results as per wiki use case * SOLVED *

    === EDIT ===
    Playing around, I solved my issue.
    I did not realize that I needed to set both flags
    CloseIndicatorSpecified  = true;
    CloseIndicator = false;
    Adding that fixed it; I suspect I cannot set them to null even if the WSDL allows it.
    Michel.
    === ORIGINAL POST ===
    Hi,
    I have a project to integrate SAP and our LIMS using the SAP web services with the Material Inspection business object.
    In the Wiki, there are a few [use cases|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/ESpackages/IntegrationofQualityManagementSystems] on the subject.
    Following that, I successfully retrieve all the required data using the following web services:
    [Find Material Inspection Basic Data by Elements|https://wiki.sdn.sap.com/wiki/display/ESpackages/FindMaterialInspectionBasicDatabyElements]
    [Find Material Inspection Subset Operation by Elements|https://wiki.sdn.sap.com/wiki/display/ESpackages/FindMaterialInspectionSubsetOperationbyElements]
    [Find Subset Operation Inspection Activity Basic Data by Elements|https://wiki.sdn.sap.com/wiki/display/ESpackages/FindSubsetOperationInspectionActivityBasicDatabyElements]
    [Read Subset Operation Inspection Activity|https://wiki.sdn.sap.com/wiki/display/ESpackages/ReadSubsetOperationInspectionActivity]
    From there, I want to record results. According to the Wiki , I should use
    [Record Subset Operation Inspection Activity Result|https://wiki.sdn.sap.com/wiki/display/ESpackages/RecordSubsetOperationInspectionActivity+Result]
    I tried directly through the [WS Navigator|http://sr.esworkplace.sap.com/webdynpro/dispatcher/sap.com/tcesiespwsnavui/WSNavigator] to test web services. Whenever go through that tho, I get the following error:
    Conversion Error: Invalid Input Format (701 SFB)
    Obviously, I get the exact same error using c# (at least I'm consistent!)
    Below is the code (some is truncated because it is too long but I think you can get the idea).
    The question: Can anyone help me understand why I am getting that error? Maybe there is one or more property I don't understand... It would be practical if the actual failing property was identified in the LogItem, but it is not.
    Some things I tried (to no avail):
    1. Tried all sort of combination for actionCode
    2. Removed actionCode and set actionCodeSpecified = false
    3. Removed the Measure property
    4. Removed the Text property
    5. Removed the ChangeStateID
    Thanks in advance!
    Michel
    ...RequestMessage_sync messageIn = new ...RequestMessage_sync();
    messageIn.MaterialInspection = new u2026RequestMessage_syncMaterialInspection();
    messageIn.MaterialInspection.ID = new MaterialInspectionID();
    messageIn.MaterialInspection.ID.Value = "3265";
    messageIn.MaterialInspection.ChangeStateID = "1";
    messageIn.MaterialInspection.Subset = new u2026RequestMessage_syncMaterialInspectionSubset();
    messageIn.MaterialInspection.Subset.ID = new InspectionSubsetID();
    messageIn.MaterialInspection.Subset.ID.Value = "0";
    messageIn.MaterialInspection.Subset.Operation = new u2026RequestMessage_syncMaterialInspectionSubsetOperation();
    messageIn.MaterialInspection.Subset.Operation.ID = "0300";
    u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivity activity = new u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivity();
    activity.ID = "0010";
    activity.CloseIndicatorSpecified = false;
    activity.Result = new u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivityResult[1];
    activity.Result[0] = new u2026RequestMessage_syncMaterialInspectionSubsetOperationInspectionActivityResult();
    activity.Result[0].ID = "0001";
    activity.Result[0].AcceptanceStatusCodeSpecified = false;
    activity.Result[0].DefectNumberValueSpecified = false;
    activity.Result[0].ExceptionIndicatorSpecified = false;
    activity.Result[0].InspectedNumberValueSpecified = false;
    activity.Result[0].Comment = string.Empty;
    activity.Result[0].NonConformingUnitNumberValue = 0;
    activity.Result[0].Measure = new Measure();
    activity.Result[0].Measure.Value = decimal.Parse("4.15";);
    activity.Result[0].Measure.unitCode = "AMP";
    activity.Result[0].Text = new Text();
    activity.Result[0].Text.Value = "Some Text Here";
    activity.Result[0].actionCode = ActionCode.Item01 |ActionCode.Item02 | ActionCode.Item03;
    activity.Result[0].actionCodeSpecified = true;
    activity.CloseIndicatorSpecified = false;
    messageIn.MaterialInspection.Subset.Operation.InspectionActivity = activity;
    messageIn.MessageHeader = new BasicBusinessDocumentMessageHeader();
    messageIn.MessageHeader.ID = new BusinessDocumentMessageID();
    messageIn.MessageHeader.ID.Value = "starlims_update";
    try
          u2026ConfirmationMessage_sync messageOut = ws.MaterialInspectionSubsetOperationInspectionActivityResultRecordingRequestConfirmation_In(messageIn);
          if (messageOut.Log.Item != null)
                string message = String.Empty;
                foreach (LogItem item in messageOut.Log.Item)
                      message += (item.Note + "\n");
                MessageBox.Show(message);
    catch (Exception ex)
          MessageBox.Show(ex.Message);
    Edited by: Michel Roberge on Jul 16, 2008 2:38 PM

    See post for solution.

  • Relative path for Download directory folder.I created a firefox profile and i wanted to use this profile in multiple machines.I wanted to use a relative path for download directory with respect to the profile folder.I need this on Linux machines

    I have a use case where I need to use different download directories with different firefox profiles.I need to use this profiles in multiple linux machines.
    I need to have a relative path to my download directory with respect to the profile folder.
    Ex: I have a selenium test which opens a website and downloads it to my machine.I want this downloaded file to go into some specific folder relative to this profile folder.How do I do this??

    That is not a practically empty xinitrc - that file only needs one line: exec WM.  Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
    Is slim involved?  Probably.  That is the source of many problems.  But to start narrowing this down, I have 3 suggestions:
    1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
    2) at a tty in runlevel 3 use "xinit" instead of "startx".  Startx is fine most of the time, but it is essentially just a complex wrapper for xinit.  That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult.  So for now just use a vanilla 'xinit'.
    3) remove dbus-launch from your exec line in xinitrc.  This is done by console-kit so it is redundant and potentially problematic.  Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them.  Just make that line "exec openbox-session"
    Edit: adding one more:
    4) temporarily switch out openbox-session for openbox.  I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
    Last edited by Trilby (2012-10-03 17:30:36)

  • How can I use a relative path in a Virtual Directory tag?

    That is probably a bit vague, so I will explain in more detail. We are using BEA
    WL Portal 7.0 and our team is developing multiple portal applications. We have
    a core set of portlets (consist of JSPs) that we need to reuse in multiple portals
    (Web Apps), however from a version control perspective they need to reside in
    one common location. So, the solution I came up with is to use a virtual directory
    for the the common directory and add this to weblogic.xml for each web app. This
    works fine. However, each developer has different directory names for their project...ClearCase
    view names to be specific... plus we have integration views, QA views, etc...
    so we can't have any "C:\mystuff\mydomain" absolute paths anywhere in the portal
    configuration. Does anyone know of a way to use a relative path for a virtual
    directory? I have tried various versions of ../../ for example to try to backup
    and then recurse down to the directory, but this is not working. Any ideas?
    By the way this is basially just a hack for development, when we package the WAR
    for QA, Prod, etc... we copy needed files and there are no virtual directories.
    In other words, I don't care how "creative" solution is :)
    This is what I have right now, which I need to replace with a relative directory
    name:
    <virtual-directory-mapping>
    <local-path>C:/Projects/TouchPoint_v1.0_Fix/tp_portal/bipiportals/beaApps/portalApp/tp-shared</local-path>
    <url-pattern>*</url-pattern>
    </virtual-directory-mapping>

    Well, in fact you can in a special case :
    - The file you want to access is in the same directory than the applet (or in a sub-directory)
    If this condition is OK, you can open the file using :
    java.io.InputStream MyInputStream = <YourAppletClassName>.class.getResourceAsStream("sidira_interactif2.svg")
    With this stream, its easy to read the file content.

  • I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.​Please help me for that.

    I want to check all functions of PCI 6534.I have read the user manual..I have some memory related questions.Please help me for that.
    1.)If i am using the continuous output mode.and the size of generated data is less than 32 MB.If i want to preload the memory,what should i do?I want that first of all i load all my data to onboard memory & then i want to make start the transfer between 6534 & peripheral.Is it possible?As per me it should be.Plz tell me how should i do this?I think that in normal procedure the transfer between 6534-peripheral & outputting data from pc buffer to onboard memory works parallely.But i don't want this.Is it poss
    ible?
    (2).Similarly in finite input operation(pattern I/O) is it possible to preload the memory and then i read it?Because i think that the PC memory will be loaded automatically when 6534 acquires the data and then when we use DIO read vi the pc buffer data will be transferred to application buffer.If this is true,i do not want this.Is it possible?
    (3) One more question is there if i am using normal operation onboard memory will be used bydefault right?Now if i want to use DMA and if i have data of 512 bytes to acquire.How will it work and how should i do it?Please tell me the sequence of operations.As per my knowledge in normal DMA operation we have 32 Bytes FIFO is there so after acquisition of 32 bytes only i can read it.How it will known to me that 32 bytes acquisition is complete?Next,If i want to acquire each byte separately using DMA interrupts what should i do?Provide me the name of sourse from which i can get details about onboard memory & DMA process of 6534 specifically
    (4).In 6534 pattern Input mode,if i want to but only 10 bits of data.and i don't want to waste any data line what should i do?

    Hi Vishal,
    I'll try to answer your questions as best I can.
    1) It is definitely possible to preload data to the 32MB memory (per group) and start the acquisition after you have preloaded the memory. There are example programs on ni.com/support under Example Code for pattern generation and the 6534 that demonstrate which functions to use for this. Also, if your PC memory buffer is less than 32MB, it will automatically be loaded to the card. If you are in continuous mode however, you can choose to loop using the on-board memory or you can constantly be reading the PC memory buffer as you update it with your application environment.
    2) Yes, your data will automatically be loaded into the card's onboard memory. It will however be transferred as quickly as possible to the DMA FIFO on the card and then transferred to the PC memory buffer through DMA. It is not going to wait until the whole onboard memory is filled before it transfers. It will transfer throughout the acquisition process.
    3) Vishal, searching the example programs will give you many of the details of programming this type of application. I don't know you application software so I can't give you the exact functions but it is easiest to look at the examples on the net (or the shipping examples with your software). Now if you are acquiring 512 bytes of data, you will start to fill your onboard memory and at the same time, data will be sent to the DMA FIFO. When the FIFO is ready to send data to the PC memory buffer, it will (the exact algorithm is dependent on many things regarding how large the DMA packet is etc.).
    4) If I understand you correctly, you want to know if you waste the other 6 bits if you only need to acquire on 10 lines. The answer to this is Yes. Although you are only acquiring 10 bits, it is acquired as a complete word (16bits) and packed and sent using DMA. You application software (NI-DAQ driver) will filter out the last 6 bits of non-data.
    Hope that answers your questions. Once again, the example code on the NI site is a great place to start this type of project. Have a good day.
    Ron

  • Using case when statement or decode stament in where clause

    hi gems..
    i have a problem in the following query..
    i am trying to use case when statement in the where clause of a select query.
    select cr.customer_name || ' - ' ||cr.customer_number as cust_name,
    cr.salary as salary
    from customer_details cr
    where (case when '>' = '>' then 'cr.salary > 5000'
    when '>' = '<' then 'cr.salary < 5000'
    when '>' = '=' then 'cr.salary = 5000'
    else null
    end);
    the expression in the when clause of the case-when statement will come from UI and depending on the choice i need to make the where clause.
    thats why for running the query, i have put '>' in that place.
    so the original query will look like this(for your reference):
    select cr.customer_name || ' - ' ||cr.customer_number as cust_name,
    cr.salary as salary
    from customer_details cr
    where (case when variable = '>' then 'cr.salary > 5000'
    when variable = '<' then 'cr.salary < 5000'
    when variable = '=' then 'cr.salary = 5000'
    else null
    end);
    so, in actual case,if the user selects '>' then the filter will be "where cr.salary > 5000"
    if the user selects '<' then the filter will be "where cr.salary < 5000"
    if the user selects '=' then the filter will be "where cr.salary = 5000"
    but i am getting the error "ORA 00920:invalid relational operator"
    please help..thanks in advance..

    Hi,
    select cr.customer_name || ' - ' ||cr.customer_number as cust_name,
           cr.salary                                      as salary
    from customer_details cr
    where (    v_variable = 'bigger'
           and cr.salary > 5000
       or (    v_variable = 'less'
          and cr.salary < 5000
       or (    v_variable = 'eq'
            and cr.salary = 5000
           )Edited by: user6806750 on 22.12.2011 14:56
    For some reason I can't write in sql '<', '>', '='

Maybe you are looking for