HTTP error (406): Ruby on Rails and Savon -
well i'm using savon consume wash_out soap server.
everything seems right because can send soap messages , server can save them mysql database.
my problem comes after client send request because i'm receiving http error (406): coming request looks this:
response = client.call(:crear_articulo) message texto: ":3", titulo: ":'(" end
in server have following code: soap_action "crear_articulo", :args => { :texto => :string, :titulo => :string }, :return => :string
and method handling request this:
def crear_articulo @ar = articulo.new @ar.titulo = params[:titulo] @ar.texto = params[:texto] if @ar.save render :soap => "correcto" else render :soap => "error" end end
i guess error in server but, can't see is. thank much.
Comments
Post a Comment