<xsd:complexType name="Contact">
- <xsd:sequence>
  <xsd:element minOccurs="0" name="email" nillable="true" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="mobile" nillable="true" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="shutter" nillable="true" type="xsd:string" /> 
  <xsd:any maxOccurs="unbounded" minOccurs="0" /> 
  </xsd:sequence>
  <xsd:anyAttribute /> 
  </xsd:complexType>

解决方案 »

  1.   

    按WSDL提供的格式读就可以.必须先读email,再mobile,然后是shuter...
      

  2.   

    多谢,我目前也是按此种方法实现的,但是在soap里面没有直接提供此类解析XML的方法吗?
      

  3.   

    我是直接用gSoap的,它可以从WSDL生成代理类,WSDL描述的所有porttype里面都包含了。你用生成的代码,这个返回值应该在bind或者porttype里面有描述的吧?