471,319 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Parsing multipart response.

Hi,

In my application i have to parse through a multipart response. In my case
the first part is a xml portion and second part is byte stream [image]
portion.

How can i parse through the various parts in the response and get the values
in each part.
Jan 9 '06 #1
3 5618
Vijay,
Are we talking about multipart MIME here? If so, you would need some sort of
MIME Parsing library. If you look around, I am sure you can find one either
at gotdotnet.com in the user samples, or perhaps at Sourceforge.net
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Vijay" wrote:
Hi,

In my application i have to parse through a multipart response. In my case
the first part is a xml portion and second part is byte stream [image]
portion.

How can i parse through the various parts in the response and get the values
in each part.

Jan 9 '06 #2
Vijay,

Try looking for "mime" and ".NET" in google, it turns up a good number
of responses.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Vijay" <Vi***@discussions.microsoft.com> wrote in message
news:0C**********************************@microsof t.com...
Hi,

In my application i have to parse through a multipart response. In my
case
the first part is a xml portion and second part is byte stream [image]
portion.

How can i parse through the various parts in the response and get the
values
in each part.

Jan 9 '06 #3
On Mon, 9 Jan 2006 04:21:02 -0800, "Vijay"
<Vi***@discussions.microsoft.com> wrote:
Hi,

In my application i have to parse through a multipart response. In my case
the first part is a xml portion and second part is byte stream [image]
portion.

How can i parse through the various parts in the response and get the values
in each part.


At the risk of being *very* obvious this is a two stage process:

1 Split the response into its separate parts.
2 Parse each part separately.

What stage are you having difficulty with?

rossum

--

The ultimate truth is that there is no ultimate truth
Jan 9 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Mark Waser | last post: by
1 post views Thread by KReichert | last post: by
3 posts views Thread by Cuong.Tong | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.