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

Classmap & SoapClient #8

Closed
jedkirby opened this issue Mar 22, 2017 · 3 comments
Closed

Classmap & SoapClient #8

jedkirby opened this issue Mar 22, 2017 · 3 comments
Labels

Comments

@jedkirby
Copy link
Owner

On Twitter SEoF commented with the following:

[..] seems I missed the party. Have you thought of using a classmap and allowing auto population of classes by the pear SoapClient?

Then..

[..] it saves having to build your own converter functions for each class.

Opening up this issue to discuss further off Twitter.

@jedkirby
Copy link
Owner Author

jedkirby commented Mar 22, 2017

As far as I'm aware, I'm unable to make use of classmaps because the response I receive from the API are standardised XML, i.e. https://github.com/jedkirby/valpal-php/blob/master/tests/Fixtures/Responses/Successful/both.xml.

Unless I'm missing something?

@xploSEoF
Copy link

Oh, completely lacking XSDs and WSDLs. That would make it trickier as you'd have to define these yourself, ultimately making the whole process pointless.

Fair cop.

@jedkirby
Copy link
Owner Author

No worries, cheers for the input - much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants