# Using Code Generation/New Request Document Client

**URL:** <https://techcommunity.softwareag.com/t/using-code-generation-new-request-document-client/97378>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, NaturalONE-Full-Edition\
**Created:** [June 8, 2011, 10:11pm UTC](https://techcommunity.softwareag.com/t/using-code-generation-new-request-document-client/97378 "2011-06-08T22:11:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carl\_Hoffmann](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Carl\_Hoffmann](https://techcommunity.softwareag.com/u/Carl_Hoffmann)\
**Post date:** [June 8, 2011, 10:11pm UTC](https://techcommunity.softwareag.com/t/using-code-generation-new-request-document-client/97378/1 "2011-06-08T22:11:40Z")

</div>

I generated a web service using EntireX (v821) to wrap a natural subprogram. Tested it successfully using the XML Tester. I then switched to the NaturalONE (v822) perspective and generated a New Request Document Client. Now, when I make the call to the generated subprogram, I get a NAT8304 HTTP request failed. Reason The certificate authority is invalid or incorrect.

## NAT8304 HTTP request failed. Reason :1:.

TEXT:  
HTTP request failed. Reason :1:.  
EXPL:  
The REQUEST DOCUMENT statement has received an error from the  
transport layer.  
ACTN:  
Contact Software AG support.

Everything is running locally on a Windows XP VM Image.

What can I do to resolve this error?  
Thanks, Carl

---

<div class="post-metadata">

**Author:** ![Carl\_Hoffmann](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@Carl\_Hoffmann](https://techcommunity.softwareag.com/u/Carl_Hoffmann)\
**Post date:** [June 9, 2011, 7:33pm UTC](https://techcommunity.softwareag.com/t/using-code-generation-new-request-document-client/97378/2 "2011-06-09T19:33:39Z")

</div>

I changed the following in the generated client subprogram:  
“#WEB-SERVICE-END-POINT(A) DYNAMIC INIT\< 'https:…”  
to  
“#WEB-SERVICE-END-POINT(A) DYNAMIC INIT\< 'http:…”

Now I get an error  
NAT8312 Error during XML parser processing, reason 3.

## NAT8312 Error during XML parser processing, reason :1:.

TEXT:  
Error during XML parser processing, reason …  
EXPL:  
Possible reasons:  
1: Error in parser access; XML parser not available.  
2: Parser instance request failed; new instance not available.  
3: Parser initialization failed.  
4: XML input document is invalid.  
5: Unsupported encoding is used.  
6: Internal parse save-area stack overflow.  
7: Resizing of parse operand failed.  
ACTN:  
Check the XML parser condition or XML document.

---

<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, 3:00pm UTC](https://techcommunity.softwareag.com/t/using-code-generation-new-request-document-client/97378/3 "2021-04-02T15:00:23Z")

</div>


