Java Remote Call bps process implementation process run a simple example __java

Source: Internet
Author: User

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;

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.