Go Back > Forum > Baan Quick Support: Functional & Technical > Open World, Portal & Decision Manager

User login

Frontpage Sponsor


Google search

For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
Installation Wizard into new VRC
Manual into existing VRC
Manual into new VRC
Total votes: 38

Baanboard at LinkedIn

Reference Content

Thread Tools Display Modes
Old 24th May 2017, 14:59
lfhaddix lfhaddix is offline
Junior Member
Join Date: Apr 2012
Posts: 4
lfhaddix is on a distinguished road
Baan: ERP LN - DB: db2 - OS: aix
Current Middleware options
Baan: ERP LN 6.1 FP3

When we installed Baan we chose wbi adapters and IBM Websphere MQ Series. As MQ Series is no longer supported by IBM, we are looking to use another method to transfer data into LN. How do I find the options that are available? I would like to focus on web services if that is possible.
Reply With Quote
Sponsored Links
Old 29th June 2017, 15:01
sasikanth's Avatar
sasikanth sasikanth is offline
Senior Member
Join Date: Jul 2009
Location: Hyderabad, Andhra Pradesh, India
Posts: 150
sasikanth is on a distinguished road
Baan: L.N 6.1 FP7, 10.3, 10.4 & 10.5 - DB: SQL Server - OS: Windows

If you don't have ION in your Environment, indeed Web Services is the best possible way to Synchronize the Data from any Third Party Application to Infor ERP LN.

Connect with me if you would like to know more about how to develop/deploy/use Web Services on LN Side. I will be happy to help you out!
Sasi Kanth V
Infor ERP LN Solution Architect

Reach Me Out on LinkedIn | Never Miss an Update from LN Campus YouTube Channel
Reply With Quote
Old 29th June 2017, 15:40
bhushanchanda's Avatar
bhushanchanda bhushanchanda is offline
Join Date: Sep 2012
Location: India
Posts: 2,345
bhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura aboutbhushanchanda has a spectacular aura about
Baan: LN FP 1-9, 10.4, a little bit of Baan IV - DB: SQL Server 2008, Oracle - OS: Windows Server 2008 R2, Unix
You can go for C4WS for integration purpose using Webservices. C4WS related guides are available on InforXtreme for downloading. You can get them and check if you can use them to build your requirement.


Unless you try to do something beyond what you have already mastered, you will never grow!
Reply With Quote
Old 24th July 2017, 21:29
Daniel66 Daniel66 is offline
Join Date: Aug 2010
Posts: 2
Daniel66 is on a distinguished road
Baan: IV - DB: Oracle - OS: AIX5.3


if you are using WebServices, you have to be careful with the Transaction handling. The WebServices has its own Transaction handling (commitments). We use them al lot and have sometimes Problems with Error 201.

If someone knows this Problems and has a Workaround, please contact me. You are Welcome!

Reply With Quote
Old 13th September 2017, 14:42
lfhaddix lfhaddix is offline
Junior Member
Join Date: Apr 2012
Posts: 4
lfhaddix is on a distinguished road
Baan: ERP LN - DB: db2 - OS: aix
Need help with C4WS Client

Could someone post a working java client for C4WS web service?

I have the below wsdl and have generated the java classes using 1.8 java wsimport. I cannot figure out how to put values into the 3 attributes (order, login, user). It is using the complex type and I cannot find a jax-ws example using complex types.

The wsdl is attached as a .txt file.

Thank you for any help you can give me.

Attached Files
File Type: txt AssemblyLineScans.txt (9.9 KB, 18 views)
Reply With Quote
Old 13th September 2017, 21:53
lfhaddix lfhaddix is offline
Junior Member
Join Date: Apr 2012
Posts: 4
lfhaddix is on a distinguished road
Baan: ERP LN - DB: db2 - OS: aix
I have gotten as far as sending the AddScan successfully but now I am trying to add Error handling. jax-ws shows that it is returning a AddScanResponseType but when I look at the actual logs, it is returning a Result. How do I get access to the <Result> object so that I can check messages?

