soap-api icon indicating copy to clipboard operation
soap-api copied to clipboard

which soap url will be used

Open sormagupta opened this issue 7 years ago • 2 comments

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.

sormagupta avatar Nov 30 '17 04:11 sormagupta

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 [email protected] and its password)

Hope this helps you.

alessiosais avatar Dec 06 '17 16:12 alessiosais

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:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> soap:Body soap:Fault soap:Code soap:Valuesoap:Receiver</soap:Value> </soap:Code> soap:Reason soap:Textsystem failure: Request not allowed on port 7071</soap:Text> </soap:Reason> soap:Detail <Error xmlns="urn:zimbra"> <Code>service.FAILURE</Code> <Trace>qtp1753447031-1883:1567806821659:089173e28cdea043</Trace> </Error> </soap:Detail> </soap:Fault> </soap:Body> </soap:Envelope>

Doris34 avatar Sep 06 '19 21:09 Doris34