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 Interchange Server + Adapters » simple problem

Post new topic  Reply to topic
 simple problem « View previous topic :: View next topic » 
Author Message
amateur10
PostPosted: Mon Nov 28, 2005 11:05 pm    Post subject: simple problem Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

Hi Guys,

I have said already, I am learning ICS. However, I try my best before putting question in the forum.

I am testing padding with some value. when compile the follwing simple statement in custom code in map it give error.
objGBO.setSTring("country","123435");

The error is

Compile Error: at destination attribute <country>: line 1, objGBO cannot be resolved as the objGBO is one of the objects of the map. where is my mistake in understanding the process? Can you please explain.
Back to top
View user's profile Send private message
sdng
PostPosted: Tue Nov 29, 2005 12:18 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

Hi,
there's not method setString in BusObj class, you should use method set(,) for any type of data
Back to top
View user's profile Send private message
amateur10
PostPosted: Tue Nov 29, 2005 6:03 am    Post subject: Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

what should I use then? ojbxxx.set(attribute,value)? is this right?

thanks
Back to top
View user's profile Send private message
sdng
PostPosted: Tue Nov 29, 2005 6:05 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

void set(String attribute, Object value)
void set(int position, Object value)
void set(String attribute, boolean value)
void set(String attribute, double value)
void set(String attribute, float value)
void set(String attribute, int value)
void set(String attribute, long value)
void set(String attribute, Object value)
void set(String attribute, String value)
Back to top
View user's profile Send private message
amateur10
PostPosted: Tue Nov 29, 2005 6:11 am    Post subject: Reply with quote

Centurion

Joined: 23 Nov 2005
Posts: 102

my question is, objxxx.setWithCreate(Attribute, value) gives error. This should work? what mistake am I making?
Back to top
View user's profile Send private message
sdng
PostPosted: Tue Nov 29, 2005 6:21 am    Post subject: Reply with quote

Acolyte

Joined: 23 Nov 2005
Posts: 53

when does it give error (compile,runtime) and what is error
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 Interchange Server + Adapters » simple problem
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.