Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleRequest completo
Code Block
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://service.ws.sippulse.voffice.com.br/">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:insertSubscriber>
         <!--Optional:-->
         <subscriber>
            <!--Optional:-->
            <accountCode>teste_integra3@ssw5.sippulse.com</accountCode>
            <activeIncomingCalls>true</activeIncomingCalls>
            <activeOutgoingCalls>true</activeOutgoingCalls>
            <addServiceHeader>false</addServiceHeader>
            <!--Optional:-->
            <address></address>
            <!--Optional:-->
            <areaCode>48</areaCode>
            <blockAnonymousCalls>true</blockAnonymousCalls>
            <blockCollectCalls></blockCollectCalls>
            <blockEntry0303>false</blockEntry0303>
            <!--Optional:-->
            <callFwd></callFwd>
            <!--Optional:-->
            <callLimit>0</callLimit>
            <callsOnlyByIp>false</callsOnlyByIp>
            <!--Optional:-->
            <city></city>
            <!--Optional:-->
            <cityCode>55</cityCode>
            <!--Optional:-->
            <complement></complement>
            <!--Optional:-->
            <contractNumber></contractNumber>
            <copyPassertedRpid>false</copyPassertedRpid>
            <!--Optional:-->
            <countryCode>55</countryCode>
            <!--Optional:-->
            <document></document>
            <!--Optional:-->
            <domain>ssw5.sippulse.com</domain>
            <!--Optional:-->
            <emailAddress>teste_integra3@sippulse.com</emailAddress>
            <!--Optional:-->
            <firstName></firstName>
            <!--Optional:-->
            <fwdBusy></fwdBusy>
            <!--Optional:-->
            <id></id>
            <!--Optional:-->
            <lastName></lastName>
            <!--Optional:-->
            <localArea>SC</localArea>
            <lowCreditLimit>0.0</lowCreditLimit>
            <lowCreditNotification>false</lowCreditNotification>
            <!--Optional:-->
            <mobile></mobile>
            <!--Optional:-->
            <noAnswer></noAnswer>
            <!--Optional:-->
            <number></number>
            <!--Optional:-->
            <password>teste123</password>
            <!--Optional:-->
            <passwordPortal>teste123</passwordPortal>
            <!--Optional:-->
            <phone></phone>
            <!--Optional:-->
            <profile>teste</profile>
            <!--Optional:-->
            <quarter></quarter>
            <!--Optional:-->
            <ratePlanId>2</ratePlanId>
            <resellerBillingType></resellerBillingType>
            <!--Optional:-->
            <resellerId>1</resellerId>
            <resellerMarkup>1</resellerMarkup>
            <!--Optional:-->
            <resellerRatePlanId></resellerRatePlanId>
            <!--Optional:-->
            <rings></rings>
            <!--Optional:-->
            <rpid></rpid>
            <softphoneAllowed>true</softphoneAllowed>
            <!--Optional:-->
            <state></state>
            <!--Optional:-->
            <username>teste_integra3</username>
            <validateSource0303>false</validateSource0303>
            <!--Optional:-->
            <voiceMailPassword>teste123</voiceMailPassword>
            <voicemail>teste_integra3@sippulse.com</voicemail>
            <!--Optional:-->
            <zip></zip>
         </subscriber>
         <!--Optional:-->
         <principal>
            <!--Optional:-->
            <login>suportepulse</login>
            <!--Optional:-->
            <password>@#ashdiuhs87856!!</password>
         </principal>
      </ser:insertSubscriber>
   </soapenv:Body>
</soapenv:Envelope>
Code Block

Identificando erros:

Os logs de insersão de dados podem ser consultados no log do glassfish, no exemplo a variável blockCollectCalls é do tipo boolean e é requirida para insersão de assinantes. No request foi enviado sem definir um valor:

...