cancel
Showing results for 
Search instead for 
Did you mean: 

Getting exception while calling a WebService

Former Member
0 Kudos

Hi All,

I am calling a WebService using a Model,form WebDynpro Java. While executing the WebService, I am getting this exception.

Service call exception; nested exception is:
com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error.
Property [I_INVOICE_HEADER] of class
[com.xyztech.base64tobytearraypack.model.displayinvoicepdf.proxies.types.DisplayInvoicePDF_Request]
must exist and can not be null. This is required by schema description.

Some other Information:

Type of WebService Model : WebService Model - DEPRICATED

WSDL Source : Local File System or URL

What could be the reason?

Thanks,

Prabhakar.

Accepted Solutions (0)

Answers (1)

Answers (1)

snehal_kendre
Active Contributor
0 Kudos

Hi Prabhakar,

As per the stack trace. You have to set parameter DisplayInvoicePDF_Request as it is mandatory. If its a class(as in most of the cases) then create its object and set it.

And about your model there is no problem the deprecated model still works

Edited by: snehal kendre on Apr 4, 2008 9:23 AM