Ok...I've worked with WSDLs to define web services, but it's always been
the clone and go type model. I'm running into a problem now that I can't
seem to resolve. Here's the gist: I want to have a web service that accepts
a store number, and then up to 10 groups of SKU, promo and zip. I'm trying
this:

<xsd:element name="inStore">
<xsd:simpleType>
<xsd:restriction base="xsd:string" />
</xsd:simpleType>
</xsd:element>
<xsd:element name="eCommercePromosOperation">
<xsd:complexType>
<xsd:sequence minOccurs="1" maxOccurs="10">
<xsd:element name="inSKU" type="xsd:string"></xsd:element>
<xsd:element name="inPromoNum" type="xsd:string"></xsd:element>
<xsd:element name="inZip" type="xsd:string"></xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>

But SoapUI only shows the complex type, like this (in the request):

<ecom:eCommercePromosOperation>
<inSKU>?</inSKU>
<inPromoNum>?</inPromoNum>
<inZip>?</inZip>
</ecom:eCommercePromosOperation>

Any ideas? Thanks!

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.