Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87530

Your Direct Entitlement Service Exception

$
0
0

Dear All,

 

I have the problem with Entitlement Server.

i was read the tutorial : Your Direct Entitlement Service | Adobe Developer Connection and test it with : Digital Publishing Suite Help | Test your Direct Entitlement API V2

This is the result  :

https://www.anakku.id/V2/api/entitlements?uuid=postman&appId=net.anakku.majalah&appVersion =0.1&authToken=54196d77d45c10b…

 

<resulthttpResponseCode="200">

<entitlements>
<productId>net.anakku.majalah.mediakit1</productId>

<productId>net.anakku.dps_retail</productId>

<productId>net.anakku.majalah.perdana.iphone</productId>

<productId>net.anakku.majalah.mediakit</productId>

</entitlements>

</result>


And if i test wiht verifyEntitlement :

<br />

<b>Fatal error</b>:  Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/anakku/public_html/V2/api/verifyEntitlement.php:62

Stack trace:

#0 /home/anakku/public_html/V2/api/verifyEntitlement.php(62): SimpleXMLElement-&gt;__construct('')

#1 {main}

  thrown in

<b>/home/anakku/public_html/V2/api/verifyEntitlement.php</b> on line

<b>62</b>

<br />

 

 

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/anakku/public_html/V2/api/verifyEntitlement.php:62 Stack trace: #0 /home/anakku/public_html/V2/api/verifyEntitlement.php(62): SimpleXMLElement->__construct('') #1 {main} thrown in/home/anakku/public_html/V2/api/verifyEntitlement.php on line 62

 

 

verifyEntitlement

(Method:GET)

 

https://anakku.id/V2/api/verifyEntitlement?uuid=postman&appId=net.anakku.majalah&appVersio n=0.1&authToken=54196d77d45c10…

 

Result:

<br />

<b>Fatal error</b>:  Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/anakku/public_html/V2/api/verifyEntitlement.php:62

Stack trace:

#0 /home/anakku/public_html/V2/api/verifyEntitlement.php(62): SimpleXMLElement-&gt;__construct('')

#1 {main}

  thrown in <b>/home/anakku/public_html/V2/api/verifyEntitlement.php</b> on line <b>62</b><br />

 

Whats wrong in this framework or configuration ?

 

Thanks

 

Message was edited by: HARDIONO PUSPONEGORO


Viewing all articles
Browse latest Browse all 87530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>