Book a Demo

Author Topic: OSLC Creation Factory Example  (Read 3973 times)

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
OSLC Creation Factory Example
« on: May 23, 2014, 11:53:41 pm »
I know this is a long shot since it seems few EA users are trying the new OSCL feature in version 11

I am trying to write a simple OSLC .Net client and have successfully got the OSLC Requirement query (HTTP GET) working perfectly

BUT I just cannot get the Create Requirement (HTTP POST) to work

I have used the example in the on-line help, but, I just get an exception

[highlight]WebException The underlying connection was closed An unexpected error occurred on a receive ...[/highlight]

I have turned on server logs using the Cloud Services admin, but no logs are created  >:(

This is a vain plea (mostly aimed at Sparxians), does anyone have a working example of .net code that uses OSLC POST?

I have trawled the .net C# forums and have tried the HTTP POST examples, but all cause the same failure


The on-line help just states To create a new Requirement, the client POSTs a representation of the Requirement in RDF format to the Creation Factory URL
which is exactly what I am trying to do!

Cheers
Models are great!
Correct models are even greater!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: OSLC Creation Factory Example
« Reply #1 on: May 26, 2014, 09:32:44 am »
The little bit of testing I personally did on it I used a little app (from CodeProject or similar) it was C++ with the WinInet api.

Would http://oslc4net.codeplex.com/license help?

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
Re: OSLC Creation Factory Example
« Reply #2 on: May 27, 2014, 05:46:04 pm »
Thanks Simon I will check this out

Looks promising
Models are great!
Correct models are even greater!