Has anyone been able to get the suds soap library to work with the NetSuite WSDL?

前端 未结 5 689
礼貌的吻别
礼貌的吻别 2021-01-20 21:35

Has anyone been able to get the suds soap library to work with the NetSuite WSDL? I get this error when I try to create a client.

from suds.client import Cli         


        
5条回答
  •  长发绾君心
    2021-01-20 22:07

    https://webservices.netsuite.com/wsdl/v2010_2_0/netsuite.wsdl

    I found that it was failing on a validation between this part:

    
        
        
        
        
         -- mismatch
        
        
    
    

    and this part:

    
        
        
            
            
            
            
            
        
        
            
            
        
        
            
        
        
            
        
        
             -- mismatch
        
        
            
        
        
            
        
    
    

    I changed this:

    
        
    
    

    to this:

    
        
    
    

    The modification allows Suds to create the client. Like John mentioned, it does take forever to parse(more than two minutes). I haven't tried using checkAsyncStatus to see if it works.

提交回复
热议问题