The problem with the return to default settings.
HP Pavilion g6-2264sr
OS Win8
I accidentally deleted the recovery partition.
I do not have a recovery disc.
How do I get it back?
Hello larinandrey,
You will have to order recovery discs.
If you live in the US, contact HP Here.
If you are in another part of the world, start Here.
Please let me know if this helps.
Good luck!
↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓
Similar Messages
-
Saving the clusters as default settings
Dear all,
I am stuck in a small problem and need a bit of Help from you.
In
my application, i have a subVI which will take the necessary settings
from the user to run the program. These settings i want to store it in
a File(or in any other format) so that when the user restarts the
program, the saved settings gets updated on the Settings SubVI.
The Settings SubVI consists of Clusters which includes Radio Buttons, Enums, Rings, etc.
I am attaching the Front Panel Pic of the Settings VI.
Pls have a look at it and let me know how can i save these settings in an efficient way.
Thanks,
Ritesh
Solved!
Go to Solution.
Attachments:
Default Settings_FP.png 15 KBHi Mike,
Though Flatten and Unflatten to String works great if i store the data in a Text File.
But, its not giving the correct result when i am saving the same string ina Binary File.
I am atacing my code here. There are 2 clusters. The program first stores Cluster1 to the Binary File, and the reads the same file and O/P the data. The I/P data and the O/P doesnt match in this case .
Pls have a look at it and let me know whats the cause ?
Thanks,
Ritesh
Attachments:
Store data_Binary.vi 67 KB -
Problem with checkbox value and app.settings.getSetting()
Hello everyone.
I`ve got a problem with getting saved settings for checkbox.
Saved settings doesn`t apply on checkbox value.
It`s strange, but it always "true".
So here piece of code:
checkMe = 11; //any value for the first time running
if (app.settings.haveSetting("savea", "chck")) {
checkMe = app.settings.getSetting("savea", "chck"); // get saved value, else 11
alert("checkMe = "+checkMe)
if(checkMe == 11){
checkMe= false; //if there is no saved settings, checkbox value will be false/ unchecked
alert("You run this script first time, so manual value will be 'false'")
}else{
checkMe = app.settings.getSetting("savea", "chck"); // if saved settings exist, get true or false
alert("Yes, checkMe will = "+checkMe)
win.checkPanel.chkOne.value = checkMe; /// checkbox value will equal saved checkMe
var fff = win.checkPanel.chkOne.value; // string for alert
alert("aha! but checkbox value is = " +fff+ "\n Why so?") // here we`ve got always "true"
win.checkPanel.chkOne.onClick = function () {
var path11 = win.checkPanel.chkOne.value; // checkbox value to variable
app.settings.saveSetting("savea", "chck", path11); //saving checkbox value
alert("Saved this value - " + app.settings.getSetting("savea", "chck"))
win.checkPanel.chkOne.value is always true.
Can someone exmplain why and how to get rid of this static value?
P.S. just in case, here is full code:
function mainFun()
this.windowRef = null;
mainFun.prototype.run = function()
/*----- UI -----*/
var retval = true;
var win = new Window("palette", "Check option", [150, 150, 460, 455]);
this.windowRef = win;
win.checkPanel = win.add("panel", [25, 150, 285, 265], "Checkbox");
win.checkPanel.chkOne = win.checkPanel.add("checkbox", [10, 15, 125, 35], "Checkbox One");
//win.checkPanel.chkTxtOne = win.checkPanel.add('edittext', [140, 15, 230, 35], '');
win.quitBtn = win.add("button", [110,275,200,295], "Close");
checkMe = 11; //any value for the first time running
if (app.settings.haveSetting("savea", "chck")) {
checkMe = app.settings.getSetting("savea", "chck"); // get saved value, else 11
alert("checkMe = "+checkMe)
if(checkMe == 11){
checkMe= false; //if there is no saved settings, checkbox value will be false/ unchecked
alert("You run this script first time, so manual value will be 'false'")
}else{
checkMe = app.settings.getSetting("savea", "chck"); // if saved settings exist, get true or false
alert("Yes, checkMe will = "+checkMe)
win.checkPanel.chkOne.value = checkMe; /// checkbox value will equal saved checkMe
var fff = win.checkPanel.chkOne.value; // string for alert
alert("aha! but checkbox value is = " +fff+ "\n Why so?") // here we`ve got always "true"
win.checkPanel.chkOne.onClick = function () {
var path11 = win.checkPanel.chkOne.value; // checkbox value to variable
app.settings.saveSetting("savea", "chck", path11); //saving checkbox value
alert("Saved this value - " + app.settings.getSetting("savea", "chck"))
win.quitBtn.onClick = function() {
win.close();
win.center();
win.show();
return retval;
if(typeof(mainFun_unitTest) == "undefined") {
new mainFun().run();Played around with different values, combinations...
Doesn`t work too:
checkMe = 111; //any value for the first time running
if (app.settings.haveSetting("333", "check")) {
checkMe = app.settings.getSetting("333", "check");
alert(checkMe);
if(checkMe == 111){
win.checkPanel.chkOne.value= false;
}else{
if (checkMe != false){
win.checkPanel.chkOne.value= true;
}else{
win.checkPanel.chkOne.value= false;
win.checkPanel.chkOne.onClick = function () {
var path11 = win.checkPanel.chkOne.value;
var path12 = path11.toString();
app.settings.saveSetting("333", "check", path12);
alert("Saved value - " + app.settings.getSetting("333", "check")) -
Problem with cp and ACL default entry for mask
I am having a problem with the cp command, copying to a directory with default ACL entries.
I don't think it is creating the ACL's of the resultant files correctly.
I have two users (let's call them mark and john).
As john I create a directory and give it ACL privledges to mark, as well as setting defaults to give john writes to anything mark creates.
john> mkdir for-mark
john> setfacl -rm 'user:mark:rwx,default:user::rwx,default:user:john:rwx,default:group::r-x,default:mask
:rwx,default:other:r-x' for-mark
john> getfacl for-mark
# file: for-mark
# owner: john
# group: john
user::rwx
user:mark:rwx #effective:rwx
group::r-x #effective:r-x
mask:rwx
other:r-x
default:user::rwx
default:user:john:rwx
default:group::r-x
default:mask:rwx
default:other:r-x
As mark I copy files to that directory:
mark> cp myfile /home/john/for-mark
mark> getfacl /home/john/for-mark/myfile
# file: /home/john/for-mark/myfile
# owner: mark
# group: staff
user::rw-
user:john:rwx #effective:r--
group::r-- #effective:r--
mask:r--
other:r--
The mask is incorrectly set to r-- instead of rwx.
This leaves john unable to write to myfile (although, strangely he can delete it).
I am NOT using the -p option on cp. I would expect this behavior if I did.
Mark can create a file with touch or vi and the mask is incorrectly set to rw-, which is a little better. Compiles are definitely created correctly with rwx.
Is this a bug? Or am I doing something wrong.You are having issues in client 000 rite ?
I dont think login/no_automatic_user_sapstar = 0 will help you , This parameter will help you to login newly created client ( other than 000/001) with sap* and passowrd PASS.
login/failed_user_auto_unlock = 1 , will enable automatic unlock off locked user at <b>midnight</b>
Did you use the correct Maxdb sql command ?
Thanks
Prince Jose -
Problem with Function returned without value -
all i am having a problem w/ jdev passing the values. when hardcoded it works. when i remove to pass the 2 vals for doc_type and doc_num the params are being passed to the impl but the String sql = " BEGIN :5 := scotts_test_proc.get_log(:1, :2, :3, :4 ); END; "; is not sending the values to the pkg. to verify i am getting data i created a table to store the data being passed/retrieved by function. i am getting the log_pieces posted when hard coded so i know that works. but when i try to pass the doc_type and doc_num it errors w/ function returend without value . am i passing the params correctly from co to impl to func to get the return l0g_piece. thats for the help
calling package
spec
function Get_Log( -- rmode IN NUMBER , rmode IN STRING, doc_type IN VARCHAR2 DEFAULT 'TEL',
doc_id IN VARCHAR2 DEFAULT NULL , doc_num IN VARCHAR2 DEFAULT NULL
-- , p_out out varchar2
) -- IS --proc
RETURN varchar2 IS --function
body
l_doc_type := 'TEL';- remove this hardcoded
l_doc_type := doc_type ; --to pass the param
IF l_doc_type = 'TEL' THEN
-- l_log_pieces := Get_TEL(TRIM(3524204)); --change 3524204 to doc_num hardcoded presently
l_log_pieces := Get_TEL(TRIM(doc_num)); --to pass the param
-- (doc_num);
l_log_piece := l_log_pieces(1);
-- p_out := l_log_piece ;
insert into isitthere (doc_type, doc_num, isitthere) VALUES (doc_type, doc_num, l_log_piece); commit;
return l_log_piece; -- function -- return p_out; -- function p_out := l_log_piece ; proc
END IF; --if doc type is TEL
FROM CO
System.out.println("CO Passing paramDOC_TYPE for -------> " +docAbbr.getValue(pageContext) ); -- passing TEL
System.out.println("CO Passing paramDOC_NUM for -------> " + paramDOC_NUM ); -- passing 88
String getDocAbbrForHTML = docAbbr.getText(pageContext);
System.out.println("Passing CO getDocAbbrForHTML for -------> " + getDocAbbrForHTML ); -- passing TEL
Serializable paramDocLocatorParamList [] = {paramRMODE, getDocAbbrForHTML , paramDOC_ID, paramDOC_NUM , p_out };
OAApplicationModule am = (OAApplicationModule)pageContext.getApplicationModule(webBean);
OADBTransaction dbtrans;
OAViewObject docLocator = (OAViewObject)am.findViewObject("DocLocatorVO1");
Serializable paramABC = "TELNET";
paramABC = am.invokeMethod("getHTMLString", paramDocLocatorParamList);
rtxt0.setValue(pageContext, "here it is 12354" + paramABC.toString() );
// docLocator.executeQuery();
// --------------- End getHTMLString ----------------- //
FROM AM IMPL
public String getHTMLString ( String paramRMODE, String getDocAbbrForHTML , String paramDOC_ID, String paramDOC_NUM, String p_out )
System.out.println("Entering The AM Impl");
System.out.println("Passing getDocAbbrForHTML in IMPL -------> " +getDocAbbrForHTML ); -- got TEL in param
System.out.println("Passing paramDOC_NUM in IMPL -------> " + paramDOC_NUM ); -- got 88 in param
CallableStatement st = null;
OADBTransaction txn = (OADBTransaction)getDBTransaction();
Connection conn = txn.getJdbcConnection();
String sql = " BEGIN :5 := scotts_test_proc.get_log(:1, :2, :3, :4 ); END; ";
CallableStatement cs = txn.createCallableStatement(sql,1);
String ErrorExist = "";
String getHTML = "";
try
cs.setString(1, paramRMODE); // cs.setInt(1, paramRMODE.intValue()); // cs.setInt(1,Integer.parseInt(paramRMODE));
cs.setString(2, getDocAbbrForHTML); //paramDOC_TYPE);
cs.setString(3, paramDOC_ID);
cs.setString(4, paramDOC_NUM);
// cs.setString(5,p_out); // --param
/* cs.registerOutParameter(1,Types.CHAR);
cs.registerOutParameter(2,Types.CHAR);
cs.registerOutParameter(3,Types.CHAR);
cs.registerOutParameter(4,Types.CHAR);*/
cs.registerOutParameter(5,Types.VARCHAR);
cs.execute();
getHTML = cs.getString(5 ) ;
p_out = getHTML;
//this string is to see my results. only......
String x ="abc 123";/*"<BR><font face=Verdana ><b>TEL Document Action History <BR><font color=#336699>(3524204 Nosulina, Yelena N COMPLETE)</b></font></font><br><br><table border=1 width=100% cellspacing=0 cellpadding=2 bordercolor=#EEEEDC> <tr bgcolor=#F7F7E7>"
+ " <td width=11% valign=top align=left><font face=Verdana size=2 color=#336699><b>Action</b></font></td> <td width=17% valign=top align=left ><font face=Verdana size=2 color=#336699><b>Approver UserName</b></font></td> <td width=14% valign=top align=left ><font face=Verdana size=2 color=#336699><b>Date/Time </b></font></td> <td width=56% valign=top align=left ><font face=Verdana size=2 color=#336699><b>Notes</b></font></td> "
+" </tr> <!-- loop thru this set of rows ---> <tr bgcolor=#FFFFFF> <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2> </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-20-2011 03:01:23 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>DOCUMENT CREATED </font></td> </tr> <!-- end loop--> "
+ " <tr bgcolor=#FFFFFF> <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>McCombs, Tracey L </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:10 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Requestor </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+" <td width=11% valign=top align=left ><font face=Verdana size=2 >WF STARTED </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Workflow </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:21 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Workflow Started </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+"<td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>McCombs, Tracey L </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:21 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>SUBMIT </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+"<td width=11% valign=top align=left ><font face=Verdana size=2 >NOTIFICATION SENT </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Workflow </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Dec-30-2011 01:12:21 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Notification sent to User Approvals Level 1, Org ID: 455 311402400 Med - Infectious Diseases </font></td> "
+" </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Brownlow, Lana Jill </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 08:49:48 AM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Approved : </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+" <td width=11% valign=top align=left ><font face=Verdana size=2 >USER APPROVED </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2>Workflow </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 08:49:48 AM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Completed all User Approvals </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+ " <td width=11% valign=top align=left ><font face=Verdana size=2 >CENTRAL APPROVED </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2> </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 08:49:48 AM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>Completed Central Approval Process </font></td> </tr> <!-- end loop--> <tr bgcolor=#FFFFFF> "
+" <td width=11% valign=top align=left ><font face=Verdana size=2 > </font></td> <td width=17% valign=top align=left ><font face=Verdana size=2> </font></td> <td width=14% valign=top align=left ><font face=Verdana size=2>Jan-03-2012 02:17:07 PM </font></td> <td width=56% valign=top align=left ><font face=Verdana size=2>DOCUMENT REASON CHANGED TO COMPLETE. DATA LOADED IN BASE TABLES. </font></td> </tr> <!-- end loop--></table>";
getHTML = x;
System.out.println("getHTML 1234 is " + getHTML ); -- testing output to get returned
cs.close();
catch (SQLException sqle)
try { cs.close(); }
catch (Exception e) {}
throw OAException.wrapperException(sqle);
return getHTML;when return is encountered your function terminates.
-
I ordered a phone and added a line for my son on Dec 20. I had problems with my order online, and chatted with an associate who helped me. At one point I had to log out, log back in and re-start my order.
Three days later I received two phones and checked my account which said I had added two lines. I called Verizon and was told I needed to take the extra phone to the store, and that the extra line would not be charged as long as I was within 14 days.
Because of Christmas and travel, I could not take the phone back until today. I went to the store, where I was told I could not return it there, and to go home and print a label from home.
I logged in and tried to print the label, but my pop up blocker prevented it. I tried to reprint it, and could not get the blocker off, so I called Customer Service.
Customer Service told me to go BACK to the Verizon store and have them print the label for me.
I am extremely frustrated. I am concerned that the phone will not get back to Verizon and I will be charged. I only want ONE phone and ONE line for my son.
Has anyone else dealt with this???Well that's odd. If you call customer service, they can send you a label via mail but for something more immediate you may need to disable your pop-up blocker in your internet options. If you google it and put it what browser you have, there may be a video turtorial. Once your blocker is disabled go to http://www.verizonwireless.com/printlabel/, sign into your myverizon account and as long as you haven't printed 1 off you should be able to print it off.
-
Problem with sdo_relate returning unexpected results
I am having a problem with an oracle spatial query not returning what I feel is an appropriate result.
I have a bounding box that has 6 points from a table that should be inside it. There are several hundred points total in this table. I perform the following query and oracle returns only 4 points, well 5 but we will get to that later, within the area of the search.
SQL> Select feature_id
From city_points A
where (MDSYS.SDO_RELATE(A.GEOM, mdsys.sdo_geometry(2003, 8307, NULL, mdsys.sdo_elem_info_array(1,1003,1), mdsys.sdo_ordinate_array(-101.8417,-52.8083,-23.8417,-52.8083,-23.8417,-13.8083,-101.8417,-13.8083,101.8417,-52.8083)), 'mask=ANYINTERACT querytype=join') = 'TRUE');
I used a different application to perform the same type of query. The difference is that the application does the spatial query, not oracle. Further the application gets all of the points and performs this query on the client. What the application returns is correct both visually and spatially.
Two of the points not returned in the oracle spatial query are 300km inside the bounding box. This far exceeds the .5 m tolerance used in our decimal degrees data set (SRID 8307).
I have experienced this problem on 9.2.0.1. I then patched that instance to 9.2.0.7 and duplicated the problem. I then exported the data and imported into a 10g release 1 database and again duplicated the problem. I have tried to re-index the data to no avail.
I have also tried different querytypes also yielding less than expected results.
The data looks like this:
243
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-58.45, -34.6, NULL),NULL, NULL)
254
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-56.18333, -34.883334, NULL), NULL, NULL)
377
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-70.666671, -33.449999, NULL), NULL, NULL)
385
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-68.149999, -16.5, NULL), NULL, NULL)
388
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-47.916667, -15.783333, NULL), NULL, NULL)
427
SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(-57.640066, -25.270295, NULL), NULL, NULL)
The number is the id field, the rest is the geometry.
The oracle spatial query above only returns id #s 359, 377,243,254,427
There are five returned records. The extra value is outside the bounding area. So it should not have been returned at all. It is all too strange.
I have seen this with different geometry types (points lines and area) as well.
If anyone has suggestions, I would appreciate your comments.
Thanks,
JohnJohn,,
What you are seeing is the behavior you should expect in the geodetic space.
When you have a very long line connecting from longitude -101 to -23, that line
does not follow the same latitude value.
Since these points are in southern hemisphere, the line connecting them
will curve downward (this is the great circle line).
If you really want a line connecting with constant latitude, you should
use the MBR type for the window geometry which densifies the
lines along constant latitude before passing it into relate.
SDO_GEOMETRY(2003, 8307, NULL,
sdo_elem_info_array(1,1003,3),
sdo_ordinate_array(-101.8417,-52.8083, 23.8417,-13.8083))
siva -
Problem with subqueries returning TIMESTAMP's
I've got problems with some subqueries returning TIMESTAMP values.
I've build a case for easy reproduction, with this query:
SELECT iil.iil_lot_num ,
(SELECT max ( lot_data_validade )
FROM lot
WHERE lot.lot_mat_cod = iil.iil_mat_cod AND
lot.lot_num = iil.iil_lot_num ) as validade
FROM iil
WHERE ( iil.iil_inv_serie = 109 ) and
( iil. iil_inv_num = 16 ) and
( iil.iil_mat_cod = 111 )
When I run it, it gives the error:
General error;-9999 POS(1) System error: invalid_indexorder
knldiag also gives:
2009-07-28 15:03:18 9943 ERR 51080 SYSERROR -9999 invalid_indexorder
I'm running on 7.6.06.03.
Previous versions were giving another message:
SQLCODE: -9999 System error: Otherwise unknown errorcode
If I change max ( lot_data_validade ) to max ( year (lot_data_validade) ), it works. The problem is specifically with fetching that timestamp value from the subquery.
Backup for reproduction of the problem is on:
http://www.tecnova.com.br/maxdb/backup_problem
(i've isolated only the tables involved in the problem, so the backup is tiny -> 4.3MB)HI Elke,
I had the same idea at first but was largely disappointed to find that this 'corrupt index' is indeed a temp. resultset:
--> max() query
OWNER TABLENAME COLUMN_OR_INDEX STRATEGY PAGECOUNT
DBA IIL RANGE CONDITION FOR KEY 61
IIL_INV_SERIE (USED KEY COLUMN)
IIL_INV_NUM (USED KEY COLUMN)
IIL_MAT_COD (USED KEY COLUMN)
INTERNAL TEMPORARY RESULT EQUAL CONDITION FOR KEY 1
IIL_INV_SERIE (USED KEY COLUMN)
DBA LOT NO STRATEGY NOW (ONLY AT EXECUTION TIME)
INTERNAL TEMPORARY RESULT TABLE SCAN 1
RESULT IS COPIED , COSTVALUE IS > 2 E10
The cost expectation is really awesome here...
--> max(year()) query
OWNER TABLENAME COLUMN_OR_INDEX STRATEGY PAGECOUNT
DBA IIL RANGE CONDITION FOR KEY 61
IIL_INV_SERIE (USED KEY COLUMN)
IIL_INV_NUM (USED KEY COLUMN)
IIL_MAT_COD (USED KEY COLUMN)
INTERNAL TEMPORARY RESULT EQUAL CONDITION FOR KEY 1
IIL_INV_SERIE (USED KEY COLUMN)
DBA LOT NO STRATEGY NOW (ONLY AT EXECUTION TIME)
RESULT IS COPIED , COSTVALUE IS
This time the optimizer ran out of words for the expected effort for this query execution...
The problem really seems to be the subquery-select as we can strip down the example to
select (select max(lot_data_validade) maxval
from lot
where lot.lot_mat_cod=111) as maxval
from dual
and still see the error...
regards,
Lars -
Problems with access to e-mail settings
Dear All,
A week ago a changed a password to one of my e-mails and i needed to change it in my e-mail settings as well. As i went to the e-mail settings in my blackberry it stated (for the first time in 3 years) that i have to log in and give my password, as i tried to do it I always would get this text that it is wrong or "your device encountered a problem with this application's server. Select ok and repeat the action to try again." I checked my user name and password many times online, I evenm changed it. But it did not show me any result. This is a very important e-mail and i want to access to my e-mail setting therefore could someone help me with this??? Thank you in advance.check the pop settings, set spam to false, its on by defualt, this done you should be able to pop and send via pop without outlook connector.
naqi -
Webservice : problem with Base64 returned value
Hello all,
We are calling a webservice from a Flex2 application.
When the returned value does not contain accentuated letters,
we receive the value "as-is", everything is OK.
When there is at least one accent, the result is
automatically Base64 encoded by the server, and the
xsi:type="n2:base64 is specified in the XML answer.
The problem is that Flex2 does not Base64 decode the returned
string, ans we cannot get the right value.
We do not think that the problem is on the server, because we
tryied to use 2 other webservice clients, and they worked well.
We wonder if Flex2 can handle Base64 encoding on Webservice
results or not.
We thought abut using the Base64 decoder class, but it won't
work because the result if not *always* Base64 encoded (depending
if it contains some chars or not).
Is there any solution to this issue ? If it can help, I paste
the XML returned by the server at the end of this message.
Thank you for your help.
MiF
<?xml version="1.0" encoding="UTF-8" ?>
<env:Envelope xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:env="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance">
<env:Body>
<n1:GetArticleResponse xmlns:n1="urn:ActionWebService"
env:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/">
<return xmlns:n2="
http://schemas.xmlsoap.org/soap/encoding/"
xsi:type="n2:base64">PD94bWwgdmVyc2lvbj0iMS4xIiBlbmNvZGluZz0iSVNPLTg4NTktMSI/Pgo8
YXJ0aWNsZXM+CiAgPGFydGljbGU+CiAgICA8aWQ+MTwvaWQ+CiAgICA8Y29k
ZT5NaXRjaDwvY29kZT4KICA8L2FydGljbGU+CiAgPGFydGljbGU+CiAgICA8
aWQ+MjwvaWQ+CiAgICA8Y29kZT5Qb2xvPC9jb2RlPgogIDwvYXJ0aWNsZT4K
ICA8YXJ0aWNsZT4KICAgIDxpZD4zPC9pZD4KICAgIDxjb2RlPkvpa+k8L2Nv
ZGU+CiAgPC9hcnRpY2xlPgo8L2FydGljbGVzPgo=</return>
</n1:GetArticleResponse>
</env:Body>
</env:Envelope>You should use cast_to_varchar2 regardless what is source of base64_encode.
Because base64-value consists of single byte ASCII-characters. -
Problem with Bapi_po_Getdetail return values
We have developed a web service in asp.net to get the details of a particular purchase order number calling Bapi_po_Getdetail. The input parameters that we pass are:
string ITEMS = X
string PURCHASEORDER= <purchase order number>
But when we debug and check the return values from the bapi, BAPIEKPO Table doesnt have any data, it is null.
Could someone help us, please?Please initialize the BAPIEKPOTable bedore call. Passing null allways returns null.
NCo:
string ITEMS = X
string PURCHASEORDER= <purchase order number>
BAPIEKPOTable result = new BAPIEKPOTable();
proxy.Bapi_po_Getdetail(ITEMS, PURCHASEORDER, ref result);
Soap Processor / Web Service Wizard
string ITEMS = X
string PURCHASEORDER= <purchase order number>
BAPIEKPO[] result = new BAPIEKPO[0];
proxy.Bapi_po_Getdetail(ITEMS, PURCHASEORDER, ref result); -
Problems with document return type
Hi, i've deployed a web service in weblogic 6.1 that returns a xml document. When
i try to execute the client, i receive this error message:
------------- RECEIVING XML -------------
<?xml version="1.0"?>
<definitions
targetNamespace="java:examples.webservices.rpcXML.pruebaXML"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="java:examples.webservices.rpcXML.pruebaXML"
xmlns:dom="http://www.w3c.org/1999/DOM"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>
<types>
<schema targetNamespace='java:examples.webservices.rpcXML.pruebaXML'
xmlns='http://www.w3.org/1999/XMLSchema'>
</schema>
</types>
<message name="getXMLRequest">
</message>
<message name="getXMLResponse">
<part name="return" type="dom:org.w3c.dom.Document" />
</message>
<portType name="PruebaXMLPortType">
<operation name="getXML">
<input message="tns:getXMLRequest"/>
<output message="tns:getXMLResponse"/>
</operation>
</portType>
<binding name="PruebaXMLBinding" type="tns:PruebaXMLPortType"><soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http/"/>
<operation name="getXML">
<soap:operation soapAction="urn:getXML"/>
<input><soap:body use="encoded" namespace='urn:PruebaXML' encodingStyle="http://xml.apache.org/xml-soap/literalxml
http://schemas.xmlsoap.org/soap/encoding/"/></input>
<output><soap:body use="encoded" namespace='urn:PruebaXML' encodingStyle="http://xml.apache.org/xml-soap/literalxml
http://schemas.xmlsoap.org/soap/encoding/"/></output>
</operation>
</binding>
<service name="PruebaXML"><documentation>todo</documentation><port name="PruebaXMLPort"
binding="tns:PruebaXMLBinding"><soap:address location="http://localhost:7001/pruebaXML/pruebaXMLuri"/></port></service></definitions>
===================================================================================
ERROR =================================================================
javax.naming.NamingException: i/o failed java.io.IOException: http://xml.apache.org/xml-soap/literalxml
http://schemas.xmlsoap.org/soap/encoding/:http://www.w3c.org/1999/DOM:org.w3c.dom.Document:No
codec for decoding http://xml.apache.org/xml-soap/literalxml: [ CodecFactory:
http://schemas.xmlsoap.org/soap/encoding/=null, =null]. Root exception is java.io.IOException:
http://xml.apache.org/xml-soap/literalxml http://schemas.xmlsoap.org/soap/encoding/:http://www.w3c.org/1999/DOM:org.w3c.dom.Document:No
codec for decoding http://xml.apache.org/xml-soap/literalxml: [ CodecFactory:
http://schemas.xmlsoap.org/soap/encoding/=null, =null]
at weblogic.soap.wsdl.binding.Part.typeToClass(Part.java:74)
at weblogic.soap.wsdl.binding.Part.toSoapType(Part.java:51)
at weblogic.soap.wsdl.binding.Message.getReturnType(Message.java:58)
at weblogic.soap.wsdl.binding.BindingOperation.populate(BindingOperation.java:52)
at weblogic.soap.wsdl.binding.Binding.populate(Binding.java:48)
at weblogic.soap.wsdl.binding.Definition.populate(Definition.java:116)
at weblogic.soap.WebServiceProxy.getServiceAt(WebServiceProxy.java:176)
at weblogic.soap.http.SoapContext.lookup(SoapContext.java:76)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at examples.webservices.rpcXML.javaClient.Client.main(Client.java:40)
Exception in thread "main"
This is the wsdl file that weblogic generates:
<?xml version="1.0" ?>
- <definitions targetNamespace="java:examples.webservices.rpcXML.pruebaXML" xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="java:examples.webservices.rpcXML.pruebaXML" xmlns:dom="http://www.w3c.org/1999/DOM"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
- <types>
<schema targetNamespace="java:examples.webservices.rpcXML.pruebaXML" xmlns="http://www.w3.org/1999/XMLSchema"
/>
</types>
<message name="getXMLRequest" />
- <message name="getXMLResponse">
<part name="return" type="dom:org.w3c.dom.Document" />
</message>
- <portType name="PruebaXMLPortType">
- <operation name="getXML">
<input message="tns:getXMLRequest" />
<output message="tns:getXMLResponse" />
</operation>
</portType>
- <binding name="PruebaXMLBinding" type="tns:PruebaXMLPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http/"
/>
- <operation name="getXML">
<soap:operation soapAction="urn:getXML" />
- <input>
<soap:body use="encoded" namespace="urn:PruebaXML" encodingStyle="http://xml.apache.org/xml-soap/literalxml
http://schemas.xmlsoap.org/soap/encoding/" />
</input>
- <output>
<soap:body use="encoded" namespace="urn:PruebaXML" encodingStyle="http://xml.apache.org/xml-soap/literalxml
http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
- <service name="PruebaXML">
<documentation>todo</documentation>
- <port name="PruebaXMLPort" binding="tns:PruebaXMLBinding">
<soap:address location="http://carlos-3-116:7001/pruebaXML/pruebaXMLuri" />
</port>
</service>
</definitions>
Could anyone help me, thanksHere is a the actual php class:
class question{
function getQuestionDetails()
$r = array("r"=>"s","t"=>11230,"wr"=>500);
return $r;
This class has a defined return VO(questionDetails) in flex. It is recognized in the IDE, but when I run the app, I always get a "null object reference" error. I can't seem to convert the result to questionDetails, and I can't access the fields as properties or part of an array of the return object as an instance of "Object".
Any ideas?
Thanks! -
Problem with "carriage Return" or "Line Feed" in a table
Hello,
I need help with the function Zeichen(), so called it in german, I'm not sure if it is char() in english.
In Pages Version 4.0.1 (746) I've created a table in Pages with this function to make an "carriage Return" in a cell.
Here an example: { ="Hello" & Zeichen(10) & "World" }, in the cell is now:
| Hello |
| World |
But in Pages Version 4.0.3 (766) this function ZEICHEN() not allow the number 10 and other till 32 (I allready read the manual and understand this problem).
Anybody an idea to make a "Carriage Return" or "Line feed" in a formular, in a cell, in a table, in Pages?
Thanks
Detlev Kormannkdetlev wrote:
Your workaround will not be possible in my table, because there is no empty cell in the table, but I think it is also a good help too.
*In fact I forgot that you are using a table in Pages.*
Remaining on my first idea, In Numbers we may achieve the same goal using an auxiliary table with a single cell containing the needed line break.
If this table is named "LineBreak",
the formula will be:
="Hello"&LineBreak :: $A$1&"World"
*In Pages, here is my workaround:*
Enter the cell
type a§b
don't type the character § but ctrl + return.
The cell will contain
a
b
with the arrow, move before the a
type =B2&"
delete the original a
move to the right
delete the original b
type "&C7
Yvan KOENIG (VALLAURIS, France) mercredi 7 octobre 2009 17:20:04 -
Problem with image returned from getGeneratedMapImage method
I'm a newbie as far as map viewer and Java 2D goes....
My problem is the java.awt.Image returned from the getGeneratedMapImage method of the MapViewer API. The image format is set to FORMAT_RAW_COMPRESSED. The image returned is of poor quality with colors not being correct and lines missing. I'm painting the Image returned from this method onto my own custom JComponent by overriding the paint() method...
public void paint( Graphics g )
Image image = map.getGeneratedMapImage();
if ( image != null )
g.drawImage( image, getLocation().x, getLocation().y, Color.white, this );
If I take the xml request sent to the application server and paste it into a "sample map request" on the map admin website (along with changing format to PNG_STREAM) my image renders exactly how I expect it to.
Anyone have any idea what I need to do to get the java.awt.Image with format set to FORMAT_RAW_COMPRESSED to render correctly. I was hoping to get back a BufferedImage or a RenderedImage from the getGeneratedMapImage call but I'm getting back a "sun.awt.motif.X11Image".
Will downloading the JAI (java advanced imaging) from sun help me at all?Joao,
Turns out it is related to colors. I'm dynamically adding themes, linear features and line styles. I ran a test where I changed the color being specified in the line style from magenta (ff00ff) to black. When I changed the color the linear feature would show up. It was being rendered as white on a white background when I was specifying it to be magenta. I'm specifying another linear feature to be green and it is showing up in the java image as yellow. This doesn't happen when I take the generated XML from the request and display it as a PNG_STREAM.
Any clue what is going on there?
Jen -
Problem with Object returning previously set values, not current vlaues
Please help if you can. I can send the full code directly to people if they wish.
My problem is I enter title details for a book via an AWT GUI. When the user clicks the OK button it should display a new screen with the values just entered by the user. I added debug lines and found that the newInstance method has the values I set and the setObject created an object that was not null.
However the first time you submit the details when it tries to get the object to display them back to the user it is null. However when you try and enter the details for a second time it will display the details entered on your first entry. Likewise if you went to enter a third title and put blank details in it would display the second set of details back to the user when they click OK.
I'm very confused as to how it when I fetch an object I've just set it is out of step and points to previous values or null when used for the first time.
Right onto the code.
----Shop.class - contains
public static Object
getObject()
if ( save_ == null)
System.out.println("Return save_ but it is null");
return save_;
public static void
setObject( Object save )
save_ = save;
if ( save == null)
System.out.println("Just taken save but it is null");
if ( save_ == null)
System.out.println("Just set save_ but it is null");
----AddTitlePanel.class contains
private void okButtonActionPerformed(ActionEvent evt)
ConfirmAddTitlePanel confirmAddTitlePanel =
new ConfirmAddTitlePanel();
// Gets the textField values here
model.Title mss = model.Title.newInstance( fullISBN,
ISBN,
title,
author,
copiesInStock,
price );
model.Shop.setObject( mss );
// Fetch reference to Graphical so buttons can use it to
// display panels
graph = model.Shop.getGraphical();
graph.display( confirmAddTitlePanel );
This creates a newInstance of Title and creates a copy using setObject when the user clicks on "OK" button. It also calls the ConfirmAddTitlePanel.class to display the details back to the user.
----ConfirmAddTitlePanel.class contains:
private void
setValues() throws NullPointerException
model.Title mss = (model.Title) model.Shop.getObject();
if ( mss != null )
model.Field[] titleDetails = mss.getFullDetails();
//model.Field[] titleDetails = model.Title.getFullDetails();
fullISBNTextField.setText( titleDetails[0].asString() );
//ISBNTextField.setText( titleDetails[1].asString() );
titleTextField.setText( titleDetails[2].asString() );
authorTextField.setText( titleDetails[3].asString() );
copiesInStockTextField.setText( titleDetails[4].asString() );
priceTextField.setText( titleDetails[5].asString() );
else
System.out.println( "\nMSS = null" );
This is getting the Object back that we just set and fetching its details to display to the user by populating the TextFields.
As I say first time you enter the details and click OK it displays the above panel and outputs "MSS = null" and cannot populate the fields. When you enter the next set of title details and click "OK" getObject is no longer setting mss to null but the values fetched to set the TextFields is the data entered for the first title and not the details just entered.
----Title.class contains:
public static Title
newInstance( String fullISBN,
String ISBN,
String title,
String author,
int copiesInStock,
int price )
Title atitle = new Title( fullISBN,
ISBN,
title,
author,
copiesInStock,
price );
System.out.println("Created new object instance Title\n");
System.out.println( "FullISBN = " + getFullISBN() );
System.out.println( "ISBN = " + getISBN() );
System.out.println( "Title = " + getTitle() );
System.out.println( "Author = " + getAuthor() );
System.out.println( "Copies = " + getCopiesInStock() );
System.out.println( "Price = " + getPrice() );
return atitle;
I'm really stuck and if I solve this I should hopefully be able to make progress again. I've spent a day and a half on it and I really need some help. Thanks in advance.
Mark.Hi Mark:
Have a look of the method okButtonActionPerformed:
private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_okButtonActionPerformed
// if you create the confirmAddTitlePanel here, the value of
// Shop.save_ is null at this moment (first time), becaouse you
// call the methode setValues() in the constructor, bevore you've
// called the method Shop.setObject(..), which has to initialize
// the variable Shop.save_!!!
// I think, you have to create confirmAddTitlePanel after call of
// method Shop.setObject(...)!
// ConfirmAddTitlePanel confirmAddTitlePanel = new ConfirmAddTitlePanel();
ConfirmAddTitlePanel confirmAddTitlePanel = null;
String fullISBN = fullISBNTextField.getText();
String ISBN = "Test String";
String title = titleTextField.getText();
String author = authorTextField.getText();
String copiesInStockString = copiesInStockTextField.getText();
String priceString = priceTextField.getText();
int copiesInStock = 0;
int price = 0;
try
copiesInStock = Integer.parseInt( copiesInStockString );
catch ( NumberFormatException e )
// replace with error output, place in status bar or pop-up dialog
// move focus to copies field
try
price = Integer.parseInt( priceString );
catch ( NumberFormatException e )
// replace with error output, place in status bar or pop-up dialog
// move focus to price field
model.Title mss = model.Title.newInstance( fullISBN,
ISBN,
title,
author,
copiesInStock,
price );
model.Shop.setObject( mss );
// ---------- now, the Shop.save_ has the value != null ----------
confirmAddTitlePanel = new ConfirmAddTitlePanel();
// Fetch reference to Graphical so buttons can use it to
// display panels
graph = model.Shop.getGraphical();
graph.display( confirmAddTitlePanel );
}//GEN-LAST:event_okButtonActionPerformedI hope, I have understund your program-logic corectly and it will help you.
Best Regards.
Maybe you are looking for
-
I had no problems with CS6 PS, but since I upgraded to PS CC, NVIDIA Tools is now not working and crashes when I try to reinstall the plug-in into PS CC. I checked NVIDIA's forums and found ZIP from them about this problem. So I am asking in here, is
-
"Apple Mobile Device service is not started" What does this mean?
When connecting my iPhone to iTunes, it says "This iPhone cannot be used because the Apple Mobile Device service is not started" What does this mean? It won't connect to my iPhone.
-
Where can I buy a slot cover for my Mac Pro?
I need a slot cover for my Mac. Any idea where I can get one?
-
Create FB03 attachments to external Website
Hi Gurus, I have a requirement where my client wants to use FB03 create attachment functionality but at the same time, they don't want the attachments to store in SAP Sood table or related ones for there may be a time when the tables will be clogged.
-
How to view installed licenses key in terminal server
Hi Everyone, I am running Terminal win server 2008 standard R2 SP1 in which 10 remote desktop per user CAL's licenses are installed before I joined in the company. Now I am asked that company has purchased only 5 licenses and we have installed 10 lic