How does Apach CXF make the generated code reference xsd files?

when you use Apache CXF"s wsdl2java to automatically generate server code based on the existing wsdl (xsd is referenced in wsdl), the generated code will include the contents of xsd in a wsdl . How can I use references like the original wsdl ? the
requirement is the generated wsdl and the local OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv.wsdl .
the service wsdl I generated currently puts the contents of the two xsd together.
the details of the wsdl file path that I already exist are as follows,

C:.
OSB_EIP_EIP_HQ_00005_ERP_V0.1
      MsgHeader.xsd
      OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv.wsdl
      OSB_EIP_EIP_HQ_InquiryEipAnnouncementSrv.xsd

the existing wsdl can be found in the following network disk. If you are interested, you can download it.
link: https://pan.baidu.com/s/1DPd1. password: skvn

Mar.01,2021

specify the wsdlLocation attribute in the service layer

Menu