Without seeing your WSDL, I don't know if you named your WSDL port "port" or if you are just giving a sanitized example.
DTD-validating parsers are most common, but some support XML Schema or RELAX NG as well.There are several different languages available for specifying an XML schema. The primary purpose of a schema language is to specify what the structure of an XML document can be.This means which elements can reside in which other elements, which attributes are and are not legal to have on a particular element, and so forth.I am having a hard time getting cxf to validate an xml request that my service creates for a 3rd party. Here is my project structure Main Module : Sub-Module1 = Application sub-Module2 = Interfaces In Interfaces, inside src/main/resources I have my wsdl and xsd. The interface submodule is listed as a dependency in the Application-sub-module.inside Application sub-module, there is a cxsf file in src/maim/resources.