public String addScan(String poNumber, String login, String userId) {
StringBuffer responseMsg = new StringBuffer("");
System.out.println("AddScan order:"+poNumber +" login:"+login +" user: "+userId);
List<InformationMessage> responseMessages = null;
String message = "Scan not attempted";
try {
String serverName = BarcodeUtil.getLN_Server(BarcodeConstants.COMPANY_NUMBER); // 09-07-17
String c4wsServerName = BarcodeUtil.getC4WS_Server( ); // 09-07-17
String url = String.format(BarcodeConstants.C4WS_FORMAT, c4wsServerName, serverName); // 09-07-17
URL newWsdlLocation = new URL(url);
AssemblyLineScansService service = new AssemblyLineScansService(newWsdlLocation);
AssemblyLineScans serviceReq = service.getAssemblyLineScansSoapPort();
ObjectFactory factory = new ObjectFactory();
AddScanRequestType params = factory.createAddScanRequestType();
ControlArea controlArea = factory.createAddScanRequestTypeControlArea();
DataArea dataArea = factory.createAddScanRequestTypeDataArea();
infor.erpln.c4ws.web.wsdl.client.AddScanRequestType.DataArea.AssemblyLineScans scan = new infor.erpln.c4ws.web.wsdl.client.AddScanRequestType.DataArea.AssemblyLineScans( );
AddScanResponseType response = serviceReq.addScan( params );
if (response == null) {
System.out.println("response is null" );
} else {
if ((response.getInformationArea() == null) || (response.getInformationArea().getMessage() == null)) {
System.out.println("InformationArea or Message is null" );
message = "";
} else {
responseMessages = response.getInformationArea().getMessage();
InformationMessage tempMsg = null;
for (int m = 0; m < responseMessages.size(); m++) {
tempMsg = (InformationMessage)responseMessages.get(m);
message = tempMsg.getMessageText();

} catch (Exception ex) {
message = ex.getMessage();
return message;


[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (270): JCA Daemon starts -trace
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (273): Bshell Name='', BSE Release='6.2', Bshell pid=13435030, Process pid=1
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (273): BSE directory='/new_test_a01/app/bse'
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2411): Enter: handleInitDsEvent()
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2659): Enter: handleInitRequest(clientProtocolVersion: 3, company: 150)
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2672): returned: 1
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2686): Leave: handleInitRequest() return value: 1, serverProtocolVersion: 3, productname: ERP LN, productversion: 8.4, username: lfhaddix
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2432): Leave: handleInitDsEvent()
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2447): Enter: handleBdeOpenDsEvent()
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2470): Leave: handleBdeOpenDsEvent()
[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (105): BDE Manager starts
[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (108): Bshell Name='', BSE Release='6.2', Bshell pid=13435030, Process pid=3
[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (108): BSE directory='/new_test_a01/app/bse'
[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (342): Enter: handleDsBdeRequest()
[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (469): handleBdeRequest for: AssemblyLineScans, invoke: AddScan, request:
[14:12:46]lfhaddix: ottstpbdeman (3) {150}, pttstpbdeman0 (488) :
<?xml version="1.0"?>
[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (509): handleBdeRequest returns: -12
[14:12:46]lfhaddix: ottstpbdeman (3) {150}, pttstpbdeman0 (522) :
<?xml version="1.0"?>
<messageText>Request validation; Attr. &apos;order&apos;, Value &apos;P2200000FC1071212&apos;: the value is too long.</messageText>

[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (365): Leave: handleDsBdeRequest()
[14:12:46]lfhaddix: ottstpbdeman (3), pttstpbdeman0 (747): handleCloseRequest()
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (2624): Enter: handleConnectorClose()
[14:12:46]lfhaddix: ottstpjcadaemon (1), pttstpjcadaemon0 (1005): doExit JCA Daemon

Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Question mr_suleyman Tools Development 37 11th November 2016 09:14
Sigma Chemnitz & ION middleware patvdv Pages and Stories 0 10th April 2013 16:50
to trace variable priyanka pawar Tools Development 1 15th April 2012 12:02
debugging code smusba Tools Development 4 16th June 2008 16:10

All times are GMT +2. The time now is 05:58.

©2001-2017 - -