knoakes
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by knoakes
-
-
Am I alone in wanting to do this or has anyone else struggled with this and maybe found a solution?
-
I have a simple web service running to create a folder as shown below......
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:axis="http://axis2.ws.jasperserver.jaspersoft.com"> <soapenv:Header/> <soapenv:Body> <axis:put soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <requestXmlString xsi:type="xsd:string"> <![CDATA[<request operationName="put" locale="en"><resourceDescriptor name="GRC_Workspace" wsType="folder" uriString="/GRC_Workspace" isNew="true"><label>GRC Workspace</label><description>Dashboard and components</description><resourceProperty name="PROP_PARENT_FOLDER"><value>/</value></resourceProperty></resourceDescriptor></request> ]]></requestXmlString> </axis:put> </soapenv:Body></soapenv:Envelope>
What i need now is an example to upload a jrxml file. I am using a program that supports submission of XML documents so it's not Java, PHP, etc. It's something like SOAPUI.
Does anyonew have an example of this?
Thanks
-
this may get you started, took me a while to work out. This WS just creates a folder.
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:axis="http://axis2.ws.jasperserver.jaspersoft.com">
<soapenv:Header/>
<soapenv:Body>
<axis:put soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<requestXmlString xsi:type="xsd:string">
<![CDATA[
<request operationName="put" locale="en">
<resourceDescriptor name="test" wsType="folder" uriString="/CDC GRC Audit"
isNew="true">
<label>CDC GRC Data</label>
<description>This is a test</description>
<resourceProperty name="PROP_PARENT_FOLDER">
<value>/</value>
</resourceProperty>
</resourceDescriptor>
</request>
]]>
</requestXmlString>
</axis:put>
</soapenv:Body>
</soapenv:Envelope>
Uploading a jrxml file via web service
in Products
Posted
Good suggestion, but I did that and it looks like it just uses the java api to build up the xml document under the hood, but never actually exposes it.
So it's back to the drawing board.
Next suggestion please :)