Detect encoding type from server?

We are writing an RFC server using the JCO API and we started with code similar to example5.  However, we need to support unicode, so we are using the addInfo method that includes specifying the byte length.  The number of bytes can be calculated, in most cases, by multiplying the char length by the encoding char byte length.  ie. a field that is 10 chars in length, would be 20 bytes in length in a UTF-16 system.  But we need to know if our customer's SAP system supports unicode.  Is it possible from the JCO.server object to know the encoding type of the SAP system?  Or is there another object I can use other than the JCO.client object?
We only need this info for registering our functions with the gateway.  We figured we could get around not knowing the encoding type by using JCO to find out the structure of a table and using that info to set up the function objects.  I know I can create a JCO.client object, connect to the gateway and query the repository for the structure of a table using getStructureDefinition, but is it possible to do this without a client object?  We are figuring our customers will not like our server requiring a client connection, so we are trying to avoid obtaining this information that way, but we are not sure how to get it any other way.
Also, it is our understanding that either the customers SAP system will be unicode enabled or it won't be.  And if it is unicode enabled, the field lengths expected in addInfo would be UTF-16 lengths - ie. 2 bytes per char.  Is this assumption correct?  Or should we be supporting other encodings like UTF-8 where our calculations noted above would not work?
Thanks

Hi Karl,
try to turn of the proxy settings (No proxy)
in the preferences of Java Web Start.
CU,
Mathias

