# Problems with Web Services

**URL:** <https://www.ruby-forum.com/t/problems-with-web-services/185438>\
**Category:** Ruby\
**Created:** [March 19, 2010, 11:44pm UTC](https://www.ruby-forum.com/t/problems-with-web-services/185438 "2010-03-19T23:44:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jorgegetafe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/eada6e/32.png) [@jorgegetafe](https://www.ruby-forum.com/u/jorgegetafe)\
**Post date:** [March 19, 2010, 11:44pm UTC](https://www.ruby-forum.com/t/problems-with-web-services/185438/1 "2010-03-19T23:44:46Z")

</div>

I’m doing a Web Services using SOAP, but when I click a button, the  
browser shows this message:

undefined method `parent’ for  
#\<SOAP::Parser::ParseFrame::NodeContainer:0x715fd7c @node=nil\>

And the error line is in =\> app/controllers/users\_controller.rb:10:in  
`alta’:

8| def alta  
9| client = ActionWebService::Client::Soap.new(SegurosApi,  
“[http://localhost:3000/seguros/api](http://localhost:3000/seguros/api)”)  
10| @service\_output = client.alta(params[:file]) # Error  
11| end

Anybody know why is the problem?

Thanks and greetings.
