|
6#
楼主 |
发表于 2006-3-22 17:10:23
|
只看该作者
我看可很多遍,都没有找出问题,以下是我的wsdl文件,能帮忙看看么?
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://192.168.0.147:7001/ticketWEB/services/Ticket" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://192.168.0.147:7001/ticketWEB/services/Ticket" xmlns:intf="http://192.168.0.147:7001/ticketWEB/services/Ticket" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="Ticket" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
<wsdl:types>
<schema targetNamespace="Ticket" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://192.168.0.147:7001/ticketWEB/services/Ticket"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="SearchSalesForm">
<sequence>
<element name="ev_event_name" nillable="true" type="soapenc:string"/>
<element name="pe_time" nillable="true" type="soapenc:string"/>
<element name="sa_p_code" nillable="true" type="soapenc:string"/>
<element name="sa_start_time" nillable="true" type="soapenc:string"/>
<element name="ve_region_name" nillable="true" type="soapenc:string"/>
<element name="ve_venue_code" nillable="true" type="soapenc:string"/>
<element name="ve_venue_name" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
<complexType name="SearchSalesView">
<sequence>
<element name="pe_perf_name" nillable="true" type="soapenc:string"/>
<element name="pe_time" nillable="true" type="soapenc:string"/>
<element name="sa_p_code" nillable="true" type="soapenc:string"/>
<element name="sa_status" nillable="true" type="soapenc:string"/>
<element name="se_member_discnt_f" nillable="true" type="soapenc:string"/>
<element name="se_price" nillable="true" type="soapenc:string"/>
<element name="se_seat_sale_type" nillable="true" type="soapenc:string"/>
<element name="se_seat_type" nillable="true" type="soapenc:string"/>
<element name="ve_venue_name" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="http://192.168.0.147:7001/ticketWEB/services/Ticket" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="Ticket"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="ArrayOf_tns1_SearchSalesView">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:SearchSalesView[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="searchSalesResponse">
<wsdl:part name="searchSalesReturn" type="impl:ArrayOf_tns1_SearchSalesView"/>
</wsdl:message>
<wsdl:message name="searchSalesRequest">
<wsdl:part name="searchSalesForm" type="tns1:SearchSalesForm"/>
</wsdl:message>
<wsdl:portType name="TicketService">
<wsdl:operation name="searchSales" parameterOrder="searchSalesForm">
<wsdl:input message="impl:searchSalesRequest" name="searchSalesRequest"/>
<wsdl:output message="impl:searchSalesResponse" name="searchSalesResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="TicketSoapBinding" type="impl:TicketService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="searchSales">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="searchSalesRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://192.168.0.147:7001/ticketWEB/services/Ticket" use="encoded"/>
</wsdl:input>
<wsdl:output name="searchSalesResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://192.168.0.147:7001/ticketWEB/services/Ticket" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="TicketServiceService">
<wsdl:port binding="impl:TicketSoapBinding" name="Ticket">
<wsdlsoap:address location="http://192.168.0.147:7001/ticketWEB/services/Ticket"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
以下是我的lr脚本:
vuser_init()
{
web_service_call( "StepName=searchSales_102",
"SOAPMethod=TicketServiceService.TicketService.searchSales",
"ResponseParam=response",
"WSDL=D:/Work/PIA/exe/test.wsdl",
"Snapshot=t1143015847.inf",
BEGIN_ARGUMENTS,
"xml:searchSalesForm=<searchSalesForm><ev_event_name></ev_event_name><pe_time>"
"</pe_time><sa_p_code></sa_p_code><sa_start_time></sa_start_time><ve_region_name>"
"</ve_region_name><ve_venue_code></ve_venue_code><ve_venue_name></ve_venue_name>"
"</searchSalesForm>",
END_ARGUMENTS,
BEGIN_RESULT,
END_RESULT,
LAST);
lr_think_time(3);
return 0;
}
请各位帮忙看看! |
|