Sending XML to remote web site

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Sending XML to remote web site

    I am creating a web site which needs to take some data, create XML and send it
    to another website. I understand the creation of the XML process. Example:
    <cfxml variable='test'> <Person> <Name>Some Name</name> <Age>25</Age>
    </Person> </cfxml> Can I then take the created XML, Stick it in a form field
    and post it to the remote site. If I do that will they be able to parse the
    XML I have sent them? What would be the best way to send this data to the
    remote site? Thanks.

    Rick Guest

  2. Similar Questions and Discussions

    1. sending dataProvider XML to remote server
      I was wondering if it possible to send a tree dataProvider XML to a remote server using HTTPService. The problem lies in being able to obtain the...
    2. the remote site of web page is empty how can I moveeverything over from local site?
      I am new to using this Dreamweaver 3 software and I cannot update my website, due to the remote site being empty. How can I repopulate the remote...
    3. Verity Indexing remote site
      Hello, Does anyone know if it is possible to index a directory on a remote site. We are having a blog hosted on a remote server and wanted to...
    4. RePost: remote site
      If any one can help with this or any help would be welcome This runs on a local server I would like to get it to work on a remote one. The...
    5. Database connection to remote site
      Why not try the ole db provider for sql server? It's easier and faster than dsn. "Mxuser22" <webforumsuser@macromedia.com> wrote in message...
  3. #2

    Default Re: Sending XML to remote web site

    What are you actually trying to achieve by this?

    Why don't you email it?

    Can't you just save it on your server and they can read it over http?

    If you create it as just raw text variable rather than as an actual XML file
    you should be able to send it as a form post and they can do what they want
    with it?

    Stressed_Simon Guest

  4. #3

    Default Re: Sending XML to remote web site

    if it needs to be XML, dynamic and on-demand, you might try a webservice.

    as simon says ;-) it really depends on what you need to get done.

    PaulH Guest

  5. #4

    Default Re: Sending XML to remote web site

    The purpose is to deliver a result from a request for research on a specific
    person. E-Mail is not an option, nor is saving it as a file for them to read
    via http. We are trying to determine what the best way is to prep the result
    and then do some sort of HTTP Post back to the website that the order
    originated so that their web site can process the result. IT will not just be
    another Cold Fusion site we will be posting back to so however we generate and
    send the XML must be in a format that can be read by any web platform.

    Rick Guest

  6. #5

    Default Re: Sending XML to remote web site

    can the other website handle webservice?

    PaulH Guest

  7. #6

    Default Re: Sending XML to remote web site

    Some can and some can not. But frankly based on the volume, I do not trust Cold Fusion to handle web services.
    Rick Guest

  8. #7

    Default Re: Sending XML to remote web site

    why not? though its moot if you can't use them across all your clients. i guess pushing a form is your best bet.



    PaulH Guest

  9. #8

    Default Re: Sending XML to remote web site

    If pushing it in a form is the best method should I still generate the XML using CFXML and then put the content of the output variable in a form field and send it??
    Rick Guest

  10. #9

    Default Re: Sending XML to remote web site

    Just create a normal text variable that holds all the xml text. Then POST it to
    the receiving page as a form variable.

    XML files are just text files so they can save it as an XML file at their end
    and use it as they wish.

    Stressed_Simon Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139