Similar Messages

  • Retrieve System.Exception type from Server.GetLastError()

    I added Global.asax  in my web project to capture uncaught exceptions by try-catch. I need to get the exception type, so I can show a friendly message. Is this possible?
    Thank you
    Maher

    "I need to get the exception type"
    Server.GetLastError().GetType()?
    You may want to check for a null exception before calling GetType.
    "so I can show a friendly message."
    Why do you need the type for that, you have the Message property of the exception object, that's the closest to "friendly" as you can get.
    But for web apps displaying exception details is debatable, you may end up leaking information that's not supposed to be seen by the user. Simply displaying "An unexpected error occurred." is safer, exception details need to go to logs.

  • Is this possible in TIDAL , Change the Lotus Domino Server (LotusDominoData) service Startup Type from 'Automatic' to 'Manual

    1) Shutdown the Domino server (Lotus Domino Server (LotusDominoData) service)
    2) Change the Lotus Domino Server (LotusDominoData) service Startup Type from 'Automatic' to 'Manual'
    3) Reboot the server
    4) Defragment the drive (D:\ or F:\)
    5) Change the Lotus Domino Server (LotusDominoData) service Startup type from 'Manual' to 'Automatic'
    6) Reboot the server
    Any help would be appreciated.

    Binu - are you wanting to automate this process with TES?
    There is a windows cmd command "net stop" and "net start" you can use to stop and start a service.
    You will need to work with your windows admin or look online for a command line way to change the service to manual and to start the defrag.
    There is a shutdown command that can be run from cmd. It has a switch to force the reboot.
    You might also check out scripting with WMI.
    Hope this helps,
    Michelle

  • Import IMAGE type from SQL Server to BLOB in Oracle

    Hello,
    Is there a way to import a IMAGE type from SQL Server to BLOB type in Oracle from one table to another through a database link?
    I'm waiting for an answer as soon as possible.
    Best regards,
    Florin
    Edited by: Florin Manole on Sep 10, 2008 11:53 AM

    Have you already configured a Heterogeneous Services and Generic Connectivity to create a database link from Oracle to SQL Server? I haven't tried copying IMAGE data from SQL Server via Heterogeous Services myself, but from the [data type map|http://download.oracle.com/docs/cd/B19306_01/server.102/b14232/apb.htm#sthref509] in the documentation, I would expect that it would work so long as the SQL Server ODBC driver maps the IMAGE data type to SQL_LONGVARBINARY
    Justin

  • How to detect whether browser's java script  disabled or not from server

    How to detect whether browser's java script disabled or not from server side

    I would use a hidden parameter created by a javascript. if this is null, javascript is disabled...

  • Detect browser version & type from a servlet

    How can I detect browser version & type from a servlet ?
              jo
              

    Jo,
              Pls refer SnoopServlet.java(weblogic_home/examples/servlets) which
              comes with weblogic installation.
              Kumar
              Jan-Olav Eide wrote:
              > How can I detect browser version & type from a servlet ?
              >
              > --
              > jo
              

  • "duplicate headers detected from server"

    Hi, Chrome suddenly doesnt show my muse site, saying:"duplicate headers detected from server" and "ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH",( but only in some computers) and in Firefox says "corrupt content" ( but only in some computers). Internet Explorer no problem.
    Help me please
    The site is: www.soyunamilanesa.com.ar
    Thanks a lot
    Pablo

    William,
    In Mail 3, unlike earlier versions, there is one file for all accounts that prevents duplicate downloads -- in earlier versions there was one per POP account. This file most likely has become corrupted. Quit Mail, and in the Finder open Home/Library/Mail and locate the file named MessageUidsAlreadyDownloaded3 and drag it out of the Mail folder. For good measure open each POP account folder, and if you see other files with similar name (ending in 2 or no other character) delete those. Now relaunch Mail, and endure one more round of again downloading duplicates, but this time a new MessageUidsAlreadyDownloaded3 will be created, and future results should be good.
    Ernie

  • How do you stop an MBP headphone-in from constantly re-detecting input type?

    I'm a professional music producer - I work for majors.
    I only use "regular" ("studio quality") headphones in my MBP, for reference on-the-move.
    I have had the same issue on two consecutive MBP's now.
    Every time there is the slightest movement or slight strain on the jack - the MBP silences the input (and, I assume tries to detect what type of input there is at the socket). This can happen when adjusting the MBP in ones lap, table... it can happen at every movement of machine or cable.
    The jack doesn't have to visibly move. I have to take out the jack wait a second and re-insert. This doesn't even work every time.
    So: How does one manually set and lock the input type?

    Vogon wrote:
    Indeed it would, thanks.
    I have a number of USB related devices but I don't want to carry extra equipment around or want to use headphones other than those I am used to in the studio... Ones you can wear for extended periods too. Unless you know of studio quality USB headphones?
    Especially when my >$2500  MBP claims to have a usable headphone socket. ;-)
    So, there is no user option to turn off a feature which interupts work like this?
    I don't think that it is a 'feature' my bet is on 'failure' instead.
    I think that the connection between the 3 pole connector on your studio quality headphones (a model would be nice to know) and the 4 pole socket on the Mac is not good. Can you reproduce this with a standard pair of Apple earbuds (a test only) or is it limited to whatever your headphones are?
    I will also suggest a USB interface, they are very small (put it in your pocket, buy 2) the Logitech version is in the picture below.
    If you do choose the 3.5mm to USB option this one (Turtle Beach Amigo II) is the best I have used.
    Requiring no drivers (on a Mac) it sounds at least as good as the internal audio does.

  • Reading a CSV file from server

    Hi All,
    I am reading a CSV file from server and my internal table has only one field with lenght 200. In the input CSV file there are more than one column and while splitting the file my internal table should have same number of rows as columns of the input record.
    But when i do that the last field in the internal table is appened with #.
    Can somebody tell me the solution for this.
    U can see the my code below.
    data: begin of itab_infile occurs 0,
             input(3000),
          end of itab_infile.
    data: begin of itab_rec occurs 0,
             record(200),
          end of itab_rec.
    data: c_comma(1) value ',',
            open dataset f_name1 for input in text mode encoding default.
            if sy-subrc <> 0.
              write: /, 'FILE NOT FOUND'.
              exit.
            endif.
    do
      read dataset p_ipath into waf_infile.
      split itab_infile-input at c_sep into table itab_rec.
    enddo.
    Thanks in advance.
    Sunil

    Sunil,
    You go not mention the platform on which the CSV file was created and the platform on which it is read.
    A common problem with CSV files created on MS/Windows platforms and read on unix is the end-of-record (EOR) characters.
    MS/Windows usings <CR><LF> as the EOR
    Unix using either <CR> or <LF>
    If on unix open the file using vi in a telnet session to confirm the EOR type.
    The fix options.
    1) Before opening the opening the file in your ABAP program run the unix command dos2unix.
    2) Transfer the file from the MS/Windows platform to unix using FTP using ascii not bin.  This does the dos2unix conversion on the fly.
    3) Install SAMBA and share the load directory to the windows platforms.  SAMBA also handles the dos2unix and unix2dos conversions on the fly.
    Hope this helps
    David Cooper

  • Why doesn't using EAS to sync Drafts from server to client work anymore?

    Hi All,
    I understand that uploading an email into a Drafts folder is not possible and has never been possible using Exchange ActiveSync.
    It has always been possible, however, to download emails from the Drafts folder and to sync the Drafts folder like any other folder. Recently, however, I have been having problems performing this sync. These problems are occuring on Office-365. Other users
    are also experiencing the issue. There is a thread discussing this issue  on that site at: http://community.office365.com/en-us/forums/158/p/176113/525322.aspx#525322 
    Unfortunately, there is still no resolution forthcoming from the Office-365 support team, so I thought it might help to cross-post the problem here.
    In short, the problem that I am seeing is that the GetItemEstimate command receives a Status of 4 indicating an invalid sync key. This is even though the Sync Key is known the be valid. If that issue is ignored, and a Sync command is sent, then there is no
    error, but the incorrect information is returned. The information that should be returned is the 'Adds' for the folder. Instead, an empty reply is received, indicating that there is nothing to sync.
    Here are the details from the interaction:
    =================
     [EAS] Client Sends: 
    ================
    <Sync xmlns="AirSync:">
        <Collections>
            <Collection>
                <SyncKey>0</SyncKey>
                <CollectionId>4</CollectionId>
            </Collection>
        </Collections>
    </Sync>
    ======================
    [EAS] Received from Server
    ======================
    <Sync>
        <Collections>
            <Collection>
                <SyncKey>1335200247</SyncKey>
                <CollectionId>4</CollectionId>
                <Status>1</Status>
            </Collection>
        </Collections>
    </Sync>
    =================
     [EAS] Client Sends:
    =================
    <GetItemEstimate xmlns="GetItemEstimate:">
        <Collections>
            <Collection>
                <airsync:SyncKey>1335200247</airsync:SyncKey>
                <CollectionId>4</CollectionId>
            </Collection>
        </Collections>
    </GetItemEstimate>
    ======================
     [EAS] Received from Server
    ======================
    <GetItemEstimate>
        <Response>
            <Status>4</Status>        
            <Collection>
                <CollectionId>4</CollectionId>
            </Collection>
        </Response>
    </GetItemEstimate>
    ================
    [EAS] Client Sends
    ================
    <Sync xmlns="AirSync:">
        <Collections>
            <Collection>
                <SyncKey>1335200247</SyncKey>
                <CollectionId>4</CollectionId>
                <DeletesAsMoves/>
                <GetChanges/>
                <WindowSize>64</WindowSize>
                <Options>
                    <airsync:MIMESupport>2</airsync:MIMESupport>
                </Options>
            </Collection>
        </Collections>
    </Sync>
    =====================================
    This receives an empty reply indicating no changes
    Here are the HTTP Headers:
    =====================================
    Headers: {
        "Cache-Control" = private;
        "Content-Encoding" = gzip;
        "Content-Length" = 119;
        "Content-Type" = "application/vnd.ms-sync.wbxml";
        Date = "Fri, 19 Jul 2013 22:31:47 GMT";
        "MS-Server-ActiveSync" = "15.0";
        Server = "Microsoft-IIS/7.5";
        "Set-Cookie" = "X-BackEndCookie=S-1-5-21-2447848828-1310731447-1641304557-13231500=u56Lnp2ejJqBz83MmsfNncnSzJnGztLLyMfP0p7Nxp3Szs/HycjPzJrIy5ybgZiQkJuXipKekYzRkJGSlpyNkIyQmYvRnJCSgcjQzsbQzc/OzN/Oz8XLzsXLyN+vsg==; expires=Fri,
    19-Jul-2013 22:41:47 GMT; path=/Microsoft-Server-ActiveSync; secure; HttpOnly";
        Vary = "Accept-Encoding";
        "X-AspNet-Version" = "4.0.30319";
        "X-BEServer" = BN1PR05MB121;
        "X-CalculatedBETarget" = "bn1pr05mb121.namprd05.prod.outlook.com";
        "X-DiagInfo" = BN1PR05MB121;
        "X-FEServer" = BY2PR09CA003;
        "X-Powered-By" = "ASP.NET";
        "request-id" = "b78e1afc-74b4-4080-a8b2-c641f567d4f9";
    Cookies: (
        "<NSHTTPCookie version:0 name:\"X-BackEndCookie\" value:\"S-1-5-21-2447848828-1310731447-1641304557-13231500=u56Lnp2ejJqBz83MmsfNncnSzJnGztLLyMfP0p7Nxp3Szs/HycjPzJrIy5ybgZiQkJuXipKekYzRkJGSlpyNkIyQmYvRnJCSgcjQzsbQzc/OzN/Oz8XLzsXLyN+vsg==\"
    expiresDate:2013-07-19 22:41:47 +0000 created:2013-07-19 22:31:47 +0000 (3.95966e+08) sessionOnly:FALSE domain:\"outlook.office365.com\" path:\"/Microsoft-Server-ActiveSync\" isSecure:TRUE>"
    Thanks!
        -Rich

    Hi Tom,
    Thanks for following up on this and providing a definitive answer. It is much appreciated.
    The decision they have made to block the Drafts folder syncing is mildly disappointing.
    Unfortunately, the mechanism by which they are implementing this makes it a more serious issue.
    Specifically, they should not be returning a Status of 4 in response to the GetItemEstimate for the Drafts folder. That Status of 4 effectively says, "Try Again".  See section 2.2.3.162.6 of the MS-ASCMD document.
    Instead, they should probably return a Status of 1 and an Estimate of 0. This would be the appropriate match with their empty collection in response to the Sync command.
    Alternatively, they could return a Status of 2 indicating, "an incorrect folder was requested". 
    Or they could simply omit the folder from the FolderHierarchy response.
    By returning a 4 and requesting that the client try again, they can cause the client to enter a continuous (and infinite) stream of GetItemEstimate requests. By following the documentation from 2.2.3.162.6, a client would get into this loop:
    1) GetItemEstimate returns 'Invalid sync key'
    2) FolderSync returns status OK 
    3) GetItemEstimate returns 'Invalid sync key'
    4) FolderSync with syncKey 0  returns Status OK
    5) goto 1
    Thanks,
        -Rich

  • How to make Client instantly recieve msg from Server

    Hello! I'm trying to make a multiplayer game via Bluetooth (RFCOMM protocol) in J2ME. I already managed to detect devices both as a client and as a server. I also managed to send real-time message from client(s) to server in the following way:
    // Pauses thread until Transmission occurs
    StreamConnection conn = notifier.acceptAndOpen();
    read_msg(conn); //this is the function which reads the date received from client
    But when I try the above as a client I got some exception, but never mind actually.
    Here is the actual problem:
    I want to be able to send a message from server to client whenever I press a key so that the client instantly receives that message.
    Now the only thing that comes to my mind is to periodically check (i.e. every 50 ms) StreamConnection and watch for some changes like this.
    while(true) {
    InputStream input = conn.openInputStream(); // conn is of type StreamConnection
    //now I check if the messege received is the new one OR have I actually received a message
    // here I pause the Thread for i.e. 60 ms
    But that would be extremely CPU heavy and foolish, wouldn't it?
    So is there a smart way to register when client gets a message from server?
    Please give me some example for client side.
    Edited by: leden on Sep 27, 2007 3:07 PM

    One more question.
    I have a server and many clients. Let's say I had already received the first message from every client with this piece of code:
    for(int current_client = 0; current_client < MAX_CLIENTS; ++current_client) {
    //notifier is of type StreamConnectionNotifier
    StreamConnection conn = notifier.acceptAndOpen(); //wait for transmission to occur
    String response = read_msg(conn); //read_msg actually reads the message
    Now, at some other moment I want to send a message to one of the clients .
    How could I do that?
    Do I have to add this command in the for loop above, perhaps?:
    conn_client[current_client] = conn;
    then simply reply by doing:
    OutputStream output = conn_list[who_I_want_to_send_msg_to].openOutputStream();
    and then the code like in my first post
    OR this whole procedure is totally wrong?
    Please explaim me what does openOutputStream() actually do?
    Edited by: leden on Sep 30, 2007 8:51 AM

  • Uploading csv files and reading them from server

    I want to read a csv file.From Flex i am able to select the
    file but when i pass it to the server using struts
    FileUploadInterceptor , am not able to pass the file to the
    server.FileUploadInterceptor in struts2 processes the request only
    if its instance of MultiPartRequestWrapper.Is there any way in Flex
    where i can pass the request as a instance of this.Is there any
    other way in which i can read the file from the server after
    uploading it through flex.Code is as follows :
    1)MXML File :
    ?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import ImportData;
    import flash.net.FileReference;
    import flash.net.FileFilter;
    import flash.events.IOErrorEvent;
    [Bindable] var fileRef:FileReference = new FileReference();
    private function openFileDialog():void{
    fileRef.addEventListener(Event.SELECT, selectHandler);
    fileRef.addEventListener(Event.COMPLETE, completeHandler);
    fileRef.addEventListener(DataEvent.UPLOAD_COMPLETE_DATA
    ,uploadCompleteHandler);
    fileRef.addEventListener(IOErrorEvent.IO_ERROR,onIOError);
    try{
    var textTypes:FileFilter = new FileFilter("Text Files
    (*.txt,*.csv)","*.txt;*.csv");
    var allTypes:Array = new Array(textTypes);
    //var success:Boolean = fileRef.browse();
    var success:Boolean = fileRef.browse(allTypes);
    catch(error:Error){
    trace("Unable to browse for files.");
    private function onIOError(event:IOErrorEvent):void {
    trace("In here"+event.text);
    trace("In here"+event.toString());
    // when a file is selected you upload the file to the upload
    script on the server
    private function selectHandler(event:Event):void{
    //var request:URLRequest = new URLRequest("/importAction");
    var request:URLRequest = new URLRequest("
    http://localhost:8080/pack1/importAction.action");
    try
    fileRef.upload(request);
    catch (error:Error)
    trace("Unable to upload file.");
    private function completeHandler(event:Event):void{
    trace("uploaded");
    // dispatched when file has been uploaded to the server
    script and a response is returned from the server
    // event.data contains the response returned by your server
    script
    public function uploadCompleteHandler(event:DataEvent):void
    trace("uploaded... response from server: \n" +
    String(event.data));
    ]]>
    </mx:Script>
    <mx:Button label="Import" id="importBtn"
    click="openFileDialog()" height="20" width="90"
    styleName="buttonsOnSearchBar"/>
    <mx:ComboBox x="23" y="44" borderColor="#ff0000"
    themeColor="#ff0000"></mx:ComboBox>
    </mx:Application>
    2)struts.xml file
    <struts>
    <package name="pack1"
    extends="struts-default,json-default">
    <global-results>
    <result name="error" type="json"></result>
    </global-results>
    <global-exception-mappings>
    <exception-mapping result="error"
    exception="java.lang.Throwable"/>
    </global-exception-mappings>
    <action name="importAction"
    class="routing.ImportAction">
    <interceptor-ref name="fileUpload"/>
    <interceptor-ref name="basicStack"/>
    <result name="success" type="json"></result>
    </action>
    </package>
    </struts>
    3)Action Class
    package com.om.dh.orderrouting.action;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.util.ArrayList;
    import java.util.StringTokenizer;
    import org.apache.log4j.Logger;
    import com.opensymphony.xwork2.ActionSupport;
    public class ImportAction extends ActionSupport{
    private String contentType;
    private File upload;
    private String fileName;
    private String caption;
    private static final Logger logger =
    Logger.getLogger(ImportAction.class);
    @Override
    public String execute() throws Exception {
    * Read File Line by Line.. If the file has more than one
    word separated by comma
    * return error.
    ArrayList<String> symbolList = new
    ArrayList<String>();
    try{
    BufferedReader reader = new BufferedReader(new
    FileReader(upload));
    String line =null;
    String symbol=null;
    while((line=reader.readLine())!=null){
    StringTokenizer tokenizer = new StringTokenizer(line,"\t");
    symbol = tokenizer.nextToken();
    if(symbol!=null) symbol = symbol.trim();
    if(symbol.length()>0)
    symbolList.add(symbol);
    }catch(FileNotFoundException fne){
    if(logger.isDebugEnabled())
    logger.debug("File NotFount ", fne);
    for(String symbol1:symbolList)
    System.out.print(symbol1+" ");
    return SUCCESS;
    public String getUploadFileName() {
    return fileName;
    public void setUploadFileName(String fileName) {
    this.fileName = fileName;
    public String getUploadContentType() {
    return contentType;
    public void setUploadContentType(String contentType) {
    this.contentType = contentType;
    public File getUpload() {
    return upload;
    public void setUpload(File upload) {
    this.upload = upload;
    public String getCaption() {
    return caption;
    public void setCaption(String caption) {
    this.caption = caption;
    public String input() throws Exception {
    return SUCCESS;
    public String upload() throws Exception {
    return SUCCESS;

    quote:
    Originally posted by:
    ived
    tried this but does not work...
    var request:URLRequest = new URLRequest("
    http://localhost:8080/pack1/importAction.action");
    request.contentType="multipart/form-data";
    in the interceptor it expects the request to be instanceof
    MultiPartRequestWrapper...
    Further the document says that FileReference.upload() and
    FileReference.download() methods do not support the
    URLRequest.contentType and URLRequest.requestHeaders parameters.
    Any help ??

  • How to upload Unicode encoding files from web?

    Hi everyone,
    I do not manage to upload Unicode encoding CSV files from web. Currently I use class CL_HTMLB_MANAGER to upload file from web. It works fine with ANSI encoding files, but file content is not uploaded correctly with Unicode encoding files. Especially I get innumerable characters u201C#u201D throughout the string that contains the file content (For example instead of u201CSAP CATALOG CSV 2.0u201D I get u201CÿþS#A#P# #C#A#T#A#L#O#G# #C#S#V# #2#.#0#u201D).
    I did not find in forums a solution to my issue that is why I am now asking for your help.
    How can I upload Unicode encoding files from web? Do you know another way to upload file from web that is Unicode compatible?
    Remark: I tried to upload Unicode encoding files from SAP GUI using function module GUI_UPLOAD and upload is successful.
    Here is the code that I currently used.
    DATA:     lr_event_ex     TYPE REF TO if_htmlb_data,
               fileupload      TYPE REF TO cl_htmlb_fileupload,
               lr_upload_model TYPE REF TO /ccm/cl_bsp_upload_model,
               lr_error        TYPE REF TO /ccm/cx_file_upload.
    lr_event_ex =  cl_htmlb_manager=>get_event_ex( runtime->server->request ).
    IF lr_event_ex->event_name = 'fileUpload' AND lr_event_ex->event_type = 'upload'.
      fileupload ?= lr_event_ex.
      FREE lr_event_ex.
    * get the model
      lr_upload_model ?= me->get_model( model_id = 'mupl' ).
      IF NOT fileupload->file_name IS INITIAL.
    *   upload data
        TRY.
            CALL METHOD lr_upload_model->upload_data
              EXPORTING
                iv_file_name = fileupload->file_name
              CHANGING
                cv_xcontent  = fileupload->file_content.
          CATCH /ccm/cx_file_upload INTO lr_error.
        ENDTRY.
        FREE fileupload.
      ENDIF.
    ENDIF.
    Thank you in advance for helping me.
    Best regards,
    Vanessa

    Hi There,
    Please check the details for the same.
    Link: http://helpx.adobe.com/creative-cloud/help/sync-files.html#Sync or upload files
    Troubleshoot sync:     
    Error: "Unable to sync files"
    Creative Cloud File Sync | Known issues
    Thanks,
    Atul Saini

  • Urgent:Encoding Type

    We have a interface File to file in which we are picking up the file from the ftp server. We have three different files provided.
    In FCC we are passing the whole data as a single row.
    We have tried different encoding of the files - UFT-8, UTF-16
    and also ISO-8859. The two files are showing exact data which we want in our destination directory but one file is showing special characters like this
    A part of that
    〳ⱆ䤰㠰㠰㔰㔱㜲㘱u2030㠰㔰㕏湮楮敮⁏礬⁖慮瑡愠u2020u2020u2020u2020u2020u2020u2020u2020㈰〸〵〵卋㈠u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020u2020㄰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰〰
    It is not supporting any encoding type.
    Abhishek Mahajan

    > Steps:
    > -->Open your original file
    > -->Click on Save As
    > -->Select the Encoding as UTF-8
    This is not practical for automatic processing.
    Why you do not simply ask the provider of the file, which encoding it has, instead of guessing?
    And when you guess, try a codepage which at least has greek characters inside, like ISO-8859-7.
    http://en.wikipedia.org/wiki/ISO/IEC_8859
    Regards
    Stefan

  • No response from server HTTP 500

    Hi all,
    I am new to Widget world (in fact this is the first one). I am trying to implement Job Monitoring widget as explained in the weblog:
    /people/sergio.cipolla/blog/2007/02/19/widgets-benefits-jobs-monitor-video
    I have created wrapper function module : ZBP_JOB_SELECT_SM37B
    Created Webservice called:  ZBP_JOB_SELECT_SM37B
    I tested this web service (via web browser providing WSDL url in web services navigator) and it is working fine.
    When i specify the web service URL in Widget prefernces and click on search, i m getting error "No response from server". I have followed all the steps mentioned in the web log but still i am getting errors.
    I am accessing internet via proxy. Can this be a issue?
    Also i read other posts regarding the same issue, which suggested to Enable all logons in SICF. Can some one give details as how to enable all logons in SICF?
    Correct answers will be rewarded.
    Thanks a lot.
    Rashmi

    Hi Sergio,
    The WSDL is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    - <xsd:simpleType name="RfcException.Message.Number">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char12">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="12" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char128">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="128" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char18">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char20">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="20" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char32">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="32" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char40">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char64">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="64" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char70">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char8">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="clnt3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="time">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      <xsd:pattern value="\d\d:\d\d:\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:complexType name="TBTCJOB">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="INTREPORT" type="tns:char40" />
      <xsd:element name="STEPCOUNT" type="xsd:int" />
      <xsd:element name="SDLSTRTDT" type="tns:date" />
      <xsd:element name="SDLSTRTTM" type="tns:time" />
      <xsd:element name="BTCSYSTEM" type="tns:char32" />
      <xsd:element name="SDLDATE" type="tns:date" />
      <xsd:element name="SDLTIME" type="tns:time" />
      <xsd:element name="SDLUNAME" type="tns:char12" />
      <xsd:element name="LASTCHDATE" type="tns:date" />
      <xsd:element name="LASTCHTIME" type="tns:time" />
      <xsd:element name="LASTCHNAME" type="tns:char12" />
      <xsd:element name="RELDATE" type="tns:date" />
      <xsd:element name="RELTIME" type="tns:time" />
      <xsd:element name="RELUNAME" type="tns:char12" />
      <xsd:element name="STRTDATE" type="tns:date" />
      <xsd:element name="STRTTIME" type="tns:time" />
      <xsd:element name="ENDDATE" type="tns:date" />
      <xsd:element name="ENDTIME" type="tns:time" />
      <xsd:element name="PRDMINS" type="tns:numeric2" />
      <xsd:element name="PRDHOURS" type="tns:numeric2" />
      <xsd:element name="PRDDAYS" type="tns:numeric3" />
      <xsd:element name="PRDWEEKS" type="tns:numeric2" />
      <xsd:element name="PRDMONTHS" type="tns:numeric2" />
      <xsd:element name="PERIODIC" type="tns:char1" />
      <xsd:element name="DELANFREP" type="tns:char1" />
      <xsd:element name="EMERGMODE" type="tns:char1" />
      <xsd:element name="STATUS" type="tns:char1" />
      <xsd:element name="NEWFLAG" type="tns:char1" />
      <xsd:element name="AUTHCKNAM" type="tns:char12" />
      <xsd:element name="AUTHCKMAN" type="tns:clnt3" />
      <xsd:element name="SUCCNUM" type="xsd:int" />
      <xsd:element name="PREDNUM" type="xsd:int" />
      <xsd:element name="JOBLOG" type="tns:char20" />
      <xsd:element name="LASTSTRTDT" type="tns:date" />
      <xsd:element name="LASTSTRTTM" type="tns:time" />
      <xsd:element name="WPNUMBER" type="xsd:int" />
      <xsd:element name="WPPROCID" type="xsd:int" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="BTCSYSREAX" type="tns:char32" />
      <xsd:element name="JOBCLASS" type="tns:char1" />
      <xsd:element name="PRIORITY" type="xsd:int" />
      <xsd:element name="EVENTCOUNT" type="tns:char8" />
      <xsd:element name="CHECKSTAT" type="tns:char1" />
      <xsd:element name="CALENDARID" type="tns:char2" />
      <xsd:element name="PRDBEHAV" type="tns:char1" />
      <xsd:element name="EXECSERVER" type="tns:char20" />
      <xsd:element name="EOMCORRECT" type="xsd:int" />
      <xsd:element name="CALCORRECT" type="xsd:int" />
      <xsd:element name="REAXSERVER" type="tns:char20" />
      <xsd:element name="RECLOGSYS" type="tns:char10" />
      <xsd:element name="RECOBJTYPE" type="tns:char10" />
      <xsd:element name="RECOBJKEY" type="tns:char70" />
      <xsd:element name="RECDESCRIB" type="tns:char10" />
      <xsd:element name="TGTSRVGRP" type="tns:char40" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TBTCJOB_BK">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="INTREPORT" type="tns:char40" />
      <xsd:element name="STEPCOUNT" type="xsd:int" />
      <xsd:element name="SDLSTRTDT" type="tns:date" />
      <xsd:element name="SDLSTRTTM" type="tns:time" />
      <xsd:element name="BTCSYSTEM" type="tns:char32" />
      <xsd:element name="SDLDATE" type="tns:date" />
      <xsd:element name="SDLTIME" type="tns:time" />
      <xsd:element name="SDLUNAME" type="tns:char12" />
      <xsd:element name="LASTCHDATE" type="tns:date" />
      <xsd:element name="LASTCHTIME" type="tns:time" />
      <xsd:element name="LASTCHNAME" type="tns:char12" />
      <xsd:element name="RELDATE" type="tns:date" />
      <xsd:element name="RELTIME" type="tns:time" />
      <xsd:element name="RELUNAME" type="tns:char12" />
      <xsd:element name="STRTDATE" type="tns:date" />
      <xsd:element name="STRTTIME" type="tns:time" />
      <xsd:element name="ENDDATE" type="tns:date" />
      <xsd:element name="ENDTIME" type="tns:time" />
      <xsd:element name="PRDMINS" type="tns:numeric2" />
      <xsd:element name="PRDHOURS" type="tns:numeric2" />
      <xsd:element name="PRDDAYS" type="tns:numeric3" />
      <xsd:element name="PRDWEEKS" type="tns:numeric2" />
      <xsd:element name="PRDMONTHS" type="tns:numeric2" />
      <xsd:element name="PERIODIC" type="tns:char1" />
      <xsd:element name="DELANFREP" type="tns:char1" />
      <xsd:element name="EMERGMODE" type="tns:char1" />
      <xsd:element name="STATUS" type="tns:char1" />
      <xsd:element name="NEWFLAG" type="tns:char1" />
      <xsd:element name="AUTHCKNAM" type="tns:char12" />
      <xsd:element name="AUTHCKMAN" type="tns:clnt3" />
      <xsd:element name="SUCCNUM" type="xsd:int" />
      <xsd:element name="PREDNUM" type="xsd:int" />
      <xsd:element name="JOBLOG" type="tns:char20" />
      <xsd:element name="LASTSTRTDT" type="tns:date" />
      <xsd:element name="LASTSTRTTM" type="tns:time" />
      <xsd:element name="WPNUMBER" type="xsd:int" />
      <xsd:element name="WPPROCID" type="xsd:int" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="BTCSYSREAX" type="tns:char32" />
      <xsd:element name="JOBCLASS" type="tns:char1" />
      <xsd:element name="PRIORITY" type="xsd:int" />
      <xsd:element name="EVENTCOUNT" type="tns:char8" />
      <xsd:element name="CHECKSTAT" type="tns:char1" />
      <xsd:element name="CALENDARID" type="tns:char2" />
      <xsd:element name="PRDBEHAV" type="tns:char1" />
      <xsd:element name="EXECSERVER" type="tns:char20" />
      <xsd:element name="EOMCORRECT" type="xsd:int" />
      <xsd:element name="CALCORRECT" type="xsd:int" />
      <xsd:element name="REAXSERVER" type="tns:char20" />
      <xsd:element name="RECLOGSYS" type="tns:char10" />
      <xsd:element name="RECOBJTYPE" type="tns:char10" />
      <xsd:element name="RECOBJKEY" type="tns:char70" />
      <xsd:element name="RECDESCRIB" type="tns:char10" />
      <xsd:element name="TGTSRVGRP" type="tns:char40" />
      <xsd:element name="PROGNAME" type="tns:char40" />
      <xsd:element name="XPGPROG" type="tns:char128" />
      <xsd:element name="EXTCMD" type="tns:char18" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="BTCSELECT">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="USERNAME" type="tns:char12" />
      <xsd:element name="FROM_DATE" type="tns:date" />
      <xsd:element name="FROM_TIME" type="tns:time" />
      <xsd:element name="TO_DATE" type="tns:date" />
      <xsd:element name="TO_TIME" type="tns:time" />
      <xsd:element name="NO_DATE" type="tns:char1" />
      <xsd:element name="WITH_PRED" type="tns:char1" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="PRELIM" type="tns:char1" />
      <xsd:element name="SCHEDUL" type="tns:char1" />
      <xsd:element name="READY" type="tns:char1" />
      <xsd:element name="RUNNING" type="tns:char1" />
      <xsd:element name="FINISHED" type="tns:char1" />
      <xsd:element name="ABORTED" type="tns:char1" />
      <xsd:element name="ABAPNAME" type="tns:char40" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="RfcException.Message">
    - <xsd:sequence>
      <xsd:element name="ID" type="xsd:string" />
      <xsd:element name="Number" type="tns:RfcException.Message.Number" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="ZBP_JOB_SELECT_SM37B.RfcException">
    - <xsd:sequence>
      <xsd:element name="Name" type="tns:ZBP_JOB_SELECT_SM37B.RfcExceptions" />
      <xsd:element name="Text" minOccurs="0" type="xsd:string" />
      <xsd:element name="Message" minOccurs="0" type="tns:RfcException.Message" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TableOfTBTCJOB">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:TBTCJOB" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TableOfTBTCJOB_BK">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:TBTCJOB_BK" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:simpleType name="ZBP_JOB_SELECT_SM37B.RfcExceptions">
    - <xsd:restriction base="xsd:string">
      <xsd:enumeration value="INVALID_DIALOG_TYPE" />
      <xsd:enumeration value="JOBNAME_MISSING" />
      <xsd:enumeration value="NO_JOBS_FOUND" />
      <xsd:enumeration value="SELECTION_CANCELED" />
      <xsd:enumeration value="USERNAME_MISSING" />
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:element name="ZBP_JOB_SELECT_SM37B.Exception" type="tns:ZBP_JOB_SELECT_SM37B.RfcException" />
    - <xsd:element name="ZBP_JOB_SELECT_SM37B">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="ENDDATE" minOccurs="0" type="tns:date" />
      <xsd:element name="ENDTIME" minOccurs="0" type="tns:time" />
      <xsd:element name="JOBSELECT_DIALOG" type="tns:char1" />
      <xsd:element name="JOBSELECT_JOBLIST" minOccurs="0" type="tns:TableOfTBTCJOB" />
      <xsd:element name="JOBSELECT_JOBLIST_B" type="tns:TableOfTBTCJOB_BK" />
      <xsd:element name="JOBSEL_PARAM_IN" minOccurs="0" type="tns:BTCSELECT" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="ZBP_JOB_SELECT_SM37BResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="JOBSELECT_JOBLIST" type="tns:TableOfTBTCJOB" />
      <xsd:element name="JOBSELECT_JOBLIST_B" type="tns:TableOfTBTCJOB_BK" />
      <xsd:element name="JOBSEL_PARAM_OUT" type="tns:BTCSELECT" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="ZBP_JOB_SELECT_SM37B">
      <wsdl:part name="parameters" element="tns:ZBP_JOB_SELECT_SM37B" />
      </wsdl:message>
    - <wsdl:message name="ZBP_JOB_SELECT_SM37BResponse">
      <wsdl:part name="parameters" element="tns:ZBP_JOB_SELECT_SM37BResponse" />
      </wsdl:message>
    - <wsdl:message name="exception00">
      <wsdl:part name="exception00" element="tns:ZBP_JOB_SELECT_SM37B.Exception" />
      </wsdl:message>
    - <wsdl:portType name="ZBP_JOB_SELECT_SM37B">
    - <wsdl:operation name="ZBP_JOB_SELECT_SM37B">
      <wsdl:input message="tns:ZBP_JOB_SELECT_SM37B" />
      <wsdl:output message="tns:ZBP_JOB_SELECT_SM37BResponse" />
      <wsdl:fault name="exception00" message="tns:exception00" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZBP_JOB_SELECT_SM37BSoapBinding" type="tns:ZBP_JOB_SELECT_SM37B">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="ZBP_JOB_SELECT_SM37B">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="exception00">
      <soap:fault name="exception00" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ZBP_JOB_SELECT_SM37BService">
    - <wsdl:port name="ZBP_JOB_SELECT_SM37BSoapBinding" binding="tns:ZBP_JOB_SELECT_SM37BSoapBinding">
      <soap:address location="http://bladecx1.vshodc.lntinfotech.com:8000/sap/bc/srt/rfc/sap/ZBP_JOB_SELECT_SM37B?sap-client=100" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    The Web Service URL specified in Widget Prefernces is:
    http://bladecx1.vshodc.lntinfotech.com:8000/sap/bc/srt/rfc/sap/ZBP_JOB_SELECT_SM37B?sap-client=100&wsdl=1.1
    The only thing that i I have modified in the original widget is the name of Function Module in the main.js file. The function Module created by me is  'ZBP_JOB_SELECT_SM37B'.
    Regards,
    Rashmi

Maybe you are looking for

  • MS Office not working

    MS office dont work on my Nokia 701. i installed in 3 times. my existing word and pdf files on phone cannot be opened by MS office. plz help

  • T60 running Windows 8 won't extend display to monitor

    Hello, I checked the forums but couldn't find a similar topic. I have a T60 coming up on it's 8th birthday. About a year and a half ago I installed windows 8. Just recently I tried to extend my work space to a second VGA monitor, in addition to the T

  • New install lightdm does not start

    I've installed arch and not much past that point.  After troubles with lightdm I installed gnome and used 'systemctl enable gdm' and gdm worked after my reboot.  Anyway, more info on my lightdm problem. Steps to install pacman -S lightdm pacman -S li

  • Internet slows down at night to less than 1Mbs, poor customer service

    I'm having the same problem. I had originally 1-3 Mbps (Oct 2008 - Jan 2012). It used to work fine but then the speed seems to be slowing down as years passed by, I was getting less than 1Mbps most of the time so I upgraded to 3-7Mbps with 2 years ho

  • CS4 Problem with Template Updates

    There's another thread on this subject, but I couldn't see any final resolution. I'm having a problem with Template Update. I  have all pages in site linked to a single template.  I built the template 1st and  then created each page from the template