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

SoftLayer_Product_Package::getCategories is not retrieving data for some packages when using SoftLayer_XmlrpcClient #11

Open
mhca opened this issue Aug 31, 2015 · 3 comments

Comments

@mhca
Copy link

mhca commented Aug 31, 2015

SoftLayer_Product_Package::getCategories is not retrieving data for some packages when using SoftLayer_XmlrpcClient

Example:

package to use: 263

========= php script =============

getCategories(); print_r($categories); } catch(Exception $e) { echo "Unable to get categories: " . $e -> getMessage(); } ========= php script ============= Note: We are able to get categories using SoftLayer_SoapClient and REST.
@underscorephil
Copy link
Contributor

Howdy!

I have been able to recreate this and have opened a bug request with our internal team.

I will update when we have more info!

@mhca
Copy link
Author

mhca commented Sep 8, 2015

Thank you!

@camporter
Copy link
Member

There is a limitation with the default way in which libxml, a library that the xmlrpc extension in PHP uses, behaves in regards to documents > 10 MB. In this case, the result set is larger than 10 MB, so parsing the result dies.

There is a bug opened for this: https://bugs.php.net/bug.php?id=65604

I've opened php/php-src#1515 to default to parsing documents larger than 10 MB.

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

No branches or pull requests

3 participants