Skip to content

Duplicate typenames #499

Answered by veewee
pavelwitassek asked this question in Q&A
Jan 22, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Hallo,

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.

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

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:7…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@pavelwitassek
Comment options

@veewee
Comment options

@pavelwitassek
Comment options

@veewee
Comment options

@veewee
Comment options

Answer selected by pavelwitassek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants