I'm looking for a way to write a Java application interacting with an MS Project Server 2010. I've read that a web API exists for MS Project Server, but could find no documentation on it. All the examples I've found so far use some C# library hiding all the API calls.
I'll be thankful for your advice on what tech to use to make this interaction possible.
There is no Java API for Project Server.
Project Server API is based on SOAP web services, but it uses non-standard data structure .NET DataSets to exchange data with clients. And actually the only problem - there is no implementation of the DataSets for Java.
The most common solution is to write a proxy web service using .NET which converts the DataSets to something supported by Java and write a Java client which works with the proxy.
Related
We are trying to write a standalone java application (got sample from web ) which will push the files from a source folder to a sharepoint location using published sharepoint webservices.
Reason for using java is : This will be later plugged-in to another code.
Below are some points:
wsdl2java utility has generated java bindings for our sharepoint's copy service.
https://abc.sample.com/site1/_vti_bin/copy.asmx
Trying to use the generated stubs in my code to connect to sharepoint.
I getting below error
com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 403: Forbidden
This seems to be related with Sharepoint oline authentication mechanism. Given limitation I cannot use C#, can anyone please help me in solving this problem in java. .
I could see similar C# example... but not sure if such functions are readily available in java.
Upload document to Sharepoint 2013 Online using webservices
You can take a look to this project i've created as i think it will save you a lot of time in this tasks. I faced up similar problems and was not able to find a working solution, so i created this rest api wrapper fort he sharepoint online rest api v1 (not fully implemented)
https://github.com/kikovalle/PLGSharepointRestAPI-java
Currently I succeed to create an Ubuntu virtual machine and install Hadoop, Zookeeper and Accumulo.
Now I need to create a test ASP.NET MVC application that reads and writes data to the Accumulo.
I've been looking around for .NET clients or some kind of rest API but my searches where unsuccessful. Any snippet I could find was in Java.
So one of the options I am considering at the moment is to convert Java client into .NET library using IKVM.NET.
So my question are
Is there any .NET provider for Apache Accumulo?
If no provider, does it expose some kind of REST API to program against?
If no REST what is the endpoint that I could use (and documentation links if possible) to create .NET provider myself?
Is converting Java lib a good idea?
Accumulo has a couple of ways to connect through Thrift, which you should be able to use .NET.
In 1.5, there is something called Proxy, a separate service that handles connections, that handles connections and has a thrift interface.
There is some code for using Thrift against 1.4, but I don't think it is well documented. It's there somewhere, though!
Do I have been writing a java application, application is a console application.
Now, I want my application to listen to request at a port coming from web application and process those request and affect DB data.
I am not sure how to do it in a simple java project. Can I use some java webservices, and how?
Socket programming in Java is quite nice - a Socket is an abstraction that listens for data coming in on a single port from a single web address or server and can also send out.
http://zerioh.tripod.com/ressources/sockets.html
Note that listening for data blocks program flow.
Most likely you're looking at learning Java Servlet programming. There are a lot of good resources to learn from.
However, from my experience something like Netty could serve you really well from both learning and actual application development perspectives. The site contains very reasonable example driven documentation, which takes user from non-blocking TCP/IP programming to HTTP support.
Yes , web service API (JAX-WS 2.0) is added to the Java SE 6. You can use these API to create a simple web service for the Java SE application.
See the section "Using JAX-WS 2.0 to Create a Simple Web Service" for the example .It shows how to create a standard web service end-point using JAX-WS 2.0 for the Java SE application.
Beside , this 5 minutes tutorial is very good at introducing JAX-WS .It includes the demo for implementing the web-service end-point and client and provide the eclipse project source code to download too. Please note that it misses the step to use wsgen to generate the service classes for the WebService end-point ,but it is not so difficult to figure out how to use wsgen
I'm having hard time to find out how to read and write from /into MS SQL server 2008 using GWT .
does any body know of any step by step guide or sample that can help me ?
thanks
you indicate you're a .Net developer.
In your shoes, I'd follow this strategy:
just use GWT for the client-side
use .Net for the server-side
connect client-side to server-side via REST, this will de-couple the two and provide a wider choice for future upgrade/enhancement
develop a REST backend via your favourite .Net server side ASP engine (VB/C#) It's this backend that will connect to MS-SQL, plus it may contain some business processes. You could even do this with Classic ASP - as I've had to ;-)
So: MS-SQL is your data layer, GWT is your UI layer, ASP is your business layer.
Here's a StackOverflow question covering it Are there any good tools for integrating GWT with ASP.Net? Ignore the first answer - it's complete horse-sh*t. The second answer (GWT/ASP.Net) gives a good strategy. Use Javascript Overlay types to read in the json returned from your backend and make it appear as GWT objects.
First you have to uses Microsofts JDBC connector instead of MySQL connector
connect with ms sql
Database Access in GWT – The Missing Tutorial
Our application is written in Java. Now we are integrating with a different company which offers web service API. This API allows Microsoft.NET or SOAP enabled application to integrate. Please consider me in this naive. So how do I verify if my application is SOAP enabled or how do I make it? Actually our current plan to integrate is through data transfer between two systems. But some customers want single sign on. So I am thinking of using their API in our application.
There are many web service libraries available for Java. One is included by default in Java 6, and is available for Java 5 here https://metro.dev.java.net/