Posted: Tue Jun 04, 2013 4:13 am Post subject: Sending XML file as Query string
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?
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?
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
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