You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ax...@ws.apache.org on 2004/09/22 13:45:38 UTC

[jira] Updated: (AXIS-1567) Client out of memory exception calling webservice with a return string > 1MB

The following issue has been updated:

    Updater: Guenther Zwetti (mailto:guenther.zwetti@unycom.com)
       Date: Wed, 22 Sep 2004 4:44 AM
    Comment:
example
    Changes:
             Attachment changed to TestService.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1567?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1567

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1567
    Summary: Client out of memory exception calling webservice with a return string > 1MB
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis
 Components: 
             Basic Architecture

   Assignee: 
   Reporter: Guenther Zwetti

    Created: Wed, 22 Sep 2004 3:55 AM
    Updated: Wed, 22 Sep 2004 4:44 AM
Environment: winxp

Description:
I have implemented a very simple webservice which produces
a String return value holding a special XML structure.
The length of this string is about 900kB. When I return this string
the client throws an out of memory exception.
The stubs for the client have been created with wsdl2java.
Are there any size limitations?

Webservice:

	public String loadPersons(int year) {
          // produces a string with size > 1MB
          return myString
        }

Client:

		
	ServiceXLocator location = new ServiceXLocator();
	try {
	   ServiceX service = location.getServiceX(new URL(LOC));	String x = service.loadInventors(2003);
			System.out.println(x);	


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira