By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,315 Members | 1,672 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,315 IT Pros & Developers. It's quick & easy.

create envelope

P: n/a
Hi all!

I need to create an soap envelope that will be sent to an external service
using HTTP POST. I created the required classes which are serialized using
XmlSerializer. The envelope should look like this:

<Envelope xmlns=""
<rrCircuitRequest xmlns=""
xsi:schemaLocation=" rrCircuit.xsd">
<requestOffer xmlns=""
xsi:schemaLocation=" offer.xsd">

When serializing the classes I created, the xmlns:xsi attributes are missing
in the Envelope, rrCircuitRequest and requestOffer nodes. How can I add
these attributes to the serialized XML? Which attributes do I have to set in
my classes?


Nov 12 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.