java如何为不同的模式编写jaxb绑定?
我的wsdl中有两种不同的模式。正如你所见,我有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>
....
共 (0) 个答案