Jump to content
We've recently updated our Privacy Statement, available here ×

Need basic request/response example of SOAP list


iratik

Recommended Posts

The docs for the SOAP interface for jasper server (page 10 of http://jasperforge.org/espdocs/docsbrowse.php?id=74&type=docs&group_id=112&fid=305) provides an example Request/Response request for the list command. I am having the hardest time getting this example to work. Might someone point out what I am doing wrong?

 

 

 

Code:
<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:wsdl="http://192.168.1.200:8080/jasperserver/services/repository" xmlns:env="http://www.w3.org/2003/05/soap-envelope">	<env:Body>		<wsdl:list>			<request operationName="list" locale="en">				<resourceDescriptor name="" wsType="folder" uriString="/">					<label>null</label>				</resourceDescriptor>			</request>		</wsdl:list>	</env:Body></env:Envelope>(Response)<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">	<soapenv:Body>		<soapenv:Fault>			<soapenv:Code>				<soapenv:Value>soapenv:Sender</soapenv:Value>				<soapenv:Subcode xmlns:ns1="http://www.w3.org/2003/05/soap-rpc">					<soapenv:Value>ns1:BadArguments</soapenv:Value>				</soapenv:Subcode>			</soapenv:Code>			<soapenv:Reason>				<soapenv:Text xml:lang="en">string</soapenv:Text>			</soapenv:Reason>			<soapenv:Detail>				<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">UUCTA-S</ns2:hostname>			</soapenv:Detail>		</soapenv:Fault>	</soapenv:Body></soapenv:Envelope>
Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

I tried removing the "wsdl" namespace. I also tried adding isNew="false". Still getting the same Soapfault "Bad Arguments" response back. Both the request and response are included in the code.

 

 

Code:
Request<?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">	<env:Body>		<list>			<request operationName="list" locale="en">				<resourceDescriptor name="" wsType="folder" uriString="/" isNew="false">					<label>null</label>				</resourceDescriptor>			</request>		</list>	</env:Body></env:Envelope>Response<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">	<soapenv:Body>		<soapenv:Fault>			<soapenv:Code>				<soapenv:Value>soapenv:Sender</soapenv:Value>				<soapenv:Subcode xmlns:ns1="http://www.w3.org/2003/05/soap-rpc">					<soapenv:Value>ns1:BadArguments</soapenv:Value>				</soapenv:Subcode>			</soapenv:Code>			<soapenv:Reason>				<soapenv:Text xml:lang="en">string</soapenv:Text>			</soapenv:Reason>			<soapenv:Detail>				<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">UUCTA-S</ns2:hostname>			</soapenv:Detail>		</soapenv:Fault>	</soapenv:Body></soapenv:Envelope>
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...