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 bu...@apache.org on 2004/02/17 09:04:32 UTC
DO NOT REPLY [Bug 26996] New: -
Wrong WSDL for array types with document/literal or wrapped
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26996>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26996
Wrong WSDL for array types with document/literal or wrapped
Summary: Wrong WSDL for array types with document/literal or
wrapped
Product: Axis
Version: 1.1
Platform: All
OS/Version: Other
Status: NEW
Severity: Critical
Priority: Other
Component: WSDL processing
AssignedTo: axis-dev@ws.apache.org
ReportedBy: matthias.mueller@datev.de
When I deploy the following web service, Axis generates a wrong WSDL (even with
document or wrapped style):
public class SimpleService {
public String intArrayIn(int[] arr)
{
return "int " +arr[0];
}
}
Wsdd:
<service name="v01/SimpleService" provider="java:RPC" style="document"
use="literal">
<parameter name="allowedMethods" value="intArrayIn"/>
<parameter name="className" value="test.document.services.SimpleService"/>
<parameter name="scope" value="application"/>
<namespace>http://xml.test.de/Document/v01/SimpleService</namespace>
</service>
And the WSDL contains the following Array declaration with a soapenc note:
<complexType name="ArrayOf_xsd_int">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]" />
</restriction>
</complexContent>
</complexType>
Regards
-Matthias