on 08-16-2007 12:52 PM
Hi,
The Response of a WebService is this string:
<StockQuotes><Stock><Symbol>MSFT</Symbol><Last>28.63</Last>
<Date>8/13/2007</Date> <Name>MICROSOFT CP</Name></Stock></StockQuotes>
This is delivered as an xml:string type.
How do I map this to this structure:
MT_StockQuote_Response
- Symbol
- LastQuoteValue
- Date
- Name
TIA.
Regards.
When I imported the WSDL of the WebService, I can only see a single element in the message structure, a xml:string. (The WS response is a string which can be parsed as an XML)
But in my response mapping, I need to amp this string to the structure I mentioned above. I dont think this is possible via Graphical Mapping, is it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When u have imported the wsdl as an external definition, in the 'messages' tab u will see the messages imported from wsdl. When u select those messages as sender message type in message mapping then graphical mapping can be done easily.
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
karthik,
you can map this one to one directly
MT_StockQuote_Response
- Symbol --->Symbol
- LastQuoteValue--->LastQuoteValue
- Date--->Date
- Name--->Name
but this come only once even though source may come mutiple times . to work as it as source you need to change ur target strucutre
MT_StockQuote_Response
StockQuotes--->StockQuotes
Stock--->Stock
- Symbol --->Symbol
- LastQuoteValue--->LastQuoteValue
- Date--->Date
- Name--->Name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.