Dear WSDL gurus,
Ok I've managed to get my CFC to return the following:
(clip from WSDL)
<complexType name="lineitem">
<sequence>
<element name="accountNumber" nillable="true" type="xsd:double"/>
<element name="amount" nillable="true" type="xsd:double"/>
<element name="customerName" nillable="true"
type="xsd:string"/>
<element name="merchantTxnId" nillable="true"
type="xsd:string"/>
<element name="txnId" nillable="true" type="xsd:double"/>
</sequence>
</complexType>
<complexType name="lineitemarray">
<sequence>
<element name="lineItem" nillable="true" type="impl:lineitem"/>
</sequence>
</complexType>
The above replaces my query object approach...but I'm wondering if I
need to add the following in the second type definition:
<complexType name="lineitemarray">
<sequence>
<element minOccurs="0" maxOccurs="unbounded" name="lineItem"
nillable="true" type="impl:lineitem"/>
</sequence>
</complexType>
The minOccurs and maxOccurs tells the client there can be n lineitems in
this lineitemarray...should I include this manually by editing my WSDL
(maintenance hazard) or is this implied by default? Or does it even
matter at all?
Thanks!
Stace
AVIS IMPORTANT:
-------------------------------
Les informations contenues dans le present document et ses pieces jointes sont
strictement confidentielles et reservees a l'usage de la (des) personne(s) a qui il
est adresse. Si vous n'etes pas le destinataire, soyez avise que toute divulgation,
distribution, copie, ou autre utilisation de ces informations est strictement
prohibee. Si vous avez recu ce document par erreur, veuillez s'il vous plait
communiquer immediatement avec l'expediteur et detruire ce document sans en faire de
copie sous quelque forme.
WARNING:
-------------------------------
The information contained in this document and attachments is confidential and
intended only for the person(s) named above. If you are not the intended recipient you
are hereby notified that any disclosure, copying, distribution, or any other use of
the information is strictly prohibited. If you have received this document by mistake,
please notify the sender immediately and destroy this document and attachments without
making any copy of any kind.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
in the message of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).
An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]