Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass an xml as a parameter #39

Open
maisonsakamoto opened this issue Feb 14, 2024 · 0 comments
Open

pass an xml as a parameter #39

maisonsakamoto opened this issue Feb 14, 2024 · 0 comments

Comments

@maisonsakamoto
Copy link

I need to pass an xml as a parameter, I can do something like:

$client = new Client("http://{$this->jasperServerIp}/jasperserver", "jasperadmin", $this->jasperServerPassword);
$uri = $obj->ireport; 
$format = 'pdf'; 
$page = null; 
$attach = null;
$param = array( 'xml_data' => $xmlContent);
$client->reportService()->runReport($uri, $format, $page, $attach, $param);

How would I receive the xml file nodes in the jrxml file? Is there something ready to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant