Could not resolve a binding for http://schemas.xmlsoap.org/wsdl/soap/

前端 未结 1 1230
情话喂你
情话喂你 2021-01-27 03:13

I am using apache cxf + spring, the stuff runs in eclipse but not in command line. keep get the error could not resolve binding

1条回答
  •  无人及你
    2021-01-27 04:09

    solution :

    1. step1: using maven shade plugin
    2. step2: if you are using spring with cxf, making sure add following to your @Configuration class

      @ImportResource( { "classpath:META-INF/cxf/cxf.xml", "classpath:META-INF/cxf/cxf-extension http.xml", "classpath:META-INF/cxf/cxf-extension-soap.xml" } )

    or

    
    
    
    

    big credit to

    http://www.java-allandsundry.com/2011/01/orgapachecxfservicefactoryserviceconstr.html

    0 讨论(0)
提交回复
热议问题