[Mono-devel-list] SOAP problem

Sebastian Böhm seb at exse.net
Mon May 16 08:21:13 EDT 2005


Hi,

I tracked down the SOAP problem I have with the Google AdWords Api.

I compared the content of the Soap POST-Data of .Net and of mono an I 
found the following:

mono:
--------------
<soap:Header><useragent >test</useragent></soap:Header>
<soap:Header><token>qaswedfrtghzujkiolkiuj</token></soap:Header>
<soap:Header><password>xxxxyyyy</password></soap:Header>
<soap:Header><email>google at test.com</email></soap:Header>
--------------

.Net:
-------------
<soap:Header>
    <useragent >test</useragent>
    <token>qaswedfrtghzujkiolkiuj</token>
    <password>xxxxyyyy</password>
    <email>google at test.com</email>
</soap:Header>
--------------

And this really makes a difference for google, as the call fails with mono.

(I ensured this by making Soap call from a perl script, first with all 
headers in one soap-header element, and then in multiple soap-header 
elements, and it fails with the later)

Is there a way to put all soap headers in one single "Header" Element 
under mono ?


Thank you very much

/sebastian



More information about the Mono-devel-list mailing list