Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I make XML block?

Status
Not open for further replies.

snow99

Programmer
Sep 26, 2006
1
CA
Hi, I need to make an XML block from an array that look like this

********************
<env:Envelope xmlns:env=" xmlns:soapenc="<env:Header>
</env:Header>
<env:Body env:encodingStyle="<m:registerNewUserxmlns:m="com.blockbuster.onlinesub.thirdparty.webservices">
<thirdPartyRegistrationTransportxmlns:xsi=" xmlns:soapenc=" xmlns:xsd=" xsi:type="n1:ThirdPartyRegistrationTransport">

<emailAddress xsi:type="xsd:string">jlfolaron@yahoo.com</emailAddress>
<firstName xsi:type="xsd:string">jennifer</firstName>
<lastName xsi:type="xsd:string">folaron</lastName>
<password xsi:type="xsd:string">abbabb1</password>
<promoCode xsi:type="xsd:string">test001</promoCode>
<securityQuestionIdxsi:type="xsd:int">161</securityQuestionId>
<securityQuestionAnswerxsi:type="xsd:string">abbabb</securityQuestionAnswer>
<shippingAddress xsi:type="n1:ThirdPartyAddressTransport">
<addressLine1xsi:type="xsd:string">301 n record street</addressLine1>
<addressLine2xsi:type="xsd:string">suite 700</addressLine2>
<city xsi:type="xsd:string">dallas</city>
<state xsi:type="xsd:string">tx</state>
<zip xsi:type="xsd:string">75201</zip>
</shippingAddress>
</thirdPartyRegistrationTransport>
</m:registerNewUser>
</env:Body>
</env:Envelope>
*************
..i read about saop, i see it is used to send XML block, but is it possible to make an XML block using soap. I guess my question is how do make XML block


Thanks
 
I think he means XML document.

I'd just write a flat text file with the XML markup and give it the XML suffix on the filename.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top