on 04-12-2007 5:40 PM
Hello there,
I am new to XI and trying to config a SOAP-XI-SOAP using "Google Search" wsdl as external definition.
Taking "Google SpellingSuggestion" service, I created Inbound & Outbound Data_Type for sender and mapped to Receiver data with Messaage Mapping and Interface Mapping. I also created Soap Sender and Receiver communication channel. Then, I built a wsdl using "define web services" option.
I deployed "Google Search" wsdl using Tomcat - AXIS web service engine.
I successfully sent request to Server. However, when it returned, I got error :
-
RuntimeException in Message-Mapping transformation...
-
I followed some suggestions which recommends using PayLoads message to test at Message Mapping. The following is the different:
The original mapping message of SpellingSuggestionResponse:
-
<?xml version="1.0" encoding="UTF-8"?>
<return>String</return>
-
The message from PayLoads is :
-
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:doSpellingSuggestionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:GoogleSearch">
<return xsi:type="xsd:string">Yahoo!!!</return>
</ns1:doSpellingSuggestionResponse>
</soapenv:Body>
</soapenv:Envelope>
-
I then changed my Inbound message data type from a simple string to a structure that contains only a string with occurrence value 0..1. It then showed no error but still not returning an value.
The structure defined as:
doSpellingSuggestionResponse Complex Typye
return String
Please give me some hints.
Thank you very much.
trith.
Hi,
Do the check of even the Response Mapping. I guess you have checked only the Request mapping.
Regards,
Abhy Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the Google Search WSDL as an Extrenal Definction and use it as the Message type in your mapping.
Is this what you ahve done?
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16
Try out the above link
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.