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

Markus Schuch commented on CONNECTORS-1566:
-------------------------------------------

The ws-stubs generated by wsdl2java extend {{javax.xml.ws.Service}} which uses 
the Java Service Provider Interface (SPI) to lookup provider implementations. 

The SPI lookup is implemented in the JDK class 
{{javax.xml.ws.spi.FactoryFinder}}.

# Search for the resource {{META-INF/service/javax.xml.ws.spi.Provider}} on the 
ThreadContext classloader. If found, this file specifies the WS-Provider 
implementation.
# If no provider is found that way, a JDK wide configuration looked up at 
{{$java.home/lib/jaxws.properties}}.
# If none is found, the class speficied by system property 
{{javax.xml.ws.spi.Provider}} is used.
# As last resort the default {{com.sun.xml.internal.ws.spi.ProviderImpl}} is 
used.

The lookup on step 1) via the classloader fails, because the JAR containing a 
{{META-INF/service/javax.xml.ws.spi.Provider}} file is not in the used 
classloader. For CXF that would be {{cxf-rt-frontend-jaxws-*.jar}}.



> 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
(v8.3.2#803003)

Reply via email to