Jump to content

Communicating with the SOAP service


spierepf

Recommended Posts

Greetings,

I've given up on using the REST service. It appears to be incapable of recognizing a valid multipart request, which is necessary for creating file resources.

So now I'm on SOAP. But from the docs, it appears that Jasper uses their very own kind of SOAP, without envelopes or other SOAPy constructs. From the doc:

The following sample request lists the repository root:

<?xml version="1.0" encoding="UTF-8"?><request operationName="list" locale="en">  <resourceDescriptor name="" wsType="folder" uriString="/">    <label>null</label>  </resourceDescriptor></request>

However, when I send that document to the repository, I get:

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.userException</faultcode><faultstring>org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 31; XML document structures must start and end within the same entity.</faultstring><detail><ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">localhost.localdomain</ns1:hostname></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
 

Does anyone have any experience using the SOAP service?

Peter.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 months later...

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