Using CDATA in input payload.

All,
I am having issues xmlizing the xml string within CDATA of my input payload. I am using payload copied below:-
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body xmlns:ns1="http://xmlns.oracle.com/OutboundMessages_Dispatcher">
<ns1:OutboundMessages_DispatcherProcessRequest>
<ns1:identifier></ns1:identifier>
<ns1:payload>&lt;![CDATA[<ORU_R01 Standard="HL7" Version="2.3" GUID="{1A2726C6B00EDA118F7A080020C8D296}" xmlns="http://www.edifecs.com/xdata/200">
     <MSH><MSH.1 xmlns="">|</MSH.1>
          <MSH.2 xmlns="">DNE</MSH.2>
          <MSH.3>
               <HD.1>NO_MATCH</HD.1>
          </MSH.3>
          <MSH.4>
               <HD.1>STV</HD.1>
          </MSH.4>
          <MSH.5>
               <HD.1>LIS</HD.1>
          </MSH.5>
          <MSH.9>
               <CM_MSG.1>ORU</CM_MSG.1>
               <CM_MSG.2>R01</CM_MSG.2>
          </MSH.9>
          <MSH.10/>
     </MSH>
     <ORU_R01.PATIENT_RESULT>
          <ORU_R01.PATIENT>
               <PID>
                    <PID.2>
                         <CX.1/>
                    </PID.2>
               </PID>
          </ORU_R01.PATIENT>
     </ORU_R01.PATIENT_RESULT>
</ORU_R01>]]&gt;</ns1:payload>
</ns1:OutboundMessages_DispatcherProcessRequest>
</soap:Body>
</soap:Envelope>
And within BPEL I am using assign to xmlize it like this
<assign name="Assign_1">
<copy>
<from expression="ora:parseEscapedXML(bpws:getVariableData('inputVariable','payload','/client:OutboundMessages_DispatcherProcessRequest/client:payload'))"/>
<to variable="Var_ORU_R01_23Type" query="/ns1:ORU_R01"/>
</copy>
</assign>
Its giving be FOTY error and upon adding checkpoint its giving receivetimeoutexception.
This is how the payload looks like in audit view :-
<inputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
-<ns1:OutboundMessages_DispatcherProcessRequest xmlns:ns1="http://xmlns.oracle.com/OutboundMessages_Dispatcher">
<ns1:identifier/>
-<ns1:payload>
<![CDATA[
-<ORU_R01 Standard="HL7" Version="2.3" GUID="{1A2726C6B00EDA118F7A080020C8D296}" xmlns="http://www.edifecs.com/xdata/200">
-<MSH xmlns="http://www.edifecs.com/xdata/200">
<MSH.1 xmlns="">|
</MSH.1>
<MSH.2 xmlns="">DNE
</MSH.2>
-<MSH.3>
<HD.1>NO_MATCH
</HD.1>
</MSH.3>
-<MSH.4>
<HD.1>STV
</HD.1>
</MSH.4>
-<MSH.5>
<HD.1>LIS
</HD.1>
</MSH.5>
-<MSH.9>
<CM_MSG.1>ORU
</CM_MSG.1>
<CM_MSG.2>R01
</CM_MSG.2>
</MSH.9>
<MSH.10/>
</MSH>
-<ORU_R01.PATIENT_RESULT>
-<ORU_R01.PATIENT>
-<PID>
-<PID.2>
<CX.1/>
</PID.2>
</PID>
</ORU_R01.PATIENT>
</ORU_R01.PATIENT_RESULT>
</ORU_R01>
]]>
</ns1:payload>
</ns1:OutboundMessages_DispatcherProcessRequest>
</part>
</inputVariable>
Can anybody give me a pointer what am I doing wrong here?
Thanks,
DP

