# EDI on Demand via a Reverse Invoke

**URL:** <https://techcommunity.softwareag.com/t/edi-on-demand-via-a-reverse-invoke/107938>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [February 11, 2003, 4:08am UTC](https://techcommunity.softwareag.com/t/edi-on-demand-via-a-reverse-invoke/107938 "2003-02-11T04:08:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris18](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@chris18](https://techcommunity.softwareag.com/u/chris18)\
**Post date:** [February 11, 2003, 4:08am UTC](https://techcommunity.softwareag.com/t/edi-on-demand-via-a-reverse-invoke/107938/1 "2003-02-11T04:08:28Z")

</div>

I’m trying to ftp and edi file into our B2B box via reverse invoke but it fails with the error below. If I ftp the file locally it is recognized successfully. We ftp the file to a service and that service turns around and http post the file to tn.receive.

Can this work in a reverse invoke setting?  
Here’s the error:  
36694B 00900003C No EDI Documents for VAN  
36694C TRANET1427W BizDocTypeReg: ERROR invoking recognize for 7f000001f70d64910000017d [TRNSERV.000019.000036]  
36694D TRANET9998W Exception =\> An error occured during document processing. The service wm.b2b.editn:getICDetail failed [EDIFTN.  
000010.000208]  
(0) java.lang.NullPointerException: null  
(1) java.lang.NullPointerException: null  
java.lang.NullPointerException: null  
java.lang.NullPointerException: null  
java.lang.NullPointerException  
at wm.b2b.editn.EDIdata.init(EDIdata.java:705)  
at wm.b2b.editn.EDIdata.buildEnvelope(EDIdata.java:139)  
at wm.b2b.editn.getICDetail(editn.java:126)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code))  
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))  
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)  
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)  
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)  
at wm.b2b.editn.EDIEnvelopeDocType.recognize(EDIEnvelopeDocType.java:127)  
at com.wm.app.tn.doc.BizDocTypeReg.recognize(BizDocTypeReg.java:312)  
at com.wm.app.tn.doc.BizDocTypeReg.recognizeAndCreate(BizDocTypeReg.java:415)  
at wm.tn.doc.recognize(doc.java:634)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code))  
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))  
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))  
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))  
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))  
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))  
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))  
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java(Compiled Code))  
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))  
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java(Compiled Code))  
at com.wm.app.b2b.server.comm.DefaultSocketRequestHandler.handleMessage(Unknown Source)  
at com.wm.util.comm.Connection.handleMessage(Connection.java:132)  
at com.wm.util.comm.Connection$PollRunner.run(Connection.java(Compiled Code))  
at com.wm.util.pool.PooledThread.run(PooledThread.java(Compiled Code))  
at java.lang.Thread.run(Thread.java:498)

Thanks

---

<div class="post-metadata">

**Author:** ![rupinder](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@rupinder](https://techcommunity.softwareag.com/u/rupinder)\
**Post date:** [February 11, 2003, 4:21am UTC](https://techcommunity.softwareag.com/t/edi-on-demand-via-a-reverse-invoke/107938/2 "2003-02-11T04:21:13Z")

</div>

Chris,

You cannot use FTP through a Reverse-Invoke Server. There are workarounds but they involve writing code on the RI Server and are not elegant.

Rupinder

---

<div class="post-metadata">

**Author:** ![chris18](https://avatars.discourse-cdn.com/v4/letter/c/e8c25b/32.png) [@chris18](https://techcommunity.softwareag.com/u/chris18)\
**Post date:** [February 11, 2003, 8:39am UTC](https://techcommunity.softwareag.com/t/edi-on-demand-via-a-reverse-invoke/107938/3 "2003-02-11T08:39:35Z")

</div>

forgive my lack of knowledge here.  
I didn’t I was ftp through the reverse invoke because the service on the proxy resubmits the file to tn with a http post.

---

<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:04pm UTC](https://techcommunity.softwareag.com/t/edi-on-demand-via-a-reverse-invoke/107938/4 "2021-04-02T15:04:59Z")

</div>


