Unable to fetch the headers in the response of a service through java code

Hi All,
Im working with the IDE eclipse-jee-galileo-SR2-win32.In my code Im sending the request to a service using ServiceClient.sendReceive() method. The response from the service is an empty text in the soap Body but with a http status:200 OK . The reponse is as below when testing the service directly:
Response:
HTTP/1.1 200 OK
Server: --
Content-Type : text/xml
Content-length : 141
Date : --
<SOAP-ENV: Envelope xmlns:SOAP-ENV:"http://schemas.xmlsoap.org/soap/envelope">
<SOAP-Env:Body/>
</SOAP-ENV : Envelope>
Please let me know your inputs to fetch the http response from the service using ServiceClient or Options. Any help is greatly appreciated.
Thanks,
Vyshnavi

Hi Vyshnavi,
This post is probably more appropriate for the Web Services forum on OTN. This forum is intended to help with questions about Oracle Enterprise Pack for Eclipse and the tooling it provides.
Here's a good reference for working with ServiceClient. It includes a detailed example.
http://today.java.net/pub/a/today/2006/12/13/invoking-web-services-using-apache-axis2.html#working-with-serviceclient
If you're still having issues with your client code, try the "Java Technologies for Web Services" forum on OTN...
Java Technologies for Web Services
Your post to the Web Services forum should also state whether the issue is specific to the particular service or if you're unable to get any WS clients running in your development environment. Also include a code snippet.
Kind regards,
Carlin

