0
我想在PHP中創建一個肥皂枚舉值。這是複雜的對象類型客戶和CustomerStage肥皂枚舉值在PHP
<complexType name="Customer">
<complexContent>
<extension base="platformCore:Record">
<sequence>
<element name="customForm" type="platformCore:RecordRef" minOccurs="0"/>
<element name="entityId" type="xsd:string" minOccurs="0"/>
***<element name="stage" type="listRelTyp:CustomerStage" minOccurs="0"/>***
</sequence>
<!-- primary record internalId -->
<attribute name="internalId" type="xsd:string"/>
<attribute name="externalId" type="xsd:string"/>
</extension>
</complexContent>
</complexType>
<simpleType name="CustomerStage">
<restriction base="xsd:string">
<enumeration value="_customer"/>
<enumeration value="_lead"/>
<enumeration value="_prospect"/>
</restriction>
</simpleType>
我不知道如何通過分配階段來創建客戶。
以下是wsdl的鏈接https://webservices.netsuite.com/wsdl/v2009_2_0/netsuite.wsdl – charan 2010-05-05 12:34:02