Sponsors

News

Jobping Laurent Kempé MVP JetBrains Academy Member Certified ScrumMaster

Contact

My status

View Laurent Kempé's profile on LinkedIn
XING
twitter
facebook


Xbox 360



Map

Locations of visitors to this page

.NET Dudes

Family

French .NET Dudes

Friends

Jobping

Links

Tech Head Brothers

ScrumWorks Pro integration with Java & .NET

Today at innoveo we had a great meeting in which I made an introduction of Scrum to the whole team! The presentation and the Scrum methodology got a great feedback, and I am very happy about that. We were already using for some years now some key points of Scrum without really knowing it. Now we know it and we will use some more advantages that comes out of it.

My colleague Lorenz challenged me just after the meeting showing me a unit test he made in Java in which he was calling the ScrumWorks Pro back-end for an integration idea we had.

From danube website:

ScrumWorks™ Pro is a collaborative system that allows teams, product owners, and stakeholders to manage the Scrum lifecycle at the program, product, release and sprint levels. Scrumworks™ Pro offers role-based project tracking, and reporting features that support the ScrumMaster, Scrum Team and Product Owner by encouraging Scrum best practices.

Back home this evening I had to give it a try with .NET (What else! ;)

And here is the first result:

So I am also able to call the ScrumWorks Pro back-end but with .NET Framework 3.5 and a WCF client. Cool! That gives me some more great integration ideas!

Comments

Brian said:

Do you have more information on how you access the scrum works back end and wht level of integration you achieved?

# March 25, 2008 10:35 PM

lkempe said:

Brian: We made an integration with our internal reporting tool! This reporting tool and the integration are made in Java and use all reporting possibilities of Scrumworks Pro. I made a WCF integration test and was able to interop with it, but the generated client classes were not that good. I will have to try with the new version of scrumworks pro

# March 26, 2008 4:35 AM

Anders said:

I have been playing with ScrumWorks and .NET too. I was able to make a proxy class in Visual Studio, and then to connect to the ScrumWorks web service and send credentials. So far so good.

But when I try to send commands and read some data back it fails whatever I try.

Could please show the code you used for you test? It would be very helpful.

regards

/anders

# April 10, 2008 12:33 PM

lkempe said:

Anders: Too bad I deleted it :-( What kind of issue do you have?

# April 10, 2008 2:12 PM

Anders said:

Oh... what a pity. :(

Well, I appreciate any help very much! ScrumWork API documentation is lightweight, to say the least. The actual ScrumWorks version is 3.0. Here's the URL: www.danube.com/.../index.html

The docs are perhaps Java friendly but not .NET friendly (in my eyes). Anyway, I have used Visual Web Developer 2008 Express (and .NET 3.5) to compile a proxy class for the web service. That seems ok.

I have then tried to call the service this way:

'Set credentials

Dim cred As New System.Net.NetworkCredential("username", "pwd")

'Create an instance of the Proxy class

Dim kalle As New gbgapplserver.ScrumWorksService

'Send credentials

kalle.Credentials = cred

So far so good, but when I try to access functions it fails no matter what I do. I have also received this error: 'HTTP Error 505 - HTTP version not supported'. I don't understand why.

Perhaps it just me able to understand the documentation? I unsure about how to define the API variables and read data. After all, you where able to do it...

So, that's where I am currently.

/anders

# April 11, 2008 4:43 AM

lkempe said:

Anders: Did you changed the ProxyCredentialType to Basic? It was needed by the time I did it! In version 3 I don't know

# April 11, 2008 8:27 AM

Anders said:

We were able to solve the problem by forcing the web service (ScrumWorks) to use http ver 1.0 instead of ver 1.1. The ScrumWorks people claims that ".NET does not implement HTTP 1.1 properly (specifically continuations)". Always the same story: We're not the ones to blame. ;)

Whatever, it works now.

Chers /anders

Here's my VB.NET code:

       'Set credentials

       Dim cred As New System.Net.NetworkCredential("user", "pwd")  

       'Create an instance of the Proxy class

       Dim service As New gbgapplserver.ScrumWorksService

       'Send credentials

       service.Credentials = cred

       service.PreAuthenticate = True

       'Test connection with web service

       Try

           Dim t As New gbgapplserver.getTest

           service.getTest(t)

       Catch

           Response.Write("Error: Connection failed")

           Exit Sub

       End Try

       'Read the list of products

       Dim p As New gbgapplserver.getProducts()

       Dim products As gbgapplserver.ProductWSO() = service.getProducts(p)

       'Write list on screen

       For Each product As gbgapplserver.ProductWSO In products

           Response.Write(product.name & "<br>")

       Next

# April 11, 2008 10:51 AM

lkempe said:

Anders: Thanks for the feedback! Great that you found a solution! On my side I am sure I was not using http 1.0 at all, because I didn't change any configuration on the server. I would need some time to go on with that but currently has we don't have any need of it...

# April 22, 2008 8:36 AM

John Clifford said:

Here's a link that describes how to tell .NET to use http 1.0 instead of 1.1...

geekswithblogs.net/.../79818.aspx

Hope this helps others. I was able to get the sample code building, in C#, pretty quickly, and once I found the above link I was in business.

Thanks!

# September 18, 2008 1:15 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)