WCF test client for web services in Visual Studio



We have to create a WCF test client to communicate between two web services in Visual Studio. We have one of the Web services made, we need to make a test web service and and wcf test client to perform the test. Could any one suggest how to go about it. This is the web service which has already been made:



<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<wsdl:definitions
xmlns:soap="http://ift.tt/KIQHA2"
xmlns:tns="http://ift.tt/1AyArs1"
xmlns:wsdl="http://ift.tt/LcBaVt"
xmlns:xsd="http://ift.tt/tphNwY"
name="USG_MECH-GLS"
targetNamespace="http://ift.tt/1AyArs1">
<wsdl:types><xsd:schema xmlns:xsd="http://ift.tt/tphNwY">
<xsd:import namespace="http://ift.tt/1AyArs1"
schemaLocation="USG_MECH-GLS_1.17.xsd">
</xsd:import></xsd:schema>

</wsdl:types>



<wsdl:message name="processPickOrderConfirmationRequest">
<wsdl:part name="parameters" element="tns:PickOrderConfirmation"></wsdl:part>
</wsdl:message>
<wsdl:message name="processPickOrderConfirmationResponse">
<wsdl:part name="RetValue" element="tns:StringResponse"></wsdl:part>
</wsdl:message>


<wsdl:message name="processContainerConfirmationRequest">
<wsdl:part name="parameters"
element="tns:ContainerConfirmation">
</wsdl:part>
</wsdl:message>
<wsdl:message name="processContainerConfirmationResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>

<wsdl:message name="processPutawayOrderConfirmationRequest">
<wsdl:part name="parameters" element="tns:PutawayConfirmation"></wsdl:part>
</wsdl:message>
<wsdl:message name="processPutawayOrderConfirmationResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>



<wsdl:message name="processPalletAdjustmentConfirmationRequest">
<wsdl:part name="parameters"
element="tns:PalletAdjustmentConfirmation">
</wsdl:part>
</wsdl:message>
<wsdl:message name="processPalletAdjustmentConfirmationResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="processInventoryAdjustmentRequest">
<wsdl:part name="parameters" element="tns:InventoryAdjustment"></wsdl:part>
</wsdl:message>
<wsdl:message name="processInventoryAdjustmentResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="processInventorySnapshotConfirmationRequest">
<wsdl:part name="parameters"
element="tns:InventorySnapshotConfirmation">
</wsdl:part>
</wsdl:message>
<wsdl:message name="processInventorySnapshotConfirmationResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="processInventoryStatusChangeConfirmationRequest">
<wsdl:part name="parameters"
element="tns:InventoryStatusChangeConfirmation">
</wsdl:part>
</wsdl:message>
<wsdl:message name="processInventoryStatusChangeConfirmationResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="processRejectDatasRequest">
<wsdl:part name="parameters" element="tns:RejectDatas"></wsdl:part>
</wsdl:message>
<wsdl:message name="processRejectDatasResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>
<wsdl:message name="processInventoryRecallRequest">
<wsdl:part name="parameters" element="tns:InventoryRecall"></wsdl:part>
</wsdl:message>
<wsdl:message name="processInventoryRecallResponse">
<wsdl:part name="RetVal" element="tns:StringResponse"></wsdl:part>
</wsdl:message>
<wsdl:portType name="MechUSGSystem">


<wsdl:operation name="processPickOrderConfirmation">
<wsdl:input message="tns:processPickOrderConfirmationRequest"></wsdl:input>
<wsdl:output message="tns:processPickOrderConfirmationResponse"></wsdl:output>
</wsdl:operation>


<wsdl:operation name="processContainerConfirmation">
<wsdl:input message="tns:processContainerConfirmationRequest"></wsdl:input>
<wsdl:output message="tns:processContainerConfirmationResponse"></wsdl:output>
</wsdl:operation>

<wsdl:operation name="processPutawayOrderConfirmation">
<wsdl:input message="tns:processPutawayOrderConfirmationRequest"></wsdl:input>
<wsdl:output message="tns:processPutawayOrderConfirmationResponse"></wsdl:output>
</wsdl:operation>

<wsdl:operation name="processPalletAdjustmentConfirmation">
<wsdl:input message="tns:processPalletAdjustmentConfirmationRequest"></wsdl:input>
<wsdl:output message="tns:processPalletAdjustmentConfirmationResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="processInventoryAdjustment">
<wsdl:input message="tns:processInventoryAdjustmentRequest"></wsdl:input>
<wsdl:output message="tns:processInventoryAdjustmentResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="processInventorySnapshotConfirmation">
<wsdl:input message="tns:processInventorySnapshotConfirmationRequest"></wsdl:input>
<wsdl:output message="tns:processInventorySnapshotConfirmationResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="processInventoryStatusChangeConfirmation">
<wsdl:input message="tns:processInventoryStatusChangeConfirmationRequest"></wsdl:input>
<wsdl:output message="tns:processInventoryStatusChangeConfirmationResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="processRejectDatas">
<wsdl:input message="tns:processRejectDatasRequest"></wsdl:input>
<wsdl:output message="tns:processRejectDatasResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="processInventoryRecall">
<wsdl:input message="tns:processInventoryRecallRequest"></wsdl:input>
<wsdl:output message="tns:processInventoryRecallResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="USG_MECH-GLS_SOAP" type="tns:MechUSGSystem">
<soap:binding style="document" transport="http://ift.tt/LcBaVu"/>



<wsdl:operation name="processPickOrderConfirmation">
<soap:operation soapAction="http://ift.tt/1u02Q5O"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processContainerConfirmation">
<soap:operation soapAction="http://ift.tt/1AyAp3u"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processPutawayOrderConfirmation">
<soap:operation soapAction="http://ift.tt/1u02Qmq"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processPalletAdjustmentConfirmation">
<soap:operation soapAction="http://ift.tt/1u02Qmu"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processInventoryAdjustment">
<soap:operation soapAction="http://ift.tt/1AyArIv"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processInventorySnapshotConfirmation">
<soap:operation soapAction="http://ift.tt/1u02QCI"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processInventoryStatusChangeConfirmation">
<soap:operation soapAction="http://ift.tt/1AyArIx"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processInventoryRecall">
<soap:operation soapAction="http://ift.tt/1u02QCK"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="processRejectDatas">
<soap:operation soapAction="http://ift.tt/1AyArIB"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

</wsdl:binding>



<wsdl:service name="MechUSGSystem">
<wsdl:port binding="tns:USG_MECH-GLS_SOAP" name="USG_MECH-GLS_SOAP">
<soap:address location="http://www.example.org"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

No comments:

Post a Comment