[jira] [Commented] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Kishore Kumar (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16887365#comment-16887365
 ] 

Kishore Kumar commented on CONNECTORS-1566:
---

Hi [~kwri...@metacarta.com],

I also tried disabling bundle of wsdl into WAR by commenting the below. This 
had no impact on connecting to the server, so I believe WSDLs are not being 
used at runtime as all the required contracts are available in the classpath 
from wsimport.
  
{code:xml}





{code}

> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: OTCS_IIS.png, OTCS_Tomcat.png, chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Kishore Kumar (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16887358#comment-16887358
 ] 

Kishore Kumar commented on CONNECTORS-1566:
---

Hi [~kwri...@metacarta.com],

I tested again with the latest change and it works.

I have hosted Content Web Services on both IIS and Tomcat and it works for both.

*IIS*
 !OTCS_IIS.png!

*Tomcat*
 !OTCS_Tomcat.png!

> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: OTCS_IIS.png, OTCS_Tomcat.png, chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Kishore Kumar (JIRA)


 [ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kishore Kumar updated CONNECTORS-1566:
--
Attachment: OTCS_IIS.png

> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: OTCS_IIS.png, chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Resolved] (CONNECTORS-1614) UI bug on parameters deletion on Generic Connector

2019-07-17 Thread Karl Wright (JIRA)


 [ 
https://issues.apache.org/jira/browse/CONNECTORS-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright resolved CONNECTORS-1614.
-
   Resolution: Fixed
Fix Version/s: ManifoldCF 2.14

r1863226

> UI bug on parameters deletion on Generic Connector
> --
>
> Key: CONNECTORS-1614
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1614
> Project: ManifoldCF
>  Issue Type: Bug
>Affects Versions: ManifoldCF 2.13
>Reporter: Olivier Tavard
>Assignee: Karl Wright
>Priority: Minor
> Fix For: ManifoldCF 2.14
>
> Attachments: patch_generic_connector.txt
>
>
> Hi,
> There is a bug on the UI job of the Generic Connector.
> To reproduce : 
> - add a Generic repository connector
> - add a Job related to this connector
> - Click on the parameters tab
> - Add some parameters
> - Click on the Delete button next to the new parameters : it does not work.
> Please find the patch attached.
> Best regards,
> Olivier Tavard



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Assigned] (CONNECTORS-1614) UI bug on parameters deletion on Generic Connector

2019-07-17 Thread Karl Wright (JIRA)


 [ 
https://issues.apache.org/jira/browse/CONNECTORS-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Wright reassigned CONNECTORS-1614:
---

Assignee: Karl Wright

> UI bug on parameters deletion on Generic Connector
> --
>
> Key: CONNECTORS-1614
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1614
> Project: ManifoldCF
>  Issue Type: Bug
>Affects Versions: ManifoldCF 2.13
>Reporter: Olivier Tavard
>Assignee: Karl Wright
>Priority: Minor
> Attachments: patch_generic_connector.txt
>
>
> Hi,
> There is a bug on the UI job of the Generic Connector.
> To reproduce : 
> - add a Generic repository connector
> - add a Job related to this connector
> - Click on the parameters tab
> - Add some parameters
> - Click on the Delete button next to the new parameters : it does not work.
> Please find the patch attached.
> Best regards,
> Olivier Tavard



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (CONNECTORS-1614) UI bug on parameters deletion on Generic Connector

2019-07-17 Thread Olivier Tavard (JIRA)
Olivier Tavard created CONNECTORS-1614:
--

 Summary: UI bug on parameters deletion on Generic Connector
 Key: CONNECTORS-1614
 URL: https://issues.apache.org/jira/browse/CONNECTORS-1614
 Project: ManifoldCF
  Issue Type: Bug
Affects Versions: ManifoldCF 2.13
Reporter: Olivier Tavard
 Attachments: patch_generic_connector.txt

Hi,
There is a bug on the UI job of the Generic Connector.
To reproduce : 
- add a Generic repository connector
- add a Job related to this connector
- Click on the parameters tab
- Add some parameters
- Click on the Delete button next to the new parameters : it does not work.
Please find the patch attached.

Best regards,

Olivier Tavard



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Karl Wright (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886919#comment-16886919
 ] 

Karl Wright commented on CONNECTORS-1566:
-

I had a look at the class com/sun/xml/ws/wsdl/parser/RuntimeWSDLParser.java, 
which is where the error I'm seeing is coming from.  This is a truly ancient 
class.  What it does is try a number of different strategies for locating wsdls 
from a given web service.  I'd hoped to find out how it looked for wsdls in 
resources, but I did not find this.

The important thing to note is that, if all else fails, the wsdl locator takes 
the service URI and appends "?wsdl" to it, as a last check.  I bet this is why 
it's working for [~kishorekumar] but not for me.

So what does this mean?

I think we cannot hope to get the proper classloader passed in as an argument 
to this ancient code -- not without forking it ourselves and thus maintaining 
it.  But I think that in the case of the Livelink web services, they do adhere 
to the convention that RuntimeWSDLParser expects.  So it should be possible to 
make this work.  That's what I'm going to try to do.


> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Comment Edited] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Karl Wright (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886745#comment-16886745
 ] 

