|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
IB9 - reply mtom via soap |
« View previous topic :: View next topic » |
Author |
Message
|
pvsp |
Posted: Tue Mar 10, 2015 1:16 am Post subject: IB9 - reply mtom via soap |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 36 Location: Warsaw, PL
|
Hi,
I'm trying to create simple message flow with Soap Input and Soap Reply node to reply mtom message.
1. I have create wsdl file with input message and output message. In output message (response) I put the field like below:
<xsd:element maxOccurs="1" minOccurs="1" name="DocumentData" type="xsd:base64Binary">
2. After SoapInput node, I put Soap Extract node.
3. Next node is Mapping, that is responsible for creating response message. I set validation on content and message.
4. Next, I put soap extract and soap reply with 'Allow MTOM'.
When I run via soapui, I get the response, but it is not mtom response. I see wrong http headers:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Content-Length: 2059
Date: Tue, 10 Mar 2015 08:09:33 GMT
instead of sth like this:
HTTP/1.1 200 OK
Content-Length: 3046
Content-Type: multipart/related; type="application/xop+xml";start="<http://tempuri.org/0>";boundary="uuid:240060e2-e112-4264-9106-5e8c5d8dad6a+id=2";start-info="text/xml"
Server: Microsoft-IIS/7.5
and my DocumentData should be included in attachment but it is not.
My question is, what I did wrong ? What should I set/prepare in my message in order to return mtom soap response ?
I have read article "Using SOAP MTOM with the SOAPReply, SOAPRequest, and SOAPAsyncRequest nodes"
http://www.google.pl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCQQFjAA&url=http%3A%2F%2Fwww-01.ibm.com%2Fsupport%2Fknowledgecenter%2FSSMKHH_9.0.0%2Fcom.ibm.etools.mft.doc%2Fac56630_.htm&ei=jbX-VIGULoGhyAO-1oGQCg&usg=AFQjCNGRPlsWhtlOlPURMtoDUlorottjDw&sig2=l7qF5xC_sQ42Jl37VxBb1A&bvm=bv.87611401,d.bGQ&cad=rja
but, there are only base information and all I implemented in my message flow. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 10, 2015 4:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Did you check the size of the attached document? The infocenter says something about the default having to be under 1,000 bytes. If your default is higher you need to override the MTOMThreshold in the local environment variable as directed by the infocenter...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
pvsp |
Posted: Wed Mar 11, 2015 2:04 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 36 Location: Warsaw, PL
|
|
Back to top |
|
 |
pvsp |
Posted: Fri Mar 13, 2015 12:02 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 36 Location: Warsaw, PL
|
today I got fix from IBM lab. I'm going to install today and retest my flow. |
|
Back to top |
|
 |
anandratan |
Posted: Thu Mar 10, 2016 12:00 am Post subject: |
|
|
Newbie
Joined: 06 Mar 2016 Posts: 2
|
Did the fix from IBM resolve the issue ? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|