Skip to content

Commit

Permalink
Setting proper proxy class on ServiceHost configuration tool
Browse files Browse the repository at this point in the history
  • Loading branch information
acenolaza committed Apr 17, 2015
1 parent 2f27069 commit b7df38b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public JiraConnectionValidator(JiraServiceEntity entity) {
}

public bool Validate() {
var proxy = new JiraConnectorFactory(JiraConnectorType.Soap).Create(entity.Url, entity.UserName, entity.Password);
var proxy = new JiraConnectorFactory(JiraConnectorType.Rest).Create(entity.Url, entity.UserName, entity.Password);

try {
proxy.Login();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class JiraConnector {
private readonly IJiraConnector connector;

public JiraConnector(string url, string username, string password) {
connector = new JiraConnectorFactory(JiraConnectorType.Soap).Create(url, username, password);
connector = new JiraConnectorFactory(JiraConnectorType.Rest).Create(url, username, password);
}

public void Login() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
<UseVSHostingProcess>false</UseVSHostingProcess>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
Expand Down

0 comments on commit b7df38b

Please sign in to comment.