NetTalk Central

Author Topic: SOAP version 1.1 or 1.2  (Read 5198 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
SOAP version 1.1 or 1.2
« on: May 25, 2016, 10:37:26 PM »
Hi,

How do I go about specifying which version of soap the NT client must use?

This is one I know about

1.1
cSoap.ContentType = 'text/xml; charset=utf-8' 
or
1.2
cSoap.ContentType = 'application/soap+xml'

and

1.1 set the header
cSoap.customheader = 'SOAPAction: "http://iveri.com/Execute"'
1.2
Don't set any header

Am I missing anything?


thanks

Johan



JohanR

  • Sr. Member
  • ****
  • Posts: 375
    • View Profile
    • Email
Re: SOAP version 1.1 or 1.2
« Reply #1 on: May 26, 2016, 12:04:50 AM »

Cut and pasted from NG

Morning Johan,

The WebServices example
C:\Clarion10\Examples\NetTalk\Web Server\WebServiceRequiresXFiles (77)\client.app

probably has the best example of a client that can do SOAP 1.1 and/or SOAP 1.2.
It shows the differences between using one or using the other.

Cheers
Bruce