•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 402,523 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,591 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser: Programming Forums
Views: 1258 | Replies: 0
![]() |
| |
•
•
Join Date: Jul 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
Hi folks,
I been asked to post data from a form to a msg broker system being tested by an external team. I have been told that all I should do is post the data using http request in the following format to a server.
it posts but breaks off after the first line of the post data
The form is on:
http://www.nottinghamshire.gov.uk/ho...roker-form.htm
The msg broker system expects a package of XML. I'm being told it just needs to send a normal http post and doesn't need to use web services.
I've tried posting as he says (see attached - the variables are from request strings from the form) but it doesn't accept it.
Can anyone tell me why this does not work please. I am fairly new to XML and would appreciate any help.
Thanks
I been asked to post data from a form to a msg broker system being tested by an external team. I have been told that all I should do is post the data using http request in the following format to a server.
javascript Syntax (Toggle Plain Text)
var http =new HttpClient(); var url="http://P510-4.nottscc.gov.uk:7080/FOI"; http.contentType = "'text/xml'"; http.requestHeader = ['SOAPAction: "http://P510-4.nottscc.gov.uk:7080/ FOI"']; http.postData =''; http.postData +=''; http.postData +=''; http.postData +=''; http.postData +=''; http.postData +=''; http.postData +=''+firstname+''; http.postData +=''+surname+''; http.postData +=' '+address+' '; http.postData +=''+county+''; http.postData +=''+postcode+''; http.postData +=''+emailaddress+''; http.postData +=''+telno+''; http.postData +=''+requestdetails+''; http.postData +=''+requestRef+''; http.postData +=''+entryDate+''; http.postData +=''; http.postData +=''; http.postData +=''; http.postData +=''; //http.postData = escape(http.postData); var sendMyRequest = http.sendRequest(url);
it posts but breaks off after the first line of the post data
The form is on:
http://www.nottinghamshire.gov.uk/ho...roker-form.htm
The msg broker system expects a package of XML. I'm being told it just needs to send a normal http post and doesn't need to use web services.
I've tried posting as he says (see attached - the variables are from request strings from the form) but it doesn't accept it.
Can anyone tell me why this does not work please. I am fairly new to XML and would appreciate any help.
Thanks
![]() |
•
•
•
•
•
•
•
•
DaniWeb RSS, Web Services and SOAP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
access api asp bebo blogger blogging breach broadband code combo crime daniweb data data protection data transfer database development dom dropdownlist feed forensics gdata google government hardware hitachi html katemodern linux lonelygirl15 module net news programming reader reuse rss security standards storage terabyte tv video w3c weather web wikipedia xml xoap youtube
- How can i display my search result data in tabular form? (ASP)
- How do I pass data in string from a form to another? (Visual Basic 4 / 5 / 6)
- creating data entry form (ASP.NET)
- How do I get the data collected in a VB form into specific locations in word 97 doc (Windows Software)
- passing data using multiple form styles (HTML and CSS)
- MS Excel data to ASP form (ASP)
- dreamweaver, PHP and submit form query (PHP)
- Fast data storage (C++)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: RSS feeds - need help
- Next Thread: problem with firefox no problem with ie7


Hybrid Mode