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 » SoapRequest with attachment

Post new topic  This topic is locked: you cannot edit posts or make replies.
 SoapRequest with attachment « View previous topic :: View next topic » 
Author Message
devamar28
PostPosted: Wed Jan 04, 2017 1:07 pm    Post subject: SoapRequest with attachment Reply with quote

Novice

Joined: 04 Jan 2017
Posts: 10

Hello I'm trying to create a Soap Request in compute node and sending that to the soap request node. While creating the request there are two parameters I need to match

1. In the request I should be attaching a file(this if I use soap ui I can use attachment tab and attach it) Im unable to understand how to attach a file in the request which is created using compute node.

2. I need to set the property MTOM = True

Below is the request I'm trying to create using compute node

<soap:Envelope xmlns:soap="">
<soap:Header>
<ns3:CallOptions xmlns:ns3="" xmlns:ns2="" xmlns:ns4="">
<ns3:useSingleTransaction>false</ns3:useSingleTransaction>
</ns3:CallOptions>
<ns3:SessionHeader xmlns:ns3="" xmlns:ns2="" xmlns:ns4="">
<ns3:session>******</ns3:session>
</ns3:SessionHeader>
</soap:Header>
<soap:Body>
<ns2:create xmlns:ns2="" xmlns:ns3="" xmlns:ns4="">
<ns2:zObjects xmlns:xsi="" xsi:type="ns4:Import">
<ns4:FileContent>cid:Genco_Sample_Usage.csv</ns4:FileContent>
<ns4:ImportType>Usage</ns4:ImportType>
<ns4:Name>text/plain;name=Sample_Usage.csv</ns4:Name>
</ns2:zObjects>
</ns2:create>
</soap:Body>
</soap:Envelope>


Can some one please help me and let me know on how to attach a file when I use compute node to create a soap request

My flow is

DB---->Compute(creating soap request with attachment of file)----->SOAPREQUEST
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 04, 2017 1:37 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Don't double post.

If you don't like the answers you're getting here, go somewhere else. Don't ask the question again in the hopes of a different solution.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SoapRequest with attachment
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.