jensriis Posted December 12, 2010 Share Posted December 12, 2010 I am trying to use the Web Service that accesses the Repository using the follwoing request: <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:runReport soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <requestXmlString xsi:type="xsd:string" xs:type="type:string" xmlns:xs="http://www.w3.org/2000/XMLSchema-instance"><![CDATA[<request operationName="list" locale="en"> <resourceDescriptor name="" wsType="folder" uriString="/Public" isNew="false"> <label>null</label> </resourceDescriptor> </request>]]></requestXmlString> </axis:runReport> </soapenv:Body></soapenv:Envelope> this always returns the same response: <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> <ns1:runReportResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://axis2.ws.jasperserver.jaspersoft.com"> <runReportReturn xsi:type="xsd:string"><![CDATA[<?xml version="1.0" encoding="UTF-8"?><operationResult version="2.0.1"> <returnCode><![CDATA[2]]]]>><![CDATA[</returnCode> <returnMessage><![CDATA[/Public is not a valid report]]]]>><![CDATA[</returnMessage></operationResult>]]></runReportReturn> </ns1:runReportResponse> </soapenv:Body></soapenv:Envelope> It all seems to be related to a Tomcat configuration issue that shows up in my log as: Sun Dec 12 14:42:37 CET 2010:INFO:localhost:8080 requires authentication with the realm 'Protected Area'I have tried to configure a user in tomcat-users-xml and anable authenticatication but nothing seems to solve the problem. Any help would be appreciated (maybe my request is incorrect or there is a configuation issue with Tomcat) 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