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 » Sending XML file as Query string

Post new topic  Reply to topic
 Sending XML file as Query string « View previous topic :: View next topic » 
Author Message
Deepali
PostPosted: Tue Jun 04, 2013 4:13 am    Post subject: Sending XML file as Query string Reply with quote

Novice

Joined: 05 Mar 2013
Posts: 19

Hi All,

We have developed a flow which is hosting a web service. In this flow we are calling another web service with HTTPAsyncRequest node. Before sending the request we are setting Querystring variable in HTTP of destination of local environment to incoming xml message(converted to string) using Java Compute node.
The code is working for small xmls. But if the incoming xml is large then it's throwing an exception.
How can we overcome this?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 04, 2013 4:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Did you confirm that there isn't a limit to the length of the URL as defined by OASIS and the w3?

Have you considered simply not using QueryString and instead sending a real mime document with the real data as a real MIME part?

Have you considered discussing this problem with the team that is responsible for the service that is using Querystring this way, to find out if they have any suggestions?
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Jun 04, 2013 4:25 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

If you want people to help you, you should post more info.

A. Post the version of your runtime. Version numbers have four digits.
B. Post the exception you are getting.
C. Post the code inside your JCN.
D. Post the nodes on your canvas.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
McueMart
PostPosted: Wed Jun 05, 2013 2:07 am    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

As Jeff said:

http://stackoverflow.com/questions/2659952/maximum-length-of-http-get-request

Most likely you want to look at POSTing the data.
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 » Sending XML file as Query string
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.