我的wsdl中有2个不同的架构。如您所见,我有complexType和具有相同名称的元素。(" ArcSightLoginServiceException")。如何编写外部绑定(binding.xml)来重命名它们?
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://domain.login.webservices.logger.arcsight.com/xsd" xmlns:ax21="http://domain.login.webservices.logger.arcsight.com/xsd">
<xs:complexType name="ArcSightLoginServiceException">
<xs:complexContent>
<xs:extension base="ns1:Exception">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://www.arcsight.com/logger/xsd" xmlns:ns="http://www.arcsight.com/logger/xsd">
<xs:complexType name="Exception">
<xs:sequence>
<xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
<xs:element name="ArcSightLoginServiceException">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="ArcSightLoginServiceException" nillable="true" type="ns0:ArcSightLoginServiceException"/>
</xs:sequence>
</xs:complexType>
</xs:element>
....