Skip to content
Mikaël DELSOL edited this page Sep 10, 2015 · 20 revisions

FAQ

How do I generate a package using a WSDL protected by a Basic Authentication?

$ wget https://phar.wsdltophp.com/wsdltophp.phar
$ ./wsdltophp.phar generate:package \
    --urlorpath="http://www.mydomain.com/wsdl.xml" \
    --destination="/path/to/where/the/package/must/be/generated/" \
    --prefix="MyPackage" \
    ###############################################
    # Here are the Basic Authentication credentials
    --login="basic_auth_login" \
    --password="basic_auth_password" \
    ###############################################
    --force
Clone this wiki locally