Mappings parameters - How to send a password?
Hi gurus,
We need to establish a connection with a remote server inside a Java Mapping and the proxy server requests user and password. Since we don't want to hardcode this values, we want to pass them as parameters of the mapping. But we found that there is no way to "hide" the password when setting it's value in the interface determination. We tried setting the parameter name as "pwd_" like in Adapter Modules but it did not work. Does anyone have any ideas?
Thank you very much,
Regards,
Pablo
Hi,
Some indirect options for this : Since xi / pi does not support encryption or decryption directly.
I suggest you to write adapter module or java mapping or you can buy an external adapter which does this job for you. Please check this thread where you have few blogs and documents for all these:
Regarding Encryption,Decryption and Compressing of data
Similar Messages
-
User created apple id account, verified but know she is unable to log on, it says incorrect password, she tried to reset via forgot password option but it does not send reset password page to here e- mail address, how can i get this sorted? or how can i get her whole apple account deleted and created new one using same e - mail address?
The idea to jumpstart by change was not the smartest one, but gives you an opportunity to use that "temporary" account as permanent. You do not have a choice cause obviously despite you thinking that old account is no more -it does exist on Apple servers. And if you are unwilling to share your [email protected] with friend, just create one extra [email protected] for your friend. One suggestion - do not use gmail.
-
I can't remember my Apple ID password or my security question answers. When I try to reset my password it wants to send it to my e-mail address but I can't get the e-mail because I don't know my security answers or the password. How do I reset password?
Alternatives for Help Resetting Security Questions and/or Rescue Mail
1. If you have a rescue email address or a Security Questions issue, then see:
If you forgot the answers to your Apple ID security questions - Apple Support.
Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
2. Fill out and submit this form. Select the topic, Account Security. You must
have a Rescue Email to use this option.
3. This is the only option if you do not already have a valid Rescue Email.
These are telephone numbers for contacting Apple Support in your country.
Apple ID- Contacting Apple for help with Apple ID account security. Select
the appropriate country and call. Ask to speak to the Account Security Team.
4. Account security issues almost always require you to speak directly to an
Apple representative to securely establish your identity as the account holder.
You can set it up so that Apple calls you, either immediately or at a time
convenient to you.
1. Go to www.apple.com/support.
2. Choose Contact Support and click Contact Us.
3. Choose Other Apple ID Topics and choose the appropriate topic for
your issue.
4. Follow the onscreen instructions.
Note: If you have already forgotten your security questions, then you cannot
set up a rescue email address in order to reset them. You must set up
the rescue email address beforehand.
Your Apple ID: Manage My Apple ID.
Apple ID- All about Apple ID security questions. -
How do I find my password if I can't remember the answers to the security questions and the email address it is sending the password to no longer exists?
If you have a rescue email address set up on your account then you can try going to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you might see an option to send security question reset info to your rescue email address.
If you don't have a rescue email address set up then go to Express Lane and select 'iTunes' from the list of 'products' in the middle of the screen.
Then select 'iTunes Store', and on the next screen select 'Account Management'
Next choose 'iTunes Store Account Security' and fill in that you'd like your security questions/answers reset.
You should get an email reply within, I think, about 24 to 48 hours (and check your Spam folder as well as your Inbox) -
How to send parameters for POST request in AJAX?
hi friends,
I am sunil. I am working on ajax.
My problem is how to send post parameters in AJAX.
For GET request. I am using bleow and it is workin fine.
var url = "GetCurrencyRateController?currid="+CurrId+"&lncurrid="+LnCurrID;
For POST Requert i am sending as
var url = "GetCurrencyRateController";
req.send("currid="+CurrId+",lncurrid="+LnCurrID);
but it is not workingCheck out the Apache HttpClient package and look for how to use the MultipartPostMethod.
Here is some sample code:
HttpClient client = new HttpClient();
MultipartPostMethod filePost = new MultipartPostMethod("http://localhost:8080/MyApp/Push");
filePost.addParameter("subName", sub.subName);
filePost.addParameter("serverName", sub.getServerName());
File file = new File("C:/dataFile.zip");
filePost.addParameter(file.getName(), file);
int code = client.executeMethod(filePost); -
Need help : how to send 3 parameters over http using Java POST
I am trying to sending some data to agency company over http using Java POST
They need 3 parameters and some contents like below
1. Cmd : cmd=_RequestInsertNewLead
2 Live : False
3 XMLData : 3C%3Fxml+version%3D%........
I already have XML done ,but I don't know how to send these guy over http
is that like
this.out = new DataOutputStream(os);
out.writeBytes("Cmd");
out.writeBytes(" cmd=_RequestInsertNewLead");
out.writeBytes(" Live ");
out.writeBytes("False");
anyone could give help :)First of all, are you getting any exception?
You didn't put much logging information in your code.
You can also try this.Instead of doing sos.println(".....") try to build the output string using string buffer.
Like:
StringBuffer sb = new StringBuffer();
sb.append("Some output");
sb.append("More output");
sos.print(sb.toString());
sos.flush();Let me know if this works. -
How to send query parameters using BIApplicationFrame
HI,
I am working on integration of BEx WebTemplate in webdynpro view.
I am using BIApplicationFrame ui element for this.
I set the template id in template property of BIApplicationFrame.
I have to execute a query of this template.
So i selected the option 'query' of dataProviderStateType property.
<b>How to send the query parameters to that query.</b>
I did not find any help ( Example tutorial ) for BIApplicationFrame UI element in SDN.
Please anybody help me out.Hi Charan
I tried to add the costume parameter in BIApplicationFrame same method that you mentioned. But the result is not coming.
I am trying to pass the input variable for the query.
My url is:
http://<host>:<port>/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=BTMP_20100929_054852&DUMMY=8&debug=x&BI_COMMAND=&BI_COMMAND-BI_COMMAND_TYPE=SET_SELECTION_STATE&BI_COMMAND-CHARACTERISTICS_SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=ZCUSTOM1&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=C07&BI_COMMAND-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF=DP_1&REQUEST_ID=11
If I execute the url directly the out put is coming perfectly after filtering and if I pass the parameter by adding code in wddomodifyview method the filters not working.
My webdynpro code given below:
mapParams.put("BI_COMMAND=&BI_COMMAND-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF=DP_1&BI_COMMAND-BI_COMMAND_TYPE=SET_SELECTION_STATE&BI_COMMAND-CHARACTERISTICS_SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=ZCUSTOM1&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS=&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING&BI_COMMAND-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING","C05");
Appreciate if you can help me on this.
Sajith -
How to send query parameters using BIApplicationFrame in WD Java
HI,
I am working on integration of BEx WebTemplate in webdynpro view.
I am using BIApplicationFrame ui element for this.
I set the template id in template property of BIApplicationFrame.
I have to execute a query of this template.
So i selected the option 'query' of dataProviderStateType property.
How to send the query parameters to that query.
I am setting the fowlloing values in BIApplicationFrame
dataProviderStateName: BEx Query Name
dataProviderStateType: query
server: server url
server type: java
templateid: BEx template id.
The query screen is opening ..But no data.
I have to pass the following two parameters to that query:
BI_COMMAND_1-I_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=ZVARCUST01&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=0500000003
&BI_COMMAND_2-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0I_CMNTH&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=01/2000-12/2002
How to send these two query parameters using BIApplicationFrame.
I did not find any help ( Example tutorial ) for BIApplicationFrame UI element in SDN.
Please help me.My problem solved. I used the following code in wdModifyView() method.
Map parameters=new HashMap();
parameters.put("BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=ZVARCUST01&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING","0500000003");
parameters.put("BI_COMMAND_2-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=0I_CMNTH&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_2-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING","01/2000-12/2002");
WDBIMethods.addCustomParameters(wdThis.wdGetAPI(),"BIApplicationFrame",parameters); -
i have a macbook pro and need to send a password protected document to a pc based computer and it shows up at the other end as corrupted and they can't open it- any suggestions on how to make it work?
It was tricky sorting out the actual questions in your post. I think the other poster has one question in hand, here's the other:
Post by Turingtest2: HowTo: Grouping Tracks Into Albums - http://discussions.apple.com/message.jspa?messageID=9910895 -
Why is Apple sending an email to an address I can't find in my account??
Agro1 wrote:
Why is Apple sending an email to an address I can't find in my account??
Apple will not send you password reset requests in an email. It is likely a phishing email trying to get your personal or security information. Ignore the request and send the email to trash. Do not provide any personal or security information in response to the email. Do not click on any links in the email. -
How to send XML using UTL_HTTP
I am trying to workout how to send XML data to a webserver using UTL_HTTP but am not getting any reply
I need to submit the following XML document to a server "http://api.fastsms.co.uk/api/xmlapi.php" Their instructions are "The XML Document should be posted unencoded, with a UTF-8 character set as parameter 'xml'"
If I submit the following XML on their test form
<?xml version="1.0"?>
<apirequest version="1">
<user>
<username>**USER**</username>
<password>**PASSWORD**</password>
</user>
<application>
<name>Example Application</name>
<version>1.0</version>
</application>
<inboundcheck lastid="10711399"/>
</apirequest>
I get an XML response back with the messages in my inbox.
This is the code I am trying to use to accomplish the same from PL/SQL : I know a response is coming back as there is header information - just no content. What am I doing wrong ?
l_xml VARCHAR2(5000);
req utl_http.req;
resp utl_http.resp;
header_name VARCHAR2(256); -- Response header name
header_value VARCHAR2(1024); -- Response header value
response_text VARCHAR2(4000); -- Response body
l_url VARCHAR2(100);
BEGIN
l_xml := 'xml=<?xml version="1.0"?>';
l_xml := '<apirequest version="1">';
l_xml := '<user>';
l_xml := '<username>**USER**</username>';
l_xml := '<password>**PASSWORD**</password>';
l_xml := '</user>';
l_xml := '<application>';
l_xml := '<name>Example Application</name>';
l_xml := '<version>1.0</version>';
l_xml := '</application>';
l_xml := '<inboundcheck lastid="10711399"/>';
l_xml := '</apirequest>';
-- Open HTTP connection
l_url := 'http://api.fastsms.co.uk/api/xmlapi.php';
req := utl_http.begin_request(l_url,'POST',utl_http.HTTP_VERSION_1_1);
-- Set headers for type and length
utl_http.set_header(req,'Content-Type','application/x-www-form-urlencoded');
utl_http.set_header(req,'Content-Length',to_char(length(l_xml)));
-- Write parameter
utl_http.write_text(req,l_xml);
-- Read response file
resp := utl_http.get_response(req);
-- Print out the response headers
FOR i IN 1 .. utl_http.get_header_count(resp) LOOP
utl_http.get_header(resp,i,header_name,header_value);
logging_pkg.info(header_name || ': ' || header_value);
END LOOP;
-- Print out the response body
BEGIN
LOOP
utl_http.read_text(resp,response_text);
logging_pkg.info(response_text);
END LOOP;
EXCEPTION
WHEN utl_http.end_of_body THEN
logging_pkg.info('End of body');
END;
-- close http connection
utl_http.end_response(resp);
EXCEPTION
WHEN utl_http.end_of_body THEN
utl_http.end_response(resp);
END;
Cheers,
BrentHi Billy
Yikes - how embarassing ! Thanks for pointing out my beginners mistake there. I've fixed my code - and also implemented the substitutions of parameters like you suggested - I like that approach.
Unfortunately the end result is no better - the line
utl_http.read_text(resp,response_text);
Still returns nothing back
The headers that are coming back are
Date: Thu, 04 Jul 2013 08:31:56 GMT
Server: Apache/2.2.16 (Ubuntu)
X-Powered-By: PHP/5.3.3-1ubuntu9.3
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html; charset=UTF-8
Connection: close
I guess I will need to try chasing it with the fastsms vendor so see if they can check my incoming request and see if there are any glaring problems. I know the xml is correct as I am now logging the xml string just before I send it and when I take that string and put it in their test form it works perfectly - something else in the puzzle is missing. I've had no experience using utl_http before - perhaps it's no possible to read the xml repsonse using this ?
Anyway, thanks for your help Billy.
ps - How do you paste your code into your message to get that formatting ?
Cheers,
Brent -
MDM lookup parameters from File Sender Channel
Hi SDNers,
In my current assignment I am required to make an SAP MDM lookup in a JAVA Mapping to fetch certain details to further process the message.
Currently the MDM server details along with user id and password are maintained in a properties file.
During Migration from Development to Quality or from Quality to Production Environment this properties file needs to be changed and the mapping needs to be reimported individually in each environment.
I want to avoid this cumbursome task of changing the properties file and re importing the Java Map on each environment.
Is there any way to mention the following 3 parameters in the Sender Channel itself (in my case it is FIle Channel)
Server IP Address, User ID, Password? so that the Java Map at runtime can access these parameters from the channel, as each environment will have different channel.
I don't know if I can use ASMA or Additional Parameters for achieving this.
Regards,
Gautam PurohitHi Michal,
Can you please elaborate this?
I need to give parameters like;
mdm.repository.host=Development_Server
mdm.repository.name=Development_Rep
for all three environments.
How can I achieve this using Value Mapping?
Regards,
Gautam Purohit -
Can nyone tell me how to send sms through forms6i....................its urgent................
hey there are many companies giving sms power to you...
so you can do one thing just make the code below in your button trigger
and supply the required parameters...
host('C:\Program Files\Internet Explorer\IEXPLORE.exe http:\\www.'||:IE);
and then :IE is one of text field there you can write som thing like below...
http://<your service provider website name and path > ?outLogin=<login>&outPWD=<password>&outMSG=<sms_msg>&outNumber=<phone number>&sign=<signature>
you have to replace <param name> and make appropriate changes...
one website i know is....."http://timessms.com"
Enjoy Oracle....
Message was edited by:
Ravi Suthar -
How to send the file contents in the application server to ftp server
Hi,
how to send the file contents in the application server to ftp server.
regards,
sreeTest SAP FTP functions
DATA: BEGIN OF MTAB_DATA OCCURS 0,
LINE(132) TYPE C,
END OF MTAB_DATA.
DATA: MC_PASSWORD(20) TYPE C,
MI_KEY TYPE I VALUE 26101957,
MI_PWD_LEN TYPE I,
MI_HANDLE TYPE I.
START-OF-SELECTION.
MC_PASSWORD = 'password'.
DESCRIBE FIELD MC_PASSWORD LENGTH MI_PWD_LEN.
*-- FTP_CONNECT requires an encrypted password to work
CALL 'AB_RFC_X_SCRAMBLE_STRING'
ID 'SOURCE' FIELD MC_PASSWORD ID 'KEY' FIELD MI_KEY
ID 'SCR' FIELD 'X' ID 'DESTINATION' FIELD MC_PASSWORD
ID 'DSTLEN' FIELD MI_PWD_LEN.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = 'userid'
PASSWORD = MC_PASSWORD
HOST = 'servername'
RFC_DESTINATION = 'SAPFTP'
IMPORTING
HANDLE = MI_HANDLE
EXCEPTIONS
NOT_CONNECTED = 1
OTHERS = 2.
CHECK SY-SUBRC = 0.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
HANDLE = MI_HANDLE
COMMAND = 'dir'
TABLES
DATA = MTAB_DATA
EXCEPTIONS
TCPIP_ERROR = 1
COMMAND_ERROR = 2
DATA_ERROR = 3
OTHERS = 4.
IF SY-SUBRC = 0.
LOOP AT MTAB_DATA.
WRITE: / MTAB_DATA.
ENDLOOP.
ELSE.
do some error checking.
ENDIF.
CALL FUNCTION 'FTP_DISCONNECT'
EXPORTING
HANDLE = MI_HANDLE
EXCEPTIONS
OTHERS = 1.
Execute external commands (FTP Scripts)
The following code shows the syntax of the FM 'SXPG_COMMAND_EXECUTE'. You pass it the external command created within transaction SM69 and it will execute it.
DATA: ld_comline
LIKE sxpgcolist-name,
ld_param LIKE sxpgcolist-parameters,
ld_status LIKE extcmdexex-status,
ld_output LIKE btcxpm OCCURS 0 WITH HEADER LINE,
ld_subrc LIKE sy-subrc.
REFRESH ld_output.
MOVE 'FTP_DATA_IN' to ld_comline. "Maintained using trans SM69
Execute external command, contained in 'ld_comline'
CALL FUNCTION 'SXPG_COMMAND_EXECUTE'
EXPORTING
commandname = ld_comline
additional_parameters = ld_param "Params passed to script
operatingsystem
= 'UNIX'
IMPORTING
status = ld_status
TABLES
exec_protocol = ld_output
EXCEPTIONS
no_permission
= 1
command_not_found
= 2
parameters_too_long
= 3
security_risk
= 4
wrong_check_call_interface = 5
program_start_error = 6
program_termination_error = 7
x_error = 8
parameter_expected = 9
too_many_parameters = 10
illegal_command = 11
wrong_asynchronous_parameters = 12
cant_enq_tbtco_entry
= 13
jobcount_generation_error
= 14
OTHERS
= 15.
IF sy-subrc NE 0.
ENDIF. -
How to send File on application server for Attachment
Hi,
Friends in my application file is to be sent with Email as an attachment.
all this to be done via servlet for that i have to send the file to application server from there servlet will send mail via Email server.
How can send this file to server.
plz help me .
ThanksHi,
The following program illustrates the creation of ifle in app server and reading the file from appli server:
DATA: ITAB LIKE vbakOCCURS 0 WITH HEADER LINE.
PARAMETERS: P_VBELN LIKE VBAP-VBELN.
START-OF-SELECTION.
SELECT *
FROM VBAP
INTO TABLE ITAB
WHERE VBELN = P_VBELN
PERFORM WRITE_DATA.
PERFORM READ_DATA.
*& Form WRITE_DATA
text
--> p1 text
<-- p2 text
FORM WRITE_DATA.
OPEN DATASET 'VBAP_DATA' FOR OUTPUT IN TEXT MODE.
LOOP AT ITAB.
TRANSFER ITAB TO 'VBAP_DATA'.
ENDLOOP.
CLOSE DATASET 'VBAP_DATA'.
CLEAR: ITAB, ITAB[].
ENDFORM. " WRITE_DATA
*& Form READ_DATA
text
--> p1 text
<-- p2 text
FORM READ_DATA.
OPEN DATASET 'VBAP_DATA' FOR INPUT IN TEXT MODE.
DO.
READ DATASET 'VBAP_DATA' INTO ITAB.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
APPEND ITAB.
ENDDO.
CLOSE DATASET 'VBAP_DATA'.
LOOP AT ITAB.
WRITE:/ ITAB-VBELN,
ITAB-POSNR.
ENDLOOP.
ENDFORM. " READ_DATA
If it is helpful rewards points
Regards
Pratap.M
Maybe you are looking for
-
More along the theme of 'itunes doesn't work' please help
had to upgrade itunes so that my new shuffle would work, however it won't open with no error message other than itunes has experienced a problem. have tried uninstalling/reinstalling etc cannot uninstall quicktime. have even gone into registry to try
-
Live Install - Monitor "Out of Range"
Brand new to Solaris, and fairly new to *nix. Tried installing from the Live CD, and my monitor goes "out of range" when the GUI boots. Likewise, did the text installer, installed "slim_install" and enabled gdm and the same same thing occurred. I am
-
MM Invoice gets blocked for payment
Hi Friends As per business requirement we created a u2018Framework Type POu2019 with 1 as quantity and value as $2000. Though, quantity is not required as this is value based, since quantity is a mandatory field, we populate quantity with 1 in PO
-
I have a credit and it won't let me use it
I have a credit (it shows) yet, when I go to ITunes Store to get a song, it says it will go to my credit card?
-
Need a receipt for bought iPhone
I bought an iPhone 5s on 27th August in Apple store and sent it overseas to a friend, unfortunately package got lost in destination country (they probably stole it), I claimed a refund (got coverage on 700$) and now post is asking for a receipt of it