How Can i create this  especific xml using structNew()?

Hi everyone!
I'm starting my first steps using coldfusion technology and i have been facing some problems when i try to create a client that consumes my webservices.
What i trying to do is:
to create this kind of xml structure:
<elem att1="1" att2="2"/>
i use this coldfusion code:
elem= structNew();
elem.att1= "1";
elem.att2= "2";
But, what if i want to create this kind of structure
<elem att1="1" att2="2">ELEMENT VALUE</elem>
what can i do to insert the element value "ELEMENT VALUE"
I tried structInsert, but i don't think it'll help me.
Thank in advance,
Felipe

Thanks again for your help and patience, Ian.
I wrote two client webservices using coldfusion structNew() and worked perfectly because they didn't use element values, just attribute values
In my client webservices i use this to consume the webservices:
message= structNew();
message.date = "2009-11-16";
message.num = "010203";
user= structNew();
user.account= "902301003456175";
user.pwd= "123456";
objetcWS = structNew();
objetcWS.message = message;
objectWS.user = user;
ws = createObject("webservice", "http://www.somedomain.com/soap/wsfile.wsdl");
return =  ws.getSomeData(objectWS);
Those codes above creates the xml request structure that communicates  with  the servef through SOAP protocol:
<message date="2009-11-16" num="010203"/>
<user account= "902301003456175" pwd= "123456"/>
As i said, that works fine, but the problem is when i have to send to my webservices server something with the xml structure like this
<user account= "902301003456175" pwd= "123456">USERNAME</user>
i have no idea how to set the value (Text) of the element user.
That my main question (for now hahahaha).
sorry for any confusing concepts i wrote.
Thanks again

