Skip to content

Define SOAP controllers as services #101

@matteodem

Description

@matteodem

Right now I got following code

be_simple_soap:
    cache:
        type:     memory
        lifetime: 86400  # one day
        limit:    5
    services:
        CouponsApi:
            namespace:     https://soap-api.test.com/CouponsApi
            binding:       rpc-literal
            resource:      "@AppBundle/Controller/CouponsController.php"

I'd like to rewrite it though to reference a service that is a controller

be_simple_soap:
    cache:
        type:     memory
        lifetime: 86400  # one day
        limit:    5
    services:
        CouponsApi:
            namespace:     https://soap-api.test.com/CouponsApi
            binding:       rpc-literal
            resource:      app_soap._coupons_controller

When I do this though I get an internal server error for SOAP calls. What is needed for this to work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions