Skip to main content

IBM

Adding Namespaces in Output After Generating Typetree from WSDL

Concept

This post will show you how to add namespaces in the output card for a wtx map after generating a typetree from WSDL.

Requisites for Development.

  1. WTX Design Studio
  2. WSDL

Steps to implement:

1.Take a WSDL file and keep it in your workspace location. Import a Type tree from WSDL.

Pic1

2.Mention the file path of the WSDL for which we want to create Type tree.

pic2

IBM / Red Hat - Unlock Potential App Modernization
Unlock Your Potential with Application Modernization

Application modernization is a growing area of focus for enterprises. If you’re considering this path to cloud adoption, this guide explores considerations for the best approach – cloud native or legacy migration – and more.

Get the Guide

3.Click Next. Make sure you will not get any errors.

pic3

Click Finish.

Now the type tree is generated.

4.Create an Output card and give the type tree which we have generated.

pic4

5.Go to RespAttrs AttList and add Index for Xmlns XMLS(s).

pic5

6.Go to RespAttrs AttList and add Index for Xmlns XMLS(s).

pic6

Now we can populate namespaces for the end result.

Output:

pic7

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Nareshkumar Sultan

More from this Author

Follow Us
TwitterLinkedinFacebookYoutubeInstagram