Run-Time bindings in WWSAPI
Does WWSAPI support Run-Time bindings of SOAP services and parameters?
In our project our single WS client is used to access many Web Services.
A new Web Services support can be added or removed frequently.
Also Web Services provided by our servers can be changed, thus with current approach (using WsUtil compiler)
WS client should be recompiled to generate new C sources, which is evidently not convenient to maintain in our project.
Do you have a plan to support some kind of WSDL file processing in Run-Time?
For example based on WSDL create SOAP request for specific operation in that WSDL with specified parameters?
Thank You,
Armen Anoyan.
Answers
Hi Armen,
Sorry for a delay in the reply, I was very busy this week. WWS in Win7 version does have built-in support for processing policy information in WSDL files. I am aware of at least one product that is actively using this support for the task you describe. Here is the description of this support, http://msdn.microsoft.com/en-us/library/dd815304(VS.85).aspx. There are also 3 samples that cover this scenario:
MetadataImportWithIssuedTokenOverSslExample - http://msdn.microsoft.com/en-us/library/dd815301(VS.85).aspx
MetadataImportWithUsernameOverSslExample - http://msdn.microsoft.com/en-us/library/dd815302(VS.85).aspx
MetadataImportWithX509OverSslExample - http://msdn.microsoft.com/en-us/library/dd815303(VS.85).aspx
To be fair, this is an advanced scenario and you may need to write a significant amount of code depending on how much information you need to parse out of the policy. But if you have any questions, please post them here and we will try to help you out.
Thanks,
Nikola
Nikola Dudar is the Program Manager for Windows Web Services API team. This post is provided "AS IS" with no warranties, and confer no rights. Use of any samples is subject to the terms specified at http://www.microsoft.com/ info/cpyright.htm- Proposed As Answer byNikola Dudar [MSFT]MSFTFriday, September 11, 2009 9:00 PM
- Marked As Answer byNikola Dudar [MSFT]MSFTTuesday, September 15, 2009 8:35 PM
All Replies
Hi Armen,
Sorry for a delay in the reply, I was very busy this week. WWS in Win7 version does have built-in support for processing policy information in WSDL files. I am aware of at least one product that is actively using this support for the task you describe. Here is the description of this support, http://msdn.microsoft.com/en-us/library/dd815304(VS.85).aspx. There are also 3 samples that cover this scenario:
MetadataImportWithIssuedTokenOverSslExample - http://msdn.microsoft.com/en-us/library/dd815301(VS.85).aspx
MetadataImportWithUsernameOverSslExample - http://msdn.microsoft.com/en-us/library/dd815302(VS.85).aspx
MetadataImportWithX509OverSslExample - http://msdn.microsoft.com/en-us/library/dd815303(VS.85).aspx
To be fair, this is an advanced scenario and you may need to write a significant amount of code depending on how much information you need to parse out of the policy. But if you have any questions, please post them here and we will try to help you out.
Thanks,
Nikola
Nikola Dudar is the Program Manager for Windows Web Services API team. This post is provided "AS IS" with no warranties, and confer no rights. Use of any samples is subject to the terms specified at http://www.microsoft.com/ info/cpyright.htm- Proposed As Answer byNikola Dudar [MSFT]MSFTFriday, September 11, 2009 9:00 PM
- Marked As Answer byNikola Dudar [MSFT]MSFTTuesday, September 15, 2009 8:35 PM

