cancel
Showing results for 
Search instead for 
Did you mean: 

JMS receiver to JMS sender Problem

Former Member
0 Kudos

Hi,

Please find the scenario

IDOC 'A' -


> PI -


>JMS(WebSphere) Receiver

IDOC 'B' <--


PI <--


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

Accepted Solutions (0)

Answers (1)

Answers (1)

stefan_grube
Active Contributor
0 Kudos

> 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

Former Member
0 Kudos

yes... my problem is I am not getting SOAP envelope tags on receiver side..

The scenario is IDOC to JMS receiver

can you please tell how to add SOAP envelope tag thru mapping?

Thanks,

Bhupesh

Former Member
0 Kudos

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

Former Member
0 Kudos

can you please explain.. how I need to use the logic which you have provided.?

where I need to do this..?

Thanks,

Bhupesh

Former Member
0 Kudos

how to use XSLT mapping to add SOAP envelope tags.? I am getting message but SOAP envelope is missing I just want to add SOAP envelope and body tag.

Thanks,

Bhupesh