|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Display only values in response/soap-ui |
« View previous topic :: View next topic » |
Author |
Message
|
mr2kn |
Posted: Mon Feb 22, 2016 6:38 am Post subject: Display only values in response/soap-ui |
|
|
Apprentice
Joined: 26 Jan 2016 Posts: 46
|
Hi,
whether is it possible or not and im not sure about it and whether response values/data can be handle through ESQL (IIB9), right now im getting full tags and some tags has no value/data, so I want to control so that it will show only values/data in the response to front-end /soap-ui, below is the example
<name>abc</name> should be display
<address>123,abc, street</address> should be display
</address1> should not be display
</address2> should not be display
</address3> should not be display
<city>xyz</city> should be display
I know through java can be handle and I want see same as in ESQL,
Thanks for looking this matter and appreciate your help |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Feb 22, 2016 6:48 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
If you set the fields themselves to null, rather than setting the field values - it should "not display" what you want.
You may also have to change the xmlnsc options to get it to not populate missing elements (and the elements have to be nillable in the xsd...) _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Feb 22, 2016 7:13 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Well .... it all depends on your WSDL...
Are the fields optional?
Are the field nillable?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mr2kn |
Posted: Mon Feb 22, 2016 7:50 am Post subject: |
|
|
Apprentice
Joined: 26 Jan 2016 Posts: 46
|
yes, its nillable as true and some elements are optional |
|
Back to top |
|
 |
timber |
Posted: Mon Feb 22, 2016 9:14 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Quote: |
whether is it possible or not and im not sure about it and whether response values/data can be handle through ESQL (IIB9) |
Try not to think about 'displaying' fields. IIB does not display anything ( it runs on a server ). You should be thinking about mapping, and transformation logic. ESQL is excellent at those tasks. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|