on 06-22-2009 9:26 AM
Hi,
Please find the scenario
IDOC 'A' -
> PI -
>JMS(WebSphere) Receiver
IDOC 'B' <--
JMS (WebSphere) Sender
now here I need to pass the response to some other IDOC.
I have follwoing 2 questions:
1. Please let me know adapter module to build this async to sync thru JMS receiver and sender.I am using JMS WebSphere.
2. JMS receiver is getting request but its not getting successfully as its missing SOAP envelope and SOAP body.
how to add SOAP envelope and SOAP body in JMS receive? is there any adapter module for this?
Thanks,
Bhupesh
> 1. Please let me know adapter module to build this async to sync thru JMS receiver and sender.I am using JMS WebSphere.
Idoc is asynchronous, JMS is asynchronous, so async to sync makes no sense here.
> 2. JMS receiver is getting request but its not getting successfully as its missing SOAP envelope and SOAP body.
> how to add SOAP envelope and SOAP body in JMS receive? is there any adapter module for this?
I do not get this. Is the message in the JMS queue not correct? You can add SOAP envelope in mapping. You can use a simple XSLT mapping for this purpose.
Regards
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Bhupesh,
This will do it as XSLT (copies all of your payload into an SOAP Envelope):
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<xsl:copy-of select="/"/>
</soap:Body>
</soap:Envelope>
</xsl:template>
</xsl:stylesheet>
With best regards
Sebastian
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.