stack72 / TeamCitySharp

No Longer Maintained - please use https://github.com/mavezeau/TeamCitySharp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create project fail for TeamCitySharp v.0.3.5

banarualexandru opened this issue · comments

Hi all.

I have 0.3.5 version of TeamCitySharp from nuget, and when I'm trying to createa new project, if fails:

BadRequest Error: Bad Request
HTTP: BadRequest
URL: http://xyz:8888/httpAuth/app/rest/projects/
Error has occurred during request processing (Bad Request).
Error: javax.ws.rs.WebApplicationException: javax.xml.bind.UnmarshalException

  • with linked exception:
    [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.], caused by: javax.xml.bind.UnmarshalException, caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
    Not supported request. Please check URL, HTTP method and transfered data are correct.

But when I download the 0.3.3 version from github, and runned the test, it works like a charm.

We are using 9.x version of TeamCity.

Thanks in advance.