Best way to consume RPC/encoded webservice?

后端 未结 2 1614
不知归路
不知归路 2020-12-13 04:49

I need to consume old-school RPC/encoded WSDL webservice for my backend. At first I tried to use Apache CXF and JAX-WS for that, but JAX-WS wsimport tool doesn\

2条回答
  •  北荒
    北荒 (楼主)
    2020-12-13 05:31

    In case someone would like (well, "like" is not the right word here ;-) to use Axis 1.4, here is a maven plugin that can generate appropriate classes and Port interface.

    
        
            
                org.codehaus.mojo
                axistools-maven-plugin
                1.4
                
                    
                        generate-sources
                        generate-sources
                        
                            wsdl2java
                        
                        
                            
                            ${basedir}/src/main/resources/wsdl
                        
                    
                
            
        
    
    
    
        
            org.apache.axis
            axis
            1.4
        
        
            org.apache.axis
            axis-jaxrpc
            1.4
        
        
            commons-logging
            commons-logging
            1.2
        
        
            commons-discovery
            commons-discovery
            0.5
        
        
            axis
            axis-wsdl4j
            1.5.1
        
        
            org.apache.axis
            axis-saaj
            1.4
        
        
        
            javax.activation
            activation
            1.1.1
        
        
            javax.mail
            mail
            1.4.7
        
    
    

提交回复
热议问题