Author: Jeff Johnson
Posted: 2015-02-23 at 13:18:48
On 2/23/2015 7:50 AM, Tracy Pearson wrote:
> Jeff Johnson wrote on 2015-02-22:
>> Never mind. I was not allowing enough space for the token.
>>
>> On 2/22/2015 12:57 PM, Jeff Johnson wrote:
>> Tracy: you helped me with this. Here is your code that works:
>>
> Jeff,
>
> Glad to see you find the problem.
>
> Tracy Pearson
> PowerChurch Software
Tracy: A very weird thing is happening:
LOCAL oHttp as MSXML2.ServerXMLHTTP30
oHttp = CREATEOBJECT('msxml2.serverxmlhttp.3.0')
oHttp.open("post",
"http://support.itsonboarding.com/OnBoarding.svc", .F.)
oHttp.setRequestHeader("Accept", "text/xml")
oHttp.setRequestHeader("Content-Type", "text/xml;charset=UTF-8")
oHttp.setRequestHeader("SOAPAction",
"http://tempuri.org/IOnBoarding/GetInsurance")
postText = ''
postText = postText + '<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:tem="'" target="_blank">http://tempuri.org/">' + crlf
postText = postText + ' <soapenv:Header/>' + crlf
postText = postText + ' <soapenv:Body>' + crlf
postText = postText + ' <tem:GetInsurance>' + crlf
postText = postText + ' <tem:UserName>JS</tem:UserName>' + crlf
postText = postText + ' <tem:Password>pa</tem:Password>' + crlf
postText = postText + ' <tem:Token>' + lctoken +
'</tem:Token>' + crlf
postText = postText + ' </tem:GetInsurance>' + crlf
postText = postText + ' </soapenv:Body>' + crlf
postText = postText + '</soapenv:Envelope>'
oHttp.send(postText)
lcxml = oHttp.responsexml.xml
if the lctoken has a "/" in it this code never runs!
Any ideas?
>
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/54EB7D18.5090508@san-dc.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.