similar to: help with posting XML

Displaying 20 results from an estimated 200000 matches similar to: "help with posting XML"

2008 Nov 03
3
Handling SOAP XML request and Response
Hi all, I have a SOAP XML request coming from a VB6.0 application, which I have to handle in my ROR application. After the request is handled, i have to parse the request and check the extracted values in the database according to the checking i have to send a Response to the VB6.0 application. Please tell me the procedure how can i used SOAP XML in ROR application for handling these
2008 May 29
3
Shipping?
Why are there tutorials on everything having to do with rails EXCEPT on calculating shipping costs for a shopping cart? there are 10 or so blog posts about the "shipping_gem" or "active_shipping" but no real details like how one might get the information from a form and then pass the cost into the total for checkout. Does anyone know of a tutorial i might have missed in the
2006 Jun 25
1
UPS quotes via shipping gem
greetings, has anyone had luck with the UPS portion of the shipping gem? i get nil''s returned for price, wondering what i''m missing. to avoid all confusion i included the account/login in the instantiation (sub with real values). @ups = Shipping::UPS.new :ups_account => ''7B4F74E3075AEEFF'', :ups_user => ''username'', :ups_password
2008 Jul 03
0
ActiveShipping throwing error in build_access_request
I''m using ActiveShipping to try and query for shipping rates - and when I''m getting an error when it''s building xmlnode. The full code calls and the stack trace are here: http://pastie.org/226833 but here are snippets: result = ups.find_rates(origin, destination, packages) NameError (undefined local variable or method `transitive'' for <UNDEFINED> ...
2007 Feb 28
0
AWS - XML-RPC Server
I am writing code to setup an AWS Server. I am able to test all the values accurately using web_service_scaffold :test, but when I try to connect by creating an XML-RPC client i am getting a timeout error = execution expired I am using delegated dispatching web_service_name: update_shipping method_name: update_product_status I am trying to test the function by implementing an XML-RPC client to
2008 Mar 25
2
responseXML not working on XML file
When creating an Ajax.Request(''/path.xml'') i don''t get responseXML. I''m confused what I am doing wrong. If i change the response variable and dump responseText, it shows the file, it just doesn''t recognize it as xml. function xml(url){ new Ajax.Request(url, { method: ''post'', parameters:''resultSet=simcall'',
2007 Jul 13
3
stack level too deep when parsing xml
I''m trying to figure out why I''m getting a stack level too deep error. I have controller which parses xml (about 1400 lines) and ingests it into mysql. First I was getting a system stack error every time, but then I found the ulimit -s command which allows me to raise it from 8mb to 64mb. That solved the problem I thought, But now, I can parse the xml once, but when I do it
2005 Apr 27
1
Ruby Shipping
To accompany the Payment library (http://payment.rufy.com/), I have created the shipping library that connects APIs for various shippers like UPS and FedEx. It is available as a ruby gem: gem install shipping or from rubyforge http://rubyforge.org/projects/shipping There is going to be some data that will persist for all shipments. For example, you will not want to repeat the fedex account
2007 Mar 26
2
Issue generating XML with hyphenated element names
Hello... I''m trying to generate and XML file using .rxml and I''m having a problem with element names that contain a hyphen. Here is a chunk of the .rxml file: xml.instruct! :xml, :version=>"1.0" xml.properties do @properties.each do |p| xml.property do xml.location do xml.street-address(p.street_address) xml.city-name(p.city) .. end end end
2007 May 01
5
[OT] Inject XML into page and tranform with XSL
Hi, Is it possible to recieve an xml repsonse from my rails app, and then, client side, inject the xml into the page without reloading and have it apply an xslt? Like an AJAX call, but ajax is unavailable to me. My very limited understanding suggests that xslt is only done at run time in safari at least. If I can''t get thsi to work the other option I''ve thought of is to use
2008 Oct 14
6
Disabling XML character escaping for to_xml
Currently, it appears to_xml will automatically escape any entities into their corresponding &XXX representation. There''s a piece in the documentation that says "If $KCODE is set to u and encoding set to UTF8, then escaping will NOT be performed." Unfortunately, this doesn''t appear to be the case. Even after following the docs and ensuring that default_charset is
2007 Sep 29
2
REXML - XML query only returning one (last) result
I''m really new to Ruby on Rails, and I''m trying to read an XML file with REXML. No matter what I try, I am only getting the last result returned from my query. I should be getting 365 results. Here is the code: include REXML require ''rexml/document'' require ''rexml/xpath'' class MakeFootprintController < ApplicationController def index
2006 Oct 19
2
Connecting to XML/SOAP feed that requires pkcs12 certificate for client authentication
All, I''m stumped. I need to connect to an XML/SOAP feed... that''s normally not an issue. But this one has a hoop that threw me for a loop. Some corporate security geek implented it such that a client certificate (pkcs12) is required to validate my identity before their system will talk to me. The remote system is, of course, running J2EE w/ EJB inside their firewall. But
2008 Dec 02
2
ActiveResource - xml and json format return different results
Hi, I''m using Rails 2.1.2. and I wanted to switch ActiveResource format to JSON and thought that it will work smoothly, but unfortunately it wasn''t the case. XML and JSON formats generate different objects: XML version #<User:0xb7658440 @prefix_options={}, @attributes={"created_at"=>Mon Nov 28 11...}> JSON version #<User:0xb746af5c @prefix_options={},
2006 Nov 11
0
How to do xml post in test
For my testing of a xml api, I have in my tests get :xml_api, {:id=>1}, {:user=>User.find(1)} Say I have a REXML document stored in my_xml, I would expect that I could do post :xml_api, {:id=>1}, {:user=>User.find(1)}, my_xml But it doesn''t work. I''m using rails 1.1.6. Using curl or the web, a post of xml works fine.
2008 Nov 27
3
How to parse info from an xml response
Hi all! In my app I want to detect what country a visitor is viewing from by their IP. Although it''s by no means perfect, the simplest option I''ve found is by using this site: http://api.hostip.info/ by passing the ip address as a query, this site returns an xml file with the country as one of the tags. http://api.hostip.info/?ip=6.255.255.255 returns (amongst other things)
2011 Nov 08
0
mge-xml.c voltage conversion problem
Dear Arjen, Arnaud et al, I've just organized an MGE UPS with Ref. 66074 SNMP/Web Transverse Card for testing purposes. Months ago I found a quite simple bug in the UPS-MIB implementation of this card and Schneider Electric guys seemed not to have intention and/or knowledge to fix it. Now local representative sent me an MGE "Pulsar Extreme 2000 VA" model in order to find an
2008 Jan 16
0
Availability of the driver for MGE* Network Management Cards (mge-xml)
Dear users, This mail is to announce the beta availability of the mge-xml driver in NUT's trunk. This (overdue) driver allows to support MGE* (UPS Systems and Office Protection Systems) Network Management Cards. This development is sponsored by MGE Office Protection Systems, which is also the NUT sponsor, web hoster and (new) benefactor in general. This driver offers similar services to the
2008 Jan 18
3
Please help
Hello all, I have developed a RESTFul webservice in RoR. Here under is the controller --------------------------------------------------------------------------------------------------------- class PeopleController < ApplicationController def index list render :action => ''list'' end # GETs should be safe (see http://www.w3.org/2001/tag/doc/whenToUseGet.html)
2008 Jun 20
5
About prototype.js and xml dom
Hello, I''m looking for a cross-browsers library based on prototype.js that wraps XML dom. I tried to extend XML dom elements by using Object.extend and Element.extend without success. It works fine with firefox (Object.extend) but don''t work with IE (msxml). I suppose that IE objects are not ''prototype based'' objects. Is there a way to go around this issue like