Calling a WD java Application URL from a wsdl at PI
Hi experts ,
we have a requirement where a wsdl at PI server should call a webdynpro java application , the URL of the application is given to PI Team, but they are unable to call my webdynpro java application , is there any standard way of doing this..
Regards
Govardan
are u sure this is your requirement?
pi is not suppose to call that url
wdj is supposed to be call by human via browser....
Similar Messages
-
How to call a WD JAVA application from a WD ABAP application
Hi experts,
Here I have two applications with me. One has been created through WebDynpro ABAP while the other one has been created through WebDynpro JAVA. Now i have to call upon the JAVA aplication from my ABAp application. In other words in need to integrate both the applications so as to have an easy navigation in between them.
In the whole process I need to take care that the data is not lost from both ABAP or JAVA side.
Please help me someone knows the solution.
Regards,
Kaustubh MaithaniHi,
Usally to run WebDynpro for Java Application, we get the Application URL.
If you want to call this WebDynpro Java Application from Webdynpro Abap, then create UI element like Link to Action or LinktoURL and give the url as WebDynpro for Java URL.
Regards,
Lakshmi Prasad. -
Can we call simple a java application from any one of this AS adapters
Can we call a simple java application from any one of this AS adapters?
Prakash
Message was edited by:
user629857You can achieve this using LiveCycle PDF Generator JAVA API. You can find required code here:
Adobe LiveCycle * Quick Start (SOAP mode): Converting a Microsoft Word document to a PDF document using the Java API
In parameters:
//Set createPDF2 parameter values
String adobePDFSettings = "Standard";
String securitySettings = "No Security";
String fileTypeSettings = "Standard OCR";
"Standard OCR" file type setting will run OCR on input pdf. In the code, instead of doc file provide a pdf file. Resultant pdf will be searchable PDF i.e OCRed PDF.
Feel feel to ask any further questions. -
Can we call a simple java application from ESB
Please let me know how this can be done by using a ESB. The application jar exists on the host server. How we can pass parameters etc and receive results from this application.
Any help will be greatly appreciated.
PrakashNot sure if I completely understand your question, but you can certainly try following ways:
- call your java application via WSIF. ESB with JAVA wsif is available in 10.1.3.3.1 only (it is not supported in 10.1.3.3 very well).
- you will have to include this jar file in server.xml or bpel/system/classes so that it is available to the SOA jvm.
- You mentioned it is simple java application, but if your java API has complex (object) input and output, you will need some work
HTH,
Chintan -
Calling Java application(forms) from Oracle/Developer
Hi
How can i call java application by using Oracle/Developer 10g. Pl. name the methods that i can use.
regards
TouseefIn Oracle a Java stored procedure is a program you write in Java to run in the server, exactly as a PL/SQL stored procedure. You invoke it directly with products like SQL*Plus, or indirectly with a trigger. You can access it from any Oracle Net client—OCI, precompiler, or JDBC.
Oracle provides a fully-compliant implementation of the Java programming language and JVM. Oracle Database Java Developer's Guide explains how to write stored procedures in Java, how to access them from PL/SQL(or developer), and how to access PL/SQL functionality from Java. -> http://download-uk.oracle.com/docs/cd/B19306_01/java.102/b14187/chfive.htm#BABGCGBG -
How to call a AWT java application from TELNET ?
Dear All,
I've created a java Application using AWT, can anyone advise how it could be called using TELNET.
Thanks in advance,
Best regards,
LanaAdditionally, multi-posted to the Java Mobile sub-forum of this OTN site, as well.
How to create a java application & call it from a PDA via TELNET
Your impatience is your issue, not anyone else's. -
Calling a running Java application
I am writing a Windows DLL which is loaded by a Java application. Usually the Java application calls DLL functions. But at some point, I need to call some method in the Java application (a callback notification). Please let me know how can I do this. I appreciate sample code. Thanks in advance.
-HarishHi,
You can do that with JNative.
You can look a sample source at http://jnative.cvs.sourceforge.net/jnative/JNativeCpp/CallBack.cpp?view=markup
Hope this will help you,
--Marc (http://jnative.sf.net) -
How to invoke ADF application URL from OAF?
Hi guru's,
We have a developed a custom ADF application using Fusion Middleware 11g.
We would like to integrate this ADF with existing EBS/OAF application.
We were able to invoke ADF URL from EBS responsibility with a special function type "ADFx" in R12.1.3.
Now we need to pass context/profile level parameters from EBS to external ADF application. Like logged in userId/RespId etc...
We are running ADF application also in same EBS DB and hence want to use same fnd_user/Resp concept in ADF.
Can anyone help me on how to pass these parameters like userId/RespId from EBS to ADF while invoking ADF application URL?
If we can append the values to ADF URL, we would be bale to parse them in ADF context. But, i am stuck at passing parameters from EBS.
How Can we invoke ADF URL from OAF page? is there any specific function available or is it just URL invoke?
Also, in OAF the logged in user session information is maintained in cookies(if i am correct), is there any way that we can pass the session level values from OAF to ADF?
Any help in this regard would be a great help!!!
ThanksMay be the following link will help you ->
http://www.oracle-latest-technology.com/2010/12/how-to-dynamically-open-external-url.html -
Can you call a SAP java Portal Service from the Dot Net code?
Is there a link to a document or snippet of code to call a customized Portal Service in a Dot Net code?
Hi Steve,
yes.,u can call a java portal service in .net.,the only thing what u need to do is to establish that portal service as web service and use that web service in ur code..
Regards,
Vinoth -
Java client generation from BPEL WSDL fails?
Hi -
I have developed asynchronous BPEL composite project and used input xsd as required.Deployed the same on em and took wsdl url.
In OSB project this WSDL from abve step is used as input for proxy service.Exported WSDL from this proxy and trying to create java client out of it.
In eclipse or OEPE if i load above wsdl and provide >generate webservice java client,it through exception saying 'root tag'(of our xsd) not define?
Can we generate Java client out of WSDL deployed and available on BPEL em?If so how?
Please assist..
Edited by: Anitha R on Jan 23, 2011 2:36 AMThis is fixed.We were able to generate the cient,namespace required for input message found missing.After udation it worked.
-
Calling Webdynpro Java Application from Webdynpro ABAP Application.
Hi,
We have developed one Application using Webdynpro Java and I m in need to call the Webdynpro Java application from Webdynpro ABAP.
Require Suggestions to acheive this.
Thanks In advance.
Reg,
Ajay.Dear Ajay,
Assuming that both your applications WDA & WDJ are in the portal & you don't have to pass any parameters to the WDJ application.
Write the following code on the action where you would call the WDJ application.
DATA:
lr_compcontroller TYPE REF TO ig_componentcontroller,
l_component TYPE REF TO if_wd_component ,
lr_port_manager TYPE REF TO if_wd_portal_integration ,
wa_navigation TYPE navigation.
lr_compcontroller = wd_this->get_componentcontroller_ctr( ).
l_component = lr_compcontroller->wd_get_api( ).
lr_port_manager = l_component->get_portal_manager( ) .
* The value inserted into the navigation-target field can be found in the Portal
* content administration tab of your portal. It is the ID or PCD Location field
wa_navigation-target = pcd. " Please provide the PCD Location of the WDJ Application here.
wa_navigation-mode = '0'. "0 = INTERNAL(same page) and 1 = EXTERNAL(new page).
CALL METHOD lr_port_manager->navigate_absolute
EXPORTING
navigation_target = wa_navigation-target
navigation_mode = wa_navigation-mode.
You can get the PCD from the Page properties of the WDJ application page in the Portal.
Hope it helps!
Warm regards,
Upendra Agrawal -
Calling java web dynpro from ABAP
Hi!!
I have a double problem!
First I want to call a java web dynpro application from ABAP. I managed to do it using :
call method cl_gui_frontend_services=>execute
exporting
document = url
exceptions
others = 1.
Where url is the java application url with parameters. It's working...
...but here comes the second problem : i need SSO So first solution is not sufficent.
Can anybody help?Ok looking for the solution i figure out that it won't be possible anyway, i need a first log to the portal in order to issue a logon ticket before any attempt of SSO authentication.
-
Invoking jvm from a java application
hello people,
i would like to run a java application 'B' from within another java application 'A'. i have a thread sub class that does this. it is given
below: (please pay attention to the run method)
import java.io.*;
import javax.swing.*;
public class InvokingThread extends Thread
private File n=null;
private JTextArea outputArea;
private String message="",action="";
private String pathToBin,errors,input,classpath;
private EvaluatorClient clientRef;
//initialize InvokingThread object
public InvokingThread(File name,String act,String path,String cp)
outputArea=new JTextArea(10,25);
outputArea.setEditable(false);
outputArea.setLineWrap(true);
n=name;
pathToBin=path;
classpath=cp;
action=act;
System.out.println((action.equals("compile"))?"compiling":"executing");
public void setClientRef(EvaluatorClient r)
clientRef=r;
//process action
public void run()
Process proce=null;
try
if(action.equals("compile"))
proce = Runtime.getRuntime().exec(pathToBin+"/javac "+n);
else if(action.equals("execute"))
proce = Runtime.getRuntime().exec(pathToBin+"/java "+classpath+" "+n); //run application
Thread.sleep(5000);
byte[] errorData = new byte[proce.getErrorStream().available()];
proce.getErrorStream().read(errorData);
byte[] inputData = new byte[proce.getInputStream().available()];
proce.getInputStream().read(inputData);
errors = new String(errorData);
input = new String(inputData);
System.out.println((errors.length()>0)?"error string"+errors:"no errors");
System.out.println((input.length()>0)?"input string"+input:"");
if (errors.length() == 0 & action.equals("compile"))
outputArea.setText("Compiled successfully");
if(clientRef!=null)
if(!clientRef.isTimeUp())
clientRef.toggleMenuItemState(4,true);
clientRef.toggleMenuItemState(5,true);
clientRef.compilationOutcome("success");
JOptionPane.showMessageDialog(null,new JScrollPane(outputArea));
else if (errors.length() != 0 & action.equals("compile"))
outputArea.setText("Compile Errors:\n" + errors+""+input);
if(clientRef!=null)
clientRef.compilationOutcome("failure");
JOptionPane.showMessageDialog(null,new JScrollPane(outputArea));
else if(action.equals("execute"))
if(errors.length() != 0)
outputArea.setText("Runtime errors:\n" + errors);
JOptionPane.showMessageDialog(null,new JScrollPane(outputArea));
else if(input.length()!=0 )
outputArea.setText(input);
JOptionPane.showMessageDialog(null,new JScrollPane(outputArea));
catch(Exception e)
e.printStackTrace();
System.out.println("thread awake,invoking thread terminating");
}//end run
The above code worked when i used it with the rest of my program.
as we can see the thread waits for 5 seconds before it reads the inputstream and error stream of the sub process returned by Runtime.getRuntime().exec(). But what happens after the thread terminates; i am unable to process subsequent runtime messages/exceptions from the application 'B'.
so my question goes thus: is there a way that my thread can continually listen to the error stream and input stream of the sub process while application 'B' is still running so as to process any messages returned by java form the application 'B' ? or is there a better way of doing what i set out to achieve i.e running a java application from within another java application
timiRuntime.getRuntime().exec("rundll32
url.dll,FileProtocolHandler
mailto:[email protected]&subject=Foo&body=Bar");yawmark, where do you get such information from? (in all seriousness :-) )
How (the hell) can you find out what args to pass to a program?
and is "FileProtocolHandler" a place-holder? if so what for?
thanks, :)
lutha -
Running the Batch Processor from a Java application (on schedule)
Hello,
I would like to run the Batch Processor (on schedule) from a Java application -- not from the Command Prompt.
To achieve that, I suppose I would need to call a certain function contained in engine/determinations-batch.jar, using perhaps the path to the config xml as an argument.
The trouble is that the OPA developer's guide doesn't mention it (or at least I didn't find it).
Could you help me out?
Thanks in advance.
RazvanRazvanSaftescu wrote:
Thanks Frank, but is there a way to identify this method and its syntax? I didn't find anything so far on the internet or on the dev's guide.
This is the Java main method for the determination-batch.jar file - so the main method has the syntax:
public static void main(String[] args)
args is an array of strings matching the command line arguments described in the OPA Developer's Guide topic "Configure the Batch Processor".
Regards,
Brad -
Running a java application from a java application
hello ,
please who knows how i can run a java application 'B' from inside another java application 'A' and get the error messages (if any) from the application 'B'how are you executing application B from application A? Please explain the java code you are using?
Maybe you are looking for
-
10.7.3 - 10.7.4 major issues
Finally I am able to ask for help. Yesterday, my computer went to sleep and didn't wake up. I was running 10.7.3. I rebooted, and found the cursor frozen in the left hand corner. I rebooted again, no change. Then I tried a Pram and also repaired perm
-
Adobe After Effects CC Font dictionary error then crashes.. HELP
I have recently installed adobe after effects CC and I cannot use it. I have a windows 7 pro 64 bit system. I get the following errors and have tried un- installing re-installing and deleting adobefnt files nothing seems to work at this stage. Anyone
-
How to add a Cover Page to an existing document
I have a Pages document created with a Word Processing template and with Facing Pages, page 1 beginning with the right page. All of the following Section breaks will begin with the right page as in a book. The space shown to the left of page 1 curren
-
Adobe CS6 "installer failed to initialize"
Have been installing CS6 manually across our site for about a week, suddenly the install has stopped working and I receive the following error; "We've encountered the following issues Installer failed to initialize. This could be due to a missing fil
-
Several (maybe 5%) of iTunes Matched songs on my iPhone do this... at EXACTLY 1/2 way through the song. EXAMPLE: At 2:25 of a 4:50 long song (Shania Twain - From This Moment) the next song in playlist (Taylor Swift - Tim McGraw) starts as the audio