• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Acrobat DC && SOAP nameSpace

Community Beginner ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

Currently, soap protocol is used to request services
Unable to connect to soap background service in Acrobat
Maybe it's the format of my request. Please give your suggestions
There is less discussion about community related soap requests. If successful people want to share them
I will provide relevant configurations below:

 

var cURL = "http://112.74.73.23:8089/soap/services"
var oAuthenticator = { UsePlatformAuth: true }
var oRequest = {
   soapValue: '<soapenv:Envelope xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" ' +
      'xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ' +
      ' xmlns:tns="http://service.insolu.com">' +
      '  <soapenv:Body>' +
      '   <tns:compareVersion soapenv:encoding="http://schemas.xmlsoap.org/soap/encoding">' +
      '    <fileId type="xs:string">5536</fileId>' +
      '  <fileVersion type="xs:string">C5V34</fileVersion>' +
      '   </tns:compareVersion>' +
      '  </soapenv:Body>' +
      '</soapenv:Envelope>',
    soapQName: [
      {
        localName: 'zhd',
        nameSpace: 'http://service.insolu.com'
      }
    ]
}
var cAction = "http://112.74.73.23:8089/compareVersion"
SOAP.wireDump = true
var params = {
  cURL: cURL,
  cAction:cAction,
  oRequest: oRequest,
  oAsync: {
    response: function (a, b, c) {
      console.println(
        "data_" +
        JSON.stringify(a) +
        "_" +
        JSON.stringify(b) +
        "_" +
        JSON.stringify(c)
      )
      if (c && c.error) {
        app.alert(c.text)
      }
    },
  },
  oAuthenticate: oAuthenticator,
  bEncoded: true,
}
var response = SOAP.request(params)
TOPICS
JavaScript

Views

144

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

you can try this  ...

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

LATEST

Try the forum for Acrobat SDK.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines