Jump to content

Search the Community

Showing results for tags '$.ajax'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Необходимо отправить запрос на сторонний сервис со стороны клиента, используя JavaScript. Использую UniSession.AddJS. Выдает ошибку.Код: soapRequest := '<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:WTOSignServiceIntf-IWTOSignService">'+ '<soapenv:Header/>'+ '<soapenv:Body>'+ '<urn:SignData soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">'+ '<Value xsi:type="urn:TSignDataRequest" xmlns:urn="urn:WTOSignServiceIntf">'+ '<UID xsi:type="xsd:string">test</UID>'+ '<Data xsi:type="xsd:string">test</Data>' + '<Files xsi:type="xsd:string">test</Files>' + '<SignFiles xsi:type="xsd:string">test</SignFiles>' + '</Value>'+ '</urn:SignData>'+ '</soapenv:Body>'+ '</soapenv:Envelope>'; UniSession.AddJS('$.ajax({' + 'url: "' + 'http://localhost:7777/soap/IWTOSignService' + '",' +'contentType: "text/xml",' + 'type: "POST",' +'crossDomain: true,' + 'dataType: "xml",' + 'data: "' + soapRequest +'",' + 'success: function(data){' + ' alert("OK!"+data);' + ' },' + 'error: function(data){' + ' alert("Error!"+data.responseText);' + ' },' + '});'); Срочно нужна Ваша помощью. Возможно ли реализовать запросы на сторонние сервисы?
×
×
  • Create New...