Skip to Content
avatar image
Former Member

skip optional tags in input while consuming external WS in ABAP ?

All,

I came across a situation while consuming an external web service in ABAP using it's WSDL.

There are few optional tags in the WSDL schema file and for some reasons, i don't want an empty OPTIONAL tag to be sent in the input of the WS call.

Can we avoid sending empty tags in the input whil consuming / calling an external WS ?

BR

Nilesh

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 16, 2015 at 09:26 PM

    How are you consuming the WS?

    Did you create a consumer proxy for the WS? There are 3 steps in consuming the WS.

    1. Create a consumer proxy for the WS (using the urlĀ  http://........./xyz?wsdl)

    2. Create a logical port (most of the times basis does the job)

    3. Call the web service method (which was created in first step) from the ABAP program

    -Chandra

    Add comment
    10|10000 characters needed characters exceeded