ecco un esempio in php di cio che richiede mobyt.it e che avrei bisogno di tradurre in asp.
codice:POST /sms-gw/index.php HTTP/1.0 Host: www.mobyt.it Content-Type: text/xml; charset=ISO-8859-1 SOAPAction: "urn:sendMmswsdl#sendMms" Content-Length: 1377 <?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:sendMmswsdl"> <SOAP-ENV:Body> <tns:sendMms xmlns:tns="urn:sendMmswsdl"> <id xsi:type="xsd:string">C00000_001</id> <password xsi:type="xsd:string">password</password> <ticket xsi:type="xsd:string"></ticket> <subject xsi:type="xsd:string">Oggetto</subject> <text xsi:type="xsd:string">Testo dell'MMS</text> <rcpt xsi:type="xsd:string">+393477005440</rcpt> <imagedata xsi:type="xsd:base64Binary">R0lGODlhEAAQANUAAAA(...)</imagedata> <sounddata xsi:nil="true" xsi:type="xsd:base64Binary"/> </tns:sendMms> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

Rispondi quotando