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 2002/07/02 16:40:15 UTC
DO NOT REPLY [Bug 10409] New: -
Generated WSDL should not have Holders
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=10409>.
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=10409
Generated WSDL should not have Holders
Summary: Generated WSDL should not have Holders
Product: Axis
Version: current (nightly)
Platform: Sun
URL: http://nagoya.apache.org:5049/axis/services/echo?wsdl
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: WSDL processing
AssignedTo: axis-dev@xml.apache.org
ReportedBy: rubys@us.ibm.com
The generated WSDL has the following schema defined:
<schema targetNamespace="http://holders.rpc.xml.javax"
xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<element name="StringHolder" nillable="true" type="xsd:anyType" />
<element name="IntHolder" nillable="true" type="xsd:anyType" />
<element name="FloatHolder" nillable="true" type="xsd:anyType" />
</schema>
These "types" are referenced in echoStructAsSimpleTypesResponse. Instead of
defining these holders, the emitted WSDL should simply reference the underlying
type directly, thus:
<message name="echoStructAsSimpleTypesResponse">
<part name="outputString" type="xsd:string" />
<part name="outputInteger" type="xsd:int" />
<part name="outputFloat" type="xsd:float" />
</message>