1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

Duvida Usar webspeed para receber SOAP

Discussão em 'Progress 4GL' iniciado por fabianofss, Setembro 1, 2015.

  1. fabianofss

    fabianofss Membro Participativo

    Olá a todos,
    tenho usado o webspeed para receber chamadas passando JSON,
    agora o sistema de uma empresa irá se comunicar com o nosso passando SOAP.

    Se no Request ao invés de usar o JSON usar XML funcionaria?
    Ex:
    Código:
      DEFINE VARIABLE cXML       AS LONGCHAR NO-UNDO.
      DEFINE VARIABLE lOK         AS LOGICAL   NO-UNDO.                  
                      
      /*
       * Output the MIME header and set up the object as state-less or state-aware.
       * This is required if any HTML is to be returned to the browser.
       */
      RUN outputHeader.
    
      ASSIGN lOK = TEMP-TABLE ttRequis:WRITE-XML("LONGCHAR", cXML, FALSE).
    
      /* o prefixo cb significa CallBack */
      {&OUT} STRING(cXML).
    

Compartilhe esta Página