|
| Mapping SOAP response to SMO manually |
 |
Tue, 01 Apr 2008 12:17:30 EDT |
Is there an API to manually append SOAP response to Service message
Object?<br />
<br />
My Custom Mediation Premitive executes an external webservice using HTTP Post (I
manually built a SOAP request from an incoming XML) and receives a SOAP response
thru HTTP . This SOAP response should be mapped to the SMO manually inside the
Custom Mediation Primitive and be sent back to the client. Please let me know if
there is a supported API to trim the SOAP Response body and append it to the SMO
Body.<br />
<br />
Thanks,<br />
|
| Post Reply
|
| Re: Mapping SOAP response to SMO manually |
 |
Tue, 01 Apr 2008 13:40:18 EDT |
|
| Post Reply
|
| Re: Mapping SOAP response to SMO manually |
 |
Tue, 01 Apr 2008 14:22:04 EDT |
Thanks for the immediate response.<br />
<br />
This is what I intended to do. I want to extract the SOAP Body out of SOAP
Response received from the HTTP call and add it to the body part of SMO response
object. <br />
<p />
<br />
Please add your inputs.<br />
<p />
|
| Post Reply
|
| Re: Mapping SOAP response to SMO manually |
 |
Tue, 01 Apr 2008 16:04:28 EDT |
I don't think we are going to find a solution to this problem that is going to
please us. A Mediation Module is designed to take incoming data arriving via
one protocol, turn that data into a normalized form, convert the data content
and then serialize it back into a physical format for transmission via
potentially a different protocol.<br />
<br />
What you are trying to do here is to "short circuit" some of the data
transformation functions.<br />
<br />
|
| Post Reply
|
| Re: Mapping SOAP response to SMO manually |
 |
Wed, 02 Apr 2008 01:09:05 EDT |
I think there is an additional point missing "the response path" in
the above definition of Mediation Module. It is a two way process of course,
depends upon the Message Exchange pattern though.<br />
<br />
Mediation Module transmits the data to a different protocol based application
(or same protocol) and receives response. The response needs to be sent back to
the client and here is where we use SMO API.<br />
<br />
I have found a solution to my problem. Thanks a lot for adding your
inputs.<br />
<br />
Thanks,<br />
|
| Post Reply
|
|
|
|
|
|
|
|
|
|