Skip to Content
avatar image
Former Member

Graphical Mapping for empty elements

Hi,

The source message has all element empty but they have attributes. How the attributes can be mapped to destination elements?

the queue is always SUPPRESS.

I have tried to check the element value is equal empty constant but it didnt help.

Thanks and regards,

Altug

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 26, 2014 at 02:35 PM

    Don't map the element to the target field.

    Map the attribute directly to the target element.

    I hope you have define the sender data type with attributes.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Hareesh Gampa

      Sorry for late answer.

      I have changed the wsdl as you suggested and imported the wsdl file to external definition. Cleared all caches then tried. But still getting the error.

      I can try the web service apart from SAP PI via SOAPUI. The response message payload is without namespace.

  • Jun 26, 2014 at 02:33 PM

    Hi Altug...

    Please check with mapwithdefault option...

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      I do not want to set a default value. I want to set the attribute to target element. But it is not working