Есть вот такая информация к размышлению
http://dpaste.com/772952/
Как такое отправляют с помощью питона?
client = suds.client.Client( "http://server/service.wsdl" )
res = client.service.MySuperPuperSoapRequest( arg1, arg2, arg3 )
S-10Правильно - использовать тег code, благо одменестрацыя соблагоизволила добавить панель бебекодов.
как сделать правильно?
#! /usr/bin/env python # -*- coding: utf-8 -*- import suds url = 'http://1.1.1.1/RSNetGain/RicoServer/InventorySoap.asmx' client = suds.client.Client( url + '?WSDL' ) def MySuperPuperSoapRequest( arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15 ): text = """ <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <CheckAvailability xmlns="http://ukrtelecom.net/webservices/Integration/BillingInventory"> <requests> <AvailabilityRequest> <departmentId>%d</departmentId> <address> <settlementType>%d</settlementType> <settlementTypeName>%s</settlementTypeName> <settlementId>%d</settlementId> <settlementName>%s</settlementName> <streetType>%d</streetType> <streetTypeName>%s</streetTypeName> <streetName>%s</streetName> <buildingNo>%s</buildingNo> <auxilaryNo>%s</auxilaryNo> <apartmentNo>%s</apartmentNo> <auxilaryInfo>%s</auxilaryInfo> </address> </AvailabilityRequest> </requests> <connectionType>%d</connectionType> <equipmentType>%d</equipmentType> <activityType>%d</activityType> </CheckAvailability> </soap:Body> </soap:Envelope> """ % ( arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15 ) return text res = client.service.MySuperPuperSoapRequest( 0,2,'город',0,'Благовещенск',1,'Улица','пер.Чудиновский','50','','13','',0,0,1 ) print res
S-10Правила прочти, “одаренный”.
Для особо “одарённых”