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

Karl Wright commented on CONNECTORS-1566:
-----------------------------------------

Currently, the UI fails in the following way, as soon as the configuration is 
saved:

{code}
Caused by: javax.xml.ws.WebServiceException: Failed to access the WSDL at: 
file:wsdls/Authentication.wsdl. It failed with: 
wsdls\Authentication.wsdl (The system cannot find the path specified).
at 
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:250)
at 
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:231)
at 
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:194)
at 
com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:163)
at 
com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:348)
at 
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:306)
at 
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:215)
at 
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:196)
at 
com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:192)
at 
com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:77)
{code}

The URL it is using for the wsdl is the one that it was built with, which is a 
local file.  The wsdls *either* have to be specified as all local (safest but 
hard to insure would be at the same relative path in all circumstances and for 
all ManifoldCF processes) *or* they need to always be relative to the service 
URL for each particular service.

I currently do not know (and cannot easily find) how to convince Apache CXF to 
either do without the WSDL entirely at runtime (which would be ideal), or use a 
local copy during the build process and a *different* URL-based one at runtime. 
 If you can find the answer to this, please let me know what it is.


> 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
>
>
> 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)

Reply via email to