xmlString as input to the flex webservice

Hello

I want to send the xml as input to a webservice .i string had a problem with that. IAM-paste the code iam with.

public var sResult:String = "<?" XML version = "1.0" encoding = "UTF - 8"? " >
CD < root > < example > < id > 8098 < /ID > < type > < / type > < unit > nm < / unit > < / sample > < / root > ';
< mx:WebService id = "myws.
"WSDL =" http://localhost: 8080/myws/method? wsdl "
useProxy = "false" >
< name mx:operation = "getCD" result = "resultHandler (event)" fault = "Alert.show (event.fault.message)" > "
< mx:request >
< String_1 > {sResultat} < / String_1 >
< / mx:request >
< / mx:operation >
< / mx:WebService >
< mx:Panel width = "652" height = "408" >
< mx:Button x = '368' y = '2' label = "Lot_id" id = "mybutton" click = "myws.getCD.send ()" / >
< / mx:Panel >

When I use any string for sResultat .it works fine.but when I use the xml string, it gives error error of SOAP request.
I need your help.

yah there is a problem with flex 3 .the same code works fine with flex 2.
for that to work, need to escape< from="" xml="">

Tags: Flex

Similar Questions

  • How pass an array into a php url using the flex http service?

    How pass an array into a php url using the flex http service?
    im making something like this:
    http://localhost/flex_php/example_return_xml.php?id= {mylist}
    -mylist? TABLE
    -If I try to use a text variable it works for example. {myvar.text} where myvar is a text input

    Any idea!

    How can I get using XML?
    I tried to push the table in a textinput & sent the text of entry in php, it worked!

  • read the multiple analog inputs at the same time

    Hi all

    I use USB-6001 and want to develop an application to multiple tasks in C++. I try to read several analog inputs at the same time, but got some errors. To put it simply, I copy one of the sample code to read in analog data in a channel, and then turn it into function. Then I call this function to thread with the names of different poles (for example Dev1/ai0, Dev1/ai1) and I come across this error:

    "The specified source is reserved. The operation can not be specified such complete"code of State-50103

    I have search the forums, this may be because I use the hardware timing in this function, and this material timing cannot be used simultaneously by multiple tasks. I may have to put all the lines, I want to read in a single task (such as Dev1 / ai0:1). This way I can read two lines at the same time. However, when I try this, I encounter another error:

    Status code "buffer is too small to contain the data read" - 200299

    So here is my question, what should I do if I don't want to read the multiple analog inputs at the same time? Is the thing that hard time cannot be used by several true task? If I have to read several lines to a single task, how to set the settings?


  • How not to set default PFI as inputs to the and door to the counter 0?

    Hi, community of NOR.

    I have problems on a DAQ 6212 trying to serve in the PFI12 and PFI13 and door of the input for the meter to 0 signals.

    My application must simply measure the time difference between the two edges of awareness of two signals attached to PFI12 and PFI13.

    Data acquisition sends me the following error message when I run my program.

    ***************************************************************************

    DAQmx error: specified route can not be satisfied, because it requires resources
    that are currently in use by another way.
    Property: DAQmx_CI_TwoEdgeSep_FirstTerm
    Property: DAQmx_CI_TwoEdgeSep_FirstEdge
    Source device: Dev1
    Terminal of source: PFI10

    Resources in use by
    Source device: Dev1
    Terminal of source: PFI12
    Target unit: Dev1
    Destination terminal: Ctr0Aux

    Task name: T3

    State code:-89137

    ***************************************************************************

    My code looks like this. (Please note: the world of NI DAQ, being totally new to me, my code comments could be the problem):

    ************************************************************************

    #define DAQmxErrChkTest (functionCall) if (DAQmxFailed (gErrorTest = (functionCall))) goto error; on the other

    gErrorTest of Int32;
    float64 f64readDelay;
    TaskHandle taskHandleT3;

    Create a task

    DAQmxErrChkTest (DAQmxCreateTask ("T3", & taskHandleT3));

    Connect PFI12 to the boot entry storytelling 0 (correct?)

    DAQmxErrChkTest (DAQmxConnectTerms ("/ dev1/PFI12 ', ' / Ctr0Aux/dev1", DAQmx_Val_DoNotInvertPolarity));

    Connect PFI13 to the entrance to stop tell 0 (correct?)

    DAQmxErrChkTest (DAQmxConnectTerms ("/ dev1/PFI13 ', ' / Ctr0Gate/dev1", DAQmx_Val_DoNotInvertPolarity));

    A measure of separation of two edge channels join task3. Configure the advanced metrics.

    DAQmxErrChkTest (DAQmxCreateCITwoEdgeSepChan (taskHandleT3,

    "/ dev1/ctr0."

    "",

    0.001,

    5.0,

    DAQmx_Val_Seconds,

    DAQmx_Val_Rising,

    DAQmx_Val_Rising,

    Community salvation OR,.

    I myself had the answer for the problems described.

    Maybe this code may be useful for you

    The code fixed (in blue) is as follows:

    #define DAQmxErrChkTest (functionCall) if (DAQmxFailed (gErrorTest = (functionCall))) goto error; on the other

    gErrorTest of Int32;
    float64 f64readDelay;
    TaskHandle taskHandleT3;

    Create a task

    DAQmxErrChkTest (DAQmxCreateTask ("T3", & taskHandleT3));

    This is not necessary

    DAQmxErrChkTest (DAQmxConnectTerms ("/ dev1/PFI12 ', ' / Ctr0Aux/dev1", DAQmx_Val_DoNotInvertPolarity));

    This is not necessary

    DAQmxErrChkTest (DAQmxConnectTerms ("/ dev1/PFI13 ', ' / Ctr0Gate/dev1", DAQmx_Val_DoNotInvertPolarity));

    A measure of separation of two edge channels join task3. Configure the advanced metrics.

    DAQmxErrChkTest (DAQmxCreateCITwoEdgeSepChan (taskHandleT3,

    "/ dev1/ctr0."

    "",

    0.001,

    5.0,

    DAQmx_Val_Seconds,

    DAQmx_Val_Rising,

    DAQmx_Val_Rising,

  • Adding control to select the input of the chart data?

    I have a device which sends several channels of data via TCP.  I created a (attached) VI that analyzes this data in integer multiples.  Can I connect a graph (I use graphics mode band) to one of these inputs.  The problem is there is about 50 channels and I don't want 50 cards of band.  I would like to graphs 4-8, with the possibility to choose the input for each use of a control channel.  Any ideas on how to achieve this?  Thank you!

    Use the table to Index.  Connect the table of Boolean to the Board Index. Connect the channel switch to the Index entry. Connect the output to the chart through the Boolean primitive to (0,1).

    For several graphics expand the Index table and connect the selector for each chart to a different Index entry.

    Lynn

  • I have two sound cards. Can I use the input to the output to another?

    Basiclly the problem I have is that I use one of my as a configuration of 5.1 sound cards speakers (I put the MIC and line as output) and I found another sound card in another PC. The question that I have, that now I'm not a line or a microphone available for the first sound card, is possible to distribute the Line In input of the other card, to the first?

    Hi KiralyAlex,

    Unfortunately, it is not possible to perform this task, because at some point that a single sound card can be defined as a default device.

    However, you can use your favorite search engine & download any third-party software that could serve the purpose.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope the helps of information.

  • What is the analog input of the NI PCI-6229 impedance?

    I am trying to determine the effect of a 12 K resistor that is in series with an analog input of an NI PCI-6229 data acquisition card.  Resistance of 12K seems to be part of a RC filter.  I have a 0-10 VDC source this supply circuit.  What is the impedance of the analog input of the NI PCI-6229 data acquisition card?  If it makes any difference, the analog input is connected in differential mode with a 180K resistor to Gnd AI.

    Thank you

    RWB

    Hi, RWB,.

    The input impedance is classified in the specifications 10 GOhm.  So, the effect of your k 12 resistance should be relatively low.  Take care!

  • Is it possible to its right input at the exit route?

    I connected my PS3 to my monitor, but because I'm using a HDMI-DVI adapter I can't use the HDMI for audio.

    Is it possible to use the optical sound on my pc as the input and the output in real time through my pc speakers?

    Hi Matt_bowey,

    It is not possible. However, you can use a sound card that supports this option. If this is no good, then you can also use an external switch that will act as a separator.

    Diana
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How do I change the input on the LCD 65 profile Cisco

    We recently had a Cisco TelePresence given 65 profile system. We have all the documents and I could not find instructions on the lcd screen. The screen has several entries and RS232. I would like to know how to change the input to the screen. Could someone explain to me how it would happen? I guess its more rs232 because I can't find any button on the unit. Is there an API for the screen? What are the communication settings for the screen?

    Any help is appreciated more.

    Thank you

    James

    Double post - see https://supportforums.cisco.com/discussion/12742796/how-change-input-cisco-profile-65-lcd-screen

  • Web authentication passthrough with input from the e-mail

    Is it possible to use a custom login.html page when web auth/passthrough is used with the input of the email? I have a requirement to have just the users to register with an e-mail address and I need to provide a custom page.

    I receive custom login pages, but I can't figure out how to make a customized with only e-mail login.html page entry.

    Any help is appreciated.

    Thank you

    Kurt

    You should also check wireless downloads. In the area where you can find the code of the controller to download, you can also find a 'Wireless LAN Controller Web authentication Bundle' containing several samples of html, including e-mail data.

    This link might work, maybe not:

    http://Tools.Cisco.com/support/downloads/go/InterfaceModuleSWT.x?mdfid=279911269&mdfLevel=model&treeName=wireless&modelname=Cisco%204404%20Wireless%20LAN%20Controller&treeMdfId=278875243

  • Any suggestion for the option of compiling the Flex Mobile of the project in Flash builder (Blackberry platform)

    I use Flex mobile project type to create a stand-alone for targeting blackberry and android application both versions.

    Depending on the configuration of my test application works ok in blackberry tablet Simulator. As I am new to blackberry AIR application development if anyone can help me for the compilation of project I currently put for my application is good or not?

    When I checked the project-> properties-> Flex compiler, I found "Flex Hero" as compilation same SDK, so I'm trying to pass the value of the configuration option available, that it won't allow me to set the 'Blackberry Tablet OS SDK 0.9.1 for Adobe AIR"- any suggestions?

    The question above, see attached screenshot.

    Hey Dounibiligda,

    He was right to what you saw originally in your settings. the default SDK should be the flex SDK Hero. If you want to add libraries specific blackberry, you must manually import the qnx - screen.swc which will give you most of the libraries QNX which are skinned to resemble the appearance of the standard playbook.

    so to summarize, keep the default Flex Hero sdk and manually import the qnx - screen.swc to your project. Good luck!

  • Password for the user: ASADMIN is not configured error clicking on the deployed webservice

    Hello

    By clicking on the deployed webservice, getting the error below.

    Password for the user: ASADMIN is not configured.

    As mentioned in the doc https://support.oracle.com/rs?type=doc & id = 1311068.1 followed the steps.

    After recording there is a warning stating"

    "Role data updates will be not visible in the application until the following processes are started: Workflow background engine.

    Then I restarted the Workflow Agent listening Service. But when I integrated soa gateway connection again I get the same error as "password for the user: ASADMIN is not configured.

    Can someone help me with the problem?

    BR

    Magali

    When you run this script, make sure you pay attention to the case of your users.

    So, when running:

    Ant f $JAVA_TOP/oracle/apps/fnd/txk/util/txkSoaConfigUtility.xml addASADMINToFNDVault

    Make sure you use 'ASADMIN' and NOT 'asadmin' when it prompts you for the username ASADMIN.

  • Given an asset Flex, how can I get the Flex related definition?

    I have a trump card of a certain Type of assets Flex flex. How can I get the Flex related definition?

    I'm trying to make a well-founded on the definition of Flex with which it was created. Do you have good suggestions on what steps I can take?

    Hello

    Try something like: -.

  • I want to set up an online quotation tool in my view based on a small number of variable input by the visitor. If someone has done this through Muse and able to assist / point me in the right direction please? Thank you!

    I want to set up an online quotation tool in my view based on a small number of variable input by the visitor. If someone has done this through Muse and able to assist / point me in the right direction please? Thank you!

    Hello

    These discussions could be useful

    I need to put a form to give a quote, does anyone have any ideas

    "Click to add to your" function

    Get the Quote button functionality

    Let me know if you have any question.

  • How to get input on the arbitrary draw event data?

    Hi all

    I'm trying to draw a histogram on an arbitrary parameter (such as the effect of 'Levels'). Part of the draw is good, but I have a problem with the data in the input layer (param [0]).

    All I have to do now is read the entry about the event draw arbitrary data. But there is not the input on the draw event pointer. So I called the PF_CHECKOUT_PARAM() function to get the input data, and it works!

    When I test in AE, I created a layer A, and added some color correction effects to the layer before my effect added A layer. The problem is the input layer that read my effect is not the result of the previous effects that I applied before.

    Has any way to read the latest entry in the arbitrary event data?

    Thank you.

    the result of caching is a smart thing to do, but as you mentioned, when the

    the user sets the controls in a State that AE has already cached the image

    for, any rendering happens, and your user interface crashes on an irrelevant screen.

    (as is the case with 'levels' (or at least was))

    You can use PF_GetCurrentState PF_HasParamChanged during a draw event to

    know if your plug-in State param has changed sine the last call to draw.

    If so you can't, for a new record using PF_OutFlag_FORCE_RERENDER

Maybe you are looking for

  • Adobe Flash Player 18.0.0.203 still vulnerable

    Sorry to bring bad news but Flash Player is still vulnerable. On July 10, 2015 a second zero-day was discovered in data leakage from the hacking team.External links:Security Advisory-Adobe APSA15-04: https://helpx.adobe.com/security/products/flash-pl

  • Blue 11-r050sa stream: Headphone Jack problem

    I bought two HP laptops stream HP Notebook flow blue 27 November 2015 11 r050sa S/N (deleted content) P/N POH72EA laptop #ABU HP flow 11-r0001na purple 4 January 2016 S/N (deleted content) P/N POH70EA #ABU There is a design problem with the audio out

  • Qosmio X 770-107 - question GPU acceleration and low of the FPS game while

    Hi all As everyone knows (i) hope including Toshiba tech we face breakdowns of sparks/Framerate GPU limitation/Low FPS during the game, even in the game of old or new brand and down or in the highest video settings. So lets start with the history of

  • Satellite P750 - uninstall and reinstall several pre-installed software

    I have laptop Toshiba P750L that all of a sudden asking me to uninstall and reinstall all the software that I had in my new laptop. First it was seeking Yahoo Messenger when I opened this program then iTunes to be uninstall and reinstall when I opene

  • vertical line

    Hello my hp envy jo37tx has a vertical line for the last 6 months.  Initially, he was gone as I move the screen up and down, but now this isn't diappear. No one knows the reason for this. Thank you