Skip to Content

Send empty XML tags in Automated Action

Hello,

I'm calling an external web service from an automated action. One of my requirements is that all xml tags in the web service should be sent, whether they're empty or not. IE I want the xml content to look like.

<Name>Mattias</Name><EmptyTag/>

Is this possible in BPM, I have not found anything in the documentation.

Regards

Mattias

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 02, 2013 at 02:24 AM

    it is not possible on PO 7.31 SP5. This issue has affected a few of our interfaces. We have a high priority oss call with SAP to fix it at the moment. The empty tag returned in the response from the webservice will be automatically removed in NW BPM before the message is passed onto PI.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2013 at 04:32 AM

    Yes. This is way it works natively...

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 10, 2013 at 09:42 AM

    Hi Mattias,

    This is surely possible in BPM. Just make sure that the input and output mapping of the automated activity are correct.

    Also, make sure that the output of the web-service execution(the code) is written in such a way that it returns empty XML tags as well. Once that is done, post the execution of the automated activity, the web-service will be executed and the output will give you empty xml tags as well. Make usre you capture the output in the output-mapping of the automated activity and map it to your process context so that you can use that data elsewhere throughout the life-cycle of the process execution.

    Hope this helps. Do get back on this in case of any more concerns. 😊

    Regards,

    -Sid

    Add a comment
    10|10000 characters needed characters exceeded

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.