Using your sample code and messages I would like to emulate a client side (jBuilder) process sending a message to a server (WebLogic). Can you provide a way to test this process?
• We need to generate a “virtual database” for the jBuilder side. • Run SampleX12DocumentHanlder passing the sample.output.840.1 file. Save the output as an xml file. This xml file will emulate a database on the jBuilder side. • On the jBuilder side • Take a look at FileConverter.java. We are going to use the logic in… case ‘w’: EDIXMLParser xmlp = new EDIXMLParser(); xmlp.parseFile(args[1]); xmlp.getEnvelope().validate(de); de.logErrors(); if (de.getErrorCount() == 0) { logr.info(“no errors”); env = xmlp.getEnvelope(); } • The call to EDIXMLParser will emulate building a x12 message from the virtual database ( the xml file above). • You’ll need to work with the statement env = xmlp.getEnvelope() to generate the X12 message to be passed to the AS2 sending process. To build the message use the following statement env.getFormattedText(Envelope.X12_FORMAT). This call generates a String object that is the X12 message. • Take the String object and pass it (somehow) to the AS2 process. • O
Related Questions
- Using your sample code and messages I would like to emulate a client side (jBuilder) process sending a message to a server (WebLogic). Can you provide a way to test this process?
- I currently generate Forms 6i Client Server and have no plans to upgrade. What are the implications if this message?
- In a client/Server situation is it OK to have multiple message routers running?