Skip to Content
author's profile photo
Former Member

XML Unmarshal problem - Web Service Model

Hi, I have generated a Webdynpro-Model out of a WebService (J2EE WAS 6.4 SP9 + IDE SP9). The WebService works within the WebServices Navigator, but being called from within WDDoInit() I get this exception. The generated proxy code "looks" ok and I am pretty lost here, any help appreciated:

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Serialization Error. Object of Class [de.hpi.admui.models.lecture.proxies.types.p2.GetLecturesResponse] does not have property [Response] of type [[Lde.hpi.admui.models.lecture.proxies.types.MLecture;]. Check if the right object is passed to the serialization routine.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Posted on Jan 11, 2005 at 08:36 PM

    Hello Andre,

    Go to the deploy service of your visual administrator and check if the WD application that you are trying to run is deployed and started.

    Regards

    Abdul

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 12, 2005 at 07:58 AM

    Hi André,

    The reason could be that the WS Model has been generated out of a on older WSDL file. If this is the case, you have to regenerate it.

    If the WS is an SAP WS, you can trace the request and response that came to it and see if the response is correct to the WSDL. If yes, report a CSS message and attach the WSDL and the request/response to it.

    The WSDL that was used for the generation of the model is stored in src/packages/wsdls folder of your WD project.

    +In order to trace the request/reponse you have to set the severity to DEBUG as defined in the help portal: + http://help.sap.com/saphelp_nw04/helpdata/en/60/aec0b110a940d09e7a296c09af27bf/frameset.htm

    Best regards,

    Alexander

    Add comment
    10|10000 characters needed characters exceeded