Access a WS defined in XI from NWDS

Hi,
I've configured a SOAP Adapter in XI. I can access it from XMLSpy with success. Inside NWDS, I've created a new portal component. I've added a new portal service with the wsdl generated by IB:Design. I have also added a DynPage like in the example and I try to access the service. I'm getting the following error :
[code]
java.lang.NullPointerException
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.processParams(PRTSOAPBodyElement.java:311)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.init(PRTSOAPBodyElement.java:190)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.<init>(PRTSOAPBodyElement.java:56)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.init(PRTSOAPBody.java:94)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.<init>(PRTSOAPBody.java:36)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.init(PRTSOAPEnvelope.java:113)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.<init>(PRTSOAPEnvelope.java:54)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.processSOAPMessage(PRTSOAPMessage.java:58)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.<init>(PRTSOAPMessage.java:40)
at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:180)
at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
at com.capgemini.siebelactionws.GetActionsWS.EPSiebelActionInterface(GetActionsWS.java:166)
at com.capgemini.demopage.DemoPage$DemoPageDynPage.doProcessBeforeOutput(DemoPage.java:48)
at ....
[/code]
It seems that the request goes ok, and inside XI, the rwb tells me the mapping and everything il allright. In XMLSpy, I manage to get and show the SOAP response. But not from NWDS ? I've got the feeling that inside NWDS the SOAP response contains an error or something... But i don't know why since from XMLSpy for the same WSDL everything is ok.
I hope you can help,
FYI System: NWDS 2.0.9, EP 6.0 SP9 and XI 3.0 SP12
Thank you,
mejj

Hi,
I've configured a SOAP Adapter in XI. I can access it from XMLSpy with success. Inside NWDS, I've created a new portal component. I've added a new portal service with the wsdl generated by IB:Design. I have also added a DynPage like in the example and I try to access the service. I'm getting the following error :
[code]
java.lang.NullPointerException
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.processParams(PRTSOAPBodyElement.java:311)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.init(PRTSOAPBodyElement.java:190)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBodyElement.<init>(PRTSOAPBodyElement.java:56)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.init(PRTSOAPBody.java:94)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPBody.<init>(PRTSOAPBody.java:36)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.init(PRTSOAPEnvelope.java:113)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPEnvelope.<init>(PRTSOAPEnvelope.java:54)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.processSOAPMessage(PRTSOAPMessage.java:58)
at com.sapportals.portal.prt.service.soap.element.PRTSOAPMessage.<init>(PRTSOAPMessage.java:40)
at com.sapportals.portal.prt.service.soap.SOAPService.call(SOAPService.java:180)
at com.sapportals.portal.prt.service.soap.PRTSOAPCall.invokeMethod(PRTSOAPCall.java:209)
at com.capgemini.siebelactionws.GetActionsWS.EPSiebelActionInterface(GetActionsWS.java:166)
at com.capgemini.demopage.DemoPage$DemoPageDynPage.doProcessBeforeOutput(DemoPage.java:48)
at ....
[/code]
It seems that the request goes ok, and inside XI, the rwb tells me the mapping and everything il allright. In XMLSpy, I manage to get and show the SOAP response. But not from NWDS ? I've got the feeling that inside NWDS the SOAP response contains an error or something... But i don't know why since from XMLSpy for the same WSDL everything is ok.
I hope you can help,
FYI System: NWDS 2.0.9, EP 6.0 SP9 and XI 3.0 SP12
Thank you,
mejj

