Home  >  Article  >  Web Front-end  >  Example of calling WebService using JavaScript_javascript skills

Example of calling WebService using JavaScript_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:05:201023browse

步骤如下:

下载微软HTC组件:http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/samples/internet/behaviors/library/webservice/default.asp

Web服务WSDL:



    
        http://192.168.2.148:8080/SCRM4U_SERVICE/servlet/HLP_PWS_SYSTEM_LOGIN_SELECT.htm
        ?
    

    
        
            
                
                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                    
                    

                

            

            
                
                    
                        
                        
                    

                

            

            
                
                    
                        
                    

                

            

        

    

    
        
    

    
        
    

    
        
            
            
        

    

    
        
        
            
            

                                                                                      🎜>  
 
  
                                                                          🎜>




UserName:



PassWord:





Note: If the service return value type is String, you can get the value directly using result.value.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn