Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define SOAP controllers as services #101

Open
matteodem opened this issue Sep 14, 2015 · 1 comment
Open

Define SOAP controllers as services #101

matteodem opened this issue Sep 14, 2015 · 1 comment

Comments

@matteodem
Copy link

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?

@kodermax
Copy link

is it problem solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants