Log in or register to post comments

Get target infos in VWS

July 22, 2014 - 10:13am #1

Hi , I wanted to have the name and the status of cloud targets in one php page. I can get all the target IDs via the "GetAllTargets.php" sample of vuforia and also I can get the properties of a single target by its targetID using "GetTarget.php" sample of vuforia. I tried storing targetIDs in an array and then do a loop on it and perform the functions of GetTarget.php samlpe to get the properties of multiple targets , but it only gives me the data of the first target and for other targetIDs in loop it gives me :

Unexpected HTTP status: 404 Not Found {"result_code":"UnknownTarget","transaction_id":"e5883a5ad64a41d7t8207fa78dec21ae"}

 I know it's a php question but I wanted to know if it's even possible with the VWS to show a list of targets properties just like the vuforia target manager. 

I'll appreciate if you can help me with this.

thanks very much

 

Get target infos in VWS

July 24, 2014 - 10:26pm #2

Yes, it sounds like a general bug in your code. I would suggest inserting debug statements and/or step through your code and see what url request it passes to the server when it gets a 404. You can also use the Java VWS samples in Eclipse for testing as well.

Log in or register to post comments