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 » Calling Java Method from Mapping Node

Post new topic  Reply to topic
 Calling Java Method from Mapping Node « View previous topic :: View next topic » 
Author Message
ingchristianreyes
PostPosted: Thu Aug 27, 2009 2:35 pm    Post subject: Calling Java Method from Mapping Node Reply with quote

Newbie

Joined: 21 Aug 2009
Posts: 4

Hello, I have the next problem.

I have a message flow where i am using a mapping node for translate an xml message in other one. In two elements of the target XML structure, i need call a Java Method, so, in the same workspace I have a Java project with a class and a public static method, from the mapping node i can use the content assist for introduce the call to the java method.

Then i create my bar including the java project, and effectively the bar contains the jar file, after I made the deployment and tried to test the message flow and finally I get a Java Class not found exeption.

I tried to place the jar file manually into the shared-classes folder but it still does not works, also i tried to place the jar file in a special folder (c:\lib) and add this folder to the CLASSPATH environment variable but it still does not works.

Could you help me with a tip?? thanks
Back to top
View user's profile Send private message
gs
PostPosted: Mon Aug 31, 2009 4:25 am    Post subject: Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

Did you verify that the method(s) you're trying to use qualifies for usage with the mapping node?

See more information here:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ar25245_.htm
Back to top
View user's profile Send private message
ingchristianreyes
PostPosted: Mon Sep 07, 2009 12:28 pm    Post subject: Reply with quote

Newbie

Joined: 21 Aug 2009
Posts: 4

Hi "gs", I have read this constraints and I have no problem with it, in fact at development time I can use the wizard for select my java method, which means that the method qualify for use it in the mapping node, addionatly the project compiles without any problem and the bar builds fine. The problem i think is in run time.

Thanks...
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 » Calling Java Method from Mapping Node
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.