Skip to Content

Calling a webservice (AXIS) from webdynpro

Hi Guys - I am getting the following error for some reason while making a call to a webservice developed in AXIS, Although I have checked the communication on wire it looked OK. Any ideas would be greatly appreciated.

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element [http://session.services.enterprise.mclarensoftware.com] is required in but can not be found.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 29, 2006 at 01:34 PM

    First Check the web service whether its working in web service navigator.

    Deserialization Error because web service signature change:

    Once you generated the Webdynpro model from web service you should not change the web service signature

    if you change the web service signature you will get this exception

    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error.

    To solve this you have to re generated the webdynpro model again with latest web service.

    I hope this will solve

    Regards

    Suresh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2006 at 07:45 AM

    Hi Fahad!

    Did you get your problem solved right now?

    Because I am having the same problem and I don't know how to solve it.

    Best regards, Patrick.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Patrik,

      If you are using Complex types then you need to define Bean classes for those and have them registered as mappings to the Axis call. So the SOAP Response XML is De-serilaized to produce instances of these classes and the values are set corresponding to the SOAP XML. Have you done the de-serialization. The bean structure should correspond to your response XML Structrue too..

      Regards,

      Arun

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.