I created a Portable Library Project in Xamarin. I want to add web service but the framework area is closed. What is the reason for this? Is there anyone who has experienced the same problem ?
Exp Url : 111.111.11.11:8013/Services/Kurum/IdentityMngmnt/Authentication_V1?wsdl
Screenshot 1
Screenshot 2
Related
From an example i am using the web service (SOAP) AXIS-WS, But at run time i am getting "The Apache Axis2 Web service runtime in Tomcat v7.0 Server does not support the service project " err. Please let me in this regard.
Thanks in advance.
If you are getting above error while trying to create web service using Apache Axis2 it means your project has been created on higher version of dynamic web project. Apache Axis2 does not support dynamic web project above 2.5 version. Please change to lower version 2.5.
To change: Right click project –> Properties –> Project Facets –> Dynamic web module and change to version 2. 5. (If you are not able to change to version 2.5 please create new eclipse project with Dynamic web module 2.5)
Hope it Helped
I cannot seem to access my WCF Service from Windows Phone Silverlight 8.1 application.
I am able to add a service reference, like for example in a console applications, but the following code does not work
ServiceReference1.MojaSmetkaWcfClient client = new MojaSmetkaWcfClient();
var result = client.GetData(0);
It says 'Cannot resolve symbol ServiceReference1'.
This works in a console app project. How can I connect to the WCF service. If it is not possible, are there any alternatives similar to WCF? Thanks
I have solved this by updating my VS2013 to Update 5 (maybe that didn't help solving the problem) and doing the following:
Right click on the service reference
Configure service reference
Uncheck 'Reuse types in referenced assemblies'
I recently working on a Windows 8.1 App, which was developed with C# and XAML. SharePoint Online is used for Data store.
I searched and found that Wictor solution can be used for Authentication. but the problem is that we can not use Wictor solution [http://www.wictorwilen.se/Post/How-to-do-active-authentication-to-Office-365-and-SharePoint-Online.aspx] directly as it is built upon .Net framework and Metro Apps are built upon .NetCore.
One possible option is to use WCF service and have whole Wictor solution in WCF service then call WCF service from Windows App. I tested it and it is working fine.
However, I wanted to know what would be the best approach available if I don't want to deploy this WCF separately. In future I have to publish this Win App on Windows store.
Any help will be appreciated.
Thanks
To some this could be stupid question. But here's the deal. I have asp.net web application and I use jquery to call functions inside *.aspx.cs files that have [WebMethod] attribute attached to them. I had no clue that [WebMethod] is mainly using in web services. I never have worked with web services and I saw I can add .asmx file to my project. So from application architecture point of view where should I use and how can I use .asmx files, and if is it mistake to have [WebMethod] attribute inside *aspx.cs files.
Thanks :D:D
Unless you're stuck using .NET 2.0, you shouldn't do either one. .asmx files are now considered by Microsoft to be a "legacy technology". All new web service development should use WCF. See https://stackoverflow.com/tags/wcf/info.
you are rushing for a solution. it not that simple, read articles returned by a search term such as "asp.net web service" or "wcf web services"
and decide how you want to proceed
it will take some time to understand, say one to two weeks..
I have an application that is written with the NetBeans Platform 5.5. I'm having trouble consuming a web service.
If I create a Java SE application in NetBeans, I can add a web service reference without problem.
Since my application is using the NetBeans Platform, many of the menu choices change. So, I cannot figure out how to add a reference to the web service. I've googled this topic a number of ways but haven't found any pages that deal with consuming a service through the platform. They all talk about consuming a service with a Java SE application.
Changing the application from the Platform architecture is not an option.
Here is a good tutorial for setting up a Feed Reader on NetBeans Platform. It covers some of the configuration issues for using web services
Blog with an entry about making a web services client
I'd be happy to try and give you a more specific answer if you can give information about the service you want to access.
Found this:
Create web service and client using this tutorial
Create library wrapper module for web service client (you don't need to include JAX-WS libs, only your client jar)
In your wrapper module add following dependencies (important):
JAX-WS 2.1 API
JAX-WS 2.1 and JAXB 2.1 Library (for this you have to check Show Non-API Modules in "Add Module Dependency" window)
If you try to build module after these steps it will fail telling you that your module is not friend of "path-to-netbeans"/java2/modules/org-netbeans-modules-websvc-jaxws21.jar.
Right click on JAX-WS 2.1 and JAXB 2.1 Library and choose Edit. Select Implementation Version.
from here.