Webdynpro model testing
Hi Expert,
I have created a model for doc/literal webservice. May I know, how to test the model?
Usually, I use the following url to check the webservices. http://<hostname>:50100/wsnavigator/jsps/index.jsp. Could you please tell me how to test webdynpro models?
Regards
Sara
Hi Sara
Do you have admin rights? Admin will have the right permissions to view RUN option....
If you are already using admin ID.. check your entire application..I mean (Dont just click on your appl'n and see .. see all of them). At leaset one of your componets will have this RUN button enabled...
Dont worry about your Jco connections.. you just try to RUN and test your appl'n ... if it failes then you can look into your jco destinations...
If you have problem in your jco destinations...go to jco maintaince.. identify your jco destination and maintain the same with proper inputs (Give the Backend user id and pwd) to test your connectivity..
Regards
Hari
Similar Messages
-
Hello Team,
We have a scenario where we have a PI web service and we are importing the WSDL into our WD Java application.
While running the test scenario we are getting the below 2 exceptions in the stack trace.
20111222:Exception trace: com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service on destination 'WS_CUST_**' for operation 'GetCustomer*' in interface 'GetCustomer**'
Caused by: java.rmi.RemoteException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.; nested exception is:
com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
Caused by: com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Cannot created typed model object. Factory for typed model class '$002fWsdlDefinitions$002fWsdlTypes$002fXsdSchema$005b1$005d$002fXsdComplexType$005b1$005d$002fXsdSequence$002fXsdElement$005b1$005d$002fXsdComplexType' has not been registered.
By running through few posts on SDN a probable solution for this was proposed as: blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application
Any help on this would be great.
Regards,
ShaileshDear Shailesh,
Did you try to check the blank the "designtimeWsdlUrl" properties of the model in NWDS and re-deploy the application? please try to check and test.
Also try to import fresh in new DC and check whether it is working or not.
Best Regards
Arun Jaiswal -
CAF WebDynpro Model: ExceptionHandling
Hello!
I access my CAF-Services through a WebDynpro-Model.
Is it possible to access the exceptions risen by the Services through the model?
Or is there another way to get the Exceptions.
And in generell:
What other ways besides a webdynpro-modell are there to use CAF-Services. Can I access them through webservices e.G.?
Thank you, I really need your help.
Best regards,
JörgHello Jorg,
Yes, you can access your CAF Services as Web Services. To do this, you just have to generate the Web Services:
- Select "Remote Enabled" in the "General" tab for the Entity or Application Service
- Right-click on the Service and select "WebService->New"
- Save, Build, and Deploy to the J2EE Engine
You should now be able to test the Web Service using the Web Service Navigator from the J2EE Engine. This can be access from the j2ee homepage.
Regards,
Austin. -
Hello,
I have SAP EH1 for SAP NWCE 7.1 and NWDS with the recent upgrade pack of WD. When I run my WD application the following exception ocurr,
java.lang.NoSuchMethodError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.(Ljava/lang/String;Ljava/lang/String;Ljavax/xml/namespace/QName;Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Lcom/sap/tc/webdynpro/model/webservice/gci/IWSTypedModelInfo;Ljava/util/Map;Ljava/util/Map;)V
at pe.com.minsur.wd_test_esr.wdtestesr_model.Wdtestesr_Model.<init>(Wdtestesr_Model.java:240)
at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.Wdtestesr_Comp.wdDoInit(Wdtestesr_Comp.java:111)
at pe.com.minsur.wd_test_esr.wdtestesr_app.comp.wdp.InternalWdtestesr_Comp.wdDoInit(InternalWdtestesr_Comp.java:445)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:160)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:227)
My DoInit Method only have this code,
public void wdDoInit()
Wdtestesr_Model model = new Wdtestesr_Model();
Any ideas?
Regards
MGThe problem is that the logical destinations are not well configured.
-
New Business Method in EJB not available in Webdynpro Model
Hi,
I am using EJBs for Business Logic in my webdynpro java application. I have added a new Business Method in one of the session bean. But I am not able to see the new method in webdynpro model. I am following the below procedure -
1. Select the Session bean.
2. Add New Business Method. It automatically adds the method in Remote and Local Interface.
3. Implement thie new method.
4. Build EJB project
5. Add it to EAR
6. Build EAR Project
7. Deploy EAR Project
After following above steps, when I am trying to create a model in my webdynpro project, it does not reflect the changes (context returned by new business method).
Can any one help me on this ?
Thanks in advance,
GauravThe issue is resolved. This is the case where methods in beans returns collections. For such scenario, relations have to be created manually, it does not come automatically. For details refer the blog at below link --
/people/balaramnaidu.bankuru/blog/2006/04/23/importing-complex-javabean-model-into-webdynpro-by-creating-relationships-for-the-model-classes
Thanks everyone.
Gaurav -
RFC Destinations for Webdynpro models
Hello Everybody,
I am trying to use RFC Destinations for the Webdynpro model.
I have multiple systems with same RFCs. Based upon the inputs on the screen, I wanted to call respective RFC.
To achieve this, can I use RFC destinations in my webdynpro application?
I know, this could have been solved through XI in between.
That is not a valid path for me right now.
Have anybody used RFC Destinations in Webdynpro models?
I am getting exception: NoClassDefFound when I used DestinationService API for this.
Please help me.
Thanks in Advance,
BhavikHi Bhavik,
RightClick on the project->Goto Properties
try adding library "tcsecdestinations~interface" in the interface references of WebDynpro reference.
"tcsecdestinations~service " in the library references.
Regards, Anilkumar -
Webdynpro Model reimport instead of delete
according to the tutorial given
i have created java beans and import the javabeans into webdynpro
after sometimes, i add some new java class
for instance
previous
InventoryCommandBean.java
WarehouseCommandBean.java
after
InventoryCommandBean.java
WarehouseCommandBean.java
BOMCommandBean.java
webdynpro
Model
previously InventoryCommandBean.java , warehouseCommandBean.java is inside webdynpro model, now i need to reimport instead of delete, what can i do.Hallo Stefan,
look at my WebLog on<a href="/people/bertram.ganz/blog/2005/10/10/how-to-reimport-web-service-models-in-web-dynpro-for-java To Reimport Web Service Models in Web Dynpro for Java</a>
Then read my comment on applying this re-import workaround for the JavaBean-model:
<i>Principally speaking "yes". But: there is a special difference which has to be considered. The Java-Bean model is based on a set of model-entities and a set of related model classes which are located in other packages (Java Bean model class packages) then the model-entities package. Model-entities are the metamodel-representations of the imported Java Bean model class.
Consequently it is not sufficient to make all model-entities within the model package namespace writable (readOnly=false). Additionally all related JavaBean model classes in a separate namespace must explicitly set writable.
Nevertheless there are no proxy classes which have to be deleted manually. Based on the above description the delete-operation will eliminate all those files which belong to the model.</i>
Regards, Bertram -
Build WebDynpro model from Proxy generated by XI
Hi all,
usually it's very simple to generate a WebDynpro Model according to a BAPI structure using a generated proxy.
If I generate such proxy via XI it seems that it is not possible to use it in an analogous way.
Does anybody have experiences with using "XI-proxies" out of WebDynpro.
Thanks in advance.
MarkHello,
I just found out the solution... It is a little bit tricky! The documentation gives you the advice to set the proxy according the ones within your browser! I did this, but it didn't work out! Finally I disabled the whole proxy setup and now it works
Markus -
SAP certification model test papers
Dear All,
Any one having model test papers for SAP certification on MM Module (TSCM50 - TSCM54) ?
Regards,
SattujDear Sattuj,
Threads about jobs, resumes or requests for copyrighted information are not allowed!
Therefore, this thread will be locked or deleted shortly.
Also, please review URL:
/thread/931177 [original link is broken]
Ian Wong
SAP Community Network Moderator -
Serialisation failed : ABAP webservices as webdynpro model
Hi All,
I have created a webdynpro application consisting of a ABAP webservice model . This webservice takes some input parameters which are optional and give output which we are displaying as webdynpro table.. we have successfully deployed and run it on our development server .
We have transported the EAR to Quality server after changing the target address under model> webservice> logical port corresponding to Quality webservice URL..
But at quality server it is giving "Serialisation failed" for particular input parameter. for rest of the input parameter proper output is coming .
Please tell the possible solution.
regards
PoonamThe input that you are trying to give might not be complaint with the data that you are providing .. go to http://server:port/wsnavigator and give the data there and test .If the data type and the length of the input parameter are not complaint with the data that you are providing u will get that error
-
EJB 3.0 entity beans and WebDynpro models
Hi all,
first off all my setup:
WebDynpro Development Component: dcA
EJB Module Development Component: dcB
i wan't to create Entity Beans in dcB an use it for my model in dcA.
My questions:
1. Why does the "New Wizard" only offer EJB 3.0 Session and Message Beans an no Entity Beans? What is the correct way for creating Entity Beans in DevStudio?
2. Is ist right that i have to define a public Part containing the Entity Bean to make it visible to dcA?
Regards,
ChristianHi,
I'm experiencing same problems, is this a bug or an feature? -
Webdynpro model context mapping issue
Hi,
I have created a faceless Web Dynpro model component (DC1) and an UI Component (DC2).
DC1 is an used component in DC2.
After mapping the model node from the interface controller of DC1 to DC2 it says "Referenced model class is missing".
I asume, I should add the model as used model to DC2 as well.
But when I proceed this way I am wondering why you should create a seperate model Web Dynpro DC? Where are the Pros?
Can anybody tell my how to proceed with this issue?
Are there any best practices how to use a central model DC in Webdynpro and access the data via interface mapping from other DCs?
Thanks aheadHi Bernd,
For reusability, model component and functional components are seperated. In model component, all the model created which are used for all func components. and In Func component usage model component based on the requirement to use number of model that web dynpro componetization
>But when I proceed this way I am wondering why you should create a seperate model Web Dynpro DC? Where are the Pros?
Can anybody tell my how to proceed with this issue?
For seperation of business logic model component from visual component.
Componentization, resualbilty, easy to maintain etc
Are there any best practices how to use a central model DC in Webdynpro and access the data via interface mapping from other DCs?
Please refer to [Here |http://www.williamcui.com/blog/resources/principles_patterns_and_practices_in_web_dynpro_for_java.swf] and go through [Articles|http://www.sdn.sap.com/irj/scn/articles-webdynpro-all?startindex=161] and [Blogs|http://www.sdn.sap.com/irj/scn/weblogs?blog=/weblogs/topic/43] and [Wikkies|http://wiki.sdn.sap.com/wiki/display/WDJava/WelcometoWebDynproJava%21]
Hope it helps
Regards
Arun -
ABAP class as abap webdynpro model
Hello Folks,
I have small requirements that needs to be developed in OO ABAP and ABAP Webdypro. I have created class that fetch data from database and would like to use this class as webdypro model.
I appraciate if you can provide me materials related to this.
Thanks,
RobertHi,
You can correlate ur class mthods to webdynpro by declaring the reference variable for the class under the Atticbutes tab of the Component controller in se80 as
Attribute : <ref_variable>
Asssociated type : <class_name>
and tick the Public and RefTo checkbox.
Now using the reference variable,one can access the class methods .
Also, u can find list of tutorials in the below link for the webdynpro beginners,
https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
Thanks,
Divya.S -
WebDynpro Abap test failed (System admin/suport)
Hello,
I'm using EP 7.0 and I'm trying to test travel&expenses (Ehp3) WD for Abap from System Admin/Support Desk: Integration of SAP Applications/WebDynpro and we get the following error: Exception in SAP Application Integrator occured: Unable to parse template...the problem occured at position 275. Cannot process expression <IView.PCDUnit.ShortID> because Unable to get PCD Unit com.sap.portal.appintegrator.sap.WebDynpro.
System contector test is ok. Please, could you help me?
Thank youHello,
Ok, I forget system connector and support tests. Web AS parameter are supposed to be ok:
Web AS Host Name: host.domain:port (from smicm tx)
Web AS Host Name: /sap/bc/webdynpro/sap/
Web AS Protocol: http
but the SAP Web AS Connection test fails. When trying to execute the iView it works. Does it mean that is it correct? Why WAS connection test fails?
In the other hand, when iView is displayed, it asks for user and password because the R/3 user is locked. Why R/3 user is locking everytime?
Thank you&Regards -
E-Rec WebDynpro service test error under SICF
HI,
I am working with E-Recruitment With webdynpro-abap, Had some problem currently.
When i went to t.code SICF, and test the service "hrrcf_a_startpage_int_cand" getting error called " Unfortunately, the system is unavailable at the moment; try again later".
I already activated all the services, and all the services had same probelm. Could you please me in this. is there some thing need to activate?
Regards.
MS RAOHi, Were you able to resolve this issue?
IF not then please go to transaction wf_handcust and maintain the entries under Launch Handler, Callback Handler and callback Dialog. I had the same issue and your's was the only related message I could search in SDN so thought of sharing the solution.
Regards,
VInay
Maybe you are looking for
-
Router connected to cable modem by Ethernet port cannot get IP address from DHCP.
I have an ethernet cable on Fa0/0 connecting my 1841 router to my cable modem. The issue is that the router cannot obtain an IP address via DHCP when I have the "ACL-OUTSIDE-IN" ACL applied inbound on the Fa0/0 interface. I tried to allow all BOOTP a
-
Using variables in Caption section of Legend Answers view
Is it possible to use variables as Captions in the Legend Answers view? If so, what's the format? Thank you
-
10.1 AC Remediation View Says No Data Found while Business View Shows Plenty
We are upgrading to AC 10.1 from 10.0. We configured gateway connection and I am using Chrome browser. Not sure why user risk analysis in remediation view comes back "No Data Found" while in business view there are plenty of risks. Any ideas? -Thanks
-
WDA Application Launcher or CV120_START_APPLICATION
Hi Experts, Please help me on this. Scenario: CV120_START_APPLICATION and GUI_DOWNLOAD works fine on an R3 system(DEV) I wrote function module called Z_DISP_PDF to call these to download a file from Doc management system and launch the PDF viewer
-
Canon HG21 camcorder imovie vs final cut pro
I just purchased a canon vixia hg21 camcorder and love it. The only problem is that my video is not as clear on my computer (using imovie) as it is seen on the camcorder. What am I doing wrong? Do I purchase Final Cut? All I want to do is download my