Skip to Content
author's profile photo Former Member
Former Member

Service call exception with Web service

Hello,

we changed tonight the interface of the web service I use in the web dynpro as model. So I deleted the old model and created a new model (under the same name) importing WSDL file.

The WSDL was created via XI which is the interface to a SAP R/3 system, calling in the end a RFC function module.

Now I get this error message:

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. The content with schema type [http://trw.com/uta][/wsdl:definitions/wsdl:types/xsd:schema/xsd:complexType[1]/xsd:sequence/xsd:element[1]/xsd:complexType/xsd:sequence/xsd:element/xsd:complexType/xsd:sequence/xsd:element[9]/xsd:simpleType] is not valid.

The error occurs while executing wdContext.currentWebServiceElement().modelObject().execute(); command to get data from R/3 (via XI). What I can see in XI protocol is that the data comes back from the R/3 function module. But in web dynpro I get this error.

When no data are found there is no error executing command wdContext.currentWebServiceElement().modelObject().execute();

What to do in this case?

regards

Frank

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 09:46 AM

    Problem solved!

    One of the fields in interface of the R/3 function module interface was changed from length 2 to 18. The adjustment in XI was missing and in the end the web dynpro runtime raised this error.

    Nevertehless it is always very hard to find out the cause of such problems.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.