Karl Wright edited comment on CONNECTORS-1566 at 7/17/19 7:32 AM:
--

Ok, updated in svn.  Please check again; I still see the same error here.



was (Author: kwri...@metacarta.com):
Ok, updated in svn.  Trying locally now.


> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Karl Wright (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886745#comment-16886745
 ] 

Karl Wright commented on CONNECTORS-1566:
-

Ok, updated in svn.  Trying locally now.


> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Kishore Kumar (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886738#comment-16886738
 ] 

Kishore Kumar commented on CONNECTORS-1566:
---

Hi [~kwri...@metacarta.com],

I pulled the branch from Github and noticed that Authentication_Service is 
still expecting the endpoint.
{code:java}
this.authService = new Authentication_Service();
{code}

> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Karl Wright (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886722#comment-16886722
 ] 

Karl Wright commented on CONNECTORS-1566:
-

[~kishorekumar], can you verify the current codebase?  If the wsdls cannot be 
bundled within the jar and have that work, it's fine I guess to have them 
downloaded from the server.  But I'm unsure which version of the code you 
tried, and whether I broke this after you got it working.


> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Comment Edited] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Karl Wright (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886710#comment-16886710
 ] 

Karl Wright edited comment on CONNECTORS-1566 at 7/17/19 6:24 AM:
--

I'm thinking that the resource loader being invoked is going to look for 
resources using the wrong classloader.  We want the class loader that loaded 
the CswsSession class, but unless there's a way to pass a classloader into the 
constructor for the services, it's going to use the classloader of the base jax 
class that does the resource lookup.  And no, there appears to be no way to 
pass a class loader to any of the generated service constructors. :-(





was (Author: kwri...@metacarta.com):
I'm thinking that the resource loader being invoked is going to look for 
resources using the wrong classloader.  We want the class loader that loaded 
the CswsSession class, but unless there's a way to pass a classloader into the 
constructor for the services, it's going to use the classloader of the base jax 
class that does the resource lookup.


> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Commented] (CONNECTORS-1566) Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector

2019-07-17 Thread Karl Wright (JIRA)


[ 
https://issues.apache.org/jira/browse/CONNECTORS-1566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16886710#comment-16886710
 ] 

Karl Wright commented on CONNECTORS-1566:
-

I'm thinking that the resource loader being invoked is going to look for 
resources using the wrong classloader.  We want the class loader that loaded 
the CswsSession class, but unless there's a way to pass a classloader into the 
constructor for the services, it's going to use the classloader of the base jax 
class that does the resource lookup.


> Develop CSWS connector as a replacement for deprecated LiveLink LAPI connector
> --
>
> Key: CONNECTORS-1566
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1566
> Project: ManifoldCF
>  Issue Type: Task
>  Components: LiveLink connector
>Affects Versions: ManifoldCF 2.12
>Reporter: Karl Wright
>Assignee: Karl Wright
>Priority: Major
> Fix For: ManifoldCF 2.14
>
> Attachments: chrome_cgfC00ujx7.png
>
>
> LAPI is being deprecated.  We need to develop a replacement for it using the 
> ContentServer Web Services API.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)