Dipal,
did you find a solutions to this?
I am also facing the same problem :(
anks

Similar Messages

  • How to get the input payload passed to the BPEL Process using java.

    Hi all,
    I am working on an application in which, if some fault occurs in the flow I need to insert the input payload that is being sent to the BPEL process into a Queue using Java. I have gone through the FaultHandling framework and failed to find the method by which we can get the input payload. Can someone kindly help me in getting the input payload. using the java.
    Regards

    Hi,
    Use method getVariableData with your input variable.
    Object getVariableData(String name, String part, String query)
    For example: getVariableData("input", "payload", "/");
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10224/bp_java.htm
    Cheers,
    Vlad

  • Can a ComboBox be used for Text Input ?

    Hi
    In Ms Access the combo box can be used for text input for creating new lines in the Database instead of just being limited to the lines already there in the drop down list. Is this possible with the combo box available in Flex 4. If it is I haven't being successful in getting it to work.
    Thanks for you help in advance
    ParaicKW

    I am using a Dataservices Commit method to write to the Database via a button on the screen
    When I type into the ComboBox's text input and click outside the combobox or on the commit button the application effectively freezes
    SituationService is a CRUD type servicePHP to MYSQL and it works with the Datagrid
    Here is the code -
    ParaicKW
    <?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" minWidth="955" minHeight="600" xmlns:situationservice="services.situationservice.*">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function Situation_creationCompleteHandler(event:FlexEvent):void
                    getAllTblsituationResult3.token = situationService.getAllTblsituation();
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllTblsituationResult.token = situationService.getAllTblsituation();
                protected function button1_clickHandler(event:MouseEvent):void
                    situationService.commit();
                protected function vGroup_creationCompleteHandler(event:FlexEvent):void
                    getAllTblsituationResult2.token = situationService.getAllTblsituation();
            ]]>
        </fx:Script>
        <fx:Declarations>
            <s:CallResponder id="updateSituationResult"/>
            <situationservice:SituationService id="situationService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
            <s:CallResponder id="getAllSituationResult"/>
            <s:CallResponder id="getAllTblsituationResult"/>
            <s:CallResponder id="getAllTblsituationResult2"/>
            <s:CallResponder id="getAllTblsituationResult3"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <mx:DataGrid x="96" y="167" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAllTblsituationResult.lastResult}" editable="true" width="470" height="237">
            <mx:columns>
                <mx:DataGridColumn headerText="ID2" dataField="ID2"/>
                <mx:DataGridColumn headerText="SITUATION" dataField="SITUATION" width="200"/>
            </mx:columns>
        </mx:DataGrid>
        <s:Button label="Commit Updates" click="button1_clickHandler(event)"/>
        <s:HGroup width="90%" height="80%" verticalCenter="20" horizontalCenter="0">
            <mx:ComboBox width="476" id="cmbSituation" creationComplete="Situation_creationCompleteHandler(event)" dataProvider="  
                     {getAllTblsituationResult3.lastResult}" labelField="SITUATION" editable="true">
            </mx:ComboBox>
            <s:TextArea width="426" id="textArea" text="{getAllTblsituationResult3.lastResult.SITUATION}"/>
            <s:Button label="Back" click="cmbSituation.selectedIndex = cmbSituation.selectedIndex-1 ; textArea.selectedIndex = textArea.selectedIndex-1"/>
            <s:Button label="Forward" click="cmbSituation.selectedIndex = cmbSituation.selectedIndex+1 ; textArea.selectedIndex = textArea.selectedIndex-1"/>
        </s:HGroup>
    </s:Application>

  • Problem validate the input payload in a bpel process

    Hi
    I am trying to validate the input payload in a bpel process and need to catch the exact validation error . I am using the validate activity or validate property
    I am getting the error as
    <process>
    <main (80)>
    receiveInput (pending)
    Jun 21, 2013 12:24:57 PM Invalid data: The value for variable "inputVariable", part "payload" does not match the schema definition for this part Invalid text 'Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)Final cure time (Posn7)' in element: 'PARAM_NAME'. The invalid xml document is shown below:
    <payload>
    <catchAll (60)>
    Unable to handle the error.  Please help me if anybody handled this validation.
    Thanks in advance
    kalyani

    One of the issues with using the validate activity in BPEL is that when the error is thrown it throws it with little information.  Mediators however give much more information as they throw a remote exception and this can be caught. If you require detailed fault information to be sent back to the caller, then one solution is to use a mediator with validation as a callout (echo service etc).  Then catch the remote exception, this will give you more information in the fault payload. 

  • How to pass OSB fault variables into input payload

    Hi ,
    I am very new to OSB. as we know that OSB has some predefined variable structure like body,header, fault,inbound,outbound,..My requirement is that I want pass the fault variable elements(errorCode,reason,details..) to input payload elements. I want to see the faulted data in my payload elements which is generated by fault variables.
    Ex:-> If any validation fault occur then my payload fault variables will display errorCode---->BEA-382525, errorMessage-->Variable targeted for validate is not XML or MFL..
    Could you please help me out.I tried but i did not get the result what I expected .. Thanks in advance
    Thanks,
    Viswas

    Hi Vlad,
    I tried what you said in the Otherwise section.
    Step 1:-->This is my xQuery code:
    declare namespace ns1 = "http://www.bea.com/wli/sb/context";
    declare namespace ns0 = "http://xmlns.itc.com/emf/xsd/04/2013/v1.0/loggingService";
    declare namespace xf = "http://tempuri.org/GreetingService/xquery/faultToGreetingService/";
    declare function xf:faultToGreetingService($fault1 as element(ns1:fault))
        as element(ns0:logInfo) {
            <ns0:logInfo>
                <ns0:HeaderInfo>
                    <ns0:faultCode>{ data($fault1/ns1:errorCode) }</ns0:faultCode>
                </ns0:HeaderInfo>
            </ns0:logInfo>
    declare variable $fault1 as element(ns1:fault) external;
    xf:faultToGreetingService($fault1)
    Note: My requirement is I want pass this errorCode into ns0:faultCode which is the input element for publish action (This is publish action would call the logging Service, It is one-way process)
    Step2:-->I used a replace action-->XQuery Resource tab--> I browse the xQuery ..Here In the Variable Name section it is showing fault1 and what value we need to give in the Binding section.
              a)  If i did not provide any value it is giving the error message as "XQuery expression validation failed:XQuery error for the variable "fault1": line1,column1:                                 {err}XP0003:invalid...  "            
              b) If i provide $fault1 or $fault1/*:errorCode or $body in Binding section then the public action would not calling the logging service.
    Can anybody provide me the answer.
    Thanks,
    Viswas

  • Input payload to BPEL instance is empty

    We are using standalone BPEL 10.1.2.0.2 on oracle database.
    The BPEL Process is getting called using AXIS API. But the input payload to process is blank/empty. So BPEL process fails.
    If we use BPEL 10.1.0.2 the Process gets proper input and everything works fine.
    What can be the reason?

    BPEL process is Asynchronous.
    This is the i/p to BPEL process.(As shown in obtunnel):
    POST /orabpel/default/HoldItemForCustomerProcessTest/1.0 HTTP/1.0
    Content-Type: text/xml; charset=utf-8
    Accept: application/soap+xml, application/dime, multipart/related, text/*
    User-Agent: Axis/1.3
    Host: 192.168.2.67:1235
    Cache-Control: no-cache
    Pragma: no-cache
    SOAPAction: "process"
    Content-Length: 6676
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><HoldItemForCustomer xsi:type="ns1:HoldItemForCustomer" xmlns="http://www.nrf-arts.org/IXRetail/namespace/" xmlns:ns1="urn:org_storehub.nrf_arts.ixretail.namespace"><customer xsi:type="ns1:Customer"><action xsi:type="xsd:string" xsi:nil="true"/><affiliation xsi:type="ns1:AffiliationType" xsi:nil="true"/><alternateID xsi:type="xsd:string" xsi:nil="true"/><any xsi:type="xsd:anyType" xsi:nil="true"/><customerAccount xsi:type="ns1:CustomerAccountType" xsi:nil="true"/><customerBehavior xsi:type="ns1:CustomerBehaviorType" xsi:nil="true"/><customerID xsi:type="xsd:string">10545</customerID><customerStatus xsi:type="ns1:CustomerStatusType" xsi:nil="true"/><dateTime xsi:type="xsd:string" xsi:nil="true"/><entityInformation xsi:type="ns1:EntityInformationType"><individual xsi:type="ns1:IndividualType"><any xsi:type="xsd:anyType" xsi:nil="true"/><contactInformation xsi:type="ns1:ContactInformationType"><EMail xsi:type="ns1:EMailCommonData"><EMailAddress xsi:type="xsd:string"> [email protected]</EMailAddress><primaryFlag xsi:type="xsd:boolean">true</primaryFlag><typeCode xsi:type="xsd:string">Home</typeCode></EMail><address xsi:type="ns1:AddressCommonData" xsi:nil="true"/><any xsi:type="xsd:anyType" xsi:nil="true"/><endDate xsi:type="xsd:string" xsi:nil="true"/><startDate xsi:type="xsd:string" xsi:nil="true"/><telephone xsi:type="ns1:TelephoneCommonData"><areaCode xsi:type="xsd:string">123</areaCode><countryCode xsi:type="xsd:string" xsi:nil="true"/><extensionNumber xsi:type="xsd:string" xsi:nil="true"/><primaryFlag xsi:type="xsd:boolean">true</primaryFlag><telephoneNumber xsi:type="xsd:string">4567890</telephoneNumber><typeCode xsi:type="xsd:string">Home</typeCode></telephone><updateType xsi:type="xsd:string">Existing</updateType></contactInformation><credentials xsi:type="ns1:CredentialsType" xsi:nil="true"/><employmentInformation xsi:type="ns1:EmploymentInformationType" xsi:nil="true"/><mailingName xsi:type="xsd:string" xsi:nil="true"/><name xsi:type="ns1:NameType" xsi:nil="true"/><nickName xsi:type="xsd:string" xsi:nil="true"/><officialName xsi:type="xsd:string" xsi:nil="true"/><personalSummary xsi:type="ns1:PersonalSummaryType" xsi:nil="true"/><salutation xsi:type="xsd:string" xsi:nil="true"/><socioEconomicProfile xsi:type="ns1:SocioEconomicProfileType" xsi:nil="true"/><sortingName xsi:type="xsd:string" xsi:nil="true"/><suffix xsi:type="xsd:string" xsi:nil="true"/><updateType xsi:type="xsd:string">Existing</updateType></individual><organization xsi:type="ns1:OrganizationType" xsi:nil="true"/><partyType xsi:type="xsd:string">Individual</partyType><tenantID xsi:type="xsd:string" xsi:nil="true"/></entityInformation><giftRegistration xsi:type="ns1:GiftRegistrationType" xsi:nil="true"/><giftRegistryID xsi:type="xsd:string" xsi:nil="true"/><itemCount xsi:type="ns1:ItemCountType" xsi:nil="true"/><memo xsi:type="xsd:string" xsi:nil="true"/><operatorID xsi:type="ns1:OperatorCommonData" xsi:nil="true"/><personalIdentification xsi:type="ns1:PersonalIdentificationCommonData"><IDNumber xsi:type="xsd:string">10545</IDNumber><address xsi:type="ns1:AddressCommonData"><addressLine1 xsi:type="xsd:string">20380 Town Center Lane</addressLine1><addressLine2 xsi:type="xsd:string" xsi:nil="true"/><addressLine3 xsi:type="xsd:string" xsi:nil="true"/><addressLine4 xsi:type="xsd:string" xsi:nil="true"/><addressType xsi:type="xsd:string">Permanent</addressType><city xsi:type="xsd:string">Cupertino</city><country xsi:type="xsd:string">United States</country><fullAddress xsi:type="xsd:string" xsi:nil="true"/><postalCode xsi:type="xsd:string">95014</postalCode><primaryFlag xsi:type="xsd:boolean">true</primaryFlag><territory xsi:type="xsd:string">CA</territory><typeCode xsi:type="xsd:string">Home</typeCode></address><birthdate xsi:type="xsd:string" xsi:nil="true"/><expirationDate xsi:type="xsd:string" xsi:nil="true"/><issueDate xsi:type="xsd:string" xsi:nil="true"/><issuer xsi:type="xsd:string" xsi:nil="true"/><name xsi:type="ns1:NameCommonData"><fullName xsi:type="xsd:string">Bhushan Karpe</fullName><mailingName xsi:type="xsd:string">Bhushan Karpe</mailingName><name xsi:type="ns2:Name" xsi:nil="true" xmlns:ns2="urn:org_storehub.nrf_arts.ixretail.namespace.NameCommonData"/><officialName xsi:type="xsd:string" xsi:nil="true"/><salutation xsi:type="xsd:string" xsi:nil="true"/><sortingName xsi:type="xsd:string" xsi:nil="true"/><suffix xsi:type="xsd:string" xsi:nil="true"/></name><province xsi:type="xsd:string" xsi:nil="true"/><signatureImage xsi:type="xsd:base64Binary" xsi:nil="true"/><typeCode xsi:type="xsd:string">Customer</typeCode></personalIdentification><personalPreferences xsi:type="ns1:PersonalPreferencesType"><any xsi:type="xsd:anyType" xsi:nil="true"/><contactPreference xsi:type="xsd:string">Email</contactPreference><creditRating xsi:type="ns3:CreditRating" xsi:nil="true" xmlns:ns3="urn:org_storehub.nrf_arts.ixretail.namespace.PersonalPreferencesType"/><languagePreference xsi:type="xsd:string" xsi:nil="true"/><mailingPreference xsi:type="xsd:string" xsi:nil="true"/><paymentPreference xsi:type="xsd:string" xsi:nil="true"/><personalInterests xsi:type="xsd:string" xsi:nil="true"/><privacyPreferences xsi:type="xsd:string" xsi:nil="true"/><updateType xsi:type="xsd:string">Existing</updateType></personalPreferences><promotion xsi:type="ns1:PromotionType" xsi:nil="true"/><reason xsi:type="ns1:ReasonCodeCommonData" xsi:nil="true"/><responseCode xsi:type="xsd:string">OK</responseCode><responseDescription xsi:type="xsd:string" xsi:nil="true"/><securityArrangement xsi:type="ns1:SecurityArrangementType" xsi:nil="true"/><shoppingBasket xsi:type="ns1:BasketType" xsi:nil="true"/><siteID xsi:type="ns1:SiteIDCommonData" xsi:nil="true"/><suggestion xsi:type="ns1:SuggestionType" xsi:nil="true"/></customer><item xsi:type="ns1:StoreHubItem"><itemID xsi:type="xsd:string">5555</itemID><quantity xsi:type="xsd:decimal">1</quantity></item><store xsi:type="xsd:string">452</store><task xsi:type="ns1:RetailTask"><createDate xsi:type="xsd:string">07/01/2006</createDate><endDate xsi:type="xsd:string">07/15/2006</endDate><startDate xsi:type="xsd:string">07/03/2006</startDate><status xsi:type="xsd:string">open</status><taskData xsi:type="ns1:TaskCommonData"><instruction xsi:type="xsd:string">Hold item for client</instruction><name xsi:type="xsd:string">Hold Item</name><taskID xsi:type="xsd:string">3550</taskID></taskData></task></HoldItemForCustomer></soapenv:Body></soapenv:Envelope>

  • How can we attach input payload of failed message in Alert mail

    Hi Experts,
    Please suggest If by using alert framework (No BPM) can we attach payload of failed message in alert mail.
    If yes, Another query...
    Scenario: IDoc to File
    Requirement: If message fails in PI, need to trigger an alert mail having IDoc number(DOCNUM) in it.
    Regards,
    Raghav

    Hi,
    Thanks for your update Vankata, Please let me know in case message successfully passed receiver determination step and after that if it fails in any other step then how can we proceed for mail including Input payload field values.
    Thanks for you suggestions sunil but I need to send mail only when any error happend in PI scenario. While using UDF or RFC lookup concept, I can only send mails independent of PI message failure. I mean to say what if message failed before mapping execution.
    One query, Is it possible to handle this kind of scenario requirement where the input field value need to populate in mails ( not using BPM) via Custom modules?
    Waiting for more suggestions on this.
    Regards,
    Raghav
    Edited by: RaghavTiwari on Feb 15, 2012 3:55 PM
    Edited by: RaghavTiwari on Feb 15, 2012 4:23 PM

  • Set Message Processing Queue based on input payload

    Hi all..
    Can i set the message processing queue from graphical mapping?
    Receiver system in my scenario is ECC.Whuile sending messages to ECC, i need to send the message related to a particular ORDER Number in a particular queue.
    for EX: if ORDER Number  from my input payload is 457 i want to set the queue as ABC457.
    Please let me know how to get it done from mapping or if there is any other approach.
    Thanks
    Manohar

    Hi Ram,
    What do you mean by Queue here?? we can check condition in mapping level only based on ORDER Number we can send message to receiver.use enhance receiver determination.
    Regards,
    Raj

  • BPEL Instance losing input payload

    ('ve raised an SR but just in case anyone else has encountered this)
    One of our dozen or so main BPEL processes exhibits a problem whereby it can't read from the input payload during the flow.
    The error manifests itself as
    xpath variable/expression expression "orcl:get-content-as-string(bpws:getVariableData('inputVariable','payload','/ns27:AppointmentEventNotification/ns27:BookingEvent/ns27:New'))" is empty at line 3192, when attempting reading/copying it.
    We only see this perhaps <1% of invokations of the service. Resubmitting the request with an identical payload will work fine, so it's unreproducable. All we can do is grab the log files when it occurs and try and gleen clues as to the cause.
    Anyone else had a similar issue ??
    Cheers,
    Rob

    This applies to 10.1.2.0.2
    Turns out using orcl:get-content-as-string is not good.
    load testing with 50 requests against 25 concurrent threads the process
    containing “get-content-as-string” had 21 failures
    Using ora:getContentAsString() fixed the issue.

  • How do I use the analog input (ADC) to drive a motion profile in MAX

    We are trying to use an anolog input signal from a DAQ card to control the motion contol axis.  For now, we want the motor speed to follow a sinusoidal voltage waveform, and later on, we will be using a more complex velocity profile. 
    In order to accomplish this task, we have searched the user forum, and found information suggesting to operate the servo motor in 'slave' mode under the 'gearing' option.  Therefore, we have set the Gear Master to 'ADC Channel-1', Mode set to 'absolute', Gear ratio 1:1, and provided the sinusoidal voltage (+/- 5V, 3 Hz) to the AIN1 connector on the MID-7654 controller.  When using the 1-D Interacitve 'single axis' control panel, the motor runs at constant speed in one direction only.  It does not react to the sinusoidal speed profile request as we expected. 
    How do we 'turn on' the 'slave' mode in MAX?  Please talk us through the necessary steps and settings?  Thanks.
    Staffan

    Staffan,
    you can configure and enablethe Gearing mode in MAX and it should be activated after saving the settings and initializing the board. In 1D-Interactive you can't use Gearing. For better flexibility I recommend not using MAX for configuring and enbling Gearing. You better should do this in your application.
    In fact there is a perfect LabVIEW-example that ships with the NI-Motion driver (Master Analog Input - Slave Axis Gearing.vi)
    I hope this helps,
    Jochen Klier
    National Instruments
    Message Edited by Jochen on 10-02-2007 08:37 AM
    Attachments:
    gearing.jpg ‏162 KB

  • Using CDATA tags in XML program and parsing to J2ME

    Hi,
    Can anybody tell me how to use CDATA tag in a xml file and parse it to my J2ME code. is there any sample code available for this? I want to use this CDATA tag for sending Binary data. plzzzzzzz Help....!

    I think what you want is to parse a CDATA text from a xml file and let this text to execute.
    Very innovative idea!
    If I am right, I think you might mix some concept.
    Java code need to be changed to ByteCode before pased to the JVM. Furthermore, Java ME code must be verified before downloading to your machine.
    I figure that your attempt is impossible.

  • Using CDATA in Script (XML)

    Hello,
    I'm trying to create an XML var using CDATA to get some htmlText.
    Sample:
    <fx:Script>
        <![CDATA[
              var newXML:XML = XML("<node><![CDATA["+ myRichTE.htmlText+" ]]></node>")
        ]]>
    <fx:Script>
    <mx:RichTextEditor id="myRichTE" />
    But i get an error on this line. (give it a try, something about an unclosed tag, can't give the exact english error message since i got french UI)
    It seems that you can't use
    <![CDATA[xxxx]]>
    in Script section of an Application (in addition of the main CDATA which contains all Script), since it interprets as a real CDATA.
    And I think I can't do without it to store the htmlText inside an XML node.
    Any ideas ?
    (maybe by "escaping" the CDATA tag ?)
    Thanks a lot.

    Indeed, actually, it is as simple as this :
    <fx:Script>
         <![CDATA[
              myXMLnode = myRichTE.htmlText
         ]]>
    <fx:Script>
    <mx:RichTextEditor id="myRichTE" />
    It is correctly inserted into the XML, by replacing tags with their corresponding html entities.

  • I have a macmini on order, I wonder if I can pair the wireless apple keyboard and magic touchpad without using any other input devices, especially, since everything is brand new and not yet paired.

    I have a macmini on order, I wonder if I can pair the wireless apple keyboard and magic touchpad without using any other input devices, especially, since everything is brand new and not yet paired.

    You may just want to save yourself any possible issues
    by just hooking up a wired keyboard and mouse on first
    start up.  Any USB keyboard and mouse should work.
    There have been many that have had problems on first boot
    using the Bluetooth devices. 

  • Problem about House Number of Vender Transfer by using LSMW+Batch-Input

    Hi,
    anyone has met the same problem?
    by using LSMW+Batch-Input method to transfer vender data the field House Number cannot be added.
    Object: 0040 Vendor Master
    Method 0002 Shared
    Program Name RFBIKR00
    Program Type B Batch Input
    Thanks in advance!

    in Vedndor master LSMW batch input method there is no field for House Number , we have only one filed
    (STRAS)for street and house numner in LSMW.
    first create the vendors after that update through XK02
    for this you can write program small LSMW recording  method
    using below fileds
    LIFNR                          C(010)    Vendor
    BUKRS                          C(004)    Company Code
    STREET                         C(060)    STREET
    HOUSE_NUM1                     C(010)    HOUSE_NUM1

  • Reading a PWM and determining pulse width using a digital input pin on a NI 9425 DAQ

    Hello!
    I have been experimenting with LabVIEW for about a week now and have run into a brick wall.  I have found a fairly effective way of reading a PWM signal through an analog input and determining the pulse width.  However, it is becoming necessary for this project to do this same thing using a digital input.  I've been playing with this for about a day now and am not making much headway.
    For reference, I will be using a 9524 device
    Any ideas?

    Also, if it is helpful at all, I've attached two vi's.  One, functions just as I need it to - but it doesn't involve data aquisition.  The second should be similar to the first, but is non functional - I keep getting an error that my amplitude is zero.
    Any thoughts?
    Attachments:
    DigitalEdgeDetectionKnown.vi ‏47 KB
    DigitalEdgeDetectionRead.vi ‏148 KB

Maybe you are looking for

  • Error message when attempting to install lightroom cc on a Mac

    I've downloaded photoshop cc and installed it successfully, having taken out a monthly sub for it and lightroom cc. with lightroom I keep getting the following error message (I'm installing on a macbook pro) Exit Code: 7 Please see specific errors be

  • ISQL*PLUS install at EBS 11.5.9

    Our System is OS : RedHat 2.1 AS EBS : 11.5.9 DB : 9.2.0.3 1. I download "Oracle9i Database Release 2 Enterprise/Standard Edition for Linux" (9.2.0.4) at the oracle homepage(otn.oracle.com) 2. when I execute "runInstaller" to add on package(isql*plus

  • ORA-01461 error using jdbc 10.2.0.1.0

    I am using the oracle jdbc 10.2.0.1.0 ( the latest version) and oracle 10g (10.1.0.4.0) database. Sometimes, the error "ORA-01461: can bind a LONG value only for insert into a LONG column' if I use a java program to insert record to a table containin

  • Big drawback of J2SE 5.0

    I've recently made a strong push to use Java in a recent project over .NET. In hindsight, using J2SE 5.0 as opposed to 1.4 was a big mistake. J2SE 5.0 has been released (not beta) for well over a year so I hardly thought I was pushing the bleeding ed

  • File vault - can't turn it off / encryption stopped

    Hello, I recentl upgraded to Yosemite on my Macbook Air and File Vault seems to have been turned on by default. I want to turn it off, but I can't until encryption is finished. The problem is that encryption seems to have got stuck. When I open the s