Problem with a GP tutorial
Hello,
I have a small problem with this tutorial:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/609c52aa-8f0a-2b10-d59e-b5248a7ac1e2
I've actually, been able to do the whole tutorial, but i have some issues when i try to change something in it.
What i want is for the info to persist when ever the SME desk rejects or the KO rejects and sends it to the Author Desk. Right now, everytime i go back to the Author Desk after a rejection, the fields are blank. I've tried playing with the block parameters, output and input, but it doesn't seem to work. So i'm now requesting some little help from you guys.
Thanks very much in advance
Regards.
Hi Khadija,
Nice to know that you were able to complete the tutorial and that now you are trying to do something more on it.
Ok what you are trying to do is not difficult. I will explain how you can achieve this. Follow these steps:
1) See page 29 in the doc.
2) In the picture you can see we have made the grouped parameters like First_Name_Ath_SME, Last_Name_Ath_SME,...., First_Name_SME_KO, Last_Name_SME_KO,....
3) Now select the grouped parameter First_Name_SME_KO as well as the input parameter First_Name of action Author Desk using the Ctrl key. Now click on the Add to Group button above.
4) This will add the input parameter First_Name of the Author Desk to the already grouped parameter First_Name_SME_KO. In the same way add the other input parameters of Author Desk to the corresponding grouped parameters which are ending with SME_KO.
5) Doing this will make sure that if you click the Submit button in SME Desk screen, the parameter values go to the KO Desk screen. And if you click the Reject button in SME Desk screen, the parameter values go back to the Author Desk screen.
6) Now you have to make groups for input parameters of the Author Desk and the Output Parameters of the KO Desk too.
7) Select the output parameter First_Name of action KO Desk as well as the input parameter First_Name of action Author Desk using the Ctrl key on your keyboard. Now click on Group button above. Give the name as First_Name_KO_Ath and click on Create.
8) Similarly group all the other input parameters of Author Desk with the corresponding output parameters of the KO Desk.
9) Doing this will make sure that if you click the Reject button in KO Desk, the parameter values go back to the Author screen. Do not worry about the options in the KO Reject Option callable object. As you can see on page 35, sending back to SME does not need any parameter mapping. And for sending back to Author, we have already done the parameter mapping in steps 6-8 above.
Now I have something for you. If you do not implement steps 6-9, even then you will see the input boxes filled in Author Desk screen when you reject from KO Desk to Author Desk. Can you tell me why?
Bye
Ankur
Similar Messages
-
Encountering Problems with Basic Sound Tutorial
Hello everyone,
I am encountering problems with a basic sound tutorial. I am absolutely confused as to what the problem may be because the code is so simple, and is essentially copied from the textbook. I am convinced that I have done something very silly but cannot see it.
I have attempted to run this in an appletviewer, Firefox and Internet Explorer. I have attempted to launch it from both a .class file and a .jar file. I have uninstalled and offline installed the JDK and JRE and successfully tested the new installations.
The audio file I am attempting to load and play is an .AU (Sun/Next 8-bit u-law) audio file I created in Audacity. It is located in the same folder as the AudioApplet.class file.
My sound system is defintely on, since I have listened to music all day. I have attempted running the program with Media Player closed.
package edu.myuniversityid.sandbox;
import java.applet.Applet;
import java.applet.AudioClip;
* @author Ibuki
public class AudioApplet extends Applet
* Initialization method that will be called after the applet is loaded
* into the browser.
public void init()
super.init();
AudioClip ac = this.getAudioClip(this.getDocumentBase(), "sample.au");
ac.play();
}The code compiles fine, however absolutely I get a small white window when it is run. No sound.
Thankyou for your time.
Regards,
Ibuki.
PS. I am sure this worked before the university forced me to update my version of Windows to SP2. Hence, the reason for reinstalling Java. Twice.
Edited by: Ibuki on Jan 31, 2008 11:09 AM becasuse: Added a PS.I have attempted this alternative, without success:
public void init()
try
super.init();
URL url = new URL(this.getDocumentBase(), "sample.au");
AudioClip ac = this.getAudioClip(url);
ac.play();
catch (MalformedURLException ex)
Logger.getLogger(AudioApplet.class.getName()).log(Level.SEVERE, null, ex);
}The sample.au is definetly in the correct directory. Both File Explorer and NetBeans confirm this.
Edited by: Ibuki on Jan 31, 2008 11:59 AM
I have discovered a temporary solution that works in the applet viewer. The applet will load and plays the correct music perfectly. However, using this code it is not working when I try to deploy it using a web browser (MSIE and FF)!
public void init()
super.init();
AudioClip ac = this.getAudioClip(this.getClass().getResource("sample.au"));
ac.play();
Edited by: Ibuki on Jan 31, 2008 12:12 PM
Eureka!
Having worked in the applet viewer I managed to get it working in the web browser by simply packaging my SoundApplet.class and sample.au into a .jar archive.
<html>
<body>
<applet code="edu.myuniversityid.sandbox.AudioApplet.class" archive="dist/AudioApplet.jar">Unfortunately, this applet content cannot be displayed on this web page because your current browser does not support Java SE 6! Please <a href="http://www.java.com/">update your version of Java</a>.</applet>
</body>
</html>
public void init()
super.init();
AudioClip ac = this.getAudioClip(this.getClass().getResource("sample.au"));
ac.play();
}Thankyou everyone.
This thread can be closed if applicable. I'm not aware of the current moderation policy on this forum.
Edited by: Ibuki on Jan 31, 2008 12:12 PM -
Problems with Web Dynpro Tutorial "Creating an Email Client Using ..."
Hello,
I have a problem with the Web Dynpro Tutorial Number 6 ("Creating an Email Client using Web Dynpro and Web Services"):
On page 20 of the PDF description of the Tutorial, Step 6 reads:
"In the view layout, select the UI element EmailFormGroup and then choose the entry Apply Template in the context menu"
Yet the context menu of the UI element EmailFormGroup does not show an entry "Apply Template".
Do you have any hints?
Kind regards,
Franz-Josef KrämerHello,
the solution was: it should have said "in the outline view" and not "in the view layout".
In the outline view, the context menu included "Apply Template".
So no further responses are necessary.
Kind regards,
Franz-Josef Krämer -
Problems with Deploying the Tutorial
Hi,
i've tried to develop a small web service on the Oracle Application Server. Therefor i've tested the Tutorial Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server (http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm).
But i've several problems with this tutorial...
In the tutorial is mentioned to use J2EE 1.4 JAX RPC, but with this one i cant deploy on my Application Server - only local embedded works. On the Application Server i get the message:
#### DCM command did not complete successfully (-8)
#### HTTP return code was -8
Exit status of DCM servlet client: -8
Elapsed time for deployment: 22 seconds
#### Deployment incomplete. #### 28-Sep-2006 16:29:04
After searching the forum i found the reason for this...
Unable to deploy web-service from JDeveloper to Oracle AS
Okay so i tried to develop the same example under J2EE 1.3... Now i can deploy the example on the Application Server but it doesn't work either! When i call the webservice i recieve the error:
500 Internal Server Error
java.lang.UnsupportedClassVersionError: getdates2/IGetDates2 (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at oracle.j2ee.ws.JavaRpcWebService.init(JavaRpcWebService.java:76)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Okay so i tested it in embedded mode but it doesn't work here too... i get the error:
500 Internal Server Error
Servlet error: No Serializer found to serialize a 'java.util.Calendar' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
Damn! I dont know what to do ;)
Any suggestions?
thx
Matthias
btw:
Setup is:
JDeveloper 10.1.3.1
AppServer 10.1.2.0.2
Content DB 10.2.0.0.0Another Problem occurred...
As i mentioned deploying direct to the AppServer from JDeveloper works well (for the J2EE 1.3) but only that it doest work on the Application Server. So I tried to deploy a ear/war file and check them manuell into the Application Server. But doesn't work either...
I get the following error:
Deployment nicht erfolgreich: Verschachtelte Exception
Lösung:
Basis-Exception:
java.rmi.RemoteException
deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi. deploy failed!: ; nested exception is:
oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi
Any ideas for solving this problem? -
Problem with Cue Cards tutorial
Hello,
I have new JDeveloper, version 11.1.1.1.0. Now I’m trying to do some tutorials and I have a problem with «Build Web Application with EJB, JPA and JSF » .
I think that I followed the instructions quite accurate, even if there is a light difference in description and the picture that I saw at my display. But when I execute the example, and try to save the order (even without any change) I’ve got an Exception:
javax.ejb.EJBException: EJB Exception: : java.lang.IllegalArgumentException: Object: null is not a known entity type.
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:291)
at org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:274)
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:597)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:90)
at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:89)
at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyIm
Can you give me an advice how I can manage it ? There is no code that written by me, only manipulations in wisards, so debug of method gives me nothing useful. Can you suggest how I can understand what is wrong and how I can correct it ?
Thank for any help and ideas.
TamaraFrom the error I think you might have missed step 10 after you dragged the mergeEmployees method:
10. In the Variables dialog, expand ADF Bindings | Bindings |queryEmployeesFindByNameIterator | currentRow and select dataProvider. As you select each node in the expression. the editor adds it to the expression in the top of the window.
You can try to delete and re-create this button again - or you can look at the binding information for that action in the binding tab. -
Problem with Expense Management tutorial
In the tutorial, Activity 3, Designing a Screen flow, the tutorial states to add a Main Task to the Interactive Component Call.
While adding the main task...
4. In the Implementation Type list, select BPM Object Interactive Call. - This works fine.
5. In the Select BPM Object Variable list, select reportSf. - this variable is not available, the list is blank.
Has anyone else ran into this? What did you do to fix this?
Is this just my installation or has anyone else run into this sometime in the past?
THANK YOU!!Hi,
I guess I see why it was written this way, but the tutorial takes the more difficult approach to argument mapping.
The tutorial wants you to use an existing screenflow. The problem is that the existing screenflow was built for an Interactive activity inside the process that has work item instances flowing both into and out of the activity. This screenflow in the tutorial has incoming arguments that the tutorial is having you use for a Global Creation activity (an activity where instances get created and that no incoming arguments). In real life, when you're building a screenflow for a Global Creation activity, you'd not create it with the incoming arguments that you're having to set in step 17 on page 38.
To get around this:
1) Click "Submit Report In" in the upper right corner of the dialog it has you open in step 16
2) Click the "+" in the upper right corner
3) Click in the first row of the "Submit Report's input arguments" column
4) Pick "reportSfArg" from the dropdown (ironically - this is the incoming argument variable coming into the screenflow of a Global Creation activity that should not have incoming argument variables)
5) Click in the first row of the "Value" column
6) You will not see any values in the dropdown, but manually type in the text "ExpenseReport()". This is the name of the constructor for the incoming argument variable's object that should not be there in the first place.
I guess I see why it was written this way, but I sure wish the easy way would have been used.
Dan -
Problem with the firstcup tutorial
Hi, I'm a developer that is new to Java. I walked through the "firstcup" tutorial using the netbeans 6.5.1 ide and glassfish 2.1 server.
I thought I had successfuly completed all the code and xml config files.
When I got to p14.html, "Building, Packaging, Deploying, and Running the firstcup Enterprise Application", I run into a problem trying to run the tutorial app.
Posted below is the error I get in the webpage. The server log file error is too long to post because of the character limit of this forum.
If anybody could point me in the right direction I would appreciate it. Also if this question should be posted on a different forum please advise,
Thanks,
Paul
WEBPAGE ERROR
type Exception report
message
descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Cant instantiate class: com.sun.firstcup.web.DukesBDay.. com.sun.firstcup.web.DukesBDay
root cause
javax.faces.FacesException: Cant instantiate class: com.sun.firstcup.web.DukesBDay.. com.sun.firstcup.web.DukesBDay
root cause
java.lang.ClassNotFoundException: com.sun.firstcup.web.DukesBDay
note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs.Paul,
What does the below diagnostic message mean to you?
java.lang.ClassNotFoundException: com.sun.firstcup.web.DukesBDayTell me, I'll confirm or repudiate... and then we'll looking to why that might be the case, leading to what to do about it.
<aside>
If you're new to Java then jumping straight into J2EE probably isn't the way to go... especially if you're totally new to programming, especially web-programming... The serverside EE-technology-stack builds on the core Java langauge and API's (J2SE)... and without at-least a basic understanding of the Java language itself I predict that you're going to really really struggle with the EE tutorials... and that therefore you'll probably give up in disgust.
They call this page [getting started|http://java.sun.com/docs/books/tutorial/getStarted/index.html]... I (for one) think it's aptly named... Nobody gets to skip HelloWorld, or the universe will implode, or something ;-)
</aside>
Cheers. Keith. -
Problem with MedRec development tutorial
Hi,
I am facing a problem trying to run the "Tutorial 11: Exposing a Stateless Session
EJB as a Web Service" which is part of the MedRec Development Tutorial for WLS
8.1.
On running the my_webserv.xml (copy of webservices_tutorial.xml) ant script, I
get the following error:
file:D:/medrec_tutorial/src/medrecEar/my_webserv.xml:12: weblogic.webservice.tools.build.WSBuildException:
Failed to do type mapping - with nested exception:
[weblogic.xml.schema.binding.BindingException: Invalid class received: interface
javax.xml.rpc.handler.HandlerRegistry loaded from file:/D:/BEA/weblogic81/server/lib/webservices.jar!/javax/xml/rpc/handler/HandlerRegistry.class.
All classes that will be serialized or deserialized must be non-interface, non-abstract
classes that provide a public default constructor]
Having followed all the previous tutorials exactly as documented, I am not sure
why this is happening.
Looking to get some help for this problem.
thanks.yes. looks like my CLASSPATH was a problem. some extraneous entries from a previous
medrec tutorial.
thanks.
"Chris Wall" <[email protected]> wrote:
Hey Atul.
What is your classpath?
"atul" <[email protected]> wrote in message
news:403ddd0b$[email protected]..
Hi,
I am facing a problem trying to run the "Tutorial 11: Exposing a StatelessSession
EJB as a Web Service" which is part of the MedRec Development Tutorialfor
WLS
8.1.
On running the my_webserv.xml (copy of webservices_tutorial.xml) antscript, I
get the following error:
file:D:/medrec_tutorial/src/medrecEar/my_webserv.xml:12:weblogic.webservice.tools.build.WSBuildException:
Failed to do type mapping - with nested exception:
[weblogic.xml.schema.binding.BindingException: Invalid class received:
interface>> javax.xml.rpc.handler.HandlerRegistry loaded from>file:/D:/BEA/weblogic81/server/lib/webservices.jar!/javax/xml/rpc/handler/HandlerRegistry.class.>> All classes that will be serialized or deserialized must be>non-interface, non-abstract>> classes that provide a public default constructor
Having followed all the previous tutorials exactly as documented, Iam not
sure
why this is happening.
Looking to get some help for this problem.
thanks. -
Problem with BAPI (Flight) Tutorial
Hi,
Im new in developeing with Web Dynpro for Java.
I did every steps of this tutorial (Adaptive RFC tutorial - with the BAP_Flight_Getlist) exactly:
http://help.sap.com/saphelp_webas630/helpdata/DE/b2/326b09e58bcf499f73b5cc278808f4/content.htm
But i can not deploy the application - Error: deployment aborted.
05.04.2008 11:00:23 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[022]Deployment aborted
Settings
SDM host : dmhpnb34
SDM port : 50018
URL to deploy : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.ear
Result
=> deployment aborted : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.earAborted: development component 'Flights'/'local'/'LOKAL'/'0.2008.04.05.11.00.19'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application local/Flights.. Reason: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is: com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
My SLD is working, also my JCOS, so there should not be the problem.
Are there more good small tutorials (like this flight tutorial) with Web Dynpro and BAPI ?!thx for the advise. I developed the tuturial application again and can now run it. But if i click on search button with the entered values Departure City: Frankfurt and Arrival City: New York
i get no values in the table (i checked in the ERP System if the flights with this directions exists - its there):
Custom Controller Code:
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package mypackages;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateFlightsController).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import mypackages.model.Bapi_Flight_Getlist_Input;
import mypackages.model.Bapisfldst;
import mypackages.model.FlightModel;
import mypackages.wdp.IPrivateFlightsController;
import com.sap.mw.jco.JCO;
import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
//@@end
//@@begin documentation
//@@end
public class FlightsController
Logging location.
private static final com.sap.tc.logging.Location logger =
com.sap.tc.logging.Location.getLocation(FlightsController.class);
static
//@@begin id
String id = "$Id$";
//@@end
com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
Private access to the generated Web Dynpro counterpart
for this controller class. </p>
Use <code>wdThis</code> to gain typed access to the context,
to trigger navigation via outbound plugs, to get and enable/disable
actions, fire declared events, and access used controllers and/or
component usages.
@see mypackages.wdp.IPrivateFlightsController for more details
private final IPrivateFlightsController wdThis;
Root node of this controller's context. </p>
Provides typed access not only to the elements of the root node
but also to all nodes in the context (methods node<i>XYZ</i>())
and their currently selected element (methods current<i>XYZ</i>Element()).
It also facilitates the creation of new elements for all nodes
(methods create<i>XYZ</i>Element()). </p>
@see mypackages.wdp.IPrivateFlightsController.IContextNode for more details.
private final IPrivateFlightsController.IContextNode wdContext;
A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
Represents the generic API of the generic Web Dynpro counterpart
for this controller. </p>
private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
Represents the generic API of the Web Dynpro component this controller
belongs to. Can be used to access the message manager, the window manager,
to add/remove event handlers and so on. </p>
private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
public FlightsController(IPrivateFlightsController wdThis)
this.wdThis = wdThis;
this.wdContext = wdThis.wdGetContext();
this.wdControllerAPI = wdThis.wdGetAPI();
this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
//@@begin javadoc:wdDoInit()
/** Hook method called to initialize controller. */
//@@end
public void wdDoInit()
//@@begin wdDoInit()
Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
Bapisfldst bapisfldstFrom = new Bapisfldst();
input.setDestination_From(bapisfldstFrom);
Bapisfldst bapisfldstTo = new Bapisfldst();
input.setDestination_To(bapisfldstTo);
// Creates an instance of a client to the remote SAP system
client = JCO.createClient("800", //SAP logon client number
"Andreas", //SAP logon user
"*****", //SAP logon password
"DE", //SAP logon language
"dmsaperp", //Host name of application server
"00"); //SAP system number
// Creates the model instance
model = (FlightModel)WDModelFactory.getModelInstance( FlightModel.class, WDModelScopeType.APPLICATION_SCOPE);
// Assigns the client to the model
model.setJcoClient(client);
//@@end
//@@begin javadoc:wdDoExit()
/** Hook method called to clean up controller. */
//@@end
public void wdDoExit()
//@@begin wdDoExit()
//@@end
//@@begin javadoc:getFlights()
/** Declared method. */
//@@end
public void getFlights( )
//@@begin getFlights()
//@@end
The following code section can be used for any Java code that is
not to be visible to other controllers/views or that contains constructs
currently not supported directly by Web Dynpro (such as inner classes or
member variables etc.). </p>
Note: The content of this section is in no way managed/controlled
by the Web Dynpro Designtime or the Web Dynpro Runtime.
//@@begin others
JCO.Client client;
FlightModel model;
//@@end
content of obsolete user coding area(s) -
//@@begin obsolete:getFlights()^
// client.connect();
// try {
// // Calls remote Function Module BAPI_FLIGHT_GETLIST
// wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
// catch (Exception ex) {
// ex.printStackTrace();
// finally {
// client.disconnect();
// // Invalidates the output context node
// wdContext.nodeOutput().invalidate();
//@@end -
Problems with Deploying WLI Tutorial App to a cluster
I'm using Weblogic 8.1 SP3 and have built the app (steps 1-5) listed below:
Tutorial
The app works fine in Workshop and even works fine deployed to a simple one-server WLI configuration once the 2 JMS Queus and required db tables are created manually. The problem is in deploying to a cluster. No error messages are generated but when loading the test page (http://localhost:8001/Tutorial_Process_ApplicationWeb/requestquote/RequestQuote.jpd?.EXPLORE=.TEST
) I do not get the same results as when loading in the single server setting (Note the port number is the port that my clustered managed server is running on). Basically the multi-tab page that loads in the one-server scenario only comes up as one tab - the Overview tab. None of the other tabs allowing you to test the web services are available.
I tried to cheat it by saving the SOAP test page from the working version and posting the form to the non-working version - but all that was returned was the Overview page. I suspect the issue is JTX-related but I am new the Weblogic so I'm somewhat lost.
Any help appreciated. I can be reached at [email protected]I am getting the following output from the Admin Server when I attempt to access the JPD process:
<19-Nov-2004 13:58:56 o'clock GMT> <Error> <JTA> <BEA-110412> <Xid=BEA1-0046F2A8360F0D4CF282(73146307),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=500,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=cgServer),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@429b2ce,re-Registered = false),SCInfo[integration-cluster-xa-changed+cgServer]=(state=committed)) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: No connection associated with xid = BEA1-0046F2A8360F0D4CF282-7765626C6F6769632E6A6462632E777261707065722E4A545358415265736F75726365496D706C)) -
Problem with preloader from tutorial in flash 8
when i open preloader in flash 8 from section developers for
flash, it dosn't work.
and trace message
but in mx 2004 work ok
what problem?
**Error** C:\Documents and
Settings\Артем\Local
Settings\Application Data\Macromedia\Flash
8\en\Configuration\Classes\mx\events\EventDispatcher.as: Line 15:
The name of this class, 'mx.events.EventDispatcher', conflicts with
the name of another class that was loaded,
'mx.events.EventDispatcher'.
pls give advice about this questionYou may need to purge your ASO files. This can be can by
manually deleting them or force Flash to do it. TO purge them using
Flash 8 go to, Control>Delete ASO Files.
To manually delete them and if you are using a Flash version
below 8 go to the link below;
http://www.adobe.com/support/documentation/en/flash/mx2004/releasenotes.html
…and scroll to “Flash MX 2004 Update and Flash MX
Professional 2004 Update, version 7.0.1.
If you have Flash MX 2004 version 7.2. you can install this
plug-in that will force Flash to purge them on command;
http://www.adobe.com/cfusion/exchange/index.cfm?view=sn111&extID=1016963 -
Problem with Business Process tutorial
I'm trying to run the Business Process Tutorial (http://e-docs.bea.com/workshop/docs81/doc/en/integration/tutorial/tutWLIProcessCreateApp.html?skipReload=true#1025634)
in WebLogic Workshop 8.1 (Build 2003.0710.190003) and I'm having trouble with
the part that says:
In the New Application dialog box, select Tutorial in the left pane, and select
Tutorial: Process Application in the right pane.
In my setup, the New Application window has only "All" in the left pane. And it
doesn't have anything "Tutorial" related in the right pane.
Any suggestions?
Thanks
-TAB"Todd Bradfute" <[email protected]> wrote:
>
I'm trying to run the Business Process Tutorial (http://e-docs.bea.com/workshop/docs81/doc/en/integration/tutorial/tutWLIProcessCreateApp.html?skipReload=true#1025634)
in WebLogic Workshop 8.1 (Build 2003.0710.190003) and I'm having trouble
with
the part that says:
In the New Application dialog box, select Tutorial in the left pane,
and select
Tutorial: Process Application in the right pane.
In my setup, the New Application window has only "All" in the left pane.
And it
doesn't have anything "Tutorial" related in the right pane.
Any suggestions?
Thanks
-TAB
Hi TAB--
When you installed the platform, did you install the whole thing, or just part
of it? If you chose not to install the examples, or if you chose not to install
Integration, that would explain this behavior. If not, we'll try to go from there...
Thanks,
Mike -
Problem with dreamweaver8 help tutorial section
i was going through the tutorial section of macromedia
dreamweaver8. i installed coldfusion mx7 to my comp exactly the way
it was shown. i was doing the same procedure as it was shown in
tutorial developing a web application (in the section getting
started with dreamweaver). i did exactly as it was shown in the
tutorial , but while testing recordset i m getting a long list of
errors as follows.
-1:[macromedia][sequelink JDBC driver][ODBC
socket][microsoft][ODBC microsoft access driver] syntax error in
FROM clause.
{and there is a long list of errors showing}
please helpCheck that you are not trying to check a field called
"Password". It is now
a reserved word and will throw syntex errors.
Paul Whitham
Certified Dreamweaver MX2004 Professional
Adobe Community Expert - Dreamweaver
Valleybiz Internet Design
www.valleybiz.net
"anshuman_chakraborty" <[email protected]>
wrote in message
news:ec1see$3t6$[email protected]..
>i was going through the tutorial section of macromedia
dreamweaver8. i
> installed coldfusion mx7 to my comp exactly the way it
was shown. i was
> doing
> the same procedure as it was shown in tutorial
developing a web
> application (in
> the section getting started with dreamweaver). i did
exactly as it was
> shown in
> the tutorial , but while testing recordset i m getting a
long list of
> errors as
> follows.
> -1:[macromedia][sequelink JDBC driver][ODBC
socket][microsoft][ODBC
> microsoft
> access driver] syntax error in FROM clause.
> {and there is a long list of errors showing}
>
>
> please help
> -
Problem with Dreamweaver cs4 tutorial
Hi I have been following the dreamweaver tutorial (go to http://www.adobe.com/devnet/dreamweaver/articles/first_cs4_website_pt4.html)
All been well up until adding main image text.
It looks fine in design view (see snapshot attached) but when I go to look on browser it's not formatted at all.
Please see link below.
http://www.denotestationery.com/practicelocalroot_copy/index.html
Im am working in cs3
ThanksLouisaBoyles wrote:
Thanks to you both for correcting the wonky main image.
My white text box was not where it was also (that is what my original problem was) and I managed to sort it myself! The problem was there was a space missing before the p tag.
Hmm, that's strange because the validator didn't pick up any coding errors... but happy for you that you found an error - that's progress !! :-)
Thanks Nadia for recommending this tutorial. very informative. Now to see if I can try and fix all my website errors!
You're more than welcome. Doing tutorials step by step is a good way to learn instead of plunging in the deep end and trying to create a site without now at least the basics.
Good luck ! -
Problem with online Adobe tutorial.
I am following the online tuturial from Adobe for Dreamweaver however I am encountering a problem I can not seem to solve, I am at part 3 now " delete feedback entries".
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt3_05.html
After that I have done everything (according to me in the way mentioned) I am still not able to delete any entries.
After pressing " delete this entry" I am not reffered to the admin indexpage but to a blank one containing the ID of the post. When I afterwards look the entrie has not been deleted either.
Any help would be nice so I can move on to the next part of the tutorial.I am following the online tuturial from Adobe for Dreamweaver however I am encountering a problem I can not seem to solve, I am at part 3 now " delete feedback entries".
http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt3_05.html
After that I have done everything (according to me in the way mentioned) I am still not able to delete any entries.
After pressing " delete this entry" I am not reffered to the admin indexpage but to a blank one containing the ID of the post. When I afterwards look the entrie has not been deleted either.
Any help would be nice so I can move on to the next part of the tutorial.
Maybe you are looking for
-
Dear Friends, I would like to know is the complex authorizations can also cause the Bex report performance. One of my scenerio is like there are two users A & B A is having relevant authorizations for reporting, Drill down etc which are required. B i
-
Day 5 with BT...
Ok so since the 10 day training period started, I've had one disconnection. That's it. My sync is still 500Kbps lower than it was with my previous ISP meaning that I only sync enough to get 3.5mb instead of the 4mb I was getting before. Latency has b
-
Hi all, I hope someone might be able to help me? I have replaced an LCD screen on a T60 but the screen is very dim and I can just about make out the background picture, I have replaced the inverter but still have the same issue so I replaced the LCD
-
Hi, This is a simple requirement but not sure why its getting so complicated, i have done lot of search on SDN and got the solution, but unable to execute it. Basis has created a swc in Dev SLD and i imported it into my ESR, created my objects and ex
-
How do i get back a previous file before I saved it?
hi, While working on an assignment for university, I saved the file after I finished, but I don't know what happened because when I went to open the document back up again, it was blank. and I don't know if there is any way I can get it back to the l