Brief introduction: Slightly
2. Background: Slightly
3. Purpose: Self-study notes
4, the implementation process
(1), draw the flow chart as follows:
The conditional statement under the Routing Activity branch is a complex expression:
[Java] view plain copy (Account<200&&divisionresult.equals ("1") | | (Account>=200&&account<1000&&directorateresult.equals ("1")) | | (Account>=1000&&vcresult.equals ("1") &&directorateresult.equals ("1"))
(2) Publishing process
(3) Create a new Java project in Eclipse and introduce a BPS client-side-dependent jar package that can be used in:
Http://product.primeton.com/download/attachments/14911104/Primeton_BPS_7.5_API_Libraries.zip Download,
After the download decompression, right key item select Properties, and then the 3rd and bps two folders under the jar package into the new Remotebpsclient project.
(4) Create a uddi-address.xml in the SRC directory by creating a class bpsclient containing the main method (note that you want a package name).
Uddi-address.xml:
[HTML] View plain copy <?xml version= "1.0" encoding= "UTF-8"?> <uddi__address__list> <uddi__address id= "Default" > <name>localserver</name> < logicname>default</logicname> <type>remote</type> <description>uddi-config.xml at " work space" </description> <uddiHost>127.0.0.1</uddiHost> <uddiPort>8080</uddiPort> < uddiwebcontext>default</uddiwebcontext> <uddiuserid>bps</ uddiuserid> <uddiPassword>000000</uddiPassword> <uddiadminport>6200</uddiadminport> </uddi__address> </uddi__address__list>
Bpsclient Code: (Note: You must ensure that the process is defined correctly, the process has been submitted, the BPS server side is started) before the client code executes
[Java] view plain copy package com.bps.test;