How to set encoding for Web-To-Go??
When the first launch of the Mobile Server (webtogo), there's a line showing the conversion for the charset encoding, like from MS950 to BIG5 for Chinese windows. Now I'm facing a problem where I need the encoding be UTF-8. Could someone please tell me where can I set this? Thank you very much for your help.
Hi Celine,
As I know, 1st your Oracle DB char set should be UTF8. 2nd Char set convertion is process in JAVA program.
Regards
Nicholas
Similar Messages
-
How to set encoding for xml Marshaller?
Hi,
I am using SAPXMLToolkit. And I use XMLMarshaller to convert from xml to java classes (jaxb classes). Now when I get some characters like ü, the marshaller gives an error
com.sap.engine.lib.xml.parser.ParserException: Unsupported character: 69(:main:, row:1, col:323)
at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:207)
at com.sap.engine.lib.xml.parser.readers.EncodedDataReader.read(EncodedDataReader.java:205)
at com.sap.engine.lib.xml.parser.helpers.AdvancedXMLStreamReader.read(AdvancedXMLStreamReader.java:152)
at com.sap.engine.lib.xml.parser.XMLParser.scanCharData(XMLParser.java:1896)
at com.sap.engine.lib.xml.parser.tokenizer.XMLTokenReaderImpl.next(XMLTokenReaderImpl.java:190)
How do I solve this?? How do I set encoding for the marshaller?
Regards,
GuruHi ogre,
To set the encoding scheme for an XML document, you can use the createProcessingInstruction. Our CVIXML instrument driver (which
is basically and user-friendly wrapper made around the MSXML interface) uses
this method to specify the version of the XML document. So, what you could do
is simply modify our existing CVIXML instrument driver to include the encoding.
It's actually quite simple to do this.
First off, open up the cvixml.c file
located in the <CVI>\toolslib\toolbox directory in CVI. Then change the
value of the constant XML_PROC_INSTR_DATA
(located on line 42) from "version=\"1.0\"" to "version=\"1.0\"
encoding=\"UTF-8\"". The save your source file and
select Options >> Create Object file. This object file
(cvixml.obj) is attached to your cvixml.fp function panel.
To test this out, you could simply use some code like
CVIXMLNewDocument ("RootElement", &xmlDoc);
CVIXMLSaveDocument (xmlDoc, 0, "C:\\Test.xml");
Then the Test.xml document should say
<?xml version="1.0" encoding="UTF-8"?>
<RootElement/>
Hope this helps!
Best Regards,
Jonathan N.
National Instruments -
How to configure SSO for web dynpro ABAP (not web dynpro Java)
Hi Experts,
I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
procedure"
Then deleted all logon procedure other than "SSO Authentication" and saved.
3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
signal).
4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
After all this settings I opened a browser enter above URL and hit enter but there is an error
There is no login page. It directly showed this error page. No cookies is saving.
Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
How to set the for single sign-on?
Thanks in Advance
Regards
PiyushHi Piyush,
Pls refer below links,
Single Sign On with ABAP WebDynpro
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
Regards
K.N -
How to set optional for table structure in functiona module
hi experts,
as i have small doubt regarding
while publishing web service by using rfc where i am unable to set optional for table structure i am able to put optional for import parameters may i know how to set optional for table structure ....
reagrds prabhanjanIgnoring the TABLES/CHANGING/EXPORTING argument...
while publishing web service by using rfc where i am unable to set optional for table structure i am able to put optional for import parameters may i know how to set optional for table structure
Why not? There's no issue with marking a TABLES interface parameter with 'Optional' and publishing the function module or function group as a web service... -
How to set mask in web dynpro input fields
i am looking for how to set mask in web dynpro input fields.
Please suggestArgha,
As Maksim suggested, read my weblog -- it is an exact answer for such "masking" (/people/valery.silaev/blog/2005/11/29/800format-your-way)
Next, you may not add custom js files to WebDynpro and change the way WD processes client input, so there is no way to force user to type only digits and to insert hyphens automatically.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
Is there any way to configure storage queue message encoding for Web Job's QueueTrigger?
We have a web job that listens to Azure storage queue via QueueTrigger. The queue messages are not encoded when they are added to the queue:
CloudStorageAccount account = CloudStorageAccount.Parse("...");
CloudQueueClient client = account.CreateCloudQueueClient();
CloudQueue queue = client.GetQueueReference("test1");
queue.EncodeMessage = false;
queue.AddMessage(new CloudQueueMessage("hello world"));
And in the web job, we use the below method to listen to the queue.
public static Task ProcessQueueMessageAsync([QueueTrigger("test1")]string message)
And the web job crashes when it gets a message, with the below output. Unfortunately we cannot control the encode setting of the coming messages. So, our question is, is there any way to configure queue message encoding for Web Job's QueueTrigger?
Thank you for any help and/or suggestion.
Found the following functions:
WebJobTest1.Functions.ProcessQueueMessageAsync
Job host started
Unhandled Exception: System.FormatException: Invalid length for a Base-64 char array or string.
at System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength)
at System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength)
at System.Convert.FromBase64String(String s)
at Microsoft.WindowsAzure.Storage.Queue.CloudQueueMessage.get_AsString()
at Microsoft.Azure.WebJobs.Host.Storage.Queue.StorageQueueMessage.get_AsString()
at Microsoft.Azure.WebJobs.Host.Queues.StorageQueueMessageExtensions.TryGetAsString(IStorageQueueMessage message)
at Microsoft.Azure.WebJobs.Host.Queues.QueueCausalityManager.GetOwner(IStorageQueueMessage msg)
at Microsoft.Azure.WebJobs.Host.Queues.Listeners.QueueTriggerExecutor.<ExecuteAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Azure.WebJobs.Host.Queues.Listeners.QueueListener.<ProcessMessageAsync>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.Azure.WebJobs.Host.Timers.BackgroundExceptionDispatcher.<>c__DisplayClass1.<Throw>b__0()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Press any key to continue . . .Hi,
Thanks for posting here.
I am not too sure if the storage queue messages can be encoded before the webjob listens to it.
I am currently researching to gather more information with regards to your request.
I shall revert back to you with an update at the earliest.
Sincerely appreciate your patience.
Regards,
Shirisha Paderu -
I need import dvd content to compressor or FCP to re encode for web
I need import dvd content to compressor or FCP to re encode for web
Is there a short cut?
When I tried, only the video went as the audio seems to be embedded. How can I encode a DVD to and Mpeg4 file with the audio?
Thank you all in advance.Google MPEG Streamclip. It's free and works! This questions gets asked a lot. Take advantage of search when you can.
-
How to set View for Completed items inside Tasks?
How to set button for 'View' and see Completed items or not completed inside Tasks?
Hi,
You want to set custom views for Tasks folder so that when we click a view button, it will show all Completed or incomplete tasks, am I correct?
Which version of Outlook are you using? There are existing views for completed/incomplete tasks in Outlook. In Outlook 2010 and Outlook 2013, we can find the buttons under View tab > Change View. Click Completed button to view all completed
tasks; Click Active button to view incomplete tasks.
In Outlook 2007, just click View > Current View to switch between different views.
If I've misunderstood something, please feel free to let me know.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
How to set password for BPEL domain
Hi,
I am new to SOA.
I want to setup client-server environment for few developers.
I installed SOA 10.1.3.3 in the server machine.
And I created few domains in BPEL, one for each developer.
It didn't ask me to set the password while creation of the domain.
Please let me know how to set password for newly created domain so that each developer login to his/her own domain and manage processes.
Thanks!!!Thanks for the prompt response.
What roles should I give to my developers to allow them to manage their services in ESB control, BPEL control, WSM control.
And I would like to know how to set the password for a BPEL domain too.
Message was edited by:
user644377 -
How to set password for every application
Hi,
As a administrator how to set password for every weblication in sharepoint 2013.
Is there any way to set?
Thanks,Who's password are you trying to set? Please provide more details.
-
How to set password for a zip file and should be checked when reading that
Hi friends,
how to set password for a zip file and should be checked when reading that file???
thanks.
Praveen Reddy.JHeyy man, i think, u did not get my problem.
all i have to do is:
i have to create a zip file, and we should secure it with password when creating. and whenever the user wants to open that zip file he should provide correct passowrd otherwise he could not read that file. So, we should check for that also.
Tanks for reply. -
How to set password for Local are connection?
How to set password for Local are connection?
do you mean the 802.1x authentication?
check out links below:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2950/software/release/12-1_9_ea1/configuration/guide/scg/Sw8021x.html
http://technet.microsoft.com/en-us/network/bb545365.aspx
Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
IT Stuff Quick Bytes -
How to set value for trim and bleed using jsx script?
I have tried using bleedoffsetRect but somehow it is not working. Can anybody please help me on how to set value for trim and bleed using jsx script? Any example will be highly appreciated.
Following is the code I am trying with:
var _saveName = new File ( root_path +_strFileName+".pdf");
var _saveOpts = new PDFSaveOptions();
_saveOpts.printerResolution = 300;
var bleedarray = new Array();
bleedarray[0] =9.00;
bleedarray[1]=9.00;
bleedarray[2]=9.00;
bleedarray[3]=9.00;
_saveOpts.bleedOffsetRect = bleedarray;I would expect although I've not actually tried this for the bleed off set box to be larger than the artbaord and the first two values to be negative or 0…
var bleedarray = new Array(-9,-9,artboard.width+9,artboard.height+9);
Where 'artboard.width' & 'artboard.height' you will have calculated from your file. An Array(9,9,9,9); would not constitute any boxes bounds. -
How to set sourceURL for MS Access database in other computer?
How to set sourceURL for MS Access database in other computer?
getConnection("jdbc:odbc://www.micrsoft.com:9999/msaccess");
How do you determine the port for the MS Access?
Thank you very much.How to set sourceURL for MS Access database in other computer?You don't.
How do you determine the port for the MS Access?You don't.
Databases like Oracle and MS SQL Server have 'server' software which runs on a server computer. Requests talk to that server software. MS Access does not have a server, so there is nothing to talk to.
You either must use a DSN or create you own server. For the DSN each client must have a mapped driver to the computer with the database. For your own server search the Sun site for JDBC drivers or use RmiJdbc (http://www.objectweb.org/) -
How to activate trace for web services
Hi Experts,
How to activate trace for web services in SOAMANAGER.
We are not able to view the Payload trace of the error logs.
Can anyone please let me know how to go about this???
Regards,
AshwiniHi Ashwini,
The thread below might be useful to you:
[SOAMANAGER - Get the XML generated;
Regards, Trevor
Maybe you are looking for
-
CC desktop app update 1.7.0.413 freezes Mac
..well just 12h in the c.cloud and this is my third visit to the forum to solve a problem.. haven't been here so often in all this years before while using Adobe products I would like to work not to write posts in the forum.. After login problems on
-
MB90 (Output from Goods Movements)
Hi, when printing with trx MB90 system cannot find the material document, the message is: No messages for initial processing exist Message no. VN108 Where could I set automatically output type WE01 in MB02 so that I can print directly from MB90 inst
-
Communication error when calling web service for checkin and checkout files
Hello, I am trying to checkout and also to checkin files within the DMS via web service. The files are stored in the VAULT (=TRESOR) without the data server parth and DVA computer. For checkout: Original zum Ändern auschecken CALL FUNCTION 'BAPI_D
-
Thanks for your precious time in looking at this thread. // I compile this class that I have done c:\test>javac Echo01.java // I tried to echo the information in xml file onto command prompt c:\test>java Echo01 webservice.xml // This is the result <?
-
Which is a better choice for me? A Macbook Air 11" or 13"?
Hello! I am soon to be a college student and I am debating whether to invest in an 11" or 13" Macbook Air. I've decided that I wanted a Macbook Air because I want a lightweight portable laptop with long battery life. But which size? Through some