Web service SOAP URLs started failing with 1.1.4 or using 1

Railers,

I’m trying to figure out why invocations to my Web service URLs work
with Rails 1.1.2 but fail both with Rails 1.1.4 (and 1.1.5) and when I
apply the new 1.1.2 security patch to Rails 1.1.2.

It looks like they are failing with SOAP clients but succeeding with
XML-RPC clients.

The URL that used to work is of the form
http://localhost:3000/my_controller/ServiceName/api. When I use that
same URL after applying the 1.1.2 security patch (or in 1.1.4/1.1.5),
my application sees a 404 error.

The WSDL url
http://localhost:3000/my_controller/ServiceName/service.wsdl
also fails. When I try to go to that URL in my browser, I see

    Recognition failed for "/post_office/PostOffice/service.wsdl"

I have not changed config/routes.rb at all.

Any hints or help would be greatly appreciated.

Jim

Jim,

What web_service_dispatching_mode are you using?

Looking at your URL examples, I assume you are using :delegated mode.
In this case, you obtain the WSDL using
http:///post_office/wsdl URL, which would tell that your
service port address should be
http:///post_office/ServiceName
(no /api at the end).

On 8/10/06, Jim M. [email protected] wrote:

http://localhost:3000/my_controller/ServiceName/api. When I use that
Any hints or help would be greatly appreciated.

Jim


Kent

http://www.datanoise.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs