zend-patterns / ZendServerSDK

Pure ZF2 CLI for zpk creation and webapi client.
BSD 3-Clause "New" or "Revised" License
22 stars 17 forks source link

Extra characters in XML output during installApp #25

Closed slaff closed 10 years ago

slaff commented 10 years ago

There are extra characters in the beginning of the response from the installApp command that break the XML parsing.

Command

/usr/local/bin/zs-client installApp --zpk /home/jan/dev/git/zend-server-bamboo/deployment/target/bamboo/home/xml-data/build-dir/MCD-CDP-JOB1/zpk/52-822629b9f38045c7fd2f2caf4eccae15b9c574cf.zpk --baseUri=/myApp --userAppName=myApp --zsurl=http://10.11.12.68:10081 --zskey=<key> --zssecret=<secret> --zsversion=6.1

Start of response

string(2218) "<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.5">
slaff commented 10 years ago

There was a debug output in the library that we use. The issue is fixed and new phar file is compiled. See commit: 9b8a0d6ab1e4d1008bb342b6fc0c941954ee7995