How to call BOMUIPrimaryPage using configurator extension
Hi
I am new to the configurator. I am working on the following requirement.
From the Standard guided sales ui ( OA.jsp?page=/oracle/apps/cz/runtime/oa/webui/pages/CZMainPage) we have to call the (OA.jsp?page=/oracle/apps/cz/runtime/oa/webui/pages/BOMUIPrimaryPage) when user will click a custom button.
I have created the custom button using configurator extension which is using the java class.
Issue - I need to know how to call the OA.jsp?page=/oracle/apps/cz/runtime/oa/webui/pages/BOMUIPrimaryPage page from the java class.
If any one is having sample code please pass it to me.
Thanks in advance.
Kausik
The basics are to have your Server listen to port 21.
You would then have to parse the request information to determine what is being asked for and generate an appropriate response.
Similar Messages
-
How to call the Application configuration in run time.
hi guru,
i have created two Application configuraton and it working fine.
my question how to call the application configuration in run time.
Example :
Based on the user i want to change the Application Configuration.like Super user and Normal user.
Advance thank's
Regard's
Vivekanathan.SHi,
Please try out this way-
Have a look at this table -
WDY_CONF_APPLU - (Customizing Data for Web Dynpro Applications).
after you are done with the configuration--
Ge the config id for the given application from this table. And depending on the user get an entry from this table and display accordingly.
Please refer to these links -
different default layouts for different CONFIG_IDs
Get WDCONFIGURATIONID
Regards
Lekha -
How to call serlvet using ftp protocal
Hai,
How to call servlet using ftp protocal . if any one having please send that program . because generic servlet will receive any protocal request .The basics are to have your Server listen to port 21.
You would then have to parse the request information to determine what is being asked for and generate an appropriate response. -
How to call webservice using jdev9i
Hi gurus and experts,
i need to consume a webservice using oaf. with great effort finally i created stub using axis s/w.
now i dont know how to use the stub in jdev.where to write the code and what to write.iam strucked :-( .
since there were no sample tutorial about how to call webservice from jdev9i, iam struggling to make.iam jus a starter.
and while googling i came to know that stubs can be created using jdev9i .but when i see new-->webservices--web service stub it is greyed out.
i have 2 questions now:
1)if stub created using axis can it be used in jdev9i? if yes ,please tell me how? any tutorial links also helps me.
2)if the stubs should be created only by jdev9i so that webservices can be called using jdev,then please guide me how to make it.
i need some helping hands from u guys.
Thanks a lot
Edited by: 881533 on Oct 25, 2011 2:34 AM
Edited by: 881533 on Oct 25, 2011 2:37 AMHello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
How to Call Webservicer using Visuval composure Ce 7.1 server
Hi ,
We are created in ABAP , they r exposed in WSDL , if i have to call That web services using visuval composure please ASAP can u send , how to call WSDL In CE 7.1 Serve
Thnks & Regards,
SureshHi
you can try this links:
http://help.sap.com/saphelp_nwce10/helpdata/en/9f/9985f72084483cb316a3c2322fb090/content.htm
(here look for the therm Creating Web Service Physical Destinations that points to :
http://help.sap.com/saphelp_nwce10/helpdata/en/45/635dd614d73bdbe10000000a1553f7/content.htm
best regards,
v s
Edited by: v s on Dec 4, 2008 12:22 PM -
How to call forms using Hierarchical Tree in Forms 10g?
I know how to call forms from menu that attached to a top form.
I would like to call forms using Hierarchical Tree. Does any one know how where I can find some instructions on using Hierarcical Tree to call other forms? Any discussion is welcome. Thanks.Thanks to Francois.
The exampe with clear instructions and I can build tree that calls forms now.
I add a OPEN_FORM statement in WHEN-TREE-NODE-ACTIVATED trigger
Declare
LN$I Pls_integer ;
Begin
:Ctrl.Node_Activated := Ftree.Get_Tree_Node_Property('BL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
If :Ctrl.Node_Activated IS NOT NULL Then
Set_Alert_Property( 'AL_CALL_FORM', ALERT_MESSAGE_TEXT, 'Calling module : ' || :Ctrl.Node_Activated ) ;
LN$I := Show_Alert( 'AL_CALL_FORM' ) ;
open_form(:Ctrl.Node_Activated);
End if ;
End ;
Or call physical form path by:
open_form('c:\tree\'||:Ctrl.Node_Activated ||'.fmx');
I enter the VALUE of MENU as the Form fmx name and it works very well.
Thanks so much. -
How to call webservice using flex?
Hello,
i want to call webservice in flex.i tryied following code.but it is not giving correct response.what is wrong with this code?
can anybody tell me ,how to call webservice in flex?
Code:
<mx:Script>
<![CDATA[
public function button1_clickHandler(event):void
ws.returnRecord(para1,para2);//i am sending two parameter to returnRecord service here
public function remotingCFCHandler(event:ResultEvent):void
trace(event.result);
]]>
</mx:Script>
<mx:WebService
id="ws"
wsdl="http://localhost:8500/flexapp/returnusers.cfc?wsdl">
<mx:operation name="returnRecords" resultFormat="object"
fault="mx.controls.Alert.show(event.fault.faultString)"
result="remotingCFCHandler(event)"/>
<mx:Button label="Go" fontWeight="bold" click="button1_clickHandler(event)"/>Hello sir,
i got following reply:
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Error_request</returnResult>
</returnRecordResponse>
but correct response is
<returnRecordResponse xmlns="http://xyz" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<returnResult>Success</returnResult>
</returnRecordResponse>
can you tell me correction in the code which i have put on the forum?or tell me other way to call webservice? -
How to call RFC using EJB module.
hi,
I want to call the RFC using EJB module in java. how to do it.
if someone having the code plz post it.
regards,
Shanthakumar./***Start of JRA specific code***//
// Retrive connection factory
InitialContext initialcontext = new InitialContext();
connectionfactory = (ConnectionFactory) initialcontext.lookup("java:comp/env/ConnFactory");
//Request a connection handle:
connection = connectionfactory.getConnection();
//Create a RecordFactory object to get a metadata description
// of the RFC SALERT_CREATE
RecordFactory recordFactory = connectionfactory.getRecordFactory();
// Create Record objects containing all
// necessary information about the RFM.
MappedRecord input = recordFactory.createMappedRecord("SALERT_CREATE");
//Fill in the import parameters and the import table structure data here
input.put("IP_CAT", "ALRT_CAT"); // alert category
// Refer to the SW_CONT structure of the table of RFC SALERT_CREATE
ResultSet inputITContainer = (ResultSet) input.get("IT_CONTAINER");
int tabIndex = 0;
inputITContainer.moveToInsertRow();
inputITContainer.updateString("ELEMENT", "CONT_1");
inputITContainer.updateString("TAB_INDEX", "" + tabIndex++);
inputITContainer.updateString("ELEMLENGTH", "250");
inputITContainer.updateString("TYPE", "C");
inputITContainer.updateString("VALUE","Container_1 value");
inputITContainer.insertRow();
inputITContainer.moveToInsertRow();
inputITContainer.updateString("ELEMENT", "CONT_N");
inputITContainer.updateString("TAB_INDEX", "" + tabIndex++);
inputITContainer.updateString("ELEMLENGTH", "250");
inputITContainer.updateString("TYPE", "C");
inputITContainer.updateString("VALUE","Container_N value");
inputITContainer.insertRow();
interaction = connection.createInteraction();
// execute the call with the input parameters.
interaction.execute(null, input);
}catch(Exception e){
// Error handling code goes here
}finally{
try {
if (interaction != null)
interaction.close();
if (connection != null)
connection.close();
} catch (Exception ignored) {
// Do nothing
// Pass on module data to the next module in chain, unaltered
return moduleData; -
How to call webservice using java client
Hi,
I am new to webservice related stuff.Can any body help me.
How can i call the webservice using simple java programing using jdeveloper tool is very useful for me.
Thanks
venujuser10394151 wrote:
Hi,
I am new to webservice related stuff.Can any body help me.
How can i call the webservice using simple java programing using jdeveloper tool is very useful for me.
Thanks
venujTry this simple webservice client.
You will need apache-axis.jar in your classpath. The following client is apache axis based. A similiar client can be built also using the JAX-WS only[without apache-axis.jar].
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import javax.xml.namespace.QName;
public class WEBSERVICE_CLIENT{
public static void main(String [] args) {
try {
String endpoint ="<YOUR WS ENDPOINT>";
Service service = new Service();
Call call = (Call) service.createCall();
// YOU CAN SET VARIOUS PROPERTIES IN THE "CALL" OBJECT...LIKE
// USERNAME,PASSWORD,PROPERTIES OF HTTP HEADER. SEE "CALL" OBJECT'S API FOR MORE PROPERTIES.
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName(new QName("<YOUR WS SERVICE NAMESPACE>", "<WS SERVICE TO BE INVOKED>"));
String msg = (String) call.invoke( new Object[] { "data" } );
System.out.println("RETURNED MESSAGE : "+msg);
} catch (Exception e) {
System.err.println(e.toString());
} -
[Win Ill 10] How to Call Javscript using Plugin code?
Hi All,
IDE:Microsoft VC++ 6.0
Illustrator :Version 10
I want to call a javascript from Vc++ code using SDK .I found a sample code to do this in "ASScripting.h" header.
Here is the code:
How to use the Scripting suite:
/*To execute a JavaScript script inside a host application, you must acquire
and use a JavaScript engine instance.
A typical use of the engine:*/
ASJavaScriptEngineRef jsEngineRef = NULL;
ASAPI err = kSpNoError;
err = sScriptingSuite->CreateJavaScriptEngine( &jsEngineRef );
if ( err == kSPNoError )
const char scriptText[] = "documents.add();" // Script to create a new document
const char * result = NULL;
err = sScriptingSuite->ExecuteJavaScript( jsEngineRef, scriptText, &result );
if ( err == kASScriptExecutionError )
// If error during execution, display a dialog containing returned error information string.
ErrorAlert( result );
err = sScriptingSuite->DeleteJavaScriptEngine( jsEngineRef );
jsEngineRef = NULL;
But this does not work!I think the "CreateJavascriptEngine" method fails to work.Pls advice on this.Any help is highly appreciated.
Regards
myRiazAh, Illustrator 10? I'm afraid I can't help you then, there isn't an ASScripting.h header anymore, at least not in the CS3 SDK (nor in the CS2 SDK I believe).
If you're trying to use it in AI10 or CS it should still work I think. Beyond that, I have no idea. I'm not sure what the replacement is supposed to be. -
How to call webservices using soap in xi
Hello
I am tring to work on webserivces,bascially i am not having any knowledge on webservices,i have seen the documentation & i know how to configure soap adapter & how to define webservice in integration directory.can any one please help me out how to work with webservices & good documentation on webservices & soap.
Thanks
RajeshHi Rajesh,
Use server(tomcat server) or plain html coding for defining webservices....
check sample webservice coding
Purchase Order Web Application
dispDate(0)
Purchase Order Input Parameters:
Document Type:
Standard PO
Vendor Number:
Purchase Order Date:
Purchasing Material:
Delivery Date:
Quantity:
NetPrice:
Unit of Measurement:
PCs
PriceUnit:
Results:
/code
And gothrough the following weblogs which will be useful...
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
/people/thomas.jung3/blog/2005/06/05/web-services-the-case-of-the-missing-soap-action-header
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Hope u get some idea...
Regards,
Sridhar
Message was edited by: sridhar reddy kondam -
How to call pakage using Unix script
Hi,
I have created one package in Oracle(contains2 funcation and 4 procedure) which is in in xxx14database.
Now i can execute the package and its working fine at database level.
As per requirement ,i need to create on Unix script to trigger the package.
I have no idea how to create the Unix script to execute the package.
The Unix script need to created in xxxx001 Server.
Can anyone please let me know the template or any link which I can refer to create the same.
Or anyway i can create a script/batch on window and test first in my laptop and use the same script for my project work with required modification
Secondly the application owner asked me to give them both database and Unix script to them so that their database team will test the Package which i developed.
Database script meand the Package body and spec i should save as file.pkb format and send them or i can save them in .sql file and send them
Thanking you all in advance please help its urgent.Now that you know how to do it ... reconsider whether doing so is a good idea.
There is almost nothing you can do calling from a shell script that can't be done more easily from DBMS_SCHEDULER other than compromise security. Shell scripts connecting to the database are, as shown in the demo code, inherently insecure and, if you get enough of them, make it difficult to cycle passwords on a regular basis. -
How to call javascript using applescript in InDesign cs2 Mac
Hi,
I need to integrate javascript with my apple script??? how to use it???please help me...i need it immediately..........Hi Andrew,
Here is an example for you – a snippet from my script:
global myBridgeLabel
-- function that runs on clicking the button in adobe script studio project
on clicked theObject
if name of theObject is "b1" then
set processName to "Started working"
set myBridgeLabel to "Red"
set myLabel to 1
else if name of theObject is "b2" then
set processName to "Started doing this"
set myBridgeLabel to "Green"
set myLabel to 2
else if name of theObject is "b3" then
set processName to "Started doing that"
set myBridgeLabel to "Yellow"
set myLabel to 3
else if name of theObject is "b4" then
set processName to "Finished doing this"
set myBridgeLabel to "Blue"
set myLabel to 4
else if name of theObject is "b5" then
set processName to "Finished doing that"
set myBridgeLabel to "Purple"
set myLabel to 5
end if
tell application "Adobe InDesign CS2"
set mydocument to active document
set myDocumentPath to full name of mydocument
set workerName to "Kasyan"
tell metadata preferences of mydocument
set theDate to current date
set myWeekday to weekday of theDate as string
set myDenNedeli to my convertWeekday(myWeekday)
set myRecord to (processName & " – " & workerName & " – ") & myDenNedeli & " " & text 1 thru -4 of time string of theDate & " \r"
set myHistory to get property namespace "http://ns.adobe.com/photoshop/1.0/" path "History"
set property namespace "http://ns.adobe.com/photoshop/1.0/" path "History" value myHistory & myRecord
end tell
set myJavaScript to "var myLabel =\"" & myBridgeLabel & "\"; app.activate(); var bt = new BridgeTalk; bt.target = \"bridge\"; myScript = 'app.displayDialogs = \"none\"; var t = new Thumbnail (File (\"" & myDocumentPath & "\")); var mdata = t.metadata; mdata.namespace = \"http://ns.adobe.com/xap/1.0/\"; mdata.Label = \"' + myLabel + '\";'; bt.body = myScript; bt.send();"
do script myJavaScript language javascript
In this javascript I use pares of single and double quotes.
The main java script – myJavaScript – (inside double quotes) contains another java script – myScript – (inside single quotes) which runs in Bridge via BridgeTalk.
I also put variables from AppleScript into JavaScript by using two pares of double quotes – the outside pare I escape with slashes:
set myBridgeLabel to "Red" -- a variable I defined in AppleScript
set myJavaScript to "var myLabel =\"" & myBridgeLabel & "\"; app.activate();
-- the contents of myBridgeLabel variable now becomes part of the JavaScript
Kasyan -
How to call webservice using standalone application
Hi,
Actually i am trying to connect with one free webservice using client. but i am uanble to get the result and it is throwing the Exception.Exception is Execution failed. Exception: java.net.ConnectException: Connection timed out: connection reset
i am using the following code.
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import org.apache.axis.encoding.XMLType;
import org.apache.axis.utils.Options;
import javax.xml.namespace.QName;
import java.io.*;
public class AddFunctionClient {
public static void main(String [] args) {
try {
String endpoint = "http://www.startvbdotnet.com/web/sample2.asmx?wsdl";
System.setProperty("http.proxyHost", proxyHost);
System.setProperty("http.proxyPort", portNumber);
Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpoint) );
call.setOperationName(new QName(endpoint, "add"));
System.out.println("connected");
System.out.println("value is"+call.invoke(new Object[]{new Integer(10),new Integer(20)}));
} catch (Exception e) {
System.err.println("Execution failed. Exception: " + e);
can any one help on thisHi,
If your JAVA Application is Web based application, you can expose it as Webservice.
JAVA People will pick the data from Dbase using their application and will send the data to XI by using our XI Details like Message Interface and Data type structure and all.
So we can Use SOAP Adapter or HTTP in XI..
If you use HTTP for sending the data to XI means there is no need of Adapter also. why because HTTP sits on ABAP Stack and can directly communicate with the XI Integration Server Directly
If you are dealing with the Webservice and SAP Applications means check this
Walkthrough - SOAP XI RFC/BAPI
REgards
Seshagiri -
How to call and use xml data on UI LineChart using HTTPservice
i want to make the LineChart component in the UI to get xml Array data from an URL (as example: http://localhost/ECG/Array) and view the data as a waveform. can anybody help me with this ??
If you are saying that your XML is stored in a table, I'm not sure there is any method, using DAL or rule, that would know how to load XML from there. I can be wrong, but I think it has to load the XML from disk only - either as the extract file or as an external file referenced from the extract - using a Rule or DAL to go after the external file.
Perhaps you could clarify the situation a little more and someone might offer a suggestion.
Maybe you are looking for
-
Changing a parameter in a sprite behavior at runtime
I have a sprite that has a behavior on it. In the message window I type: ScriptListToUse = sprite("test").scriptList put ScriptListToUse results: -- [[(member 17 of castLib 2), "[#myButtonName "revealButton"]"]] I wish to change the button name
-
How to make JDev aware of the xmldb API
Hi everybody, I am a real beginner in Jdev, and I have to develop a Java Application using Oracle Java developer, against an XML-native database called eXist. I'll have to use a java API called xmldb supported by eXist in order to interact with the d
-
IPhoto 11 closes when I try to print after editing a photo
I can print a photo as it is in iPhoto 11 but if I edit a photo, example remove red eye, and then try to print iPhoto closes itself. I get the message that iPhoto closed unexpectedly. Anybody have a fix for this ?
-
I-tunes unknown error - NEED HELP :-)
My daughter's G3 just started to have problems with her itunes account. When she attempts to log on to her account or buy a song she gets "Itunes could not connect to the music store. An unkown error occurred (0x80011ob) make sure your network connec
-
From Stage3Image() to sRGB color space
I get my image this way dng_image* image = (negative->Stage3Image()); I have to manimulate with it and then I want to covtert it to sRGB color space. I tryed to do gamma 2.2 and white balance with white point from camera, but colors are still differe