290-soap-with-savon | RailsCasts Episode # 290 : SOAP with Savon | SOAP library
kandi X-RAY | 290-soap-with-savon Summary
kandi X-RAY | 290-soap-with-savon Summary
RailsCasts Episode #290: SOAP with Savon.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of 290-soap-with-savon
290-soap-with-savon Key Features
290-soap-with-savon Examples and Code Snippets
Community Discussions
Trending Discussions on 290-soap-with-savon
QUESTION
I'm trying to adapt Ryan Bates's railscast http://railscasts.com/episodes/290-soap-with-savon?autoplay=true to use Savon to a wsdl, but I'm getting "ArgumentError (unknown keyword: :message)"
Step by step: brazilian mail company
- wsdl: https://apphom.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl
- test it on SoapUI 5.5.0
New Soap Project
Initial wsdl: https://apphom.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl
Service: consulta cep
after hitting request 1, I get
soapenv:Header/ soapenv:Body cli:consultaCEP ?
"cep" means "zip code", and Replacing "?" for "81531980" (a valid zip code), and submitting request I get the following:
soap:Body Jardim das Américas 81531980 Curitiba Avenida Coronel Francisco Heráclito dos Santos 100 PR
The next step is to do the same with savon. So, I created a new rails app, bundle savon gem and enter console:
...ANSWER
Answered 2021-Feb-02 at 07:57You need to disable the SOAPAction
HTTP header. To do so, add soap_action: false
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install 290-soap-with-savon
On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page