I've been playing with this recently. What have you actually defined your
endpoint to be in the WSDL?

  <definition>

      ...

    <service name="MyService">
        <port name="MyServicePort" binding="tns:MyServiceBinding">
*           <soap:address location="http://example.com/service"/>*
        </port>
    </service>
  </definition>


I think the example in the synopsis shows you how to set up an endpoint for:

   /service/index

Which then dispatches to, e.g.

   /service/operation1
   /service/operation2

Did you mean that? The usual behaviour is for the endpoint to be set to the
root path - e.g.

   /service

If this is what you meant then:

   sub index :Path('') SOAP('RPCEndpoint') {}

or just use one of the subclassed controllers which sets this default
behaviour for you (depending on your style of WSDL)

   use base qw/C::C::SOAP::RPC/;
   # or
   use base qw/C::C::SOAP::DocumentLiteralWrapped/;



Cheers,

Ian

-- 
Ian Sillitoe
CATH Team -- http://cathdb.info
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to