JAX-WS Loading WSDL from jar

前端 未结 13 970
予麋鹿
予麋鹿 2020-11-28 04:40

I\'m writing a fat client that makes use of a SOAP service for some features (bug reporting etc.)

I\'ve got JAX-WS working fine, but by default (in netbeans at least

13条回答
  •  感动是毒
    2020-11-28 05:38

    I replaced the WSDL location before building the client jar here it goes.

    1. Copy the WSDL's to classes dir.
    2. Replace the Service class refer to WSDL using classpath.
    3. build the client stubs.
    4. jar the stubs.
    
      
    
    
    
      
        
      
    
    
      
        
      
    
    

提交回复
热议问题