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 » MTOM for Soap Request Node

Post new topic  Reply to topic
 MTOM for Soap Request Node « View previous topic :: View next topic » 
Author Message
Deepak.k
PostPosted: Mon Nov 04, 2019 11:15 pm    Post subject: MTOM for Soap Request Node Reply with quote

Novice

Joined: 18 Aug 2016
Posts: 22

Hi Guys,

I have to call webservice vis soap request node the response from service the which is having XOP how to handle this.

Request
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:att="http://attachments.webservice.common.host.bs.com">
<soapenv:Header/>
<soapenv:Body>
<att:GetFileRequestMsg>
<fileId>294</fileId>
<fileName>Document Demo.docx</fileName>
<!--Zero or more repetitions:-->
</att:GetFileRequestMsg>
</soapenv:Body>
</soapenv:Envelope>

Response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns1:GetFileResponseMsg xsi:type="ns1:GetFileResponse" xmlns:ns1="http://attachments.webservice.common.host.bs.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<s67:returnCode xmlns:s67="http://webservice.common.host.bs.com">0</s67:returnCode>
<s68:returnMessage xmlns:s68="http://webservice.common.host.bs.com"/>
<file>
<fileId>294</fileId>
<fileName>Document Demo.docx</fileName>
<fileBase64>
<xop:Include href="cid:1.urn:uuid:2CA6E59F78E3D8FEE21572438989275@apache.org" xmlns:xop="http://www.w3.org/2004/08/xop/include"/>
</fileBase64>
</file>
</ns1:GetFileResponseMsg>
</soapenv:Body>
</soapenv:Envelope>

Note:I have enabled Allow MTOM and Validationproperty to Content and Value

Please help me guys
Thanks in Advance
Back to top
View user's profile Send private message
timber
PostPosted: Tue Nov 05, 2019 3:41 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

You have posted the raw SOAP response, but you have not told us what problems you are having. What have you tried, and what happened?

The Validation property will not affect the handling of MTOM btw - that property only controls the XMLNSC parser that is used internally by the SOAP nodes.
Back to top
View user's profile Send private message
Deepak.k
PostPosted: Tue Nov 05, 2019 9:47 pm    Post subject: Reply with quote

Novice

Joined: 18 Aug 2016
Posts: 22

timber wrote:
You have posted the raw SOAP response, but you have not told us what problems you are having. What have you tried, and what happened?

The Validation property will not affect the handling of MTOM btw - that property only controls the XMLNSC parser that is used internally by the SOAP nodes.


Thanks timber

I have followed the below link
https://www.ibm.com/developerworks/websphere/library/techarticles/1601_crighton-trs/1601_crighton.html

Code:
ExceptionList
   RecoverableException
         File:CHARACTER:F:\build\slot1\S900_P\src\DataFlowEngine\MessageServices\ImbDataFlowNode.cpp
         Line:INTEGER:1155
         Function:CHARACTER:ImbDataFlowNode::createExceptionList
         Type:CHARACTER:ComIbmSOAPRequestNode
         Name:CHARACTER:Attachment#FCMComposite_1_3
         Label:CHARACTER:Attachment.Attachment_Service
         Catalog:CHARACTER:BIPmsgs
         Severity:INTEGER:3
         Number:INTEGER:2230
         Text:CHARACTER:Node throwing exception
         Insert
               Type:INTEGER:14
               Text:CHARACTER:Attachment.Attachment_Service
         RecoverableException
               File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPRequestNode.cpp
               Line:INTEGER:846
               Function:CHARACTER:ImbSOAPRequestNode::requestData
               Type:CHARACTER:ComIbmSOAPRequestNode
               Name:CHARACTER:Attachment#FCMComposite_1_3
               Label:CHARACTER:Attachment.Attachment_Service
               Catalog:CHARACTER:BIPmsgs
               Severity:INTEGER:3
               Number:INTEGER:3754
               Text:CHARACTER:Error occurred in ImbSOAPRequestHelper::makeSOAPRequest()
               RecoverableException
                     File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPRequestHelper.cpp
                     Line:INTEGER:3610
                     Function:CHARACTER:ImbSOAPRequestHelper::logWebServiceInvocationException
                     Type:CHARACTER:
                     Name:CHARACTER:
                     Label:CHARACTER:
                     Catalog:CHARACTER:BIPmsgs
                     Severity:INTEGER:3
                     Number:INTEGER:3162
                     Text:CHARACTER:WebService Request Exception
                     Insert
                           Type:INTEGER:12
                           Text:CHARACTER:436f6e74656e742d4c656e6774683a203239310d0a436f6e
