-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
[EMAIL PROTECTED] wrote: | Hi James, | yes, java2wsdl and wsdl2java work fine, however a wrapper type | (ArrayOfXxx) for the array is created. | My method is: | Note[] findNotesByCooperationId(int cooperationId) | and my wsdl generated by Java2WSDL is: | ... | <schema targetNamespace="http://business.annotation.infravida.cenas" | xmlns="http://www.w3.org/2001/XMLSchema"> | <import namespace="http://ws.communication.annotation.infravida.cenas"/> | <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> | <complexType name="Note"> | <sequence> | <element name="author" nillable="true" type="xsd:string"/> | <element name="cooperationId" type="xsd:int"/> | <element name="date" nillable="true" type="xsd:dateTime"/> | <element name="note" nillable="true" type="xsd:string"/> | <element name="id" type="xsd:int"/> | </sequence> | </complexType> | </schema> | <schema | targetNamespace="http://ws.communication.annotation.infravida.cenas" | xmlns="http://www.w3.org/2001/XMLSchema"> | <import namespace="http://business.annotation.infravida.cenas"/> | <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> | <complexType name="ArrayOf_tns2_Note"> | <complexContent> | <restriction base="soapenc:Array"> | <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:Note[]"/> | </restriction> | </complexContent> | </complexType> | </schema> | </wsdl:types> | <wsdl:message name="findNotesByCooperationRequest"> | <wsdl:part name="in0" type="xsd:int"/> | </wsdl:message> | <wsdl:message name="findNotesByCooperationResponse"> | <wsdl:part name="findNotesByCooperationReturn" | type="impl:ArrayOf_tns2_Note"/> | </wsdl:message> | ... | Is it Correct? Is my wsdl WS-I compliant?
~ It isn't WS-I compliant if you use rpc/enc, but, at the moment my priority is on having the webservice working, and aim for compliance when axis will work with me on this. :)
- -- "Love is mutual self-giving that ends in self-recovery." Fulton Sheen James Black [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCN1rOikQgpVn8xrARAm/8AKCRRkkiqtmFjsk3dTTC1gXVrIuUAQCbBtQg V9gl96OVlxQy//RLVeEoDOE= =gDo4 -----END PGP SIGNATURE-----