• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 397
  • Last Modified:

Calling another JPD in another EAR file

I am using WLI 8.1.4. Is it possible for a JPD to call another JPD which is deployed in another EAR file?
0
yongsing
Asked:
yongsing
  • 2
  • 2
1 Solution
 
lasanacCommented:
Actually the only way I did was to call it dynamically using the dynamic selector. And then add the location, url or directory address of the JPD that you want to use in the Dynamic Control Selectors in Process Configuration.  If you go to the documentation and search for Dynamic Selector it will talk you through it.  I hope this helps.
0
 
tyagsCommented:
What would be your requirement for doing so?
Ideally, you should be making a process control or exposing your JPD as  webservice in Application A and use this webservice to make a call from Application B.

If you just want to test it you can try making a http call to the JPD in application A from application B, the URL should be the something like
http://localhost:7001/MQControlWMUWeb/processes/process.jpd?.EXPLORE=.TEST that would be the same URL you get through test brwser but it is unsecure and normally this won't be allowed in production scenarios.

You should consider the first option if at all.

T.

0
 
yongsingAuthor Commented:
I did tried out successfully using lasanac's suggestion.

tyags, you seemed to say that it is not good practice to call a JPD in another application. Is that so?
0
 
tyagsCommented:
I am sorry, I did research about lasanac's answer. That's basically the same thing as what I metioned as web service call. Dynamic Selector is a past of service broker control, which is basically a web service control and so you have in fact accomplished the right way of doing it.
good to hear that you got it working and good job done by lasanac!
T.
0
 
lasanacCommented:
Thank you.  I appreciate that.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now