Hi,I need some explanation about the wsdl validator and wsdl2java generator tools (cxf/bin, versione 2.2.7).
The tool wsdlvalidator doesn't generate error for the wsdl in attach.
Here are some BP1.1 statements (4.7.11Consistency of portType and binding Elements): "R2718 A |wsdl:binding| in a DESCRIPTION MUST have the same set of | wsdl:operation|s as the |wsdl:portType| to which it refers."
It's correct that wsdl tools (cxf/bin/wsdl2java and cxf/bin/wsdlvalidator) accept WSDL in attach ?
I expect me for an R2718 violation. Andrea Poli
<?xml version="1.0" encoding="UTF-8"?> <xs:schema elementFormDefault="qualified" targetNamespace="http://www.link.it/spcoop_java_architect/beans" xmlns:ns="http://www.link.it/spcoop_java_architect/beans" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:wsi="http://ws-i.org/profiles/basic/1.1/xsd" jaxb:version="2.0"> <!-- OperationA (I/O) --> <xs:element name="operationA"> <xs:complexType> <xs:sequence> <xs:element name="test" type="xs:string" minOccurs="1" maxOccurs="1" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="operationAResponse"> <xs:complexType> <xs:sequence> <xs:element name="esitoServizio" type="xs:int" minOccurs="1" maxOccurs="1" /> </xs:sequence> </xs:complexType> </xs:element> <!-- OperationA (I/O) --> <xs:element name="operationB"> <xs:complexType> <xs:sequence> <xs:element name="test" type="xs:string" minOccurs="1" maxOccurs="1" /> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="operationBResponse"> <xs:complexType> <xs:sequence> <xs:element name="esitoServizio" type="xs:int" minOccurs="1" maxOccurs="1" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema>
test.wsdl
Description: application/wsdl
