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

Fix for Symfony 3 #93

Open
gweningwerr opened this issue Dec 6, 2016 · 4 comments
Open

Fix for Symfony 3 #93

gweningwerr opened this issue Dec 6, 2016 · 4 comments

Comments

@gweningwerr
Copy link

Can you fix route file. The attribute pattern change on path?

@lpalliyaguru
Copy link

Hi,

I am also getting the "deprecated" error. Can you fix the route file. Or is there a way to override the route file?

@gweningwerr
Copy link
Author

gweningwerr commented Dec 8, 2016

Hi
I fixed this error using my route.yml

main.yml
soap:
#    resource: "@BeSimpleSoapBundle/Resources/config/routing/webservicecontroller.xml"
    resource: "be_simple_soap.yml"
    prefix:   /ws

and be_simple_soap.yml

_webservice_call:
    path: /{webservice}
    defaults: { _controller: BeSimpleSoapBundle:SoapWebService:Call }
    requirements:
        _format: xml
    methods: POST

_webservice_definition:
    path: /{webservice}
    defaults: { _controller: BeSimpleSoapBundle:SoapWebService:Definition }
    requirements:
        _format: xml
    methods: GET

, but I got a new errrors

Attempted to load class "ContainerAware" from namespace "Symfony\Component\DependencyInjection".
Did you forget a "use" statement for another namespace?

This I not fixed yet.

@gweningwerr
Copy link
Author

There is fix for Sf3 https://github.com/tuscanicz/BeSimpleSoap

@lpalliyaguru
Copy link

@gweningwerr, I used your solution, It works for me. Thanks.

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