to access a web service i created a proxy class using visual studio "add service reference". Unfortunatly i have to put in the soap header the followings elements
<soapenv:Header> <ser:CF>XXXXXXXXXX</ser:CFSender> <ser:Identity xmlns="http://company.org" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ser:AppKey>XXX</ser:AppKey> <ser:AppName>XXXX</ser:AppName> <ser:Parameter>Y</ser:Parameter> </ser:Identity> </soapenv:Header> The proxy generated by visual studio has only che following element as method parameter
<ser:CF>XXXXXXXXXX</ser:CFSender> but not the identity. I need to put "Identity" element just before the web service invocation programmatically.... i need the simplest solution. I saw in other questions how to put one parameter...but identity is a nested object and i don't know what to do. Anyone can help?