Similar Messages

  • HT4191 iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.

    iPhone Local Storage "My iPhone" - How do you create this folder for use by the Notes app on a iPhone or iPad?  If I want to keep some notes only on my device and not in a cloud environment associated with an e-mail account.  I've seen reference to the  "My iPhone" local storage put no mention on how you create this folder or access this folder within the Notes app.  I realize storing information in a local storage like this provides no syncing between other iDevices but that is exactly what I'm looking for.  I'm running iOS7.0.4 on a iPhone 5S, and a iPad Air.  Any help would be greatly appreciated.

    If you go to Settings > Notes > Default Account you will see "On My iPhone" as the default account and the only choice if you have not enabled syncing Notes in Settings >iCloud or Settings > Mail, Contacts, Calendars. If you have enabled syncing you can still select "On My iPhone" as the default account. When you are in the Notes app you won't see any accounts listed if you have not enabled syncing because they are all in the On My iPhone account and that is the only place possible. It is not a folder that you create.

  • Cool effect..how can i create this effect on Motion 3?

    that's great.
    Someone please tell me how can i create this effect on motion 3?
    http://www.ayatoweb.com/aetips_e/ae17_mov05e.html
    thanks

    Use the bezier tool to create your shapes, give the shapes an Airbrush outline. Then apply a Write On behavior to each shape. Position the shapes in the timeline so they appear sequentially. To achieve the zooming out effect, you can either scale the whole group, or convert the group to 3D and use the camera to zoom out.

  • I have an old ipod 4G and im trying to create an apple id but got 1 problem... i live in canada so i chose the canada store but its telling me to submit a credit card so i tryied to find the none option! there no none option! how can i create this appleId

    i live in canada so i shose the canada store so now its asking me to add a credit card most people say to chose the none option but there no none option! how can i create this apple id without credit cards or without the none option!

    Either add or credit card or
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
    http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/

  • How can we create such navigation buttons using Flash CS4?

    Hi,
    How can we create such navigation buttons using Flash CS4 is in the following website? Please help me with any such tutorial to make my custom navigation bar/buttons.
    http://city.reallusion.com/join.html
    Thanks.

    While the Note 4 is a reasonably large device it still falls into the phone layout bucket. We need this layout to function on very small screens some as low as 320 pixels high and 240 pixels wide. These sorts of devices don't have the space for a full toolbar.

  • How can I create a Online Store using Muse? (with not Business Catalyst)

    How can I create a Online Store using Muse with not Business Catalyst for example three services
    _ttps://orders.self-pub.net/checkout.php?m=fastcheckout
    _ww.self-pub.net/services/covers.html

    Hi,
    Unfortunately there is no option stand alone in Muse to create an online store. However if any hosting plan uses CMS feature like Business Catalyst and ecommerce using modules and tags, you can use the same proceedure as for Business Catalyst and integrate that system and host the Muse site on their platform and that would work.
    There is other thing that you can try is, Insert HTML codes to link the pages and some contents in Muse to your desired CMS. What you can also do is after you create the site in Muse, you can export the Muse site and get the layout and design of your site and copy paste the codes for pages with some HTML and coding skills to integrate with your desired hosting.
    Hope this helps.
    Regards,
    Rajan

  • How can I create a Online Store using Muse?

    How can I create a Online Store using Muse?
    I have been looking around for solutions but I can't find one.
    I was just hoping that someone else might have known of a way.
    Thanks!

    Since you can access the Alpha File Manager it means the option to "Enable online content editing (incompatible with Muse)" is ticked up under your profile details. With this enabled you can create Web Forms under Site Manager. Once you create the contact form open the Alpha File Manager (AFM), select the page where you want to insert this and choose the Web Forms from the right hand column. On the pop-up window select the web form to insert and click Insert.
    Regarding the upgrade, as long as the site is in trial mode you can choose any plan for the site, see my answer #7. Create a new trial site, choose the link to the new trial site created from PP and publish your site there for testing purposes so you will have ecommerce included and available for you to try out.
    If things go well you can request an upgrade to your current site to have the ecommerce included (the only situation in which this upgrade won't be available is when the site is published on one of the 5 sites received with the CCM subscription, they are webBasics and cannot be upgraded: http://www.adobe.com/products/creativecloud/publish-anywhere.html under "Publish websites" section, and the option will be to create the site from partner portal and publish the content from Muse)
    At this moment indeed there's little documentation on how to integrate the two but this is because Muse is just not ready to take advantage of BC capabilities. It was never intended for CMS features of BC to be available in version 1 of Muse. This has already been mentioned a few times (one relevant example: http://forums.adobe.com/message/4355214#4355214#4355214)
    Regards,
    Cristian

  • How can I create a website easily using Mac products?

    how can I create a website easily using Mac products?

    By using iWeb if you have it and if you don't have iWeb, there are lots of other Mac compatible products that you can use instead such as RapidWeaver, Sandvox, Freeway Pro/Express 6, WebAcappella 4, Flux 4 and Quick n' Easy Website Builder.
    Just do a search of this forum and you will see literally hundreds of post on this topic.

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • How can I create a new label using Pages and Avery Labels products?

    How can I create a new label using Avery LAbels and PAges on an imac?

    Contacts prints to Avery labels.
    Otherwise just open the appropriate Word template from Avery's website, in Pages.
    Peter

  • I deleted the font section but everything in Photoshop CS5 works.  How can I fixed this because I use fonts all the time? I don't want to purchase another one since this cost me $699:(

    I purchased PhotoshopCS5 Sept 2010 and still use the same MAC. I invertly deleted the font section but everything else works.  How can I fixed this because I use fonts all the time? I don't want to purchase another one since this cost me $699:(

    Which version of mac os x are you using?
    Could you clarify what you mean by "I invertly deleted the font section"

  • Firewall stops Firefox from loading any websites... had to switch off security to send this message... How can I fix this? Am using Symantec Client Firewall

    Firewall stops Firefox from loading any websites... had to switch off security to send this message... How can I fix this? Am using Symantec Client Firewall

    This forum is only for discussions on the forums themselves. You should post your question in the apropriate product forum,
    http://forums.adobe.com/community/shockwave
    if your ptoblem is with Shockwave, or
    http://forums.adobe.com/community/flashplayer
    if it affects Flash Player.

  • HT2589 how can i create apple id without using credit card details ?

    how can i create apple id without using credit card details ?

    @Limnos - that doesn't work anymore. There is no NONE option. I've been at it for hours trying to set up my daughter's account. I've tried creating and verifying an appleID on the web, on her touch...everything. Every single time you get to the stupid Touch, it wants to walk you through the verification of the account and it demands payment (even for their suggested apple Remote method listed in the KB).

  • I got 3.95GB available on my flash drive and need 4GB to reinstall lion osx how can i create space on usb using Disk Utility ??!

    I got 3.95GB available on my flash drive and need 4GB to reinstall lion osx how can i create space on usb using Disk Utility ??!

    What is the capacity of the flash drive?
    You might also be able to reinstall Lion without a flash drive, by booting up the computer holding the Command + R keys, and choosing Reinstall OS X.

  • How can i create Level Based Hierarchy using multiple logical table.

    Hi All,
    in my use case i have two master logical table.
    Division_Mst(divncd,DivnName)
    Department_Mst(deptcd,DeptName)
    and one logical table which contain both column Header (divncd,deptcd)
    and fact table detail where one measure column(empcd) using aggregation count on it.
    so i want to create levelbased hierarchy like this.
    DivnName
              |------DeptName
    which are come from(Division_Mst,Department_Mst) .
    so user can see no of employees division wise and drill down to Department wise.
    How can i achieved this?
    thanks
    Manish

    Check out Shay's blog https://blogs.oracle.com/shay/entry/adf_faces_dynamic_tags_-fora
    Timo

Maybe you are looking for

  • What are the appropriate document/stage dimensions in Flash for tablet optimized apps?

    What are the appropriate document/stage dimensions in Flash (width x height in pixels) for tablet optimized apps? (Dec. 2013) Using Flash and AIR for Android/iOS I would like to develop a educational interactive title optimized for tablet PCs, hopefu

  • Report with online template runs online, but exports empty report.

    I created a simple Table template using the online template builder. The report consists of four columns. It runs fine in online mode, and displays the data. When I try to export this report to any other format, while still viewing the table in the b

  • Setting to make a PDF print as PDF???

    Is there a way to attach a setting to a document that you would like it printed in landscape?  I know that printers have a setup page where you can force landscape but is there a way to mark a document to print as landscape within the PDF? For exampl

  • Collaboration Launch Pad permissions

    hi... 1)how to assign the CLP(Collaboration launch pad) permission or access to particular group or users? 2)what role needs to be assigned to the group enable  CLP(Collaboration launch pad)

  • Application Setup Program

    Hey brains, I wrote a java application and would like to make a setup program to install my application on various computers for use. How do I create a Installation Setup. Thanks