Hi ,
We have requirement in our project in which we have to adhere standards of third party vendor’s WSDL format (like, schema, Default namespace, messaging and binding). We have built WCF to receive In bound message from Third party vendor and we tested this successfully by creating WCF client. When we sent WSDL to third party for them to pass inbound message to our WCF web service, they said WSDL which we sent it was not in their expected format and they will not be able to consume our WCF service. We spent almost whole day to generate WSDL as per their standards but we could not achieved it.
If any one of you, have come across such requirement or succeeded above requirement through other way, please share your thoughts.
SOLUTION 1:
Below are the steps we took to generate WCF WSDL per their requirement
1. Used SVCUTIL.exe to generate proxy classes for third party WSDL
2. Created classes(name declaration, namespace, binding, serialize and messages default) in WCF as same as proxy class
3. Then generate WSDL file after create classes in WCF.
4. Compare both WSDL will looks same now
Happy coding J
No comments:
Post a Comment