Minor WSDL errors in some of the sample projects
------------------------------------------------

                 Key: CXF-3779
                 URL: https://issues.apache.org/jira/browse/CXF-3779
             Project: CXF
          Issue Type: Bug
          Components: Samples
    Affects Versions: 2.4.2
            Reporter: Robert Liguori
            Priority: Minor


Using CXF's wsdlvalidator, I moved several of the sample project WSDL's to a 
temporary location and performed WSDL validation.  Below are some results that 
may flag the need for the associated WSDL's to be refined:

===========================================================
c:\apache-cxf-2.4.2\bin\wsdlvalidator bank.wsdl
WSDLValidator Error : Mixed style, invalid WSDL
===========================================================
c:\apache-cxf-2.4.2\bin\wsdlvalidator jms_greeter.wsdl
WSDLValidator Error : 
line 127 column 57 of file:/C:/WSDLS/jms_greeter.wsdl: cvc-complex-type.3.2.2: 
Attribute 'soapaction' is not allowed to appear in element 'soap:operation'.
===========================================================
c:\apache-cxf-2.4.2\bin\wsdlvalidator hello_world_client.wsdl
WSIBP Validator found <{http://apache.org/hello_world}JMSGreeterPortBinding> is 
NOT a SOAP binding
===========================================================
c:\apache-cxf-2.4.2\bin\wsdlvalidator BankWS-corba.wsdl
WSIBP Validator found 
<{http://cxf.apache.org/schemas/cxf/idl/Bank}BankCORBABinding> is NOT a SOAP 
binding
WSIBP Validator found 
<{http://cxf.apache.org/schemas/cxf/idl/Bank}AccountCORBABinding> is NOT a SOAP 
binding
===========================================================
c:\apache-cxf-2.4.2\bin\wsdlvalidator HelloWorld.wsdl
Aug 30, 2011 11:26:08 AM 
org.apache.cxf.tools.validator.internal.WSDLRefValidator collectValidationPoints
WARNING: WSDL document file:/C:/WSDLS/HelloWorld.wsdl does not define any 
services
WSDLValidator Error : WSI-BP-1.0 R2718 violation: A wsdl:binding in a 
DESCRIPTION MUST have the same set of wsdl:operations as the wsdl:portType to 
which it refers. greetMe not found in wsdl:binding.
===========================================================
c:\apache-cxf-2.4.2\bin\wsdlvalidator BankWS.wsdl
Aug 30, 2011 11:26:32 AM 
org.apache.cxf.tools.validator.internal.WSDLRefValidator collectValidationPoints
WARNING: WSDL document file:/C:/WSDLS/BankWS.wsdl does not define any services
WSDLValidator Error : WSI-BP-1.0 R2718 violation: A wsdl:binding in a 
DESCRIPTION MUST have the same set of wsdl:operations as the wsdl:portType to 
which it refers. create_account not found in wsdl:binding.
===========================================================

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to