Jump to content

Problem with jasperServer\'s web services


trobert

Recommended Posts

Hi All!

I am using jasperServer 3.7.0 on windows xp.
I am trying to use runReport method via SOAP, but when I send the request the jasperserver become very slow, and it
doesn't response for the request.
The sample code from JasperServer-Web-Services-Guide do the same.
When I am running the report with jasperserver's own UI, it is working fine.
List and Put methods are working correctly too, but I have got a problem with runReport and Get methods (they are
very slow, and no response for them)

Here is my SOAP message:

<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">
            <![CDATA[
                <request operationName="runReport" locale="en">
                    <argument name="RUN_OUTPUT_FORMAT">XML</argument>
                    <resourceDescriptor name="Employees" wsType="reportUnit"
                                    uriString="/reports/samples/Employees" isNew="false">
                    </resourceDescriptor>
                </request>
            ]]>
        </requestXmlString>
      </axis:runReport>
   </soapenv:Body>
</soapenv:Envelope>

Can Anybody help Me?

Thanks!

Robert

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hello!

 

I've got the solution, so I write it down:

The Anti virus program blocked the soap response message through the 8080 port, because it has an attachment.

I've changed JasperServer's port number to 7080, and now everything is working fine.

 

Robert

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