Topic
  • No replies
SystemAdmin
SystemAdmin
403 Posts

Pinned topic SELECT DB2XML.SOAPHTTPNV

‏2012-12-12T15:11:32Z |
Can anyone please show me how to incorporate the following into a COBOL program? This is my first shot at XML, and I currently just execute the Select through SPUFI. Any help would be greatly appreciated.

SELECT DB2XML.SOAPHTTPNV(
'http://test2dev2.test.net:80/t2MessageServices/services/' ||
'MessageService',
'" "',
'<?xml version="1.0" encoding="UTF-8"?>' ||
'<soapenv:Envelope' ||
' xmlns:q0="http://message.service.test.com"' ||
' xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"' ||
' xmlns:xsd="http://www.w3.org/2001/XMLSchema"' ||
' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">' ||
' <soapenv:Header>' ||
'</soapenv:Header>' ||
' <soapenv:Body>' ||
'<q0:ChildInquiryRequest>' ||
' <q0:sytemUserId>t2t2user</q0:sytemUserId>' ||
' <q0:validationCode>XP94TWwe0091</q0:validationCode>' ||
' <q0:rmtMsgId>0d9396bf92e08e07e8689124bf81c07a</q0:rmtMsgId>' ||
' <q0:msgId></q0:msgId>' ||
' <q0:recordType>DN</q0:recordType>' ||
'</q0:petInquiryRequest>' ||
'</soapenv:Body>' ||
'</soapenv:Envelope>')
FROM SYSIBM.SYSDUMMY1;
Updated on 2012-12-14T14:48:22Z at 2012-12-14T14:48:22Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    403 Posts

    Re: SELECT DB2XML.SOAPHTTPNV

    ‏2012-12-13T16:48:45Z  
    Does anyone have an example, or know of a resource where SOAPHTTPNV is used in a COBOL Program. Any examples of webservice calls made from a COBOL program would be very helpful.

    Thanks.
  • nico1964
    nico1964
    5 Posts

    Re: SELECT DB2XML.SOAPHTTPNV

    ‏2012-12-14T07:11:33Z  
    Does anyone have an example, or know of a resource where SOAPHTTPNV is used in a COBOL Program. Any examples of webservice calls made from a COBOL program would be very helpful.

    Thanks.
    Good morning,

    have a look at this link:
    http://www.iprodeveloper.com/forums/aft/49576

    It's for calling webservices from cobol on system-i.
  • SystemAdmin
    SystemAdmin
    403 Posts

    Re: SELECT DB2XML.SOAPHTTPNV

    ‏2012-12-14T14:48:22Z  
    • nico1964
    • ‏2012-12-14T07:11:33Z
    Good morning,

    have a look at this link:
    http://www.iprodeveloper.com/forums/aft/49576

    It's for calling webservices from cobol on system-i.
    Thank you very much. The link is very helpful.