Duplicate typenames #499
-
Hi, how can I solve duplicate type names in one request? Example of WSDL is https://ws.gordic.cz/390/Ssl1/Ssl.svc?WSDL and i try to implement Ws-info method, which has multiple duplicate typenames. Second problem is, that method name is Ws-info and i got warning from line vendor/php-soap/ext-soap-engine/src/Metadata/MethodsParser.php:73, Is possible to extend regex to parsing name and return types? Example of working SOAP request to Ws-info. Example of answer: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hallo,
I'm wondering : are you already using v3 of this package? ./vendor/bin/wsdl flatten https://ws.gordic.cz/390/Ssl1/wsdl.ashx gordic.cz.wsdl But to answer your question: Yes, those type-checks regexes could be extended. Care to give it a try? |
Beta Was this translation helpful? Give feedback.
Hallo,
Ws-info
has 3 declarations. By default, they will be combined in 1 generated class.This is an ext-soap limitation. More info about it and how to solve it.
Overcoming it on a generic level requires us to write our own SOAP encoder / decoder. It's an ongoing project that probably won't be finished anytime soon. More info and how you can help out : #485