SOAP deployment does not work properly
--------------------------------------

                 Key: UIMA-906
                 URL: https://issues.apache.org/jira/browse/UIMA-906
             Project: UIMA
          Issue Type: Bug
          Components: Transport Adapters - SOAP, Vinci
    Affects Versions: 2.2.1
            Reporter: Michael Baessler
             Fix For: 2.2.2


Deploying a SOAP service work fine and don't produce an exception, but when 
trying the get the metaData 
the following error is displayed in the Browser

Fault - ; nested exception is:
        WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'http://uima.apache.org/analysis_engine'. Namespace prefixes must be set
on the Definition object using the addNamespace(...) method.:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
for 'http://uima.apache.org/analysis_engine'. Namespace prefixes must be
set on the Definition object using the addNamespace(...) method.:
 faultActor:
 faultNode:
 faultDetail:


When trying to connect to the service the following exception is thrown:

org.apache.uima.resource.ResourceInitializationException: Error initializing 
"org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter" from descriptor 
file:/C:/Programme/apache-uima/examples/descriptors/soapService/NamesAndPersonTitlesService.xml.
        at 
org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:143)
        at 
org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:62)
        at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)
        at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)
        at 
org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)
        at org.apache.uima.tools.cvd.MainFrame.setupAE(MainFrame.java:1529)
        at 
org.apache.uima.tools.cvd.MainFrame.loadAEDescriptor(MainFrame.java:524)
        at 
org.apache.uima.tools.cvd.control.AnnotatorOpenEventHandler.actionPerformed(AnnotatorOpenEventHandler.java:52)
        at 
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
        at 
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
        at 
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at 
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
        at 
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
        at 
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
        at java.awt.Component.processMouseEvent(Component.java:5517)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
        at java.awt.Component.processEvent(Component.java:5282)
        at java.awt.Container.processEvent(Container.java:1966)
        at java.awt.Component.dispatchEventImpl(Component.java:3984)
        at java.awt.Container.dispatchEventImpl(Container.java:2024)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at 
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
        at java.awt.Container.dispatchEventImpl(Container.java:2010)
        at java.awt.Window.dispatchEventImpl(Window.java:1791)
        at java.awt.Component.dispatchEvent(Component.java:3819)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: org.apache.uima.UIMARuntimeException
        at 
org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:109)
        at 
org.apache.uima.resource.Resource_ImplBase.initialize(Resource_ImplBase.java:66)
        at 
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.initialize(AnalysisEngineImplBase.java:109)
        at 
org.apache.uima.adapter.soap.SoapAnalysisEngineServiceAdapter.initialize(SoapAnalysisEngineServiceAdapter.java:67)
        at 
org.apache.uima.util.SimpleResourceFactory.produceResource(SimpleResourceFactory.java:122)
        ... 33 more
Caused by: org.apache.uima.resource.ResourceServiceException
        at 
org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:89)
        at 
org.apache.uima.analysis_engine.service.impl.AnalysisEngineServiceAdapter.getMetaData(AnalysisEngineServiceAdapter.java:105)
        ... 37 more
Caused by: (500)Internal Server Error
        at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at 
org.apache.uima.adapter.soap.AxisResourceServiceStub.callGetMetaData(AxisResourceServiceStub.java:85)
        ... 38 more


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to