Similar Messages

  • When I forward an email, it includes at the top of the new forwarded message, all the headers from the original message. How do I make that disappear?

    I'm using a Mac Air with Thunderbird 34.0.
    When I forward an email, for some reason it now includes all of the headers at the top of the new forwarded message that I'm creating ... making quite a mess.
    It looks like this below. How do I make it go away?
    -------- Forwarded Message --------
    Return-path: <[email protected]>
    Received: from st11p00mm-smtpin012.mac.com ([17.172.87.212]) by ms03553.mac.com (Oracle Communications Messaging Server 7u4-27.08 (7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTP id <[email protected]> for [email protected]; Sun, 24 Aug 2014 13:21:27 +0000 (GMT)
    Original-recipient: rfc822;[email protected]
    Received: from mail-qa0-f47.google.com ([209.85.216.47]) by st11p00mm-smtpin012.mac.com (Oracle Communications Messaging Server 7u4-27.10(7.0.4.27.9) 64bit (built Jun 6 2014)) with ESMTPS id <[email protected]> for [email protected] (ORCPT [email protected]); Sun, 24 Aug 2014 13:21:27 +0000 (GMT)
    Received-SPF: pass (st11p00mm-smtpin012.mac.com: domain of [email protected] designates 209.85.216.47 as permitted sender) receiver=st11p00mm-smtpin015.mac.com; client-ip=209.85.216.47; helo=mail-qa0-f47.google.com; [email protected];
    Authentication-results: st11p00mm-smtpin012.mac.com; spf=pass (st11p00mm-smtpin012.mac.com: domain of [email protected] designates 209.85.216.47 as permitted sender) [email protected];
    Received: by mail-qa0-f47.google.com with SMTP id i13so11489430qae.34 for <[email protected]>; Sun, 24 Aug 2014 06:21:24 -0700 (PDT)
    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:references:from:content-type:in-reply-to:message-id:date:to :content-transfer-encoding:mime-version; bh=Xfi99wR8Nr2yAuqft1csrVYeP0pN3W6SV6OivQuSeeI=; b=dnVnNnLUPxfe5QnUjmMpyGwjPanqf2bgMW3iTIdtRZTLDS4EKNlVxRXxpHkPgJcSeo WSDgdCAaO6FfKsprrbRLqDsrscX1gPYd0NL/G/cgAlc58noOO7CMkZnLUtIo/GYaoy9I ABk0hcZeJWhJ69j6qNLrX4eQqr/I+jGSbW6vyPmRJ+eNtQ4V5aK7Zhd+jN5y3Ib2AEiC vvbcWHtZPRlLAEKAPcy0QtLaKknePpEu1ebcxG86yyOnIoixFfT1SwFEgjS4ZhAGAFbi EAk//JoMOrGf6+jcLPP079kJD/PYTvx3xjMpSv+0GVlv9uCwieQAYGz0vfu1ro/1Vzsb zp3w==
    X-Received: by 10.140.38.169 with SMTP id t38mr23688513qgt.3.1408886484471; Sun, 24 Aug 2014 06:21:24 -0700 (PDT)
    Return-path: <[email protected]>
    Received: from [192.168.1.100] (static-64-222-96-34.burl.east.myfairpoint.net. [64.222.96.34]) by mx.google.com with ESMTPSA id j65sm44057813qgf.22.2014.08.24.06.21.23 for <[email protected]> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Aug 2014 06:21:23 -0700 (PDT)
    Subject: Re: Morning thoughts
    References: <[email protected]>
    From: Lisa P Kable <[email protected]>
    Content-type: text/plain; charset=us-ascii
    X-Mailer: iPad Mail (11D257)
    In-reply-to: <[email protected]>
    Message-id: <[email protected]>
    Date: Sun, 24 Aug 2014 09:17:34 -0400
    To: Josh Manheimer <[email protected]>
    Content-transfer-encoding: quoted-printable
    MIME-version: 1.0 (1.0)
    Authentication-results: st11p00mm-smtpin012.mac.com; dkim=pass (2048-bit key) header.d=gmail.com [email protected] header.b=dnVnNnLU; dkim-adsp=pass
    x-icloud-spam-score: 33302230 f=gmail.com;e=gmail.com;is=yes;ir=no;pp=ham;spf=pass;dkim=pass;dmarc=?;wl=absent;pwl=absent;clxs=ham;clxl=absent
    x-dmarc-info: pass=?; dmarc-policy=(noPolicy); s=; d=
    X-MANTSH: 1TEIXWV4bG1oaGkdHB0lGUkdDRl5PWBoaHxEKTEMXGx0EGx0YBBIZBBscEBseGh8 aEQpYTRdLEQptfhcHGxEKTFkXGxoaHxEKWU0XZEVeYF9EQREKRFkXGBoRCllJFx0fcRsGGx8ad wYbHBkGGgYaBhMcBhpxGhAadwYaBhsaBhkaBhoGGgYacRoQGncGGhEKWV4XaG55EQpDThdLGxs aYkIfHVIdBE8ZeHMHHWUbGRgbeGYRCkVDFxYcEh9vaxsfHgdsax8aBx4fHmgHa2kaGwceG2xvb xkTGhJpbhxqTUdLQ0YESUVHFBEKWFwXGQQaBBscB01LGkseEhlIBRsdBBsdGAQSGQQbHBAbHho fGxEKXlkXZmYeXlMRCk1cFxsTGREKTFoXaGNrb2sRCkVYF2gRCkxGF2JraxEKQ1oXGBoTBBIfB BgbHAQeHREKQl4XGxEKQkUXbE5JXlATell6cH0RCkJOF2NTY2t7E1h+Gl9eEQpCTBdnSUNncGJ ATk1BeREKQmwXZHNrYAVHZ31uX0IRCkJAF2dFQgVFfEhYaVtuEQpCWBdkcmJzQH5aXX9ZRBEKT V4XBxsRCnBoF2ZZexJuUB0STBlrEQpwaBdpbmEFTx5sYEVwWhEKcGgXbF1uQxNtbgFicngRCnB oF2gbY01wGnxoTWNOEQpwaBdlUkheelweH11gZBEKcGwXa0lCa319GEsaXkIRCnBMF2seXntmH XAFQ3MdEQpwQxdpYE0ZQWtGfH0YQhE=
    X-CLX-Spam: false
    X-CLX-Score: 1005
    X-CLX-Shades: NotJunk
    X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52,1.0.27,0.0.0000 definitions=2014-08-23_03:2014-08-23,2014-08-23,1970-01-01 signatures=0
    X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1408240172

    From the menu bar select '''View-Headers-Normal'''

  • The headers of the frameworks disappear when I update to OS Maverick.

    I have been working with some Bluetooth low energy applications so I am using IOBluetooth framework. Normally this framework is located in /System/Library/Frameworks and It has a folder call Headers with all the .h files.
    I need this folder because I am using this like a shared library in Labview and suddenly when I update my OS, that folder disappeared.
    I was looking for other options and I saw that I can found the hold framework inside XCODE app, but It does not work as the normal one.

    I get it now.
    There is a difference between frameworks in system locations and those in the SDK. The ones in system locations may not have any headers included. They are only there for the shared library portion. When you include the headers in Xcode, you are able to make a connection to the methods in the SDK version of the library. When the app is installed on a user's machine, all that is required is the dynamic library in the expected location.
    You compile and link against the headers in the frameworks for your targeted platform and OS version. You can target anything that is listed in Xcode. But at runtime, you can only run what is in /System.

  • How do I insert page #s in the headers of the notes pp in an InCopy CS4 document?

    Hi! I'm proofreading a manuscript in InCopy CS4, and I need to insert into the headers of the notes pages the page numbers on which the notes appear in the text. I can only see the headers in the layout mode (which I can't edit), but I can't find them in the story or galley mode. How can I edit them?
    Thanks!

    TT2,
    It works just as you thought it might!
    I used both Text Edit and Pages to test it. From any file, I copied the invisible "space" that is the line break in Text Edit, and the visible symbol in Pages. Then back in iTunes, I opened the Get Info file of several different songs. In Comments wherever I needed the line break, my key sequence was simply the Command/V which is Paste for Mac.
    While this is not as perfect a solution as the CTRL/M in the Windows version, it will shave countless hours from the project of editing the files by pasting the entire section back and forth to a Text Edit program.
    For my own current need, the things to be added are brief, mostly numeric (at what position and in what year a song charted for example) and can be keyed in easily without losing my clipboard. Should I need to to paste something else, I'd have to go back to that text file and grab the magic carriage return again.
    Christopher, I hope you find this helpful too - and who knows, maybe Apple will add a little key combination for the Mac.
    Thank you again for your input here - it's been a grand adventure. Next up to mark my question answered
    MJ

  • Change the Summary Attribute Value through Java code

    Hi ,
    I am working on a requirement where I need to set the Attribute value on the final Summary Screen through Java Code.
    Code :
            InterviewUserData data = new InterviewUserData();
            InterviewEntityInstance globalInstance = data.getGlobalInstance();
            globalInstance.setValue("Name", value_to_set);
    On completion of the interview session Name is displaying as NULL.
    I need to set NAME = value_to_set and display it on the final summary screen.
    Any help on this will be appreciated.
    Regards

    The InterviewUserData object is effectively a change set, to apply this to a session you use the InterviewSession.submit(InterviewUserData) method. You don't say how you are invoking this code but if it's inside an event Interview Engine handler the InterviewSession object should be accessible.
    Regards
    Ian

  • Unable to checkin a document using 'CHECKIN_UNIVERSAL" service through java

    Hi All,
    I am trying to checkin a document through java code and following is my code part for the same( UCM 11g)
    But whenever i run this code part, it throws the following exception
    intradoc.common.ServiceException:csUnableToCheckin,<null>!csUnabletoExecMethod,populateMissingDocumentValues
    Can anyone help me with this?
    Code part
    private void checkinDoc()
    File f=new File("D:/testfolder/BPEL.pdf");
    System.out.println(" absolute path :"+f.getAbsolutePath());
    String filePath = f.getAbsolutePath().replace("\\", "/");
    checkedOutDataBinder.putLocal("IdcService", "CHECKIN_UNIVERSAL");
    checkedOutDataBinder.putLocal("dDocTitle","test");
    checkedOutDataBinder.putLocal("dDocAuthor", "weblogic");
    checkedOutDataBinder.putLocal("dDocType","Document");
    checkedOutDataBinder.putLocal("dSecurityGroup","public");
    checkedOutDataBinder.putLocal("doFileCopy", "1");
    checkedOutDataBinder.putLocal("primaryFile", filePath);
    checkedOutDataBinder.putLocal("xCollectionID", "425180507509000004");
    checkedOutDataBinder = executeService(checkedOutDataBinder,
    "weblogic");
    private DataBinder executeService(final DataBinder binder,
    final String userName) throws DataException, ServiceException
    // obtain a connection to the database
    Workspace workspace = getSystemWorkspace();
    // check for an IdcService value
    String cmd = binder.getLocal("IdcService");
    if (cmd == null)
    throw new DataException("!csIdcServiceMissing");
    // obtain the service definition
    ServiceData serviceData = ServiceManager.getFullService(cmd);
    if (serviceData == null)
    throw new DataException(LocaleUtils.encodeMessage(
    "!csNoServiceDefined", null, cmd));
    // create the service object for this service
    Service service = ServiceManager.createService(serviceData.m_classID,
    workspace, null, binder, serviceData);
    // obtain the full user data for this user
    UserData fullUserData = getFullUserData(userName, service, workspace);
    service.setUserData(fullUserData);
    // binder.m_environment.put(REMOTE_USER, userName);
    ServiceException error = null;
    try
    // init the service to not send HTML back
    service.setSendFlags(true, true);
    // create all the ServiceHandlers and implementors
    service.initDelegatedObjects();
    // do a security check
    service.globalSecurityCheck();
    // prepare for the service
    service.preActions();
    // execute the service
    service.doActions();
    // do any cleanup
    service.postActions();
    // store any new personalization data
    // service.updateSubjectInformation(true);
    //service.updateTopicInformation(binder);
    catch (ServiceException e)
    error = e;
    e.printStackTrace();
    finally
    // Remove all the temp files.
    service.cleanUp(true);
    workspace.releaseConnection();
    // handle any error
    if (error != null)
    // throw new ServiceException(error.m_errorCode, error
    // .getMessage());
    return binder;
    }

    I have been running into the same exception, albeit with UCM 10g:
    Content item 'xxx' was not successfully checked in. Unable to execute service method 'populateMissingDocumentValues'. (System Error: Runtime error: java.lang.NullPointerException
    at collections.CollectionMetaHandler.validateMetaDataDates(CollectionMetaHandler.java:771)
    at collections.CollectionMetaHandler.fillInUndefinedMeta(CollectionMetaHandler.java:806)
    at collections.CollectionUserHandler.setUndefinedMetaData(CollectionUserHandler.java:1353)
    at collections.CollectionUserHandler.populateMissingDocumentValues(CollectionUserHandler.java:1275)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:617)
    at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:293)
    at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
    at intradoc.server.Service.doCodeEx(Service.java:490)
    at intradoc.server.Service.doCode(Service.java:472)
    at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1360)
    at intradoc.server.Service.doAction(Service.java:452)
    at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1201)
    at intradoc.server.Service.doActions(Service.java:447)
    it seems to have something to do with the xCollectionID.
    If I don't set this, it works fine (checking in and out, checking in new revision). If I set it I can check in a new item using CHECKIN_NEW but I am unable to use CHECKIN_UNIVERSAL to check in a new revision.
    Any pointers would be appreciated.
    Edited by: Jaap on 6-jun-2011 2:41
    Edited by: Jaap on 6-jun-2011 3:09

  • Have lotus notes on my Ipad , but since a few days I can only see the headers of the mails on the left handside but on the right one where I should actually see the content of the mail , I can only see the header

    Have lotus notes (mail) on my Ipad but since a few days I see on the left handside the header of the mails , if I choose one , in only get the header
    on the right side but the mail does not open and also I cannot see any attachements? Did compare the settings with my collegues and they are
    excactly the same. Would somebody know what could be wrong??

    Try closing the Mail app completely and see if the email contents show when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then also try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • How to get the shared name of a folder in my PC through java code.

    Hi,
    I have a shared folder in my PC adn its shared name is different. Is there any way to get the shared name of that folder from java code. I have the absolute path of that dir. Can I get the shared name from that path in java or is there any other method.
    Thanks.
    Edited by: pavanspecial on Nov 28, 2007 11:34 PM

    Hi, Thanks for your reply. I have even tried through 'net share' , but i could not the share name from the path i have. For the 'net share' i need to give the share name itself.

  • How to Configure the Datasource In JNDI and access it through Java Code

    I have declared under web.xml
    <resource-ref>
          <res-ref-name>MSDataSource</res-ref-name>
          <res-type>javax.sql.DataSource</res-type>
          <res-auth>Container</res-auth>
          <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    Under Jrun-resource.xml
    <data-source>
                <dbname>xxxxxxx</dbname>
                <driver>macromedia.jdbc.sqlserver.SQLServerDriver</driver>
                <url>jdbc:macromedia:sqlserver://xxx.xxx.xx.xx:1433;databaseName=xxxxxxx</url>
                <username>xxxxxxxx</username>
                <password>xxxxxxxxx</password>
                <encrypted>false</encrypted>
                <encryption-class>jrun.security.JRunCrypterForTwofish</encryption-class>
                <native-results>true</native-results>
                <remove-on-exceptions>true</remove-on-exceptions>
                <pool-statements>false</pool-statements>
                <initial-connections>1</initial-connections>
                <connection-timeout>1200</connection-timeout>
                <transaction-timeout>20</transaction-timeout>
                <cache-enabled>false</cache-enabled>
                <cache-size>5</cache-size>
                <cache-refresh-interval>30</cache-refresh-interval>
                <jndi-name>MSDataSource</jndi-name>
                <poolname>Pool</poolname>
                <minimum-size>0</minimum-size>
                <maximum-size>2147483647</maximum-size>
                <user-timeout>20</user-timeout>
                <skimmer-frequency>420</skimmer-frequency>
                <shrink-by>5</shrink-by>
                <maximum-soft>true</maximum-soft>
                <debugging>false</debugging>
                <disable-pooling>false</disable-pooling>
                <isolation-level>READ_UNCOMMITTED</isolation-level>
                <description/>
         </data-source>
    Under jrun-web.xml
    <resource-ref>
          <res-ref-name>MSDataSource</res-ref-name>
          <jndi-name>MSDataSource</jndi-name>
    </resource-ref>  
    Java Code
    String dsndb="java:comp/env/MSDataSource";
    Properties p = new Properties();
    p.put(Context.INITIAL_CONTEXT_FACTORY,"jrun.naming.JRunContextFactory");
    p.put(Context.PROVIDER_URL, "localhost:2932");
    InitialContext context=new InitialContext(p);
    System.out.println(context.getEnvironment());
    DataSource ds=(DataSource)context.lookup(dsndb);
    ds.getConnection();
    System.out.println(ds.getConnection().toString());
    Error is
    {java.naming.provider.url=localhost:2932, java.naming.factory.initial=jrun.naming.JRunContextFactory}
    Exception in thread "main" javax.naming.NameNotFoundException: No such binding: MSDataSource
        at jrun.naming.ContextManager.getBinding(ContextManager.java:680)
        at jrun.naming.ContextManager.getBinding(ContextManager.java:686)
        at jrun.naming.ContextManager.getObject(ContextManager.java:690)
        at jrun.naming.ContextManager.lookup(ContextManager.java:463)
        at jrun.naming.JRunNamingContext.lookup(JRunNamingContext.java:501)
        at jrun.naming.JRunNamingContext.lookup(JRunNamingContext.java:644)
        at jrun.naming.JRunNamingContext.lookup(JRunNamingContext.java:470)
        at javax.naming.InitialContext.lookup(Unknown Source)
        at Controller.DBManager.getConnection(DBManager.java:29)
        at Controller.DBManager.main(DBManager.java:42)
    Please help me .
    Thanks in advance

    Also, try to log the username/password in your authenticator, just to be sure that credentials changeGood piece of advice, michael. Worth of it. When I changed the credentials manually, it worked correctly,but from the application, when I logout from 'a', 'a' and log in to 'b', 'b', I got a valuable information.
    I tried debugging like given below for checking from the application.
    class MyAuthenticator extends Authenticator {
        protected PasswordAuthentication getPasswordAuthentication() {
             System.out.println("userrrrrrrrr"+UtilsHTTPS.username);
             System.out.println("pwdddddddddd"+UtilsHTTPS.password);
      .........................................The information I got while debugging from the application was, the username and password does not get printed. It implies that, Authenticator.setDefault(new MyAuthenticator()); does not work as desired ie; even on calling new MyAuthenticator(), it does not get inside the MyAuthenticator class.
    Why does this happen? What is the solution for this?

  • How to save the image on the web through java code?

    Suppose a picture can be loaded on the browser, and nothing
    else. If I want to use a jave code to intercept the picture
    and save it into a file, what does the code look like? I know
    the URL of the picture. Thanks.

    Hi. Running your code, I got the following, with the URL as:
    String dir = "http://california.biocars.org/viewFrames2.php?";
    String fileName = "r=840190844&fn=/data/pub/kb030129_fp_2_001.img&xsize=512&ysize=512&zoom=1&contrast=2048&xcen=0.5&ycen=0.5&wval=0&jpq=100";
    String urlName = dir+fileName;
    URL imageURL = new URL(urlName);
    So something wrong? This output does not look like anything
    of a jpeg file. Thanks.
    ==================================================
    <html>
    <head>
    <TITLE> View BioCARS Data </TITLE>
    <META name='Author' content='Keith Brister'>
    <META HTTP-EQUIV="expires" CONTENT="0">
    </head>
    <body bgcolor=#ccffff>
    <form action=/viewFrames2.php method=POST><input type=hidden name=oldZoom value=1><input type=hidden name=xcen value=0.5><input type=hidden name=ycen value=0.5>
    <input type=hidden name=theTrip value=0>
    <table>
    <tr><td valign=top><table>
    <tr><td width=128 height=128><a href="/viewFrames2.php?theState=a:7:{s:4:xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;&theTXYZ="><img ismap border=0 width=128 height=128 src=imageServer2.php?r=159196106&fn=/&xsize=128&ysize=128&zoom=1&contrast=2048&xcen=0.5&ycen=0.5&wval=0&jpq=100&thumbnail=1></a></td></tr><tr><td><input type=text name=seqDir value=""></td></tr><tr><td><input type=text name=fFileName value=""></td></tr></table></td>
    <td><table border=1 cellpadding=0 cellspacing=0><tr><td width=512 height=512><a href="/viewFrames2.php?theState=a:7:{s:4:"xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;}&theXYZ="><img ismap border=0 width=512 height=512 src=imageServer2.php?r=159196106&fn=/&xsize=512&ysize=512&zoom=1&contrast=2048&xcen=0.5&ycen=0.5&wval=0&jpq=100></a></td><td width=8 length=512><a href="/viewFrames2.php?theState=a:7:{s:4:"xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;}&bMapVal="><img ismap alt='Set Black Value' width=8 length=512 border=0 src=pixselect.php?r=159196106&bVal=2048&wVal=0&minVal=0></a></td>
    <td width=8 length=512><a href="/viewFrames2.php?theState=a:7:{s:4:"xcen";s:3:"0.5";s:4:"ycen";s:3:"0.5";s:4:"zoom";s:1:"1";s:13:"autoZoomLevel";i:16;s:5:"azcco";i:0;s:8:"contrast";i:2048;s:6:"wvalue";i:0;}&wMapVal="><img ismap alt='Set White Value' width=8 length=512 border=0 src=pixselect.php?r=159196106&bVal=2048&wVal=0&maxVal=2048></a></td><td valign=top><table><tr><td><input type=submit name=subbieResetXYZ value='Reset Zoom and Center'></td></tr><tr><td><input type=submit name=subbieZoomIn value='Zoom In'> <input type=submit name=subbieZoomOut value='Zoom Out'></td></tr><tr><td><table border=1><tr><td align=right>Auto Zoom and Center:</td><td><input onClick='this.form.submit();' type=radio name=azcco value=0 checked></td></tr>
    <tr><td align=right>Center Only:</td><td><input onClick='this.form.submit();' type=radio name=azcco value=1 ></td></tr>
    </table></td></tr>

  • Connecting to the Oracle 10g Database through Java code

    I have a Oracle 10g database to be connected to.
    Through sql plus, I can connect to it using the following command
    sqlplus "sys@pmi as sysdba"and password is 'password'
    how do I connect to this db through my Java code?
    I tried
    _connection = DriverManager.getConnection("jdbc:oracle:thin:@10.245.4.100:1521:pmi as sysdba", "sys", "password");but it gave the exception "ExceptionIo exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))"
    I also tried
    _connection = DriverManager.getConnection("jdbc:oracle:thin:@10.245.4.100:1521:pmi", "sys", "password");but this gives the exception "ExceptionORA-28009: connection as SYS should be as SYSDBA or SYSOPER"
    Can anyone please help me in writing the line of code

    You need to use the getConnection syntax that requires a Properties object.
    http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#05_05
    - cafal

  • Unable to create a folder through java code on weblogic server 10GR3

    Hi,
    I have java code which creates a folder and writes an XML file in to it.
    File saveDirectory = new File(storePath);
    if(!saveDirectory.exists()){
    System.out.println("directory doesnt exists");
    boolean isDirectoryCreated = saveDirectory.mkdir();
    System.out.println("directory doesnt exist creating status :"+isDirectoryCreated);
    This code works fine on my local weblogic server.Whereas the one installed on Unix box is not.
    saveDirectory.mkdir() is unable to create a directory at the given path.
    I feel there is some permission problems.
    Please let me know what can be done.
    Thanks,

    I have my Linux/Unix Admin either add me to a group that can do this or create one that can and add me to it.
    If you command prompt can you manually do it now?
    Best Regards
    mseberg

  • How can I relate the fields a table column to the headers of the columns in another table?

    Here is my problem:
    I have a table where the first column is a list of types of characteristics and I want to compare that column with a table which has some columns, each one with a type of charasteristic.
    It's like relating a column to a file (the header file).
    PD: My level is beginner.

    Well I don´t want the space on both sides of the input text to be that big either so that doesn´t solve the problem.

  • How to determine if the server is in debug mode or Running in Java Code

    Hi ,
    I have a WebDynpro Applcation in which i have to display foll things in Table:
    Engine Name; Engine Version: Debug Mode; Reserved by;
    Now i could display list of servers but i have hardcoded the Debug Mode as "Disabled"
    My Question is:
    If i know the Server, can we find if the server is in debugmode in application code???
    I have OS access to my Engine. Pls let me in which property file can i find Debug Status??
    Also i am not sure if i have posted the Query in RIght Component. DO let e know if this Q is posted in wrong Forum
    Kindly help me solve this problem
    Thanks n Regards,
    Archana

    Hi Archana,
    If u can't start the server in debugging mode thru NWDS then u can try this
    Config Tool:
    U can enable the debuggine mode from the Config Tool as well. Just browse to following
    C:usrsap<SID>JC<SYS_NO>j2eeconfigtoolconfigtool.bat
    Click on the your instance. Then under the tab VM Environment, Set the DebugMode = true.
    Restart the engine now. This will open the J2EE server again in the Debug Mode.
    Please check the [Debugging Portal Applications or WebDynpro Applciation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907751e5-f717-2a10-f3b4-de4431d4722d?quicklink=index&overridelayout=true] and search for SDN
    Just hope this helps you!
    Regards
    Vijay

  • Add JTable Row Headers At The End Of The Rows(At Right)?

    hi all
    i got this example for adding JTable Row Headers,but it adds the headers at the left(beginning of the row)
    and i want to add the headers at the end of the row(at right),any ideas how to do that?
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.AbstractListModel;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.ListCellRenderer;
    import javax.swing.ListModel;
    import javax.swing.UIManager;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.JTableHeader;
    * @version 1.0 11/09/98
    class RowHeaderRenderer extends JLabel implements ListCellRenderer {
      RowHeaderRenderer(JTable table) {
        JTableHeader header = table.getTableHeader();
        setOpaque(true);
        setBorder(UIManager.getBorder("TableHeader.cellBorder"));
        setHorizontalAlignment(CENTER);
        setForeground(header.getForeground());
        setBackground(header.getBackground());
        setFont(header.getFont());
      public Component getListCellRendererComponent(JList list, Object value,
          int index, boolean isSelected, boolean cellHasFocus) {
        setText((value == null) ? "" : value.toString());
        return this;
    class RowHeaderExample extends JFrame {
      public RowHeaderExample() {
        super("Row Header Example");
        setSize(370, 150);
        ListModel lm = new AbstractListModel() {
          String headers[] = { "Row1", "Row2", "Row3", "Row4"};
          public int getSize() {
            return headers.length;
          public Object getElementAt(int index) {
            return headers[index];
        DefaultTableModel dm = new DefaultTableModel(lm.getSize(), 4);
        JTable table = new JTable(dm);
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        table.setRowHeight(18);
        JList rowHeader = new JList(lm);
        rowHeader.setFixedCellWidth(50);
        rowHeader.setFixedCellHeight(18);
        rowHeader.setCellRenderer(new RowHeaderRenderer(table));
        JScrollPane scroll = new JScrollPane(table);
        scroll.setRowHeaderView(rowHeader);
        getContentPane().add(scroll, BorderLayout.CENTER);
      public static void main(String[] args) {
        RowHeaderExample frame = new RowHeaderExample();
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
        frame.setVisible(true);
    }

    fixed by:
    list.setBackground(table.getTableHeader().getBackground());here's the full code:
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.ComponentOrientation;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.DefaultListModel;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.ListCellRenderer;
    import javax.swing.UIManager;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.JTableHeader;
    * @version 1.0 11/09/98
    class RowHeaderRenderer extends JLabel implements ListCellRenderer {
      JTable table;
      RowHeaderRenderer(JTable table) {
        this.table = table;
        JTableHeader header = table.getTableHeader();
        setOpaque(true);
        setBorder(UIManager.getBorder("TableHeader.cellBorder"));
        setHorizontalAlignment(CENTER);
        setForeground(header.getForeground());
        setBackground(header.getBackground());
        setFont(header.getFont());
      public Component getListCellRendererComponent(JList list, Object value,
          int index, boolean isSelected, boolean cellHasFocus) {
        list.setBackground(table.getTableHeader().getBackground());
        setText((value == null) ? "" : value.toString());
        return this;
    class RowHeaderExample extends JFrame {
      public RowHeaderExample() {
        super("Row Header Example");
        setSize(370, 150);
        setLocationRelativeTo(null);
        DefaultListModel lstModel = new DefaultListModel();
        lstModel.addElement("Row 1");
        lstModel.addElement("Row 2");
        lstModel.addElement("Row 3");
        lstModel.addElement("Row 4");
        DefaultTableModel dm = new DefaultTableModel(lstModel.getSize(), 4);
        JTable table = new JTable(dm);
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        table.setRowHeight(18);
        JList rowHeader = new JList(lstModel);
        rowHeader.setFixedCellWidth(50);
        rowHeader.setFixedCellHeight(18);
        rowHeader.setCellRenderer(new RowHeaderRenderer(table));
        JScrollPane scroll = new JScrollPane(table);
        scroll.setRowHeaderView(rowHeader);
        table.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        scroll.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        getContentPane().add(scroll, BorderLayout.CENTER);
      public static void main(String[] args) {
        RowHeaderExample frame = new RowHeaderExample();
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
        frame.setVisible(true);
    }

Maybe you are looking for

  • Clean install lion problems

    I am attempting to do a clean install of Lion on my old MacBook Pro (late 2009). The HD was partioned as half OS X Lion and the other half Windows 7. Here is what I have done so far: 1. Deleted the Windows 7 partiton 2. Created a bootable drive with

  • Should we be building apps with R1(11.1.1.7) or R2(11.1.2.x)

    Hello Usually the higher version either have more features and bug fixes than Lower version, this is not the case for ADF, recently ADF R1(11.1.1.7) is getting more features than R2(11.1.2.x). ex(table Pagination List view some DVTs etc..) I think we

  • Rogue HTML appearing in URL strings

    This is really an odd one. I just installed Cold Fusion 8. I've been running the monitor to see how things are performing. I noticed a really odd error happening. Somehow, some standard HTML from the web page is finding its way into the URL string th

  • My macbook air was working fine until all of a sudden it froze.

    I have a macbook air and everything was working fine until all of a sudden my computer froze.  I then rebooted my computer by press & hold down the power key because it would not allow me to open or close any programs.  After i rebooted it, the keybo

  • SAS 70 Audit Requirements

    Hi I have to propose a network which is in compliance with SAS 70 Audit. The network is very simple. Internet Link will terminate on my ASA 5505 and from there the wires will go into my 1200 APs.The network consists only of Laptops.I will be using 80