74656e742d547970653a20746578742f786d6c3b20636861727365743d7574662d380d0a486f73743a206f6d616e74656c2d777330312d707265702e62726
1766f736f6c7574696f6e2e636f6d0d0a534f4150416374696f6e3a2022687474703a2f2f6174746163686d656e74732e776562736572766963652e636f6d6d6
f6e2e686f73742e62732e636f6d2f4e65774f7065726174696f6e220d0a436f6e6e656374696f6e3a204b6565702d416c6976650d0a0d0a
                     Insert
                           Type:INTEGER:12
                           
Text:CHARACTER:3c736f6170656e763a456e76656c6f706520786d6c6e733a736f6170656e763d22687474703a2f2f736368656d61732e786d6c736f61702e6
f72672f736f61702f656e76656c6f70652f2220786d6c6e733a6174743d22687474703a2f2f6174746163686d656e74732e776562736572766963652e636f6d6
d6f6e2e686f73742e62732e636f6d223e3c736f6170656e763a426f64793e3c6174743a47657446696c65526571756573744d73673e3c66696c6549643e3239
343c2f66696c6549643e3c66696c654e616d653e446f63756d656e742044656d6f2e646f63783c2f66696c654e616d653e3c2f6174743a47657446696c65526
571756573744d73673e3c2f736f6170656e763a426f64793e3c2f736f6170656e763a456e76656c6f70653e
                     Insert
                           Type:INTEGER:12
                           Text:CHARACTER:485454502f312e3120323030204f4b0d0a446174653a2057
