suds

    1熱度

    1回答

    我試圖從soap定義的webservice中使用方法。我能夠連接並獲取有關方法的信息,但是當我嘗試使用方法,然後我得到錯誤說 Server raised fault: 'Unspecified parameter 'username'' 所以我客串的時候我想將數據發送到服務器,由於某種原因,嘗試發送沒有用戶名? 我試圖連接(驗證)到web服務在泡沫文檔中描述的各種方法:https://fedora

    6熱度

    1回答

    我在Python(2.7)中的應用程序應該使用客戶端來使用WSDL(由Magento生成(1.7.0)生成並在末尾發佈)中描述的SOAP Web服務。 對於此任務泡沫(4.0)被選,當我試圖與這些代碼連接: from suds.client import Client client = Client(url) 我接收到TypeNotFound誤差由於這裏描述https://fedoraho

    0熱度

    1回答

    我有一些方法的WSDL服務器,每個方法接受DataModelType。 此前我用過這種方式: import suds.transport.http from suds.client import Client trans = suds.transport.http.HttpAuthenticated(username=username, password=pa

    2熱度

    2回答

    我有一個SOAP API,我試圖調用通過泡沫的方法(蟒蛇): DoSomething(ns1:DoSomethingRequest Input,) DoSomethingRequest看起來是這樣的: (DoSomethingRequest){ Person = (Person){ Name = "Joe" Age = 32 }

    0熱度

    1回答

    我解析從Web服務SOAP API通過皁液客戶端返回的對象 我有attributeObjects的列表,像 (defectStateAttributeValueDataObj){ attributeDefinitionId = (attributeDefinitionIdDataObj){ name = "Comment" } attribu

    2熱度

    1回答

    如果我有一些不好的授權數據(例如錯誤的密碼)SUDS上升異常(400, u'Bad Request')從哪我不能得到任何東西,但在日誌中是響應,其中包含密碼是錯誤的數據,但如何得到這個響應?我想是這樣的: except Exception as e: print str(e) print self._client.last_received() 它打印: (400, u'

    0熱度

    1回答

    我想要一個SOAP請求(這將給我所需的響應)到URL2方法,其中包括以下結構。 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="URL1" xmlns:ns1="URL2"> <soapenv:Header> <ns:method1> <element1><your v

    2熱度

    1回答

    我使用庫「suds」與SOAP服務器進行通信。 請求已成功完成後,我得到的答案: answer = client.invoke('RetrieveBLABLAObject', modelthings) 這個答案是請求對象的不同領域的結構。每個字段是由「字符串」參數「_type」和參數「value」組成的結構,可能有不同的類型。 answer [key] [value] - 返回參數「value

    1熱度

    1回答

    我對SOAP很陌生,只是試圖獲得使用「泡沫」的基礎知識。我運行下面的代碼: import sys from suds.client import Client url='http://loadbalancer/wsdl/sys_service.wsdl' client = Client(url) 如果我在解釋器中運行「打印客戶端」,我得到如下: Suds (https://fedorah

    0熱度

    1回答

    我試圖訪問與使用泡沫Python的webservice。這裏是我的代碼: # WSDL fails to import schema, import this and create client. imp = Import('http://schemas.xmlsoap.org/soap/encoding/') imp.filter.add('http://api.daisycon.com/p