Soap4r envelope issue

Hi all,

I’m trying to create soap envelope where I can’t add my own attributes
like tns, types etc.

for example my service provider asking the envelope format like below,

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope
xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/
xmlns:soapenc=“http://schemas.xmlsoap.org/soap/encoding/
xmlns:tns=“http://serviceprovider.com/
xmlns:types=“http://serviceprovider.com/encodedTypes
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd=“http://www.w3.org/2001/XMLSchema

but my envelope is generating like below,

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope
xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/
xmlns:soapenc=“http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xmlns:xsd=“http://www.w3.org/2001/XMLSchema

can any one please suggest me how can I include that two additional
attributes
xmlns:tns=“http://serviceprovider.com/
xmlns:types=“http://serviceprovider.com/encodedTypes

Regards,
T.Veeraa.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs