这是我认为相关的SOAP::Lite代码my$req3=SOAP::Lite->new(readable=>1,autotype=>0,proxy=>'https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor',);$req3->requestMessage(\SOAP::Data->new(name=>'item',attr=>{foo=>'0'},value=>\SOAP::Data->new(name=>'foo',value=>1,),),);它正在生成这个XML1我不明白为什么嵌套在中但我不需要在那里。谁能解释为