zimbra-api / soap-api

Zimbra SOAP client in PHP language
BSD 3-Clause "New" or "Revised" License
62 stars 48 forks source link

which soap url will be used #24

Open sormagupta opened 6 years ago

sormagupta commented 6 years ago

1-> In this line which soap url will be used $api = \Zimbra\Admin\AdminFactory::instance('https://localhost:7071/service/admin/soap'); I am bit confused about this url "https://localhost:7071/service/admin/soap"

2-> $api->auth('username', 'password'); for this line what credential will be used.

Please give me some explanation.

alessiosais commented 6 years ago

1-> You have to write the URL you usually use to connect to Zimbra server by admin console. In example if you reach your admin console by https:mail.yourdomain.tld:7071 you have to use https:mail.yourdomain.tld:7071/service/admin/soap.

2-> You have to auth with credentials of an admin account you've previously set up (in example admin@yourdomain.tld and its password)

Hope this helps you.

Doris34 commented 4 years ago

the following error appears when using this url. https://servicios.palmer.org:7071/service/admin/soap HTTP ERROR 405 Problem accessing /service/admin/soap. Reason:

El Metodo HTTP GET no es soportado por esta URL

and when using this url https://servicios.palmer.org:7071/service/soap returns me the following

This XML file does not appear to have any style information associated with it. The document tree is shown below.

soap:Receiver system failure: Request not allowed on port 7071 service.FAILURE qtp1753447031-1883:1567806821659:089173e28cdea043