How can we invoke web service without transport or port ??

This can possible if it requires for within the same process engine.

Specify the type of endpoint as LOCAL in service pallette config.

This type of endpoint provides a highly efficient way for local services to invoke each other without incurring the overhead of using a network transport(this is available to consumers within the same process engine)

Transport is MUST for SOAP specification.So in case of LOCAL this is the value for transport  "http://schemas.xmlsoap.org/soap/http/"

This URI value " http://schemas.xmlsoap.org/soap/http " corresponds to the HTTP binding in the SOAP specification. Other URIs  indicate other transports (such as SMTP, FTP, etc.).

And after configuration of the service pallete ,this can inovoke by Partner Link Configuration (shared Resource) and Invoke Partner (activity)

Partner Link Configuration-->Partner Links-->service endpoint   here select endpoint which is configured in service pallette

process defenition "Partner" tab -->Partner Link here select this shared resource 'Partner Link Configuration'

In this process defention take "Invoke Partner" activity and  pass the inputs as required in input tab.

"Invoke Partner" activity configuration tab -->Partner and Opeartion drop downs are enabled By selecting the  'Partner Link Configuration' in process defenition "Partner" tab (beside the 'Process Variables' tab)
http://schemas.xmlsoap.org/soap/http corresponds to the HTTP binding in the SOAP specification. Other URIs  indicate other transports (such as SMTP, FTP, etc.).

We can Use Linux Commands in Windows with Cygwin

We can use the UNIX/LINUX commands and also run shell scripts in Windows.This can possible with Cygwin it is free software can download from site.

We can refer the bellow links for reference

Installing Cygwin/X

http://x.cygwin.com/docs/ug/setup-cygwin-x-installing.html

 or


http://www.howtogeek.com/howto/41382/how-to-use-linux-commands-in-windows-with-cygwin/

Cygwin Package List

http://cygwin.com/packages/

EMS scripting - How to execute a sequence of EMS commands

We can execute a sequence of EMS commands by writing a simple script file.
write EMS commands in txt file and save in location C:\tibco\ems\5.1\bin
Example script file is dev.scr and its content is

show queues
show topics


open command prompt and go to the location C:\tibco\ems\5.1\bin and run the below command, it will execute the EMS commands

C:\tibco\ems\5.1\bin>
tibemsadmin -server "tcp://localhost:7222" -user admin -password "" -script C:\tibco\ems\5.1\bin\dev.scr


just give the full path of the file with the extension(i.e C:\script.txt or C:\script.scr or C:\script.anything) in the command and run it.
Even if there is no file extension, it doesnt matter :-)...you just need to have a plain text file with all the ems commands.


Syntax of the command is

tibemsadmin -server <server-url> -user <user-name> -password  <password> -script C:\script.txt

Accessing password data type Global Variables in TIBCO ActiveMatrix BusinessWorks

For example, if project defined a global variable named 'dbpassword' and its data type is Password ,So then its value displays as * (Asterisk)  only,we can access " * " the value of the global variable with the following Java code:
 String password =   com.tibco.pe.plugin.PluginProperties.getProperty("tibco.clientVar.dbpassword");

Take one business process in designer and drog & drop the Java Code Activity and define a out parameter "Output" in configuration tab and write the below code 

 String password =   com.tibco.pe.plugin.PluginProperties.getProperty("tibco.clientVar.dbpassword");
 Output=password;


and run this process we can get the password value in Output parameter.

We must specify the full path for global variables contained in variable groups to access the variable’s value. Use the slash character (/) to separate each element in the path.
We can use the com.tibco.pe.plugin.PluginProperties.getProperty() method to retrieve any Java system property or global variables defined in a project.
Global variables are contained in Java System properties that are prefixed with tibco.clientVar.

BW Error: Call process input failed validation , BWENGINE-100067

Development of the project doesn't shown any error in validation for deployment.But this error could be caused by invalid runtime data.

Resolution:Please check the input mappings for the Call Process activity

BWENGINE-100067:Call process input failed validation
Role:errorRole

Category:BW-Core
Description:The input data passed to the Call Process activity did not conform tothe input of the called process


Resolution:Please check the input mappings for the End activity in the process that was called

BWENGINE-100068:Call process results failed validation
Role:errorRole

Category:BW-Core
Description:The process that was called returned results that were not expectedby the Call Process activity


  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP