Jump to content

MOVED:runReport method executes without error, but ....


magharn

Recommended Posts

I'm having problems with runReport method. It executes without error, but not returns anythig as attachment.

 

some idea?

 

I'm testing the webservice with PHP and nusoap.


This is the reponse:

<?xml version="1.0" encoding="UTF-8"?><operationResult version="2.0.1">	<returnCode><![CDATA[0]]></returnCode></operationResult>[/code]

 

 

Code:
<?php// Pull in the NuSOAP coderequire_once('lib/nusoap.php');// Create the client instance$client = new nusoap_client('<MY_SERVER>/jasperserver/services/repository?wsdl', true);$client->setCredentials('USER', 'PASSWORD', 'basic', array());?><?php$aParameters = array('requestXmlString' => '<?xml version="1.0" encoding="UTF-8"?><request operationName="runReport" locale="en"><resourceDescriptor name="" wsType=""uriString="/demo/sampleR"><label>null</label></resourceDescriptor></request>');// Call the SOAP method$result = $client->call('list', $aParameters);print_r($result);?>
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...