65642c203036204e6f7620323031392030353a34363a343220474d540d0a5365727665723a204253502d41530d0a5374726963742d5472616e73706f7274
2d53656375726974793a206d61782d6167653d33313533363030303b20696e636c756465537562446f6d61696e730d0a582d506f77657265642d42793a204
a4147474145520d0a5365742d436f6f6b69653a2056495349544f5249443d64643065653363332d646330382d346566392d396339642d393238663739666
2376534623b20506174683d2f3b205365637572650d0a5365742d436f6f6b69653a204a53455353494f4e49443d6b6b693843784c6b6e494c68595f5842306
64a78576c44333863623041645a4d4b6d595977674f462e7072656f6d615f6c62333b20706174683d2f65736f702f636f6d6d6f6e2d686f73743b2073656375
72650d0a436f6e74656e742d547970653a206d756c7469706172742f72656c617465643b20626f756e646172793d4d494d45426f756e6461727975726e5f75
7569645f413632374335354242393239443639444533313537333031393230323532363b20747970653d226170706c69636174696f6e2f786f702b786d6c2
23b2073746172743d223c302e75726e3a757569643a41363237433535424239323944363944453331353733303139323032353237406170616368652e6f7
2673e223b2073746172742d696e666f3d22746578742f786d6c223b20636861727365743d5554462d380d0a5468726561644c6f674964656e746966696572
3a207072656f6d615f6c6233235a2b49422f772364656661756c74207461736b2d382330303030350d0a582d4672616d652d4f7074696f6e733a2053414d45
4f524947494e0d0a582d5853532d50726f74656374696f6e3a20313b206d6f64653d626c6f636b0d0a582d436f6e74656e742d547970652d4f7074696f6e733a
206e6f736e6966660d0a436f6e74656e742d53656375726974792d506f6c6963793a2064656661756c742d73726320687474703a207773733a2077733a206
46174613a20626c6f623a202773656c6627202a2e627261766f736f6c7574696f6e2e636f6d202a2e627261766f736f6c7574696f6e2e636f2e756b202a2e746
56a6172692e636f6d202a2e6170702e6a6167676165722e636f6d202a2e6a6167676165722e636f6d203b20626173652d757269202773656c66273b206368
696c642d73726320626c6f623a202a3b206672616d652d616e636573746f7273202773656c6627202a2e627261766f736f6c7574696f6e2e636f6d202a2e627
261766f736f6c7574696f6e2e636f2e756b202a2e6170702e6a6167676165722e636f6d202a2e74656a6172692e636f6d202a2e6a6167676165722e636f6d3b
206f626a6563742d737263202773656c66273b207363726970742d7372632027756e736166652d696e6c696e65272027756e736166652d6576616c272027
73656c6627202a2e627261766f736f6c7574696f6e2e636f6d202a2e627261766f736f6c7574696f6e2e636f2e756b202a2e74656a6172692e636f6d202a2e61
70702e6a6167676165722e636f6d202a2e6a6167676165722e636f6d207777772e676f6f676c652e636f6d207777772e677374617469632e636f6d20666f6e7
4732e677374617469632e636f6d207777772e7265636170746368612e6e657420616a61782e676f6f676c65617069732e636f6d207777772e676f6f676c652
d616e616c79746963732e636f6d207777772e676f6f676c65616473657276696365732e636f6d207777772e676f6f676c657461676d616e616765722e636f6d
207461676d616e616765722e676f6f676c652e636f6d207663632d6e61342e3878382e636f6d2066656564726f6c6c2e636f6d20666565642e6d696b6c652e6
36f6d20636f64652e6a71756572792e636f6d206d617863646e2e626f6f74737472617063646e2e636f6d2063646e2e77616c6b6d652e636f6d202065632e77
616c6b6d652e636f6d20706c617965727365727665722e77616c6b6d652e636f6d2064337362787069616731373777382e636c6f756466726f6e742e6e6574
20706170692e77616c6b6d652e636f6d20636f6e73656e742e636f6f6b6965626f742e636f6d20646174613a3b207374796c652d7372632027756e736166652
d696e6c696e6527202773656c662720666f6e74732e676f6f676c65617069732e636f6d207461676d616e616765722e676f6f676c652e636f6d206d617863646
e2e626f6f74737472617063646e2e636f6d207573652e666f6e74617765736f6d652e636f6d0d0a52656665727265722d506f6c6963793a206f726967696e2d
7768656e2d63726f73732d6f726967696e0d0a4b6565702d416c6976653a2074696d656f75743d372c206d61783d3230300d0a436f6e6e656374696f6e3a20
4b6565702d416c6976650d0a5472616e736665722d456e636f64696e673a206368756e6b65640d0a0d0a
                     Insert
                           Type:INTEGER:12
                           
Text:CHARACTER:2d2d4d494d45426f756e6461727975726e5f757569645f413632374335354242393239443639444533313537333031393230323532360d
0a436f6e74656e742d547970653a206170706c69636174696f6e2f786f702b786d6c3b20636861727365743d7574662d383b20747970653d22746578742f78
6d6c220d0a436f6e74656e742d5472616e736665722d456e636f64696e673a2062696e6172790d0a436f6e74656e742d49443a203c302e75726e3a75756964
3a41363237433535424239323944363944453331353733303139323032353237406170616368652e6f72673e0d0a0d0a3c3f786d6c2076657273696f6e3d
27312e302720656e636f64696e673d277574662d38273f3e3c736f6170656e763a456e76656c6f706520786d6c6e733a736f6170656e763d22687474703a2f
2f736368656d61732e786d6c736f61702e6f72672f736f61702f656e76656c6f70652f223e3c736f6170656e763a426f64793e3c6e73313a47657446696c65526
573706f6e73654d736720786d6c6e733a6e73313d22687474703a2f2f6174746163686d656e74732e776562736572766963652e636f6d6d6f6e2e686f73742
e62732e636f6d2220786d6c6e733a7873693d22687474703a2f2f7777772e77332e6f72672f323030312f584d4c536368656d612d696e7374616e636522207
873693a747970653d226e73313a47657446696c65526573706f6e7365223e3c73353a72657475726e436f646520786d6c6e733a73353d22687474703a2f2f7
76562736572766963652e636f6d6d6f6e2e686f73742e62732e636f6d223e303c2f73353a72657475726e436f64653e3c73363a72657475726e4d6573736167
6520786d6c6e733a73363d22687474703a2f2f776562736572766963652e636f6d6d6f6e2e686f73742e62732e636f6d223e3c2f73363a72657475726e4d657
3736167653e3c66696c653e3c66696c6549643e3239343c2f66696c6549643e3c66696c654e616d653e446f63756d656e742044656d6f2e646f63783c2f6669
6c654e616d653e3c66696c654261736536343e3c786f703a496e636c75646520687265663d226369643a312e75726e3a757569643a4136323743353542423
9323944363944453331353733303139323032353238406170616368652e6f72672220786d6c6e733a786f703d22687474703a2f2f7777772e77332e6f72672
f323030342f30382f786f702f696e636c75646522202f3e3c2f66696c654261736536343e3c2f66696c653e3c2f6e73313a47657446696c65526573706f6e7365
4d73673e3c2f736f6170656e763a426f64793e3c2f736f6170656e763a456e76656c6f70653e0d0a2d2d4d494d45426f756e6461727975726e5f757569645f41
3632374335354242393239443639444533313537333031393230323532360d0a436f6e74656e742d547970653a206170706c69636174696f6e2f6f6374657
42d73747265616d0d0a436f6e74656e742d5472616e736665722d456e636f64696e673a2062696e6172790d0a436f6e74656e742d49443a203c312e75726e3
a757569643a41363237433535424239323944363944453331353733303139323032353238406170616368652e6f72673e0d0a0d0a0d0a2d2d4d494d4542
6f756e6461727975726e5f757569645f413632374335354242393239443639444533313537333031393230323532362d2d
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:POST /esop/common-host/services/AttachmentsService/ HTTP/1.1

                     RecoverableException
                           File:CHARACTER:F:\build\slot1\S900_P\src\WebServices\WSLibrary\ImbSOAPRequestHelper.cpp
                           Line:INTEGER:2340
                           Function:CHARACTER:ImbSOAPRequestHelper::makeSOAPRequest
                           Type:CHARACTER:
                           Name:CHARACTER:
                           Label:CHARACTER:
                           Catalog:CHARACTER:BIPmsgs
                           Severity:INTEGER:3
                           Number:INTEGER:3701
                           Text:CHARACTER:Error Making JNI Call: Axis2Requester_processResponseMessageSync
                           Insert
                                 Type:INTEGER:5
                                 Text:CHARACTER:Axis2Requester_processResponseMessageSync
                           Insert
                                 Type:INTEGER:5
                                 Text:CHARACTER:java.lang.IndexOutOfBoundsException
                           Insert
                                 Type:INTEGER:5
                                 Text:CHARACTER:Frame : 0 java.lang.IndexOutOfBoundsException: null
   @: java.io.ByteArrayInputStream.read(ByteArrayInputStream.java:191)
   @: com.ibm.broker.axis2.SoapUtilities.createSOAPMessage(SoapUtilities.java:2071)
   @: com.ibm.broker.axis2.SoapUtilities.createSOAP...


This is the exception i'm getting.

Please help me.
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 » MTOM for Soap Request Node
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.