Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #479 (new defect)

Opened 6 months ago

unable to make hash with keyvaluepair

Reported by: user Assigned to: nahi
Priority: normal Milestone: undefined
Component: soap4r Version: 1.5
Keywords: Cc:

Description

trying to create a xml structure like this accoording to the wsdl file

<contactInfo>

<!--Optional:--> <contactId>?</contactId> <!--Zero or more repetitions:--> <keyValuePairs>

<key>?</key> <value>?</value>

</keyValuePairs>

</contactInfo>

the next will create contactinfo with contactid and an empty keyvaluepair


contactInfo = { "contactId" => id }


th next will create only a keyvaluepair


def ...

.... contactInfo = getInfo(emailaddress) ....

end

def getinfo(emailaddress)

email = KeyValuePair?.new('email', emailaddress) arrKeyVal = [email]

end