Hi all,
When we set a custom service URI for a proxy service using :
<parameter name="ServiceURI">/CustomURL/Part1/Part2</parameter>
Actual endpoint URIs generated in published WSDL will be
<wsdl:service name="CustomProxy">
<wsdl:port name="CustomProxyHttpsSoap11Endpoint"
binding="tns:CustomProxySoap11Binding">
<soap:address location="
https://localhost:8243/CustomURL/Part1/Part2.*CustomProxyHttpsSoap11Endpoint
*" />
</wsdl:port>
<wsdl:port name="CustomProxyHttpSoap11Endpoint"
binding="tns:CustomProxySoap11Binding">
<soap:address location="
http://localhost:8280/CustomURL/Part1/Part2.*CustomProxyHttpSoap11Endpoint*"
/>
</wsdl:port>
<wsdl:port name="CustomProxyHttpSoap12Endpoint"
binding="tns:CustomProxySoap12Binding">
<soap12:address location="
http://localhost:8280/CustomURL/Part1/Part2.*CustomProxyHttpSoap12Endpoint*"
/>
</wsdl:port>
<wsdl:port name="CustomProxyHttpsSoap12Endpoint"
binding="tns:CustomProxySoap12Binding">
<soap12:address location="
https://localhost:8243/CustomURL/Part1/Part2.*CustomProxyHttpsSoap12Endpoint
*" />
</wsdl:port>
<wsdl:port name="CustomProxyHttpsEndpoint"
binding="tns:CustomProxyHttpBinding">
<http:address location="
https://localhost:8243/CustomURL/Part1/Part2.*CustomProxyHttpsEndpoint*" />
</wsdl:port>
<wsdl:port name="CustomProxyHttpEndpoint"
binding="tns:CustomProxyHttpBinding">
<http:address location="
http://localhost:8280/CustomURL/Part1/Part2.*CustomProxyHttpEndpoint*" />
</wsdl:port>
</wsdl:service>
Since trailer is appended to defined ServiceURI, if client sends a request
to address generated in WSDL, it will not dispatch to service with custom
service URI. We can fix this by skipping adding trailer for services with
ServiceURI defined.
WDYT?
--
Cheers,
Miyuru