【求助】SOAP wsdl 编程问题
我现在要针对下面这段WSDL编程:
<xs:element xmlns:ns4="http://www.ebi.ac.uk/webservices/whatizit/ws"
type="ns4:contact" name="contact"></xs:element>
<xs:complexType name="contact">
<xs:sequence>
<xs:element type="xs:string" minOccurs="0" name="pipelineName"></xs:element>
<xs:element type="xs:string" minOccurs="0" name="text"></xs:element>
<xs:element type="xs:boolean" name="convertToHtml"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:element xmlns:ns5="http://www.ebi.ac.uk/webservices/whatizit/ws"
type="ns5:contactResponse" name="contactResponse"></xs:element>
<xs:complexType name="contactResponse">
<xs:sequence>
<xs:element type="xs:string" minOccurs="0" name="return"></xs:element>
</xs:sequence>
</xs:complexType>
<message name="contact">
<part element="tns:contact" name="parameters"></part>
</message>
<message name="contactResponse">
<part element="tns:contactResponse" name="parameters"></part>
</message>
<operation name="contact">
<input message="tns:contact"></input>
<output message="tns:contactResponse"></output>
<fault message="tns:WhatizitException" name="WhatizitException"></fault>
</operation>
<binding type="tns:whatizit" name="pipelineBinding">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
<operation name="contact">
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
<output>
<soap:body use="literal"></soap:body>
</output>
<fault name="WhatizitException">
<soap:fault use="literal" name="WhatizitException"></soap:fault>
</fault>
</operation>
通过下面的方法赋值好像不行
my %parameters=(
pipelineName=>'whatizitSwissprotGo2',
text=>$str,
convertToHtml=>'false',);
my $result=$whatizit->contact(
SOAP::Data->name('parameters')->type(map=>\%parameters)
);
我想问一下究竟怎样才能对这三个参数正确赋值。