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

which soap url will be used #24

Open
sormagupta opened this issue Nov 30, 2017 · 2 comments
Open

which soap url will be used #24

sormagupta opened this issue Nov 30, 2017 · 2 comments

Comments

@sormagupta
Copy link

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
Copy link

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
Copy link

Doris34 commented Sep 6, 2019

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

service.FAILURE
qtp1753447031-1883:1567806821659:089173e28cdea043

</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>

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