Similar Messages

  • Accessing a variable defined in one class from another class..

    Greetings,
    I've only been programming in as3 for a couple months, and so far I've written several compositional classes that take MovieClips as inputs to handle behaviors and interactions in a simple game I'm creating. One problem I keep coming upon is that I'd love to access the custom variables I define within one class from another class. In the game I'm creating, Main.as is my document class, from which I invoke a class called 'Level1.as' which invokes all the other classes I've written.
    Below I've pasted my class 'DieLikeThePhishes'. For example, I would love to know the syntax for accessing the boolean variable 'phish1BeenHit' (line 31) from another class. I've tried the dot syntax you would use to access a MovieClip inside another MovieClip and it doesn't seem  to be working for me. Any ideas would be appreciated.  Thanks,
    - Jeremy
    package  jab.enemy
    import flash.display.MovieClip;
    import flash.events.Event;
    import jab.enemy.MissleDisappear;
    public class DieLikeThePhishes
    private var _clip2:MovieClip; // player
    private var _clip3:MovieClip; //phish1
    private var _clip4:MovieClip; //phish2
    private var _clip5:MovieClip; //phish3
    private var _clip6:MovieClip; //phish4
    private var _clip10:MovieClip; // background
    private var _clip11:MovieClip // missle1
    private var _clip12:MovieClip // missle2
    private var _clip13:MovieClip // missle3
    private var _clip14:MovieClip // missle4
    private var _clip15:MovieClip // missle5
    private var _clip16:MovieClip // missle6
    private var _clip17:MovieClip // missle7
    private var _clip18:MovieClip // missle8
    private var _clip19:MovieClip // missle9
    private var _clip20:MovieClip // missle10
    private var _clip21:MovieClip // missle11
    private var _clip22:MovieClip // missle12
    var ay1 = 0;var ay2 = 0;var ay3 = 0;var ay4 = 0;
    var vy1 = 0;var vy2 = 0;var vy3 = 0;var vy4 = 0;
    var phish1BeenHit:Boolean = false;var phish2BeenHit:Boolean = false;
    var phish3BeenHit:Boolean = false;var phish4BeenHit:Boolean = false;
    public function DieLikeThePhishes(clip2:MovieClip,clip3:MovieClip,clip4:MovieClip,clip5:MovieClip,clip6:M ovieClip,clip10:MovieClip,clip11:MovieClip,clip12:MovieClip,clip13:MovieClip,clip14:MovieC lip,clip15:MovieClip,clip16:MovieClip,clip17:MovieClip,clip18:MovieClip,clip19:MovieClip,c lip20:MovieClip,clip21:MovieClip,clip22:MovieClip)
    _clip2 = clip2;_clip3 = clip3;_clip4 = clip4;_clip5 = clip5;_clip6 = clip6;
    _clip10 = clip10;_clip11 = clip11;_clip12 = clip12;_clip13 = clip13;_clip14 = clip14;
    _clip15 = clip15;_clip16 = clip16;_clip17 = clip17;_clip18 = clip18;_clip19 = clip19;
    _clip20 = clip20;_clip21 = clip21;_clip22= clip22;
    _clip3.stage.addEventListener(Event.ENTER_FRAME, onEnterFrame)
    function onEnterFrame(event:Event):void
    vy1+= ay1;_clip3.y += vy1; vy2+= ay2;_clip4.y += vy2;
    vy3+= ay3;_clip5.y += vy3; vy4+= ay4;_clip6.y += vy4;
    if (phish1BeenHit ==false)
    if(_clip3.y >620)
    {_clip3.y = 620;}
    if (phish2BeenHit ==false)
    if(_clip4.y >620)
    {_clip4.y = 620;}
    if (phish3BeenHit ==false)
    if(_clip5.y >620)
    {_clip5.y = 620;}
    if (phish4BeenHit ==false)
    if(_clip6.y >620)
    {_clip6.y = 620;}
    if (_clip11.hitTestObject(_clip3) ||_clip12.hitTestObject(_clip3)||_clip13.hitTestObject(_clip3)||_clip14.hitTestObject(_cl ip3)||_clip15.hitTestObject(_clip3)||_clip16.hitTestObject(_clip3)||_clip17.hitTestObject( _clip3)||_clip18.hitTestObject(_clip3)||_clip19.hitTestObject(_clip3)||_clip20.hitTestObje ct(_clip3)||_clip21.hitTestObject(_clip3)||_clip22.hitTestObject(_clip3))
    _clip3.scaleY = -Math.abs(_clip3.scaleY);
    _clip3.alpha = 0.4;
    ay1 = 3
    vy1= -2;
    phish1BeenHit = true;
    if (_clip11.hitTestObject(_clip4) ||_clip12.hitTestObject(_clip4)||_clip13.hitTestObject(_clip4)||_clip14.hitTestObject(_cl ip4)||_clip15.hitTestObject(_clip4)||_clip16.hitTestObject(_clip4)||_clip17.hitTestObject( _clip4)||_clip18.hitTestObject(_clip4)||_clip19.hitTestObject(_clip4)||_clip20.hitTestObje ct(_clip4)||_clip21.hitTestObject(_clip4)||_clip22.hitTestObject(_clip4))
    _clip4.scaleY = -Math.abs(_clip4.scaleY);
    _clip4.alpha = 0.4;
    ay2 = 3
    vy2= -2;
    phish2BeenHit = true;
    if (_clip11.hitTestObject(_clip5) ||_clip12.hitTestObject(_clip5)||_clip13.hitTestObject(_clip5)||_clip14.hitTestObject(_cl ip5)||_clip15.hitTestObject(_clip5)||_clip16.hitTestObject(_clip5)||_clip17.hitTestObject( _clip5)||_clip18.hitTestObject(_clip5)||_clip19.hitTestObject(_clip5)||_clip20.hitTestObje ct(_clip5)||_clip21.hitTestObject(_clip5)||_clip22.hitTestObject(_clip5))
    _clip5.scaleY = -Math.abs(_clip5.scaleY);
    _clip5.alpha = 0.4;
    ay3 = 3
    vy3= -2;
    phish3BeenHit = true;
    if (_clip11.hitTestObject(_clip6) ||_clip12.hitTestObject(_clip6)||_clip13.hitTestObject(_clip6)||_clip14.hitTestObject(_cl ip6)||_clip15.hitTestObject(_clip6)||_clip16.hitTestObject(_clip6)||_clip17.hitTestObject( _clip6)||_clip18.hitTestObject(_clip6)||_clip19.hitTestObject(_clip6)||_clip20.hitTestObje ct(_clip6)||_clip21.hitTestObject(_clip6)||_clip22.hitTestObject(_clip6))
    _clip6.scaleY = -Math.abs(_clip6.scaleY);
    _clip6.alpha = 0.4;
    ay4 = 3
    vy4= -2;
    phish4BeenHit = true;
    if (_clip3.y > 10000)
    _clip3.x = 1000 +3000*Math.random()-_clip10.x;
    _clip3.y = 300;
    _clip3.alpha = 1;
    _clip3.scaleY = Math.abs(_clip3.scaleY);
    ay1 = vy1 = 0;
    phish1BeenHit = false;
    if (_clip4.y > 10000)
    _clip4.x = 1000 +3000*Math.random()-_clip10.x;
    _clip4.y = 300;
    _clip4.alpha = 1;
    _clip4.scaleY = Math.abs(_clip4.scaleY);
    ay2 = vy2 = 0;
    phish2BeenHit = false;
    if (_clip5.y > 10000)
    _clip5.x = 1000 +3000*Math.random()-_clip10.x;
    _clip5.y = 300;
    _clip5.alpha = 1;
    _clip5.scaleY = Math.abs(_clip5.scaleY);
    ay3 = vy3 = 0;
    phish3BeenHit = false;
    if (_clip6.y > 10000)
    _clip6.x = 1000 +3000*Math.random()-_clip10.x;
    _clip6.y = 300;
    _clip6.alpha = 1;
    _clip6.scaleY = Math.abs(_clip6.scaleY);
    ay4 = vy4 = 0;
    phish4BeenHit = false;
    var missleDisappear1 = new MissleDisappear(_clip11,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear2 = new MissleDisappear(_clip12,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear3 = new MissleDisappear(_clip13,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear4 = new MissleDisappear(_clip14,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear5 = new MissleDisappear(_clip15,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear6 = new MissleDisappear(_clip16,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear7 = new MissleDisappear(_clip17,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear8 = new MissleDisappear(_clip18,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear9 = new MissleDisappear(_clip19,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear10 = new MissleDisappear(_clip20,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear11 = new MissleDisappear(_clip21,_clip3,_clip4,_clip5,_clip6,_clip10);
    var missleDisappear12 = new MissleDisappear(_clip22,_clip3,_clip4,_clip5,_clip6,_clip10);

    I would approach it in much the same way as you would in java, by making getters and setters for all of your class variables.
    Getters being for returning the values, Setters being for setting them.
    So you would make a get function for the variable you want to access ala:
    function get1PhishBeenHit():boolean {
         return this.phish1BeenHit;
    Then to access the value of that variable from outwith the class:
    var result:boolean = ClassInstanceName.get1PhishBeenHit();

  • What are the different ways in accessing the SQL server from NWDS ?

    Hi Experts,
    Can anyone suggest the different ways for accessing the SQL server from NWDS.I also want to know whether any tool is available for accessing SQL server from Webdynpro java application in Netweaver development studio.
    I am currently using JDBC driver for accessing the SQL server from Webdynpro java application in NWDS.
    Regards,
    Krishna Balaji T

    Note - that no internet backup service has been proven to be safe and effective for backing up the iPhoto library - unless you personally have backup uyp an iPhoto library and restored it sucussfuly form one it should not be recommended - a large number of people have lost their photos trying it
    LN

  • What authorization required to deploy module from NWDS 7.1

    Hi Experts,
    Need to deploy custom adapter module from NWDS 7.1 to PI server, Please help me to know exact access/authorization role required one developer to publish the module.
    I have gone through many blogs and thread but not able to find exact administrator role which help to deploy the custom module on PI server.
    Error I am getting in NWDS 7.1, while deploying module:
    Could not establish connection to AS Java on [<server detail>]. Authentication did not succeed. Wrong or missing security credentials (password) for principal [PIUSER], or the specified principal has no permissions to perform JNDI related operations.
    Regards
    Raghav
    Edited by: RaghavTiwari on Feb 4, 2012 8:25 AM

    Hi Raghav,
    Check this [SAP Help link|http://help.sap.com/saphelp_nw73ehp1/helpdata/en/43/1e1bbc5d9206fde10000000a422035/frameset.htm] for User Roles for Adapter and Module Development.
    Regards,
    Raghu_Vamsee.

  • Error 500 when trying to upload PAR file from NWDS

    Since few weeks now, I'm not able to directly upload a par file from NWDS. I'm always getting a operation failed error. In the sap-plugin.log file I've found the following trace:
    [21.04.09 / 17:51] #ERROR LEVEL# com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1 > No Information
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://myserver.com:50500/irj/servlet/prt/portal/prteventname/upload/prtroot/com.sap.portal.runtime.system.console.archiveuploader?login_submit=on&j_user=mylogin&j_password=mypwd&j_authscheme=default&uidpasswordlogon=log%20on
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1170)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.readResponse(DeployEngine.java:363)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.uploadPar(DeployEngine.java:435)
         at com.sap.portal.developmentTools.general.wizards.upload.DeployEngine.deploy(DeployEngine.java:221)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.processUpload(SAPMPWizard.java:416)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard$1.run(SAPMPWizard.java:350)
         at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302)
         at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252)
         at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:758)
         at com.sap.portal.developmentTools.ideSpecific.eclipse.wizards.sapmakepar.SAPMPWizard.performFinish(SAPMPWizard.java:531)
         at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
         at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
         at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
         at org.eclipse.jface.window.Window.open(Window.java:563)
         at com.sap.portal.developmentTools.general.uploader.QuickPARUploader.run(QuickPARUploader.java:146)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
         at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
         at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         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 com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)

    Developing for iphone can be amazingly complicated and frustrating.  (even before you start coding).  The process of having to create a Certificate, to approving the Certificate, to Assigning the deviceIDs to the certificate, to creating the AppIDs, to creating the provisioning profiles and then creating the .p12 file... is just too tedious. 
    I solved the problem of the "Entitlements are not valid".   The AppID i had set in the iPhone Developer Portal did not match that of the AppID i had set in the Adobe Flash CS5 -> Publish Settings.  (ie. com.yourdomainname.yourappname).  After I re-entered my AppID and compile, i was able to sync the .ipa file into my ipad. 
    I wish the error message had been a little more descriptive.  Could have saved me a whole day.
    I hope this helps others.  But my guess is, if you don't set the 40 character device ID correctly, or the email in the signingcertificate correctly, you'll get this same generic error message.

  • Accessing a user defined library - CLASSPATH

    Hi all
    First I will tell you what I have implmented, then I will discuss the problem.
    My PATH (user variables) is set to c:\Program Files\Java\jdk1.6.0\bin and everything works
    fine - I can compile and run from any directory.
    When I open a shell (cmd.exe) my current working directory is:
         C:\Documents and Settings\Paul Gain\Desktop>
    I have a file in the same directory called Test.java
    Here it is:
    import pack.ClassPathTest;
    class Test {
    public static void main(String[] args) {
    new ClassPathTest();
    The package "pack" resides at C:\pack
    There are two files within "pack" one is called ClassPathTest.java
    and the other is called ClasspathTest.class
    Here is the code:
    package pack;
    public class ClassPathTest {
    public ClassPathTest() {
    System.out.println("Hello Paul");
    Obviously this program is nonsense, However, I want to find out
    how to access a user defined library of classes that is in a seperate directory.
    When I compile from the desktop with the command: javac Test.java
    The compiler complains, here is the output:
    C:\Documents and Settings\Paul Gain\Desktop>javac Test.java
    Test.java:1: package pack does not exist
    import pack.ClassPathTest;
    ^
    Test.java:7: cannot find symbol
    symbol : class ClassPathTest
    location: class Test
    new ClassPathTest();
    ^
    2 errors
    If I cut and paste "pack" into the desktop directory everything works as expected.
    Because of this I believe the problem lies with the CLASSPATH of "pack".
    I have tried all sorts of variations of CLASSPATH but to no avail.
    for example under "system variables" in environment variables I have
    used the following:
    .;C:\pack
    Which says look in the current working directory first and then in pack. But
    that does not work (and yes I close the current shell and open a new one).
    Once the CLASSPATH is set .;C:\pack and I compile again the compiler
    moans and gives me this:
    C:\Documents and Settings\Paul Gain\Desktop>javac Test.java
    Test.java:1: package pack does not exist
    import pack.ClassPathTest;
    ^
    Test.java:7: cannot access ClassPathTest
    bad class file: C:\pack\ClassPathTest.class
    class file contains wrong class: pack.ClassPathTest
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    new ClassPathTest();
    ^
    2 errors
    Obviously I am doing something wrong, can somebody please help me as I do not wish
    to add my libraries in the same directory as my program. I have even tried to add c:\pack
    to the PATH but that does not work either. HELP!
    Regards
    Paul

    If you are currently in Desktop, you need your classpath to be:
    .;C:\The "pack" package lies in "C:\"
    If you are anywhere else, you need:
    "C:\Documents and Settings\Paul Gain\Desktop;C:\""Test" lies in the first part, and the "pack" package still lies in "C:\".

  • Accessing object of the main class from the thread

    Hi, I'm having problem accessing object of the main class from the thread. I have only one Thread and I'm calling log.append() from the Thread. Object log is defined and inicialized in the main class like this:
    public Text log;  // Text is SWT component
    log = new Text(...);Here is a Thread code:
    ...while((line = br.readLine())!=null) {
         try {
              log.append(line + "\r\n");
         } catch (SWTException swte) {
              ErrorMsg("SWT error: "+swte.getMessage());
    }Error is: org.eclipse.swt.SWTException: Invalid thread access
    When I replace log.append(...) with System.out.println(..) it works just fine, so my question is do the log.append(..) the right way.

    This is NOT a Java problem but a SWT specific issue.
    It is listed on the SWT FAQ page http://www.eclipse.org/swt/faq.php#uithread
    For more help with this you need to ask your question on a SWT specific forum, there is not a thing in these forums. This advice isn't just about SWT by the way but for all specific API exceptions/problems. You should take those questions to the forum or mailing list for that API. This forum is for general problems and exceptions arising from using the "core" Java libraries.

  • Access Oracle 10g OLAP Analytic Worspace from BOE XI for Universes creating

    Hi skilled!
    Is there any environment to access  Oracle 10g OLAP Analytic Worspace
    from BOE XI (not from BOE XIR2) for Universes creating ?
    Thank you.

    Hello Walter,
    Thanks for the response.
    I'm using the following SAP GUI: 710 Final Release, Version 7100.2.7.1038, Build 971593, Patch-Level 7.
    Trying to install the Desktop part of the integration kit results in the follwoing message: Unable to perform Desktop installation. The installation is unable to proceed with a desktop installation because Crystal Reports 2008 was not detected. To perform a Desktop installation, it must be installed.
    Without having installed any integration kit on the client side, I can still see the data access driver for SAP Business Warehouse 3.x in the Universe Designer (when trying to define a new connection). After providing the respective parameters, however, a connection is not established successfully. When testing the connection it just tells me that the connection trial failed (SBO0001), without providing any further details.
    What do you think, is the problem? The SAP GUI? Is it at all required for my purposes (generating OLAP universes in Designer from SAP BI) to install the integration kit on the client side? As far as I have read, it is?
    Thanks, Konrad

  • After setup name server from SLD name prefix is still unavailable from nwds

    Hi there
    Although the nameserver is setup from the SLd, our developper team has told me that it does not work.
    One of them has showed me from nwds, and I do not know how to fix it.
    The name list is still unavailable from nwds while New Development Component creation:
    Does anyone have any idea ?
    Thanks,

    Hi,
    yes, there you should see the nameserver.
    Proceed this way: Go to CMS webui -- Landscape Configurator -- Track Data -- select the track in question from the left hand side table -- RE-SAVE the track (Change and Save).
    This action will update the server side development configuration.
    Once the track is resaved, doublecheck the changes in the devconfig XML you can access on the Track Data -- tab Build Variants -- Display Development Configuration. An XML file will be opened where you should have an entry for nameserver. It'll look like
    name-server-url="http://<your host:your port>/sld/cimom"
    If it is correct, then open your NWDS and remove and re-import the development configuration.
    Or try to trigger "Update" on it as you can see in the blog I sent you, but if that does not work then remove and reimport.
    Check again the settings you have showed me recently on the screenshot, this time the "Name Server" on the Component Properties should not be empty any more.
    I hope this helps. Let me know the results.
    Thank you and Regards,
    Ervin

  • Accessing a 3-axis USB joystick from LabVIEW

    I am trying to access a 3-axis USB joystick from LabVIEW. I see that this issue has been posted before...has anyone come up with a solution?

    Microsoft's DirectX, free via MSDN, is a set of development libraries for high performance games avilable in both a VB and C++ SDK. Input from USB joysticks is supported in the DirectInput portion of the SDK.
    The ActiveX object for the VB flavor will NOT work with LV. It initially appears to work. You can make an activeX connection but the input device objects are created dynamically from device enumerations and LV requires objects to be defined at connection time.
    However, if you are up to it, (I am severely C syntax challenged), you could probably use the LV call library node along with the C++ SDK to make the DLL calls.
    If your budget allows, these guys:
    http://www.xon.de/reference/XOnMultimedia/_XmmJoy_VIs.html
    sell a DirectX based LV multimedia
    toolkit that appears to support Z-axis joysticks. Their website is a little messed up and the German description for the toolkit is coming up on the english side. This link is the english documentation for the toolkit. Maybe if you poke around you can get 100% english. If not you can contact Peter Prinzen [ [email protected] ]for further info. I think it was $45 USD about 4 months ago. Good Luck.

  • Error while deploying a PAR file from NWDS into an ECC.

    Hi all,
    I am getting this error while deploying a PAR file from NWDS into an ECC.
    Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for
    more detail.
    My server is running properly
    1 - Where is sap-plugin.log file? I don´t find it. 
    2 - Could there be another file with another name with information about the error?
    3 - Is there another way to deploy the file directly from the ECC?
    Regards,

    Hi,
    Just make sure you have maintained correct server setting to check the same open the NWDS and follow this path
    Windows/ Prefereces / SAP Enterprise Portal
    Check the following enteries
    Alias
    Host
    Port
    Login etc.
    Regards,

  • Error while accessing Oracle E-Business Suite 11i from Linux/firefox

    error while accessing Oracle E-Business Suite 11i from Linux/firefox
    OS: SUSE Linux Desktop 11(SLED11)
    Web browser: firefox 3.x
    Java versions:
    # rpm -qa |grep java
    java-1_6_0-sun-plugin-1.6.0.u18-0.1.1
    java-1_6_0-sun-1.6.0.u18-0.1.1
    # java -version
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Server VM (build 16.0-b13, mixed mode)
    when I access the url firefox says
    "Additional plugins are required to display all the media on this page"
    then I clicked on "Install Missing Plugin" button
    then I got the following message
    No Suitable Plugins were found
    Unknown Plugin (application/x-java-applet;jpi-version=1.4.1)
    please help/suggest
    Regards

    Hi user;
    Its not certified to login EBS from linux client
    Please check:
    Linux-cleint (ebs) certification
    pluggins
    Hope it helps
    Regard
    Helios

  • Error while deploying from NWDS

    Hi,
    i am getting the following error while trying to deploy a PAR file from NWDS through export.
    PAR upload failed:C:\Documents and settings\Trials\Trials.par
    Please check the userid and password.
    i cross checked the userid and password.both are correct. the same par file is deployed successfully in other servers.
    this error occurs only for PAR file deployment. other applications like webdynpro and all are deploying successfully.please help.
    /* useful inputs will be rewarded*/
    Regards,
    Art Tech.

    Hi All,
    Thanks for ur responses.
    To Sahu:
         Yes the user id has system admin role.
    To Ramani:
         I know that we can upload the PAR from portal itself as u said but i want to know the cause of my problem. why i am not able to do it from NWDS.
    To Vinoth:
         As i said i want to upload it from NWDS only.
    i want to inform onething to all of  u . we thought that it may be problem in SDM. so we checked SDM also. in that a process (deployment) is still going on. so we r not able to enter into it. it is like a infinitive for loop. so, that may be the cause which doesnt allow other deployments.
      Can any one tell me how to kill that process. it is something relevent to J2ee engine administration i hope.
    What i mentioned above is only our decision , we are not sure that whether it is the exact reason or not. so if anyone encountered the same problem and solved please guide me or any docs related to this also will be helpful.
    Regards,
    Art Tech.

  • Error while accessing a public method of applet from javascript.

    Hi,
    I am getting "Object doesn't support this property or method" error
    when accessing a public method of applet from javascript in IE 6 using
    document.applets[0].myMethod();
    The same is working in IE 7.
    Thanks in advance.
    Regards,
    Phanikanth

    I don't know why it happens, but this works for me in both versions:
    <applet ..... name="MyApplet">
    </applet>and in javascript use
    document.MyApplet.myMethod()

  • Accessing the same stateful session bean from multiple clients in a clustered environment

    I am trying to access the same stateful session bean from multiple
              clients. I also want this bean to have failover support so we want to
              deploy it in a cluster. The following description is how we have tried
              to solve this problem, but it does not seem to be working. Any
              insight would be greatly appreciated!
              I have set up a cluster of three servers. I deployed a stateful
              session bean with in memory replication across the cluster. A client
              obtains a reference to an instance of one of these beans to handle a
              request. Subsequent requests will have to use the same bean and could
              come from various clients. So after using the bean the first client
              stores the handle to the bean (actually the replica aware stub) to be
              used by other clients to be able to obtain the bean. When another
              client retrieves the handle gets the replica aware stub and makes a
              call to the bean the request seems to unpredictably go to any of the
              three servers rather than the primary server hosting that bean. If the
              call goes to the primary server everything seems to work fine the
              session data is available and it gets backed up on the secondary
              server. If it happens to go to the secondary server a bean that has
              the correct session data services the request but gives the error
              <Failed to update the secondary copy of a stateful session bean from
              home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              to the primary server will not reflect changes made on the secondary
              and vice versa. If the request happens to go to the third server that
              is not hosting an instance of that bean then the client receives an
              error that the bean was not available. From my understanding I thought
              the replica aware stub would know which server is the primary host for
              that bean and send the request there.
              Thanks in advance,
              Justin
              

              If 'allow-concurrent-call' does exactly what you need, then you don't have a problem,
              do you?
              Except of course if you switch ejb containers. Oh well.
              Mike
              "FBenvadi" <[email protected]> wrote:
              >I've got the same problem.
              >I understand from you that concurrent access to a stateful session bean
              >is
              >not allowed but there is a
              >token is weblogic-ejb-jar.xml that is called 'allow-concurrent-call'
              >that
              >does exactly what I need.
              >What you mean 'you'll get a surprise when you go to production' ?
              >I need to understand becouse I can still change the design.
              >Thanks Francesco
              >[email protected]
              >
              >"Mike Reiche" <[email protected]> wrote in message
              >news:[email protected]...
              >>
              >> Get the fix immediately from BEA and test it. It would be a shame to
              >wait
              >until
              >> December only to get a fix - that doesn't work.
              >>
              >> As for stateful session bean use - just remember that concurrent access
              >to
              >a stateful
              >> session bean is not allowed. Things will work fine until you go to
              >production
              >> and encounter some real load - then you will get a surprise.
              >>
              >> Mike
              >>
              >> [email protected] (Justin Meyer) wrote:
              >> >I just heard back from WebLogic Tech Support and they have confirmed
              >> >that this is a bug. Here is their reply:
              >> >
              >> >There is some problem in failover of stateful session beans when its
              >> >run from a java client.However, it is fixed now.
              >> >
              >> >The fix will be in SP2 which will be out by december.
              >> >
              >> >
              >> >Mike,
              >> >Thanks for your reply. I do infact believe we are correctly using
              >a
              >> >stateful session bean however it may have been misleading from my
              >> >description of the problem. We are not accessing the bean
              >> >concurrently from 2 different clients. The second client will only
              >> >come into play if the first client fails. In this case we want to
              >be
              >> >able to reacquire the handle to our stateful session bean and call
              >it
              >> >from the secondary client.
              >> >
              >> >
              >> >Justin
              >> >
              >> >"Mike Reiche" <[email protected]> wrote in message
              >news:<[email protected]>...
              >> >> You should be using an entity bean, not a stateful session bean
              >for
              >> >this application.
              >> >>
              >> >> A stateful session bean is intended to be keep state (stateful)
              >for
              >> >the duration
              >> >> of a client's session (session).
              >> >>
              >> >> It is not meant to be shared by different clients - in fact, if
              >you
              >> >attempt to
              >> >> access the same stateful session bean concurrently - it will throw
              >> >an exception.
              >> >>
              >> >> We did your little trick (storing/retrieving handle) with a stateful
              >> >session bean
              >> >> on WLS 5.1 - and it did work properly - not as you describe. Our
              >sfsb's
              >> >were not
              >> >> replicated as yours are.
              >> >>
              >> >> Mike
              >> >>
              >> >> [email protected] (Justin Meyer) wrote:
              >> >> >I am trying to access the same stateful session bean from multiple
              >> >> >clients. I also want this bean to have failover support so we want
              >> >to
              >> >> >deploy it in a cluster. The following description is how we have
              >tried
              >> >> >to solve this problem, but it does not seem to be working. Any
              >> >> >insight would be greatly appreciated!
              >> >> >
              >> >> >I have set up a cluster of three servers. I deployed a stateful
              >> >> >session bean with in memory replication across the cluster. A client
              >> >> >obtains a reference to an instance of one of these beans to handle
              >> >a
              >> >> >request. Subsequent requests will have to use the same bean and
              >could
              >> >> >come from various clients. So after using the bean the first client
              >> >> >stores the handle to the bean (actually the replica aware stub)
              >to
              >> >be
              >> >> >used by other clients to be able to obtain the bean. When another
              >> >> >client retrieves the handle gets the replica aware stub and makes
              >> >a
              >> >> >call to the bean the request seems to unpredictably go to any of
              >the
              >> >> >three servers rather than the primary server hosting that bean.
              >If
              >> >the
              >> >> >call goes to the primary server everything seems to work fine the
              >> >> >session data is available and it gets backed up on the secondary
              >> >> >server. If it happens to go to the secondary server a bean that
              >has
              >> >> >the correct session data services the request but gives the error
              >> >> ><Failed to update the secondary copy of a stateful session bean
              >from
              >> >> >home:ejb20-statefulSession-TraderHome>. Then any subsequent requests
              >> >> >to the primary server will not reflect changes made on the secondary
              >> >> >and vice versa. If the request happens to go to the third server
              >that
              >> >> >is not hosting an instance of that bean then the client receives
              >an
              >> >> >error that the bean was not available. From my understanding I
              >thought
              >> >> >the replica aware stub would know which server is the primary host
              >> >for
              >> >> >that bean and send the request there.
              >> >> >
              >> >> >Thanks in advance,
              >> >> >Justin
              >>
              >
              >
              

Maybe you are looking for

  • IPOD Shuffle not recognized by XP out of box

    I need some help. My IPOD shuffle is not being read at all. I put the install CD in the computer and get error 1607, can not install. What do I do? Thanks in advance. Alan

  • Default to "view as icon" in Mail.app messages (with attachments)

    Hello, Other than using Mail Attachments Iconizer (http://lokiware.info/Mail-Attachments-Iconizer), does anyone know of a way to default mail.app to "view as icon" when adding attachments to messages? Working in print design, we're always sending PDF

  • Automatic payment program picking a different g/l account

    Hello everyone, I have a situation here, where I have only one house bank configured and I do manual(using F-53) and automatic(using F110) payment.  Manual payment makes the payment and the g/l account credited is the one configured in the house bank

  • Foreign Currency Revaluation for company code with multiple currencies

    My company code has the following parallel currencies: company code currency - USD (10) group currency - CAD (30) index currency - USD (50) transaction currency - CAD When I execute F.05 for valuation of CAD open item in currency code 10, the program

  • In search of a good HD Camcorder

    I have newborn twins and am in dire need of a good camcorder. My requirements are either a hard drive or Flash model and will spend up to US$1200.00 I have read certain articles that state it may be difficult to find camcorders that work nicely with