knoakes Posted February 28, 2011 Share Posted February 28, 2011 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 Link to comment Share on other sites More sharing options...
knoakes Posted March 3, 2011 Author Share Posted March 3, 2011 Am I alone in wanting to do this or has anyone else struggled with this and maybe found a solution? Link to comment Share on other sites More sharing options...
ernestoo Posted March 3, 2011 Share Posted March 3, 2011 One thing is to look at the source for iReport and see how the Repository Navigator submits jrxml files Link to comment Share on other sites More sharing options...
knoakes Posted March 3, 2011 Author Share Posted March 3, 2011 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 :) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now