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

Return render Twig #106

Open
fyher opened this issue Dec 29, 2015 · 0 comments
Open

Return render Twig #106

fyher opened this issue Dec 29, 2015 · 0 comments

Comments

@fyher
Copy link

fyher commented Dec 29, 2015

Hi, i want to return the render of the twig or the string like this:

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV = "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1 = "http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns2 = "http://www.opentravel.org/OTA/2003/05"> <SOAP-ENV:Body> <ns2:OTA_HotelAvailRS Version = "1.001" Timestamp = "2011-09-12T15:19:21+02:00"> <ns2:Success/> <ns2:RoomStays> <ns2:RoomStay> <ns2:BasicPropertyInfo HotelCode = "5092"/> <ns2:RoomTypes> <ns2:RoomType RoomTypeCode = "SNG"> <ns2:RoomDescription Name = "Single room"/> </ns2:RoomType> <ns2:RoomType RoomTypeCode = "DBL"> <ns2:RoomDescription Name = "Double room"/> </ns2:RoomType> </ns2:RoomTypes> </ns2:RoomStay> </ns2:RoomStays> </ns2:OTA_HotelAvailRS> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

but i havre this error :
Format 'soap' not supported, handler must be implemented

or You must return an instance of BeSimple\SoapBundle\Soap\SoapResponse

thanks for your help :)

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

1 participant