# Help please for REQUEST DOCUMENT for Web Service

**URL:** <https://techcommunity.softwareag.com/t/help-please-for-request-document-for-web-service/62013>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Web-and-XML-Technology\
**Created:** [February 26, 2007, 6:31pm UTC](https://techcommunity.softwareag.com/t/help-please-for-request-document-for-web-service/62013 "2007-02-26T18:31:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priscilla\_Fuller](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Priscilla\_Fuller](https://techcommunity.softwareag.com/u/Priscilla_Fuller)\
**Post date:** [February 26, 2007, 6:31pm UTC](https://techcommunity.softwareag.com/t/help-please-for-request-document-for-web-service/62013/1 "2007-02-26T18:31:19Z")

</div>

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](https://techcommunity.softwareag.com/uploads/short-url/ucwtlDfs9aYWiBJCeGoHA6hKQMp.zip) (1.14 KB)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [February 27, 2007, 3:40pm UTC](https://techcommunity.softwareag.com/t/help-please-for-request-document-for-web-service/62013/2 "2007-02-27T15:40:16Z")

</div>

Hi Priscilla,

You could take a look at this article:  
[url][http://developer.softwareag.com/ets/knowhow/Natural\_tech/FINAL\_Natural\_Webservice.pdf[/url]](http://developer.softwareag.com/ets/knowhow/Natural_tech/FINAL_Natural_Webservice.pdf%5B/url%5D)

and also this discussion thread:  
[url][http://natural.forums.softwareag.com/viewtopic.php?t=638[/url]](http://natural.forums.softwareag.com/viewtopic.php?t=638%5B/url%5D)

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

---

<div class="post-metadata">

**Author:** ![Priscilla\_Fuller](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Priscilla\_Fuller](https://techcommunity.softwareag.com/u/Priscilla_Fuller)\
**Post date:** [February 28, 2007, 9:26pm UTC](https://techcommunity.softwareag.com/t/help-please-for-request-document-for-web-service/62013/3 "2007-02-28T21:26:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:41pm UTC](https://techcommunity.softwareag.com/t/help-please-for-request-document-for-web-service/62013/4 "2021-04-02T14:41:05Z")

</div>


