ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Display only values in response/soap-ui

Post new topic  Reply to topic
 Display only values in response/soap-ui « View previous topic :: View next topic » 
Author Message
mr2kn
PostPosted: Mon Feb 22, 2016 6:38 am    Post subject: Display only values in response/soap-ui Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon Feb 22, 2016 6:48 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Feb 22, 2016 7:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mr2kn
PostPosted: Mon Feb 22, 2016 7:50 am    Post subject: Reply with quote

Apprentice

Joined: 26 Jan 2016
Posts: 46

yes, its nillable as true and some elements are optional
Back to top
View user's profile Send private message
timber
PostPosted: Mon Feb 22, 2016 9:14 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Display only values in response/soap-ui
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.