Skip to Content
avatar image
Former Member

WebDynpro - WSDL with complex structure

Hi

Iam trying to consume an external wsdl file which has complex type objects.

Strucure details :

Request_TestWS_validate (the service itself with execute method)

messageType (structure 0..1)

version (string)

status (string)

response (structure 0..1)

...

...

....

Below error is thrown when i try to execute the web service:

<b>Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Node <IviewWorkOrders> child of <m:GetworkOrderListResponse> not described in Schema.</b>

Any help in resolving this would be highly appreciated.

Thanks and Regards,

Amar Bhagat Challa

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 31, 2006 at 06:31 AM

    Hi Amar,

    This is because the definition of the function module of SAP or EJB linked to that web service is changed for that you have to create the new version of the web service or update the existing one which will create the new WSDL and you have to use that WSDL to create the model.

    Ninad

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Amar,

      as far as i know when using complex types you have to serialize the complex type before using it.

      e.g. when creating a web service via the web service wizard in NWDS you have to create a java class, which stands for your complex type. This class have to implement java.io.Serializable. Please see the web service tutorials for detailed example.

      I hope this helps,

      regards,

      Rene

  • avatar image
    Former Member
    Oct 31, 2006 at 07:13 AM

    Hi Amar,

    "Exceptions.XmlUnmarshalException: XML Deserialization Error" sounds like your web signature changed now.

    Try deploying the web service once and check is it works.

    Otherwise you have to regenerate the model once again.

    Regards, Suresh KB

    Add comment
    10|10000 characters needed characters exceeded