Author |
Message
|
oomran |
Posted: Mon Feb 19, 2007 8:01 am Post subject: WSDL Importer |
|
|
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 |
|
 |
oomran |
Posted: Mon Feb 19, 2007 8:28 am Post subject: |
|
|
Novice
Joined: 19 Feb 2007 Posts: 16
|
|
Back to top |
|
 |
kimbert |
Posted: Mon Feb 19, 2007 8:36 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
Which domain?
Which version of the product? |
|
Back to top |
|
 |
oomran |
Posted: Mon Feb 19, 2007 9:30 am Post subject: |
|
|
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 |
|
 |
fat_tony |
Posted: Mon Feb 19, 2007 12:40 pm Post subject: |
|
|
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 |
|
 |
oomran |
Posted: Mon Feb 19, 2007 3:39 pm Post subject: |
|
|
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 |
|
 |
oomran |
Posted: Tue Feb 20, 2007 12:45 am Post subject: |
|
|
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 |
|
 |
fde |
Posted: Mon Aug 11, 2008 12:54 am Post subject: |
|
|
Acolyte
Joined: 05 Jul 2007 Posts: 65
|
|
Back to top |
|
 |
|