Forum Discussion
thuy
10 years agoOccasional Contributor
The method doesn't take any params. Note if I write a .NET test wrapper and then in TestComplete I call the .NET method, then it works fine. It doesn't work if I add this webservice in TestComplete and call it directly. Strange.
<?xml version="1.0" encoding="UTF-8" ?>
- <!--
-->
- <!--
-->
- <definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.planning.lynden.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.planning.lynden.com/" name="FmsPlanningTestWebservice">
<xsd:import namespace="http://ws.planning.lynden.com/" schemaLocation="http://john:8080/Fms-Planning-Webservice-1.1.5-SNAPSHOT/FmsPlanningTestWebservice?xsd=1" />
</xsd:schema>
</types>
<part name="parameters" element="tns:startCacheClient" />
</message>
<part name="parameters" element="tns:startCacheClientResponse" />
</message>
<part name="fault" element="tns:LyndenCacheException" />
</message>
<part name="parameters" element="tns:stopCacheClient" />
</message>
<part name="parameters" element="tns:stopCacheClientResponse" />
</message>
<part name="parameters" element="tns:clearFreightCache" />
</message>
<part name="parameters" element="tns:clearFreightCacheResponse" />
</message>
<input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClientRequest" message="tns:startCacheClient" />
<output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClientResponse" message="tns:startCacheClientResponse" />
<fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClient/Fault/LyndenCacheException" />
</operation>
<input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClientRequest" message="tns:stopCacheClient" />
<output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClientResponse" message="tns:stopCacheClientResponse" />
<fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClient/Fault/LyndenCacheException" />
</operation>
<input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCacheRequest" message="tns:clearFreightCache" />
<output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCacheResponse" message="tns:clearFreightCacheResponse" />
<fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCache/Fault/LyndenCacheException" />
</operation>
</portType>
<soap:operation soapAction="" />
<soap:fault name="LyndenCacheException" use="literal" />
</fault>
</operation>
<soap:operation soapAction="" />
<soap:fault name="LyndenCacheException" use="literal" />
</fault>
</operation>
<soap:operation soapAction="" />
<soap:fault name="LyndenCacheException" use="literal" />
</fault>
</operation>
</binding>
<soap:address location="http://john:8080/Fms-Planning-Webservice-1.1.5-SNAPSHOT/FmsPlanningTestWebservice" />
</port>
</service>
</definitions>
<?xml version="1.0" encoding="UTF-8" ?>
- <!--
Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.1 (branches/2.1-6728; 2011-02-03T14:14:58+0000) JAXWS-RI/2.2.3 JAXWS/2.2.
-->
- <!--
Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is Metro/2.1 (branches/2.1-6728; 2011-02-03T14:14:58+0000) JAXWS-RI/2.2.3 JAXWS/2.2.
-->
- <definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.planning.lynden.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://ws.planning.lynden.com/" name="FmsPlanningTestWebservice">
<xsd:import namespace="http://ws.planning.lynden.com/" schemaLocation="http://john:8080/Fms-Planning-Webservice-1.1.5-SNAPSHOT/FmsPlanningTestWebservice?xsd=1" />
</xsd:schema>
</types>
<part name="parameters" element="tns:startCacheClient" />
</message>
<part name="parameters" element="tns:startCacheClientResponse" />
</message>
<part name="fault" element="tns:LyndenCacheException" />
</message>
<part name="parameters" element="tns:stopCacheClient" />
</message>
<part name="parameters" element="tns:stopCacheClientResponse" />
</message>
<part name="parameters" element="tns:clearFreightCache" />
</message>
<part name="parameters" element="tns:clearFreightCacheResponse" />
</message>
<input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClientRequest" message="tns:startCacheClient" />
<output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClientResponse" message="tns:startCacheClientResponse" />
<fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/startCacheClient/Fault/LyndenCacheException" />
</operation>
<input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClientRequest" message="tns:stopCacheClient" />
<output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClientResponse" message="tns:stopCacheClientResponse" />
<fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/stopCacheClient/Fault/LyndenCacheException" />
</operation>
<input wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCacheRequest" message="tns:clearFreightCache" />
<output wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCacheResponse" message="tns:clearFreightCacheResponse" />
<fault message="tns:LyndenCacheException" name="LyndenCacheException" wsam:Action="http://ws.planning.lynden.com/FmsPlanningTestWebservice/clearFreightCache/Fault/LyndenCacheException" />
</operation>
</portType>
<soap:operation soapAction="" />
<soap:fault name="LyndenCacheException" use="literal" />
</fault>
</operation>
<soap:operation soapAction="" />
<soap:fault name="LyndenCacheException" use="literal" />
</fault>
</operation>
<soap:operation soapAction="" />
<soap:fault name="LyndenCacheException" use="literal" />
</fault>
</operation>
</binding>
<soap:address location="http://john:8080/Fms-Planning-Webservice-1.1.5-SNAPSHOT/FmsPlanningTestWebservice" />
</port>
</service>
</definitions>
Related Content
Recent Discussions
- 3 days agoMW_Didata