[ http://issues.apache.org/jira/browse/AXIS-1707?page=comments#action_58209 ] Ias commented on AXIS-1707: ---------------------------
Could you point out the specific requirement of WS-I BP 1.1? I can't see the figure you mentioned on the page and as far as I'm concerned there's no requirement reqarding programming language binding. Thanks, Ias > AXIS RC2 DOC/LIT wsdl2java problem > ---------------------------------- > > Key: AXIS-1707 > URL: http://issues.apache.org/jira/browse/AXIS-1707 > Project: Axis > Type: Bug > Components: WSDL processing > Versions: 1.2RC2 > Environment: windows XP, java 1.4.2, JEE1.4 > Reporter: Elobilo Franklin > > The return type of the WSDL2JAVA generated service interface should be an > array of CorDataObject, but is a single CorArray . > Defining an array method return type as per the WS-I recommendations > (http://www.ws-i.org/Profiles/BasicProfile-1.1-2004-08-24.html figure 4.3.4) > results in > public interface Cms extends java.rmi.Remote { > public com.company.cms.webservices.service.CorArray > getCicsOsndResults(java.lang.String osnd) throws java.rmi.RemoteException; > } > but should be: > public interface Cms extends java.rmi.Remote { > public com.company.webservices.service.CorDataObject[] > getCicsOsndResults(java.lang.String osnd) throws java.rmi.RemoteException; > } > The wsdl entry: > <xsd:element name="ArrayOfCors" type="tns:CorArray" /> > <xsd:complexType name="CorArray"> > <xsd:sequence> > <xsd:element name="x" type="tns:corDataObject" minOccurs="0" > maxOccurs="unbounded" /> > </xsd:sequence> > </xsd:complexType> > ... > <wsdl:message name="osndSearchResponse"> > <wsdl:part name="osndSearchReturn" element="tns:ArrayOfCors" /> > </wsdl:message> > tns:corDataObject is a standard bean > I think that this is a bug in WSDL2JAVA -- 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
