1
I created a web service where there are numerators to keep track of an attribute of the whole type, I would like to know how to access this enumerator of another project in which I am using this web service.
Edit:
1
I created a web service where there are numerators to keep track of an attribute of the whole type, I would like to know how to access this enumerator of another project in which I am using this web service.
Edit:
1
Since you didn’t specify which language you use in your presentation, I’m assuming you’re sweating some C solution#.
In this way, what you have to do is create an empty Web Application project. Would that be:
All your enumerators, should stay in this library, so just you referential this dll in the project in which you want to make use of these enumerators.
Browser other questions tagged c# .net web-service enums wsdl
You are not signed in. Login or sign up in order to post.
would not only be consuming web services !!!
– Marco Souza
@Marconciliosouza Well, for me these Numerators did not appear. I have access to the methods of the web service, but the enumerator could not access.
– Yoshitani
Certainly because you don’t have a method that returns your Enum ... if you are in another Solution.projecto. then create an Enum in that other project. It makes no sense to consume an Enum for web services
– Marco Souza
@Marconciliosouza added the photo for better understanding. I have the webservice and created an Enum inside a folder in the project, from the webservice I access the Numerators, just reference the path, but how do I access from another project?
– Yoshitani
@Marconciliosouza é pq é um Enum do webservice, and not that other Solution.
– Yoshitani
References the DLL in your project.
– Marco Souza