Jasper report web services

How to integrate the SC reports with Jasper report server by calling REST web services ?

Start with proof of concept ideas, write some code and test it. Refine until you have concept that works and use that to develop functionality you need.

I’m almost a beginner when it comes to php.
I need to use a jasper report and looking for the best solution to integrate the SC.
PhpJasperXML use or I’m not satisfied because there are many restrictions.
I tried some other solutions,however, did not fare so well.
It seems to me that the use of web services jasper server may be a good solution.
Maybe this is a good example:
[SIZE=12px]$client = new SoapClient($wsdl, array(‘login’ => $username, ‘password’ => $password, “trace” => 1, “exceptions” => 0));[/SIZE]
[SIZE=12px]$request = “<request operationName=“runReport” locale=“en”>[/SIZE]
[SIZE=12px]<argument name=“RUN_OUTPUT_FORMAT”>$format</argument>[/SIZE]
[SIZE=12px]<resourceDescriptor name=”" wsType=""[/SIZE]
[SIZE=12px]uriString="$report"[/SIZE]
[SIZE=12px]isNew=“false”>[/SIZE]
[SIZE=12px]<label>null</label>[/SIZE]
[SIZE=12px]<parameter name=‘imageURL’ isListItem=‘false’></parameter>[/SIZE]
[SIZE=12px]</resourceDescriptor>[/SIZE]
[SIZE=12px]</request>";[/SIZE]
[SIZE=12px]$client->runReport($request);[/SIZE]