Mitel Forums - The Unofficial Source
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to Mitel Forums. The Mitel resource - by techies, for techies...
Home
Help
Search
Calendar
Login
Register
Mitel Forums - The Unofficial Source
»
Mitel Forums
»
Mitel Software Applications
»
Register client api issue
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Register client api issue (Read 1165 times)
rajvar104
New Member
Posts: 1
Country:
Karma: +0/-0
Register client api issue
«
on:
June 06, 2022, 07:21:07 AM »
Hi,We are facing issue with Register client API .When we hit api with only client name it gives us session id but when we try it with Authentication info it is showing internal server error always.
Request=<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/
" xmlns:web="
http://www.ShoreTel.com/ProServices/SDK/Web
">
<soapenv:Header/>
<soapenv:Body>
<web:RegisterClient>
<!--Optional:-->
<web:clientName>ntester</web:clientName>
<!--Optional:-->
<web:userAuthenticationInfo>
<web:UserDN>2132</web:UserDN>
<web:UserID>ntester</web:UserID>
<web:UserPassword>122333</web:UserPassword>
</web:userAuthenticationInfo>
</web:RegisterClient>
</soapenv:Body>
</soapenv:Envelope>
Response:
<s:Envelope xmlns:s="
http://schemas.xmlsoap.org/soap/envelope/
">
<s:Body>
<s:Fault>
<faultcode>s:Server</faultcode>
<faultstring xml:lang="en-US">Server error!</faultstring>
<detail>
<ShoreTelWebSDKErrorDetail xmlns="
http://www.ShoreTel.com/ProServices/SDK/Web
" xmlns:i="
http://www.w3.org/2001/XMLSchema-instance
">
<errorCode>InternalError</errorCode>
<errorDescription>Server error!</errorDescription>
</ShoreTelWebSDKErrorDetail>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
///////////////////////////////////////////////////////without auth/////////////////
request
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/
" xmlns:web="
http://www.ShoreTel.com/ProServices/SDK/Web
">
<soapenv:Header/>
<soapenv:Body>
<web:RegisterClient>
<!--Optional:-->
<web:clientName>ntester</web:clientName>
<!--Optional:-->
</web:RegisterClient>
</soapenv:Body>
</soapenv:Envelope>
response:
<s:Envelope xmlns:s="
http://schemas.xmlsoap.org/soap/envelope/
">
<s:Body>
<RegisterClientResponse xmlns="
http://www.ShoreTel.com/ProServices/SDK/Web
">
<RegisterClientResult>caf5eacac2ca4af19ec5d4cb16 48 3378</RegisterClientResult>
</RegisterClientResponse>
</s:Body>
</s:Envelope>
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Mitel Forums - The Unofficial Source
»
Mitel Forums
»
Mitel Software Applications
»
Register client api issue
Sitemap
1
2
3
4
5
6
7
8
9
10