Replies: 1 comment 1 reply
-
Hello @adaliszk, The any content indeed gets decoded as an XML string by default, since that is the most complete solution:
It is posible to overwrite the AnyElement encoder completely, or alternatively define how you want to parse the It's also possible to change the generated code-type by setting a type-replacer. This way, you can change the string into e.g. an array. https://github.com/phpro/soap-client/blob/v4.x/docs/drivers/metadata.md#type-replacements Hope this helps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey awesome people who help with SOAP alot!
I was wondering if there is any good way to declare extra type mappings than patching WSDL files?
In my case, I have several
SQLRowSet
types without actually typed by their service owner, and I would like to provide a default mapper for them that would just convert the innerany
XML string:Where the
any
comes from:Currently, I am parsing on top of the generated client:
The ideal solution would be something like:
Beta Was this translation helpful? Give feedback.
All reactions