JAX-WS error on WSDL file: “Error resolving component 's:schema'”

前端 未结 5 952
我寻月下人不归
我寻月下人不归 2020-12-28 15:25

The Error

I am using wsimport in a Java project to generate sources for three SOAP web services. The first two work fine: I use the JAX-WS Maven plugin to grab the

5条回答
  •  抹茶落季
    2020-12-28 15:26

    Had same issue fixed it with below command:

    wsimport -b http://www.w3.org/2001/XMLSchema.xsd -b xsd.xjb service.wsdl

    where xsd.xjb refers to :

    
    
    
      
        
      
    
      
        
      
    
      
        
      
    
      
        
      
    
      
        
      
    
      
        
      
    
      
        
      
    
    

提交回复
热议问题