ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IB9 - reply mtom via soap

Post new topic  Reply to topic
 IB9 - reply mtom via soap « View previous topic :: View next topic » 
Author Message
pvsp
PostPosted: Tue Mar 10, 2015 1:16 am    Post subject: IB9 - reply mtom via soap Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Mar 10, 2015 4:28 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
pvsp
PostPosted: Wed Mar 11, 2015 2:04 am    Post subject: Reply with quote

Apprentice

Joined: 17 Feb 2008
Posts: 36
Location: Warsaw, PL

Hi,

Yes, I used http://www.string-functions.com/base64encode.aspx tool and I have created output that is 1416 bytes size. I tried also set MTOMThreshold to 10 bytes and result is the same.

I've created pmr to ibm and when I get sth, I'll update this topic.

I found also http://www.mqseries.net/phpBB2/viewtopic.php?t=68858&sid=990a292a3035a1caeb7442f67643451d

and one interesting thing, at the end of that topic pottas say's 'As stated, I am running IIB9, my colleague did the exact same setup on WMB, and he is sending it successfully as an MTOM attachment.'.

I have never used mtom in previous version but it looks like problem with IB9,

now, I'm waiting for ibm support
Back to top
View user's profile Send private message
pvsp
PostPosted: Fri Mar 13, 2015 12:02 am    Post subject: Reply with quote

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
View user's profile Send private message
anandratan
PostPosted: Thu Mar 10, 2016 12:00 am    Post subject: Reply with quote

Newbie

Joined: 06 Mar 2016
Posts: 2

Did the fix from IBM resolve the issue ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » IB9 - reply mtom via soap
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.