I am creating a WCF service from a given WSDL file. Here as per the WSDL, I want to set urn address in EndpointReference address as shown below
Example of WSDL:
<wsdl:service name="MyCustomService">
<wsdl:port name="SecurePort" binding="tns:Secure">
<soap12:address location="https://localhost:8453/MyService/Service.svc" />
<wsa10:EndpointReference>
**<wsa10:Address>urn:aaa.cc:abc:names:pqr:ddd</wsa10:Address>**
</wsa10:EndpointReference>
</wsdl:port>
<wsdl:port name="UnSecurePort" binding="tns:Unsecure">
<soap12:address location="http://localhost:8080/MyService/Service.svc" />
<wsa10:EndpointReference>
**<wsa10:Address>urn:aaa.cc:abc:names:pqr:ddd</wsa10:Address>**
</wsa10:EndpointReference>
</wsdl:port>
I have seen something called IWsdlExportExtension. But still checking how to access endpoint metadata and set the urn address.
Any help would be appropriated...
Thank You