Adding Connected Service WSDL does not deserialize properly
I'm trying to work with this example https://apiforums.easylink.com/system/files/CS_JobSubmit_FAX_2.5_0.txt
with Visual Studio 2017 I'm adding the endpoint http://ws.easylink.com/JobSubmit/2011/01?WSDL
as a Connected Service using Microsoft WCF Web Reference Provider. It deserializes the endpoint, but the JobSubmitService class does not deserialize. JobSubmitRequest, JobSubmitResponse, JobSubmitResult, etc do deserialize in the stubbed CS file. Web References appear to be deprecated. How can I get your WSDL to work with modern tooling? Please advise.
Best Answer
-
Hi
I have created Windows Form(.Net Framework ) project with name EMsgAPI_Demo.Then Right Click on EMsgAPI_Demo Project->Click Add->ServiceReference->Advanced->Add Web Reference. Enter the URL "http://ws.easylink.com/JobSubmit/2011/01?WSDL". It will list the Web Service found at the URL. Save the reference with name EMsgAPI_JobSubmit201101. Now it will deserialize the end point and JobSubmitService class also will be deserialized.
Then copy the code from https://apiforums.easylink.com/system/files/CS_JobSubmit_FAX_2.5_0.txt.
Actually there is a compatibility issue with .NET Framework version which can be resolved by adding a webreference as above.
Prabhakaran R
OpenText0
Answers
-
Can you share us the project file for job submit?
Prabhakaran R
OpenText0 -
Hi
I have created Windows Form(.Net Framework ) project with name EMsgAPI_Demo.Then Right Click on EMsgAPI_Demo Project->Click Add->ServiceReference->Advanced->Add Web Reference. Enter the URL "http://ws.easylink.com/JobSubmit/2011/01?WSDL". It will list the Web Service found at the URL. Save the reference with name EMsgAPI_JobSubmit201101. Now it will deserialize the end point and JobSubmitService class also will be deserialized.
Then copy the code from https://apiforums.easylink.com/system/files/CS_JobSubmit_FAX_2.5_0.txt.
Actually there is a compatibility issue with .NET Framework version which can be resolved by adding a webreference as above.
Prabhakaran R
OpenText0 -
No you can still add by clicking on the advanced option in the service reference.Then click on Webreference. This will generate code based on .NET Framework 2.0 Web Services technology. Attached Screenshot for the same.
Prabhakaran R
OpenText0 -
@Prabhakr_2018 said:
This will generate code based on .NET Framework 2.0 Web Services technology.Nuff said.
0 -
Yes!!!
Prabhakaran R
OpenText0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management