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 ji...@apache.org on 2004/03/22 16:44:58 UTC
[jira] Closed: (AXIS-896) Using the supplied WSDL, I get null when passed an empty array
Message:
The following issue has been closed.
Resolver: Davanum Srinivas
Date: Mon, 22 Mar 2004 7:44 AM
Please try latest CVS. This problem has been fixed.
thanks,
dims
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-896
Here is an overview of the issue:
---------------------------------------------------------------------
Key: AXIS-896
Summary: Using the supplied WSDL, I get null when passed an empty array
Type: Bug
Status: Closed
Resolution: FIXED
Project: Axis
Components:
WSDL processing
Fix Fors:
current (nightly)
Versions:
1.1
Assignee:
Reporter: Oliver Mathias
Created: Thu, 29 May 2003 4:04 PM
Updated: Mon, 22 Mar 2004 7:44 AM
Environment: Operating System: Windows XP
Platform: PC
Description:
Problem:
Using the supplied WSDL, I get null back when passed an object containing an
empty array.
To Reproduce:
Please, use the supplied WSDL to generate server side stubs using WSDLJava and
deploy it on Axis in JBOSS. Then use the WSDL from the webservice deployed, to
generate client side stubs. Use the following mechanism to invoke the
webservice.
Service1SoapSoapBindingStub stub = new Service1SoapSoapBindingStub(new URL
("http://localhost:8080/axis/services/Service1Soap"),
new Service1Locator());
ArrayOfMyBean aom = new ArrayOfMyBean ();
aom.setMyBean(new MyBean[0]);
ArrayOfMyBean aomResult = stub.getCopy(aol);
MyBean result[] = aomResult.getMyBean();
THE aomResult returns back as null instead of a valid object.
---------------------------------------------------------------------
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