You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Li, Charles" <Ch...@dep.state.fl.us> on 2004/12/27 17:45:30 UTC

JMeter with Java Web Service

I am setting up to test a Java Web Service with JMeter.  After putting in the
WSDL and press configure, only the URL is populated, the SOAPAction is still
blank.  Can I manually put in the SOAPAction?  Where in the WSDL is the
SOAPAction?  I have posted the WSDL below.

Thanks,
Charles Li


+++++++++++++ WSDL ++++++++++++++++++++++++++++++++

-
	<!--
Generated by the Oracle JDeveloper 10g Web Services WSDL Generator
-->
<!--Date Created: Thu Dec 23 14:15:29 EST 2004-->
-
	<definitions name="MelissaDataWebService"
targetNamespace="http://dep/fdm/mdws/MdWebServicesStub.wsdl">
-
	<types>
-
	<schema
targetNamespace="http://dep.fdm.mdws/IMelissaDataWebService.xsd">
-
	<complexType name="dep_fdm_mdws_RequestRecord"
jdev:packageName="dep.fdm.mdws">
-
	<all>
<element name="pkgMultipleRecords" type="boolean"/>
<element name="pkgAddressMailing" type="boolean"/>
<element name="pkgAddressParsed" type="boolean"/>
<element name="pkgDeliveryIndicator" type="boolean"/>
<element name="pkgAddressDeliveryPointValidation" type="boolean"/>
<element name="pkgAddressGeographicArea" type="boolean"/>
<element name="pkgAddressGeoCode" type="boolean"/>
<element name="pkgNameParsed" type="boolean"/>
<element name="pkgTelephoneNumber" type="boolean"/>
<element name="pkgStreetDataAllRecords" type="boolean"/>
<element name="pkgStreetDataInRangeRecordsOnly" type="boolean"/>
<element name="pkgZipCodeCitiesInState" type="boolean"/>
<element name="pkgZipCodeZipInCity" type="boolean"/>
<element name="pkgZipCodeInformation" type="boolean"/>
<element name="pkgStreetDataOnAddressErrorsOnly" type="boolean"/>
<element name="timeout" type="string"/>
<element name="transmissionReference" type="string"/>
<element name="version" type="string"/>
<element name="action" type="string"/>
<element name="customerID" type="string"/>
<element name="urbanization" type="string"/>
<element name="company" type="string"/>
<element name="address" type="string"/>
<element name="address2" type="string"/>
<element name="suite" type="string"/>
<element name="city" type="string"/>
<element name="state" type="string"/>
<element name="zip5" type="string"/>
<element name="plus4" type="string"/>
<element name="country" type="string"/>
<element name="telephone" type="string"/>
<element name="fullName" type="string"/>
</all>
</complexType>
-
	<complexType name="ArrayOfdep_fdm_mdws_RequestRecord">
-
	<complexContent>
-
	<restriction base="SOAP-ENC:Array">
<attribute ref="SOAP-ENC:arrayType"
wsdl:arrayType="ns1:dep_fdm_mdws_RequestRecord[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
</types>
-
	<message name="doSingleRecord0Request">
<part name="Request" type="ns1:dep_fdm_mdws_RequestRecord"/>
</message>
-
	<message name="doSingleRecord0Response">
<part name="return" type="xsd:string"/>
</message>
-
	<message name="doMultipleRecords1Request">
<part name="Request" type="ns1:ArrayOfdep_fdm_mdws_RequestRecord"/>
</message>
-
	<message name="doMultipleRecords1Response">
<part name="return" element="xsd:any"/>
</message>
-
	<portType name="MdWebServicesStubPortType">
-
	<operation name="doSingleRecord">
<input name="doSingleRecord0Request" message="tns:doSingleRecord0Request"/>
<output name="doSingleRecord0Response"
message="tns:doSingleRecord0Response"/>
</operation>
-
	<operation name="doMultipleRecords">
<input name="doMultipleRecords1Request"
message="tns:doMultipleRecords1Request"/>
<output name="doMultipleRecords1Response"
message="tns:doMultipleRecords1Response"/>
</operation>
</portType>
-
	<binding name="MdWebServicesStubBinding"
type="tns:MdWebServicesStubPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
-
	<operation name="doSingleRecord">
<soap:operation soapAction="" style="rpc"/>
-
	<input name="doSingleRecord0Request">
<soap:body use="encoded" namespace="MelissaDataWebService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
-
	<output name="doSingleRecord0Response">
<soap:body use="encoded" namespace="MelissaDataWebService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
-
	<operation name="doMultipleRecords">
<soap:operation soapAction="" style="rpc"/>
-
	<input name="doMultipleRecords1Request">
<soap:body use="encoded" namespace="MelissaDataWebService"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
-
	<output name="doMultipleRecords1Response">
<soap:body use="literal" namespace="MelissaDataWebService"/>
</output>
</operation>
</binding>
-
	<service name="MelissaDataWebService">
-
	<documentation>
Generated by the Oracle JDeveloper 10g Web Services Stub/Skeleton Generator.
Date Created: Thu Dec 23 14:12:22 EST 2004
WSDL URL: http://ws.melissadata.com/dqws/address.asmx?wsdl

A web service for performing <b>Data Quality lookups</b>
</documentation>
-
	<port name="MdWebServicesStubPort"
binding="tns:MdWebServicesStubBinding">
<soap:address
location="http://flnetex.dep.state.fl.us:4444/fdm-mdws-context-root/Mdws"/>
</port>
</service>
</definitions>


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: JMeter with Java Web Service

Posted by Peter Lin <wo...@gmail.com>.
If you're using jwsdp or axis, the wsdl should work with jmeter. If
you're using an older release of jmeter, try the one in my directory
with patches for glue wsdl and axis.

http://cvs.apache.org/~woolfel/jakarta-jmeter.zip

you can always put the soapAction in manually. for the message, you'll
need to copy and paste in the appropriate message.

peter



On Mon, 27 Dec 2004 11:45:30 -0500, Li, Charles
<Ch...@dep.state.fl.us> wrote:
> I am setting up to test a Java Web Service with JMeter.  After putting in the
> WSDL and press configure, only the URL is populated, the SOAPAction is still
> blank.  Can I manually put in the SOAPAction?  Where in the WSDL is the
> SOAPAction?  I have posted the WSDL below.
> 
> Thanks,
> Charles Li
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org