PLease can somebody tell me what should the REQUEST DOCUMENT look like for this enclosed WSDL?
The statement we are using is:
REQUEST DOCUMENT FROM #URL
WITH
HEADER
NAME ‘Request-Method’ VALUE ‘POST’
NAME ‘Content-Type’ VALUE ‘text/xml’
NAME ‘SOAPAction’ VALUE ‘updateWaybill’
DATA ALL #REQUEST
RETURN
HEADER NAME ’ ’ VALUE HTTP-STATUS-TEXT
PAGE #RESPONSE
RESPONSE #RC
GIVING #GIVE
Should this work? I confess I have had difficulty figuring out what the statement should look like. May I suggest lots more examples in the Natural Help please. FreightWareWebService.zip (1.14 KB)
When I did this I found the request document statement itself was the easy bit, it’s finding out how map the WSDL to the Natural PDA which is a bit more fiddly.
Steve
Thanks Stephen
I had missed the discussion thread where the WEATHER programs were there to download (which I did!). I have now got our program to work - the REQUEST DOCUMENT was right as is, it was the contents that was wrong.
Priscilla