Back to connectors… Back to Sage X3...

X3 server did not return a response (NDRESULT). (6 replies)

Raoul Duke
9 years ago
Raoul Duke 9 years ago

Hi, we have the following error when attempting to run a subprogram.

    Class[CCommException]
X3 server did not return a response (NDRESULT).
DefBtn=[0] Sleep=[0] Type=[3|MESS_ERROR] Mess=[Number of errors 2.] Title=[X3 Application Error]
unknown key [message.error.open.win] in resource [com.adonix.x3.comm.client.adonix.pool.CAdonixPool]
--Stack--
com.adonix.x3.comm.client.adonix.pool.CPoolRequestServer.validReply(CPoolRequestServer.java:302)
com.adonix.x3.comm.client.adonix.pool.CPoolRequestSpgm.validReply(CPoolRequestSpgm.java:331)
com.adonix.x3.comm.client.adonix.pool.CPoolEntry.validReply(CPoolEntry.java:1347)
com.adonix.x3.comm.client.adonix.pool.CPoolEntry.sendActionCallRemote(CPoolEntry.java:1097)
com.adonix.x3.comm.client.adonix.pool.CPoolThreadExecutor.execOneAckCall(CPoolThreadExecutor.java:238)
com.adonix.x3.comm.client.adonix.pool.CPoolThreadExecutor.doExecute(CPoolThreadExecutor.java:314)
com.adonix.x3.comm.client.adonix.pool.CPoolThreadLock.run(CPoolThreadLock.java:139)
java.lang.Thread.run(Unknown Source)<br>
	Class[CCommException]
X3 server did not return a response (NDRESULT).
DefBtn=[0] Sleep=[0] Type=[3|MESS_ERROR] Mess=[Number of errors 2.] Title=[X3 Application Error]
unknown key [message.error.open.win] in resource [com.adonix.x3.comm.client.adonix.pool.CAdonixPool]
--Stack--
com.adonix.x3.comm.client.adonix.pool.CPoolRequestServer.validReply(CPoolRequestServer.java:302)
com.adonix.x3.comm.client.adonix.pool.CPoolRequestSpgm.validReply(CPoolRequestSpgm.java:331)
com.adonix.x3.comm.client.adonix.pool.CPoolEntry.validReply(CPoolEntry.java:1347)
com.adonix.x3.comm.client.adonix.pool.CPoolEntry.sendActionCallRemote(CPoolEntry.java:1097)
com.adonix.x3.comm.client.adonix.pool.CPoolThreadExecutor.execOneAckCall(CPoolThreadExecutor.java:238)
com.adonix.x3.comm.client.adonix.pool.CPoolThreadExecutor.doExecute(CPoolThreadExecutor.java:314)
com.adonix.x3.comm.client.adonix.pool.CPoolThreadLock.run(CPoolThreadLock.java:139)
java.lang.Thread.run(Unknown Source)<br>
Support
9 years ago
Support 9 years ago

Hi Raoul, looking at the error, I can see there's an error in message.error.open.win

Can you explain a little more about the subprogram?

Raoul Duke
9 years ago
Raoul Duke 9 years ago

The subprogram does the following:

a. Calls a pre-published webservice (SOH).

b. Prior to the order being updated, we have some code which updates the quantities on the order lines....essentially we loop through the existing lines and perform a check, then update the quantity field.

c. After the quantities on the lines are updated the normal webservice code for the sub-program is executed.

Raoul Duke
9 years ago
Raoul Duke 9 years ago

And...

We're able to execute the sub-program from within X3 sucessfully.

Support
9 years ago
Support 9 years ago

OK....I think I understand.

If you're calling the standard published webservice wrapper code from the exposed subprogram, you're going to end with some duplication of the open and close of the webservice trace code.

The calls to OUVRE_TRACE, FERME_TRACE, LEC_TRACE will be called both the subprogram wrapper code AND the object wrapper code.

I would recommend removing/commenting out the TRACE calls in the object code.

Raoul Duke
9 years ago
Raoul Duke 9 years ago

Bingo!

That did the trick!

7 years ago
Raoul Duke 7 years ago

Closed due to inactivity.

Contact

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Request Demo

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close

Access Downloads

Realisable Software Ltd provides code-free, cost-effective applications integration solutions for SMEs. Our core IMan product is designed to integrate almost any application with a number of Sage solutions and online payment processors.

Looking to purchase IMan, please see our resellers here.

Realisable Software
Ph: +44 (0) 208 123 1017

Copyright © Realisable. All rights reserved.
Realisable is a registered trademark

Close