[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: HTTPAPI ver 1.13.1
Hi,
This is my first time working with
HTTPAPI. I learned about it from COMMON last week.
I have a question: I installed
it fine and am working through the process. I am getting a -1 back
from the Send() function call in the CommTCP_BlockWrite procedure. I
can't locate the source for the "Send" procedure and was trying
to find it in order to debug the process. Is this an object that
is even available for viewing?
Anything look odd to you below?
(I "x'ed" out the server
just for security purposes. I can PING to the server just fine.)
SOAPMsg =
'<?xml version="1.0" encoding="utf-8"?>'
'<soap:Envelope'
'
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"'
'
xmlns:xsd="http://www.w3.org/2001/XMLSchema"'
'
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">'
'<soap:Body>'
'<AnalyseDocument
xmlns="http://tempuri.org/">'
'<document>'
XMLStr
'</document>'
'</AnalyseDocument>'
'</soap:Body>'
'</soap:Envelope>';
rc = http_url_post_xml(
'http://xxxxxxxxx/ivatengineservice/engineservice.asmx'
: %addr(SOAPMsg)
+ 2
: %len(SOAPMsg)
: %paddr(StartOfElement)
: %paddr(EndOfElement)
: *NULL
: HTTP_TIMEOUT
: *Blanks
: 'text/xml; charset=utf-8'
: '"http://tempuri.org/AnalyseDocument"');