on 10-17-2006 3:01 PM
Hi all!
After giving up using the "adaptive webservice model", I am trying to use the "old" deprecated webservice model.
The model is embedded without any problems right now.
Now I am trying to call the webservice in my webdynpro application.
Unfortunately, the following error message appears:
Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. Can not create instance of class [NULL] when deserializing XML type [Rentenkonto][Kunde].
Does anybody have an idea, how to fix the problem?
Thank you for your help in advance!
Kind regards, Patrick.
Hi Patrick,
unfortunately I cannot provide an ad-hoc solution for your nested exception without further investigations.
Nevertheless I'm very interested to know, why you "gave up" using the Adaptive WS Model in Web Dynpro. What's the problem?
Perhaps the coding which now requires to create a model instance:
/** Hook method called to initialize controller. */
//@@end
public void wdDoInit() {
//@@begin wdDoInit()
// create a new model instance (1)
EmailAdWSModel model = new EmailAdWSModel();
// create model objects (2, 3)
Request_SendEmail requestMO = new Request_SendEmail(model);
SendEmail emailMO = new SendEmail(model);
// associate model objects (4)
requestMO.setSendEmail(emailMO);
// bind executable model object to context node (5)
wdContext.nodeRequest_SendEmail().bind(requestMO);
//@@end
}
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.