开发者

Module name in SOAP requests, how to get rid of them?

开发者 https://www.devze.com 2022-12-29 14:13 出处:网络
When I generate a WSDL file with ./symfony webservice:generate-wsdl(whereis \'frontend\',is \'soap\' andis \'http://localhost \') I get a nice soap.wsdl file which works like it should. Except, the me

When I generate a WSDL file with ./symfony webservice:generate-wsdl (where is 'frontend', is 'soap' and is 'http://localhost ') I get a nice soap.wsdl file which works like it should. Except, the methods are not named 'justAMethod' but 'soapService_justAMethod' (where soapService is the module which holds the S开发者_如何学编程OAP methods). How do I omit the module name in the SOAP method names? I know this is possible since the previous release of the software had no module name in the SOAP method names.


Found it: the option '-h' on './symfony webservice:generate-wsdl' creates a custom soapHandler, effectively omitting the module name in the SOAP methods. This is not in the documentation however.

0

精彩评论

暂无评论...
验证码 换一张
取 消