This looks like the perfect place for me - a total novice.
My first question:
My partner sends us EDIFACT EANCOM messages. Ignoring the mystery of why a standard needs another standard (is that a substandard?), I am very confused about what to pass getTemplate for these messages.
The message contains the header (from UNH)
UNH+99999999999+ORDERS:D:96A:UN:EAN008’
The ORDERS part is clear, and the 96A is the UN standard. However, the EANCOM standards have different versions (97V4, for example) which used in the template collections. How do I get from the version information in the template to the version required by getTemplate other than hardcoding it. which is what currently happens.
Question 2:
The new messages are D01B EDIFACT messages (with EANCOM frills again). Where to SAP people go to get them - the newest thing on the SAP website is D01A, dated 2002, and the newest EANCOM stuff is 97V4.
Question 3:
Does anyone really get convertToValues to run without giving some kind of runtime error? (I am using Business Connector version 4.6, - with the EDI support pack - so maybe that’s why?. I’m not game to try to upgrade to 4.7 - enough wierd stuff happened when I put the EDI support pack in…) I have been getting NullPointerException, NoSuchMethodError, Index out of range - why? Doesnt say. What was it trying to do? Surely production-quality code should (a) not die like this and (b) say something about what was wrong? I’ve spend a day and a half trying to make it happy… Ungrateful…
I have inherited this system from someone else (now insane and under the protection of the state) and I notice that the mapping routines for the inbound documents ignore convertToValues and do it all by hand. I am trying to recode it properly, but no matter what I do, convertToValues dies. Does it do this in production systems too? I can imagine that the slightest variation in anything (document numbers get more digits, etc) would cause it to start mysteriously dying without any suggestions about the nature of the problem at all.
Question 4:
Adding insult to injury, Developer 4.6 gets slower and slower (eating 100% cpu) until eventually, the only thing to do is kill it and restart it every 20 minutes. I cannot find any reference to this in the groups, so perhaps I have done something wrong? (win2000, 750MHz, 512MB ram, 128MB for developer in the startup script.)
About Develper says this…
Developer Environment Settings:
Version: 4.6 (940 + CoreFix 5 [Fixes 1-12 + SP1&2])
Updates: BCD46_CoreFix5
SSL: Strong (128-bit)
Java Version: 1.3.1 (47.0)
Java Vendor: Sun Microsystems Inc.
Java Home: C:\program files\sapbc46\Developer\jvm
Classpath: C:\Program Files\sapbc46\Developer\updates\BCD46_CoreFix5.jar
C:\Program Files\sapbc46\Developer\lib\integrator.jar
C:\program files\sapbc46\Developer\jvm\LIB\RT.JAR
C:\program files\sapbc46\Developer\LIB\updateManager.jar
C:\program files\sapbc46\Developer\jvm\LIB\i18n.jar
C:\program files\sapbc46\Developer\LIB\client.jar
C:\program files\sapbc46\Developer\LIB\mail.jar
OS: Windows 2000
I must say that the code we have runs well and reliably (but then it doesn’t use convertToValues very much…) and all seems to go quite fast, but it is a right mongrel to maintain. Clearly, the Other Guy kept on taking evasive action in the code to get around problems and it just got more and more convoluted.
I appreciate you taking the time to read this far and thank you for any anwers that you might be abl
#webMethods#B2B-Integration#Integration-Server-and-ESB