property name="RelayToSupported" value="false" *****************PLS Help
HI,
When i change my FPR using SP3 5.7 studio (Process Was initially Developed using SP2 Studio), it adds a property called: "RelayToSupported"
<property name="RelayToSupported" value="true"/> or <property name="RelayToSupported" value="false"/>
to each of the BP method in XPDL file.
Any one know whats the property means ??
Is that going to impact,when i deploy into enterprise ?
It has something to do with existing instances ?
Thanks in Advance.
Is this causing an issue?
"relayTo" used to be necessary when customers were using input and display statements. When this property was added to one of these statements, the input or display did not tie up a thread at runtime.
I doubt you're using display or input statements (please don't use them for anything other than quick debugging) and you cannot use them when running the Engine on WLS.
Dan
Similar Messages
-
How to get all property names and values of an bean instance at runtime?
How can I get all property names and values of an bean instance at runtime?
(The class of the bean instance is dynamic and I can not know before I write the code .)Look at Class. It has a way to get at all public methods and attributes.
If you need to get to private attributes you can do what the Introspector does and expect the methods to follow the Bean pattern and pull the attributes out based upon that. Privates are all hidden from direct access but through the Bean Pattern they can be figured out. -
About checkbox and calculation with that value..pls help me ...
Hi, in my applet there are three checkboxes about food shape which is wanted to be selected by the user. The user will choose one of them and by his/her choice p and r values are set and i think its done by itemStateChange method. In this method using by if the p and r values are differently set because of users different 3 choice. But because the method is closed using }after writing it and before starting actionperformed method. In action performed method if button is pressed the calculation is done (if i would afford to write it in a true way). My question arises with usage of p and r values which is set in other first method and call it in next method and use it in calculation and making the calculation work. May be it is very easy to do it but not for me being at first step of programming. Thank u for all of ur interest. My codes are below:
import java.awt.*;
import java.awt.event.*;
import java.applet.Applet;
import java.text.*;
public class kenan extends Applet implements ActionListener, ItemListener {
DecimalFormat df=new DecimalFormat("0.####");
double p, r;
Panel satir1 = new Panel();
Label l1 = new Label("Asagidaki kutulara gerekli degerleri girip 'hesapla' butonuna basınız", Label.CENTER);
Panel satir2 = new Panel();
CheckboxGroup sekil = new CheckboxGroup();
Checkbox levha = new Checkbox("Levha", false, sekil);
Checkbox silindir = new Checkbox("Silindir", false, sekil);
Checkbox kure = new Checkbox("Kure", false, sekil);
Panel satir3 = new Panel();
Label yogunluk = new Label("Yogunluk");
TextField y = new TextField();
Label kalinlik = new Label("Kalinlik");
TextField dx = new TextField();
Label iletim = new Label("Iletim katsayisi");
TextField k = new TextField();
Label tasinim = new Label("Tasinim katsayisi");
TextField h = new TextField();
Label ilksicaklik = new Label("Baslangic sicakligi");
TextField tilk = new TextField();
Label cevresicaklik = new Label("Cevre sicakligi");
TextField tcevre = new TextField();
Panel satir4 = new Panel();
Button hesapla = new Button("Hesapla");
Panel satir5 = new Panel();
Label sure = new Label("Donma icin gecmesi gereken sure");
Label tdonma = new Label("t");
public void init(){
GridLayout appletLayout = new GridLayout(5, 1, 5, 5);
setLayout(appletLayout);
FlowLayout layout1 = new FlowLayout(FlowLayout.LEFT, 5, 5);
satir1.setLayout(layout1);
satir1.add(l1);
add(satir1);
FlowLayout layout2 = new FlowLayout(FlowLayout.LEFT, 5, 5);
satir2.setLayout(layout2);
satir2.add(levha);
satir2.add(silindir);
satir2.add(kure);
add(satir2);
GridLayout layout3 = new GridLayout(3, 2, 5, 5);
satir3.setLayout(layout3);
satir3.add(yogunluk);
satir3.add(y);
satir3.add(kalinlik);
satir3.add(dx);
satir3.add(iletim);
satir3.add(k);
satir3.add(tasinim);
satir3.add(h);
satir3.add(ilksicaklik);
satir3.add(tilk);
satir3.add(cevresicaklik);
satir3.add(tcevre);
add(satir3);
FlowLayout layout4 = new FlowLayout(FlowLayout.CENTER, 5, 5);
satir4.setLayout(layout4);
satir4.add(hesapla);
add(satir4);
FlowLayout layout5 = new FlowLayout(FlowLayout.CENTER, 5, 5);
satir5.setLayout(layout5);
satir5.add(sure);
satir5.add(tdonma);
add(satir5);
setBackground(Color.lightGray);
hesapla.addActionListener(this);
levha.addItemListener(this);
silindir.addItemListener(this);
kure.addItemListener(this);
public void itemStateChanged(ItemEvent event)
String command = (String) event.getItem();
if (command =="levha")
{double p = 1/2;
double r = 1/8;
if (command =="Silindir")
{double p = 1/4;
double r = 1/16;
else
{double p = 1/6;
double r = 1/24;}
public void actionPerformed(ActionEvent event)
{if (event.getSource()==hesapla)
{double q,d,ti,tc,ki,hc;
q = Double.valueOf(y.getText()).doubleValue();
d = Double.valueOf(dx.getText()).doubleValue();
ti = Double.valueOf(tilk.getText()).doubleValue();
tc = Double.valueOf(tcevre.getText()).doubleValue();
hc = Double.valueOf(h.getText()).doubleValue();
ki = Double.valueOf(k.getText()).doubleValue();
double buzE = 333707.99;
double x = r*(Math.pow(d,2));
double tsure = (q*buzE/(ti-tc))*((p*d/hc)+(x/ki));
tdonma.setText(String.valueOf(df.format(tsure)));
}First thing to fix is in itemStateChanged, use "equals" instead of "=="
if (command.equals("levha"))
else if (command.equals(...))
Second thing is:
double r = 1/2;is really telling Java the following:
int tempR = 0; //integer division of 1/2;
double r = (double) tempR = 0;Use:
double r = ((double) 1)/2; // or just use 1.0/2.0;-------------
Third thing is that your declarations of r and p in itemStateChanged hide the declaration of r and p in your kenan class. Just say:
r = ((double) 1)/2; // or "r = 1.0/2.0;"-------------
Try those three things, see what happens, and post the results. -
Custom component Search and Result view using value node :pls help
Hi Experts,
I am creating a Custom component with Search and Result view using value nodes.
This is the code I wrote in the Search button event handler method.
The data which gets in lv_search I need to put in lv_col .
Can somebody guide me for this.
Points will be awarded .
METHOD eh_onsearch.
DATA : lv_current TYPE REF TO if_bol_bo_property_access,
lv_search TYPE zcrm_orgstruct_search, "Search value node structure
lv_result TYPE zcrm_orgstruct_result, "Result value node structure
lv_col TYPE REF TO if_bol_bo_col.
lv_current ?= me->typed_context->search->collection_wrapper->get_current( ).
CALL METHOD lv_current->get_properties
IMPORTING
es_attributes = lv_search.
me->typed_context->searchresult->collection_wrapper->set_collection( lv_col ).
op_toresultview( ).
ENDMETHOD.
Regards,
LakshmiHi Lakshmi,
Could you please share with us how it was solved.
"CALL METHOD lv_current->get_properties
IMPORTING
es_attributes = lv_search."
Did you get any values in lv_search ?
Because while using value nodes for search view (which inherits from advance search controller class), the above method does not return any search values entered in the fields.
Please let me know how did you solve it.
Thanks & Regards
Vidhya -
Hi ,
My requirement is-
I have a region in the page which has 4 fields.Based on a condition I need to disable these fields.
For this I tried extending a VO and created a transient Boolean Attribute and kept a SPEL expression in Read Only property for these attributes so that if i set the value in the controller to true / false the fields will be enabled or disabled accordingly.
I extended the controller and wrote the below code.But it is not working as expected.PLSSSSSSSSSSSSSSSSS hELP.
HzPuiOrganizationProfileAMImpl aam = (HzPuiOrganizationProfileAMImpl)oapagecontext.getApplicationModule(oawebbean);
oawebbean.
//OAViewObject mreqVO = (OAViewObject) (HzPuiOrganizationProfileAMImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("xxHzPuiOrganizationProfilesVO");
// xxHzPuiOrganizationProfilesVOImpl xvo = (xxHzPuiOrganizationProfilesVOImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("xxHzPuiOrganizationProfilesVO");;
//xvo.getCurrentRow().getAttribute("DisableAttr");
xxHzPuiOrganizationProfilesVOImpl xvo = (xxHzPuiOrganizationProfilesVOImpl)oapagecontext.getApplicationModule(oawebbean).findViewObject("HzPuiOrganizationProfilesVO");
int i =xvo.getRowCount();
// throw new OAException("test "+String.valueOf(i),OAException.ERROR); -- HERE I GET THE COUNT AS 1
String rowReference = oapagecontext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
if(rowReference != null)
xxHzPuiOrganizationProfilesVORowImpl xxvorowimpl = (xxHzPuiOrganizationProfilesVORowImpl)aam.findRowByRef(rowReference);
xxvorowimpl.setDisableAttr(Boolean.FALSE); //setreadOnlyAttr(Boolean.TRUE);
throw new OAException("hi",OAException.ERROR);
RowSetIterator Iter = xvo.createRowSetIterator("DataIter");
Iter.setRangeStart(0);
Iter.setRangeSize(i);
Row row = null;
row = Iter.getRowAtRangeIndex(0);
row.setAttribute("DisableAttr",Boolean.TRUE);
//xvo.getCurrentRow().setAttribute("DisableAttr",Boolean.FALSE);
pls help me in solving the issue.
Thanks
RamyaHi,
Sample Method:
public void DeleteMeasurePeriods()
int fetchedrowcount;
RowSetIterator deleteIter;
OADBTransaction tr = getOADBTransaction();
PeriodsVORowImpl row=null;
PeriodsVOImpl mpvo=getPeriodsVO1();
fetchedrowcount=mpvo.getRowCount();
deleteIter = mpvo.createRowSetIterator("deleteIter");
deleteIter.setRangeStart(0);
deleteIter.setRangeSize(fetchedrowcount);
for(int i=0;i<fetchedrowcount;i++)
row= (PeriodsVORowImpl)deleteIter.getRowAtRangeIndex(i);
if()
row.setAttribute("DisableAttr",Boolean.TRUE);
else
row.setAttribute("DisableAttr",Boolean.FALSE);
deleteIter.closeRowSetIterator();
Regards
Meher Irk -
Pls help! Creating a new simple jsp iView...
Hi, I would like to create a totally new iView JSP project from scratch. I currently have NetWeaver and EP 6.0. This is what I have done so far on NetWeaver: <b>File > New > Project > Select Portal Application > click 'Next' > Type in Project name and root folder > click 'FINISH'</b>. Now, I think I have a project ready? I have some basic iView JSP code already. so now can someone provide me with detailed steps on what modifications and steps I need to make on my new project in order for my iView jsp to display on the EP 6.0? Any files like 'portalapp.xml' that I have to modify?
Thank you so much for your help,
Baggett.
What I know so far: I have looked at an example where I created one using an existing par. I know how to export .par file to EP 6.0, it's the steps before that I don't know. Thanks again.Hi, I think I found a little solution to my problem but now I have a new issue. I think I "solved" my problem by doing: <b>File > New > Project > Select Portal Application > click 'Next' > Type in Project name and root folder > click 'FINISH'. Now, I do:
File > New > Other > Portal Application > Create a new Portal Application Object > Select my Project > Portal Component/JSPDynPage (is this the 'easy' one to pick b/c it seems to update the portalapp.xml file, creates a jsp file (myFirstJSP.jsp) and bean for me) > I type in all the textfields for file name, package name, ... > click 'FINISH'. </b>
Is this a correct/good way of starting a JSP project(I don't really know what a JSPDynPage is)
Now I have a new issue. I open up myFirstJSP.jsp and NetWeaver highlights all the code (pasted below) in yellow and there is no error displayed:
<b><hbj:content id="myContext" >
<hbj:page title="PageTitle">
<hbj:form id="myFormId" >
</hbj:form>
</hbj:page>
</hbj:content></b>
So I try to paste this line into myFirstJSP.jsp: <b><%@ taglib uri="tagLib" prefix="hbj" %></b>and also paste this line onto portalapp.xml:
<b><component-profile>
<property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
</component-profile> </b>
Now, I get an error saying: <b>"JSP Parsing Error:File "/dist/PORTAL_INF/pagelet/tagLib" not found"</b>
Why is this? How can I fix it?
Thanks so much,
Baggett. -
How to print Field name with value of a Class object?
hi, In C#, I need to print a class field or property name with value without using reflection or string.join method.
For eg.
protected void Button1_Click(object sender, EventArgs e)
List<EmployeeInfo> obj = new List<EmployeeInfo>();
obj.Add(new EmployeeInfo { eid = 123 });
obj.Add(new EmployeeInfo { ename = "abc" });
Response.Write(obj.ToString()); // output must be => ename ="abc" , eid = 123
public class EmployeeInfo
public string ename;
public int eid;
It need to be resulted as follows automatically with property name and value :
ename ="abc" , eid = 123
It need to be resulted with good performance and simple way.You could override ToString method in EmployeeInfo class:
public class EmployeeInfo
public string ename;
public int eid;
public override string ToString()
return string.Format("ename =\"{0}\" , eid = \"{1}\"", ename, eid);
protected void Button1_Click(object sender, EventArgs e)
EmployeeInfo obj = new EmployeeInfo() { eid = 111, ename = "aaa" };
Response.Write(obj.ToString()); -
JWS not recognising the property when its value contains % character
Hi All,
We are seeing an issue with particular versions of Java Web Start like 1.5.0_15 and 1.6.0_06
The issue which we are facing is that Java Web Start is not recognizing the properties which contains % character.
For Example,.
<property name='user' value='chandra%'/>
<property name='version' value='1.1'</property>
<property name='sessionId' value='afg4l5n55%bn3'/>
<property name='cookie' value='abcdefghijk'/>
The properties with % character are not getting loaded
If I download the jnlp file, the property is there, if I choose show jnlp file in "javaws -viewer" it's not there.
This was working fine before we upgraded.
I would really appreciate if someone let me know whats happening.
Thanks,
Chandraacprasad wrote: We are seeing an issue with particular versions of Java Web Start like 1.5.0_15 and 1.6.0_06
I am not surprised, based on ...
>
For Example,.
<property name='user' value='chandra%'/>
<property name='version' value='1.1'</property>
<property name='sessionId' value='afg4l5n55%bn3'/>
<property name='cookie' value='abcdefghijk'/>
..this invalid snippet. I suggest that you, and every other person with a JNLP problem, to validate the JNLP against a DTD or XSD. Invalid JNLP files are acted on by the plug-in, usually, to some extent.. The problem is that the behavior may change from JRE version to version.
By the way, when posting code, or HTML or XML, it is usually better to use code tags by selecting the text and clicking the 'CODE' button above where you type.. E.G.
<property name='user' value='chandra%'/>
<property name='version' value='1.1'</property>
<property name='sessionId' value='afg4l5n55%bn3'/>
<property name='cookie' value='abcdefghijk'/>Edited by: AndrewThompson64 on Jun 5, 2008 12:16 PM -
Cannot launch J2ee server, pls help
I am not able to launch j2ee server. I have followed instructions in Installation
file and installed software in correct directories and have set up environment
variables in autoexec file as follows:
set J2EE_HOME=c:\j2sdkee1.3
set JAVA_HOME=c:\jdk1.3.1
set ANT_HOME=c:\ant
set PATH=%PATH%;%JAVA_HOME%\bin
When I try the command j2ee -verbose, it gives an error <bad command
or file name>. Could anyone pls help.
Thanks
SakinaYes, When I run path
it displays c:\j2sdk331.3\bin
I thought maybe J2EE does not support win98 but I read in this forum that
someone is able to run J2EE on win98 platform. I really don't know what to do. -
Help! Trouble with property name="jnlp.versionEnabled" value="true"/
Trouble with <property name="jnlp.versionEnabled" value="true"/> and file: protocol.
I can't get the versionEnabled flag to work with local file system URL's.
Here is code example (NanoHTTPD.java came from here -> http://elonen.iki.fi/code/nanohttpd/) :
C:\test>dir
Volume in drive C has no label.
Volume Serial Number is CCC7-E05D
Directory of C:\test
05/08/2008 10:08 AM <DIR> .
05/08/2008 10:08 AM <DIR> ..
05/08/2008 09:44 AM 109 hello.java
05/08/2008 09:57 AM 542 hello.jnlp
04/10/2008 09:52 AM 20,547 NanoHTTPD.java
3 File(s) 21,198 bytes
2 Dir(s) 26,610,700,288 bytes free
C:\test>type hello.java
public class hello
public static void main(String[] args)
System.out.printf("Hello world\n");
C:\test>type hello.jnlp
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="6.0+" codebase="http://localhost/" >
<!-- codebase="file:///C:/test" -->
<!-- codebase="http://localhost/" -->
<information>
<title>hello</title>
<vendor>hello</vendor>
<description>hello</description>
</information>
<resources>
<j2se version="1.6" />
<property name="jnlp.versionEnabled" value="true"/>
<jar href="hello.jar" version="1.0" />
</resources>
<application-desc main-class="hello"/>
</jnlp>
C:\test>javac NanoHTTPD.java hello.java
Note: NanoHTTPD.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: NanoHTTPD.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
C:\test>jar cvf hello__V1.0.jar hello.class
added manifest
adding: hello.class(in = 459) (out= 299)(deflated 34%)
C:\test>start java -cp . NanoHTTPD
C:\test>javaws http://localhost/hello.jnlpjava console output :
Java Web Start 1.6.0_10-beta
Using JRE version 1.6.0_10-beta Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\4381
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
Hello worldchange hello.jnlp, jnlp start element to this:
<jnlp spec="6.0+" codebase="file:///C:/test" >
javaws hello.jnlpjava console output:
Java Web Start 1.6.0_10-beta
Using JRE version 1.6.0_10-beta Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\4381
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
#### Java Web Start Error:
#### helloStacktrace in detail :
Detail ST:
java.lang.ClassNotFoundException: hello
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)Take version out of file name:
C:\test>move hello__V1.0.jar hello.jar
C:\test>javaws hello.jnlp
java console output:
Java Web Start 1.6.0_10-beta
Using JRE version 1.6.0_10-beta Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\4381
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>
Hello worldThe short answer is that e4x XML rocks!
Beyond that, consider that you are sending xml to Flex. For
any format other than e4x, Flex has to convert the xml into that
format. The precise algorithms Flex uses for this are not obvious
or published. This is why I have never liked using mx:Model. It
converts the xml into nested objects, but i have never been
comfortable predicting exactly what the resulting structure will
be.
Once you get an e4x xml node identified (toXMLString()), you
CAN predict exactly whate the data you want is going to be because
there is no conversion. And I and just very comfortable with xml.
Tracy -
Pls Help :JTable Double Value Editing Problem
hi friends
as i am new to swings and Jtable pls help me if u can.
in the code copied below when i start putting value into the Double column of JTable
a ( .0 ) is appended at the end which is undesirable it should be like that only when the value is
something like 22.99 and also i want to limit the double value's fractional part to be limited to 2 digits only.
if this can be done in my Table model itself so that it will work everywhere i use this model
Pls tell me what exactly do i need, a custom Cell Editor or Cell Renderer. and whether can i do it in the
Table Model Defination class or whether i can only do it on the Jtable only.
guys its so confusing.pls help
if anyone can send a sample code for achieving this it would be of great help
import java.awt.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.table.*;
import java.text.*;
public class TableProcessing extends JFrame implements TableModelListener
JTable table;
public TableProcessing()
String[] columnNames = {"Item", "Quantity", "Price", "Cost"};
Object[][] data =
{"Bread", new Integer(1), new Double(1.11), new Double(1.11)},
{"Milk", new Integer(1), new Double(2.22), new Double(2.22)},
{"Tea", new Integer(1), new Double(3.33), new Double(3.33)},
{"Cofee", new Integer(1), new Double(4.44), new Double(4.44)}
DefaultTableModel model = new DefaultTableModel(data, columnNames);
model.addTableModelListener( this );
table = new JTable( model )
// Returning the Class of each column will allow different
// renderers to be used based on Class
public Class getColumnClass(int column)
return getValueAt(0, column).getClass();
// The Cost is not editable
public boolean isCellEditable(int row, int column)
if (column == 3)
return false;
else
return true;
table.setPreferredScrollableViewportSize(table.getPreferredSize());
JScrollPane scrollPane = new JScrollPane( table );
getContentPane().add( scrollPane );
* The cost is recalculated whenever the quantity or price is changed
public void tableChanged(TableModelEvent e)
if (e.getType() == TableModelEvent.UPDATE)
int row = e.getFirstRow();
int column = e.getColumn();
if (column == 1 || column == 2)
int quantity = ((Integer)table.getValueAt(row, 1)).intValue();
double price = ((Double)table.getValueAt(row, 2)).doubleValue();
Double value = new Double(quantity * price);
table.setValueAt(value, row, 3);
public static void main(String[] args)
TableProcessing frame = new TableProcessing();
frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
frame.pack();
frame.setLocationRelativeTo( null );
frame.setVisible(true);
}thank in advance
jagsNo.
But further to this try:
public class MyCustomRenderer extends javax.swing.table.DefaultTableCellRenderer
private java.text.DecimalFormat FORMAT_DOUBLE;
public MyCustomRenderer()
FORMAT_DOUBLE = new java.text.DecimalFormat("#, ##0.00");
public java.awt.Component getTableCellRendererComponent(javax.swing.JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
//NB! you could also set foreground/background here to indicate positive/negative values...
if(value.getClass().equals(Double.class))//is this a double?
double d = ((Double)value).doubleValue();
d = (Double.isNaN(d)||Double.isInfinity(d))?0:d;
this.setText(FORMAT_DOUBLE.format(d));
else//not a double so let's toString() it...
this.setText(""+value);
}then, using code pasted above, specify a new instance of this class as the default renderer in your
table.....
:) -
Help in retrieving the element attribute name and value..
Hi have to retrieve the attribute name and value from the element.....
requirement is like this
<ws:GetRightNowProductViewByDivisionResponse xmlns:ws="http://ws.sage.co.uk/">
<ws:GetRightNowProductViewByDivisionResult ProductID=" " RightNowProductView=""/>
</ws:GetRightNowProductViewByDivisionResponse>
i should get all the element attbutes names as attributes in above mentioned format ..using xquery...
here is the respone ....
<sage:sageRequestResponse xmlns:sage="http://www.sage.com">
<env:EaiEnvelope xmlns:env="http://www.sage.com/Envelope">
<env:Domain>string</env:Domain>
<env:Service>RightNowBroker</env:Service>
<env:UserId>string</env:UserId>
<env:OperationName>GetRightNowProductViewByDivision</env:OperationName>
<env:Payload>
<ws:GetRightNowProductViewByDivisionResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.sage.co.uk/">
<xs:schema id="NewDataSet" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="RightNowProductView" msdata:UseCurrentLocale="true">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="RightNowProductView">
<xs:complexType>
<xs:sequence>
<xs:element name="ProductId" type="xs:short"/>
<xs:element name="Product" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="4000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//RightNowProductView"/>
<xs:field xpath="ProductId"/>
</xs:unique>
</xs:element>
</xs:schema>
<diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1"/>
</ws:GetRightNowProductViewByDivisionResult>
</env:Payload>
</env:EaiEnvelope>
</sage:sageRequestResponse>Hi
Just as an aside to the comments above, a scenario we see occasionally is where a desk provides an internal function (e.g. a helpdesk) and you really just want to get the name display (as seen on the handsets) onto the CAD display.
You can do this by doing a reverse lookup over HTTP against CUCM. There are a number of posts around, these should get you started :
https://supportforums.cisco.com/thread/2065114
https://supportforums.cisco.com/message/3024617
A couple of notes:
- It looks up against the directory, NOT the actual calling line. So you can add stuff to the directory to get external callers to show up by name, but should expect the unexpected when you have shared lines (e.g. multipel directory entries with one tel number for whatever reason)
- If you want to do different lookups (i.e. get names back in a different format, get the actual line display name from CUCM, or lookup elsewhere) then you would need to either:
1) Do it via SOAP or another technology from the UCCX script engine
2) Put in a small external web service to do the lookups and allow UCCX to query via simple HTTP
3) Use a DB for the numbers so you can read/write to it from UCCX and regularly update the data from wherever you like
Regards
Aaron HarrisonPrincipal Engineer at Logicalis UK
Please rate helpful posts... -
Passing values to BAPI's - pls help
Hi,
I have some datas in z-table, I want to pass that datas to IW31 tr-code. I collected all BAPI's and I need help about How to call and Pass the values through BAPI. Pls help me.....
Thanks in Advance,
SunilHi!
It is an easy working one for me... Depending on your customizing, please change the hardcoded parts, like order type, and so on...
*& Report Z_BAPI_ALM_ORDER_MAINTAIN_TEST *
REPORT z_bapi_alm_order_maintain_test.
DATA: it_methods LIKE STANDARD TABLE OF bapi_alm_order_method,
wa_methods LIKE LINE OF it_methods.
DATA: it_header LIKE STANDARD TABLE OF bapi_alm_order_headers_i,
wa_header LIKE LINE OF it_header.
DATA: it_operation LIKE STANDARD TABLE OF bapi_alm_order_operation,
wa_operation LIKE LINE OF it_operation.
DATA: it_text LIKE STANDARD TABLE OF bapi_alm_text,
wa_text LIKE LINE OF it_text.
DATA: et_numbers LIKE STANDARD TABLE OF bapi_alm_numbers,
wa_numbers LIKE LINE OF et_numbers.
DATA: gt_return LIKE STANDARD TABLE OF bapiret2.
START-OF-SELECTION.
METHODS SECTION
MOVE '1' TO wa_methods-REFNUMBER.
MOVE 'HEADER' TO wa_methods-objecttype.
MOVE 'CREATE' TO wa_methods-method.
MOVE '%00000000001' TO wa_methods-objectkey.
INSERT wa_methods INTO TABLE it_methods.
MOVE '1' TO wa_methods-REFNUMBER.
MOVE 'OPERATION' TO wa_methods-objecttype.
MOVE 'CREATE' TO wa_methods-method.
MOVE '%000000000010010' TO wa_methods-objectkey.
INSERT wa_methods INTO TABLE it_methods.
MOVE '1' TO wa_methods-REFNUMBER.
MOVE '' TO wa_methods-objecttype.
MOVE 'SAVE' TO wa_methods-method.
MOVE '%00000000001' TO wa_methods-objectkey.
INSERT wa_methods INTO TABLE it_methods.
HEADER SECTION
MOVE '%00000000001' TO wa_header-orderid.
MOVE 'D210' TO wa_header-order_type.
MOVE '2000' TO wa_header-planplant.
MOVE '19' TO wa_header-mn_wk_ctr.
MOVE '2000' TO wa_header-plant.
MOVE 'CUV-SZV-CSUR-ATEM-I...' TO wa_header-funct_loc.
MOVE '' TO wa_header-equipment.
MOVE '' TO wa_header-material.
MOVE 'SAMPLE TEXT HEADER' TO wa_header-short_text.
INSERT wa_header INTO TABLE it_header.
OPERATION SECTION
MOVE '10' TO wa_operation-activity.
MOVE '' TO wa_operation-sub_activity.
MOVE '' TO wa_operation-standard_text_key.
MOVE 'SAMPLE TEXT OPERATION' TO wa_operation-description.
MOVE '' TO wa_operation-vendor_no.
MOVE 3 TO wa_operation-quantity.
MOVE 'KG' TO wa_operation-base_uom.
INSERT wa_operation INTO TABLE it_operation.
REFRESH et_numbers.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = it_methods
it_header = it_header
IT_HEADER_UP =
IT_HEADER_SRV =
IT_HEADER_SRV_UP =
IT_USERSTATUS =
IT_PARTNER =
IT_PARTNER_UP =
it_operation = it_operation
IT_OPERATION_UP =
IT_RELATION =
IT_RELATION_UP =
IT_COMPONENT =
IT_COMPONENT_UP =
IT_TEXT = it_text
IT_TEXT_LINES =
EXTENSION_IN =
RETURN = gt_return
et_numbers = et_numbers
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
CHECK GT_RETURN FOR POSSIBLE FAILURES
Regards
Tamá -
I cannot download firefox. I own the puter. I am the adminis-trator. I never gave it a password. It will not let me run as administrator or as my name. pls help. The "run as pop-up box says: You may not nave the necessary permissions to use all the features of the program you are about to run. You may run this program as a different user or continue to run the program as the current user. Un-filled circle:Current User (HpDV6)Annie Erker. Filled-in circle:Run this program as the following user: User Name(prepopulated):Administrator. Password; OK; cancel
Sounds like then maybe a "friend" got hold of your phone and set a SIM card password. Not much you can do if that is the case if you do not know the password except go to your carrier and request a new SIM card.
-
I want parameters with f4 help for program names in value request
I want parameters with f4 help for program names in value request
points will be awarded if usefullv_name1 TYPE name1, "Vendor Name
CALL FUNCTION 'POPUP_TO_SEARCH_VALUE'
EXPORTING
textline1 = 'Vendor Name'(f09)
titel = 'Enter'(f17)
valuelength = 35
IMPORTING
value = lv_name1.
try this out ..
Maybe you are looking for
-
I know how to physically install it i just need help with the software part. and my current hard drive is backed up on my time machine. The MBP is running mountain lion
-
Create user/schema is script, then tables for that user/schema
Hi; First off, if I phrase this a little wrong - I'm from the Sql Server world and still trying to totally understand Oracle. I have a schema (.sql file) that creates my database fine. But what I would liek to add to the .sql schema is for it to crea
-
Installed Yosemite. QT Has Question Mark When I launch An Inbedded Video
iMac - recently installed Yosemite I have videos embedded on the site Actors Access. I always use Safari. All the videos except the latest one that was upload through Actors Access work fine. The last one uploaded when previewed launches the box with
-
Upgrading with QTM Reading/Looking for Plug-In Folder
I am upgrading my QTM Reader to hopefully solve my dropped frames issue, but I am having trouble finding the plug-in folder inside of my FCP application folder. FCP simply opens when I click on it, I can't seem to find any type of folder assoicated w
-
Is it possible to use the microphone dictation in windows based program?
Is it possible to use the microphone dictation in windows based program? I have tried dictating into Pages and copying and pasting, but the Windows based (Allscripts EHR) recognizes only the first attempt to copy and paste. Any future copying results