I m using HSPHERE SOAP API to add and change mailbox passwords, everything was working fine.
Some days ago the change mailbox password function stopped working, but the add mailbox still works.
I looked into the code several times and couldnt find a problem, the code its almost the same as create mailbox
the error showed is
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
The XML I generate is
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<soapenv:Body>
<ns1:changeMailboxPassword soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2=":urn:MailServices"><accountId xsi:type="xsd:long">myaccountid</accountId><login xsi:type="xsd:string">myuser</login><password xsi:type="xsd:string">mypassword</password><role xsi:type="ns2:Role" xsi:nil="true" /></multiRef>
<email xsi:type="xsd:string">aaacriacaixa</email>
<domain xsi:type="xsd:string">mydomain</domain>
<newPassword xsi:type="xsd:string">ZmRkc2YyMzI=</newPassword>
</ns1:changeMailboxPassword>
</soapenv:Body>
</soapenv:Envelope>
Thanks for any help..
Some days ago the change mailbox password function stopped working, but the add mailbox still works.
I looked into the code several times and couldnt find a problem, the code its almost the same as create mailbox
the error showed is
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.userException</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<detail/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
The XML I generate is
<?xml version="1.0" encoding="UTF-8" ?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<soapenv:Body>
<ns1:changeMailboxPassword soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="MailServices">
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:AuthToken" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2=":urn:MailServices"><accountId xsi:type="xsd:long">myaccountid</accountId><login xsi:type="xsd:string">myuser</login><password xsi:type="xsd:string">mypassword</password><role xsi:type="ns2:Role" xsi:nil="true" /></multiRef>
<email xsi:type="xsd:string">aaacriacaixa</email>
<domain xsi:type="xsd:string">mydomain</domain>
<newPassword xsi:type="xsd:string">ZmRkc2YyMzI=</newPassword>
</ns1:changeMailboxPassword>
</soapenv:Body>
</soapenv:Envelope>
Thanks for any help..