Is there any differences between Restful URL web services if you use embedded HTTP or with Glassfish? the problem i am facing right now, i couldn't access sample Restful web service (get employee) from url :
http://localhot:port/apex/hr/employees
i am using glassfish.
Please kindly help me solved this issue.
it looks like the problem is on my listenerAdmin configuration, now its working fine.
Related
Currently we use ASP.NET core project for our UI. There is need to add an OData service to it. As far as I understand it is not supported well enough yet, so it was decided to implement it in a separate Web.Api 2 project.
Is there someone who has such an experience?
Is it a way to go?
May I encounter troubles with deployment to Azure?
Any ideas and thoughts would be appreciated.
If you hosted the web site on a different web application, then you have to enable CORS on the web API, and you have to test it during development to avoid any issues.
You can overcome this issue by deploying both the UI and API to the same Azure Web App. you can have the UI under the root and the API under a virtual directory, ex: apis
currently working on a project upgrading from livelink LAPI to Content Server web service. I wonder if there is some sort of API mapping document out there to convert from LAPI to web service call.
It's too late to answer this question, but hoping this may help someone in future.
You can find the LAPI and CWS documentation and code samples at OpenText Knowledge Center
Livelink Application Programming Interface (LAPI)
Content Web Services Home
Content Web Service Java API References
Hey Folks. I was wondering if anything special is required to add a .NET web services to the "Services" tab in NetBeans to allow my java app to consume a .NET web service.
I go and add my WSDL (simple method, 1 operation, takes a string), and I continuously get a NullReferenceError as below:
java.lang.NullPointerException
at org.netbeans.modules.websvc.saas.model.wsdl.impl.WsdlModel.getServices(WsdlModel.java:65)
at org.netbeans.modules.websvc.saas.wsdl.websvcmgr.WebServiceManager.addWebService(WebServiceManager.java:142)
at org.netbeans.modules.websvc.saas.wsdl.websvcmgr.WsdlDataManagerImpl$1.run(WsdlDataManagerImpl.java:79)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)
Is this something common?
I'm using Netbeans 6.9.1 and yes, the webservice is a stub that takes a string and displays a static message right now.
OK. Installing (Tools->Plugins) the SOAP web services plugin fixed my problem. Duh!
How to retrieve data from database using Web services on VB?
Does it have to be a web service? Have you considered WCF? (Windows Communication Foundation)
http://msdn.microsoft.com/en-us/netframework/aa663324.aspx
If I understand you correctly, you are asking how to setup a web service using vb.net to communicate with the database and return the results.
If that is correct, then there are 2 parts:
How to write a web service
How to communicate with a database
Here are three pages that will help you create a web service:
vbdotnetheaven
codeguru
techrepublic
As for the database, if you are talking about SQL Server, then see this page here and this page here
Your question isn't clear enough. Are you trying to access a web service run by ASP.NET using VB? If yes, you can make SOAP request to your web service easily using VB, your web service will then fetch the data from database and return to you. You can have a look at this tutorial on how to make a SOAP request using VB -
http://www.aspfree.com/c/a/VB.NET/Calling-a-Web-Service-using-VB6-with-SOAP-30/1/
Hope that helps.
Create a proxy class from the web service's WSDL, using Visual Studio's "Add Web Reference" feature
Configure the proxy, such as for security, if needed (the details depend on the API)
Call the proxy from your code
has any one tried to access VisualSVN Server repositories through ASP.Net using SharpSVN API ? if yes, what were the challenges ?
There is one thing you should take a look at when using SharpSvn in ASP.NET, see this forum post