WebService Client Generation Error with JDK8

后端 未结 23 2709
既然无缘
既然无缘 2020-11-27 08:50

I need to consume a web service in my project. I use NetBeans so I right-clicked on my project and tried to add a new \"Web Service Client\". Last time I checked, this was t

23条回答
  •  无人及你
    2020-11-27 09:49

    I tested this for version 2.4 of artifact org.codehaus.mojo and that worked ~

    
        
            org.codehaus.mojo
            jaxws-maven-plugin
            2.4.1
            
                
    
                    
                        wsimport
                    
                    
                        path/to/dir/wsdl
                    
                    wsimport-web-service
                    generate-sources
                
            
            
                
                    javax.xml
                    webservices-api
                    ${webservices-api-version}
                
            
            
                
                    -Djavax.xml.accessExternalSchema=all
                
                generated-sources/jaxws-wsimport
                true
                true
                true
                /
            
        
    
    

提交回复
热议问题