Jump to content

Uploading a jrxml file via web service


knoakes

Recommended Posts

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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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...