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 » WSDL Importer

Post new topic  Reply to topic
 WSDL Importer « View previous topic :: View next topic » 
Author Message
oomran
PostPosted: Mon Feb 19, 2007 8:01 am    Post subject: WSDL Importer Reply with quote

Novice

Joined: 19 Feb 2007
Posts: 16

I need to invoke an existing web service using mapping node with a primitive parameters, so I need to convert them to a soap message.

I have the WSDL file of the web service.

so I make a message definition file from the WSDL directly to represent the out message to the web service.

and create another message definition file from scratch which represent the inpot message.

in the map file I mapped the property to the property
and the input message tag to it's corresponding one.

***************************

the problem is the trace node after mapping node show the message as

Body
input message tag

and there is no envelope tag, so the web service throw exception saying:
Error: Expected 'envelope' but found AddContactIn
Back to top
View user's profile Send private message
oomran
PostPosted: Mon Feb 19, 2007 8:28 am    Post subject: Reply with quote

Novice

Joined: 19 Feb 2007
Posts: 16

Any one have any ideas
Back to top
View user's profile Send private message
kimbert
PostPosted: Mon Feb 19, 2007 8:36 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Which domain?
Which version of the product?
Back to top
View user's profile Send private message
oomran
PostPosted: Mon Feb 19, 2007 9:30 am    Post subject: Reply with quote

Novice

Joined: 19 Feb 2007
Posts: 16

thanks for your reply

the domain is MRM
the version of the Message Brkoer Toolkit is 6
Back to top
View user's profile Send private message
fat_tony
PostPosted: Mon Feb 19, 2007 12:40 pm    Post subject: Reply with quote

Novice

Joined: 02 Dec 2006
Posts: 15

The WSDL importer will create several message definition files, including a soapenv11.mxsd as well as your web service mxsd.

In your mapping node did you map to Envelope/Body on output and then map to AddContactIn as a replacement for "Wildcard Message"?

It sounds like you're just mapping straight to the web service mxsd rather than using the soapenv11.mxsd.
Back to top
View user's profile Send private message
oomran
PostPosted: Mon Feb 19, 2007 3:39 pm    Post subject: Reply with quote

Novice

Joined: 19 Feb 2007
Posts: 16

the wsdl importer generate three message definition files
1.soapenv file in a seperate pakage
2. empty file
3. web service file

and I create a Message definition file to represent the input message.
---------------------------------

in the soapenv file I import the web service file to add the Addcontact tage
as a child to the envelope\body\message

then I map the input message definition file to soapenv message definition file (to the addcontact tag I recently added)
Back to top
View user's profile Send private message
oomran
PostPosted: Tue Feb 20, 2007 12:45 am    Post subject: Reply with quote

Novice

Joined: 19 Feb 2007
Posts: 16

if there is any link or tutorial disscussing how to call exising web service using mapping node, please tell me.
Back to top
View user's profile Send private message
fde
PostPosted: Mon Aug 11, 2008 12:54 am    Post subject: Reply with quote

Acolyte

Joined: 05 Jul 2007
Posts: 65

I suggest starting with calling a webservice from a flow tutorial:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac34740_.htm

Watch the flow in debug mode and pay attention to the message tree.
After that, bring in a mapping node before the SOAP-Input and map to the request message of the webservice.


edit: sry for ressurrecting this one, just found it through google
_________________
Global warming is an unintentional side effect of SOA's hotness.
-- http://soafacts.com/
a business integration methodology
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 » WSDL Importer
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.