cancel
Showing results for 
Search instead for 
Did you mean: 

Error message after executing webservice

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

Hi Betram,

with hindsight, I know, that the used wsdl-file was the problem.

It caused the errors using the "old" webservice model and also caused problems while loading the wsdl-file for the adaptive webservice.

Nevertheless, thank you for your support.

Best regards, Patrick.

Former Member
0 Kudos

If you find such problems, it's best to open an OSS message. That way, the problem will probably be fixed soon.

Armin

Former Member
0 Kudos

Hi Armin,

that's right. But I am not very experienced in developing webdynpro applications and that's why I first think, that the error depends on my own.

But in this case it was not my fault, but the vendor of the wsdl-file himself.

Kind regards, Patrick.

Former Member
0 Kudos

Hi Patrick,

Did you find a solution?

Regards,

Gerhard

Answers (0)