Hi, i'm calling two .NET webservices via Axis as client toolkit. I generated the client stubs via the wsdl2java Ant-Task. The request to the first webservices works fine, it looks like that:
<soapenv:Envelope [...cut...]> <soapenv:Body> <Save xmlns="http://diamant-software/webservices/"> <session>FHLHP</session> <data> <TransactionType>AR</TransactionType> <TransDate>2002-05-19T22:00:00.000Z</TransDate> </data> <flags xsi:type="xsd:int">0</flags> <fields_to_save xsi:nil="true"/> </Save> </soapenv:Body> </soapenv:Envelope> the second request looks like that: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope [.cut..]> <soapenv:Body> <Save xmlns="http://diamant-software/webservices/"> <session>FFLFAVDXHJ</session> <data> <declRegDescription xsi:nil="true" xmlns=""/> <commonGenLedgAcc xmlns="">024000</commonGenLedgAcc> <IBANNumber xsi:nil="true" xmlns=""/> <declRegCountry xsi:nil="true" xmlns=""/> </data> </Save> </soapenv:Body> </soapenv:Envelope> why does Axis put those those xsi:nil="true" and xmlns="" statements in the second request? Did i do something wrong when generating the Axis client stubs? any help is greatly appreciated, Thomas