I’m writing a SOAP server…one that has to implement ‘specific’
methods that the client will call. One of them is update_customer.
I implement my method as “update_customer” (with the underscore) and
the api signature has the underscore. The problem I’m running into is
how Rails forces the method to be exposed in the wsdl as
UpdateCustomer (no underscore), therefore the client doesn’t recognize
it.
Has anyone run into this or know of a workaround solution?
Thanks all.
Emil
San Francisco
EmilSF wrote:
I’m writing a SOAP server…one that has to implement ‘specific’
methods that the client will call. One of them is update_customer.
I implement my method as “update_customer” (with the underscore) and
the api signature has the underscore. The problem I’m running into is
how Rails forces the method to be exposed in the wsdl as
UpdateCustomer (no underscore), therefore the client doesn’t recognize
it.
Has anyone run into this or know of a workaround solution?
Thanks all.
Emil
San Francisco
Try
inflect_names false
in your API class:
class DataLoaderApi < ActionWebService::API::Base
inflect_names false
api_method :version, :returns => [:string]
end
Thanks so much! That did it.
-emil
On May 9, 8:26 am, wintermute [email protected]
Thanks so much! That did it.
-emil
On May 9, 8:26 am, wintermute [email protected]