Hi Bogdan,

Last night I had a look to exported web services but I've only found "query"
services so I don't undestand how a document could be pushed in nuxeo EP
using a Ws interface.

Doesn anybody know which kind of use cases are covered by Webservice
interface and how they should be used ?

Thank you in advance,
Marco


On 5/7/07, Bogdan Stefanescu <[EMAIL PROTECTED]> wrote:


Hi Marco,

Please use the ECM list since others may also be interested by this
subject  ;)
Julien refactored some  aspects of nuxeo web services so I think he can
give you more info about
the available web services (and the corresponding APIs)
I think it will be a good idea to write a wiki on this topic.

To find out all web services exposed by nuxeo: go into the jmx console:
http://localhost:8080/jmx-console/

Find in this page the section named "jboss.ws"
and click on service=ServiceEndpointManager
<
http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss.ws%3Aservice%3DServiceEndpointManager
>
Here at the bottom of the page you will find a method


       java.lang.String showServiceEndpointTable()

Click on the Invoke button and you will get a list of all exposed wsdl.
(and the URL of each wsdl)



Regards,
Bogdan


Marco Ciatti wrote:
> Hi Bogdan,
>
> Since I would like to test nuxeo webservices interface It would be
> great if you could tell me where I can find information and detail
> related to nuxeo Webservices usage.
>
> I had a look to
> http://lists.nuxeo.com/pipermail/ecm/2007-March/001056.html
> but at the link you propose I don't find any wsdl on my nuxeo EP 5.1M1
> I've built...
>
> Thankx,
> Marco
>
>
> On 5/3/07, *Marco Ciatti* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Hi Bogdan,
>
>     Yes, you are right, it was my fault since I was using the old
>     version of guide-lines and I missed the ant patch.
>
>     No it works even if I could see some error indication during JBoss
>     AS boot and some stack trace during some test I did, anyway I had
>     to perform some tests and I'll check the log again...
>
>     Thankx a lot for support,
>
>     Ciao,
>     Marco
>
>
>     On 5/1/07, *Bogdan Stefanescu* <[EMAIL PROTECTED]
>     <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>         This kind of error may happens if you didn't run "ant patch"
>         Check your ${jboss}/server/default/deploy/ear- deployer.xml
>         file.
>         If this file doesn't contains a line like:
>           <mbean code="org.nuxeo.runtime.jboss.deployment.NuxeoDeployer"
>              name="jboss.j2ee:service=EARDeployer">
>
>         it means the nuxeo deployer was not installed and nuxeo.ear
>         deployment
>         will fail with that error.
>         To install the correct ear deployer you need to run "ant patch"
>
>         Bogdan
>
>
>         Sean Radford wrote:
>         > Hi,
>         >
>         > Does your nuxeo.ear directory contain a sub-directory called
>         META-INF, which in
>         > turn contains the application.xml file?
>         >
>         > I presume from the error, that it does not and the build
>         hasn't completed
>         > successfully.
>         >
>         > Sean
>         >
>         >
>         >> Hi Sanjiva,
>         >>
>         >> I seems I have quite a similar problem since one of the
>         error indication is
>         >> related to the META-INF/application.xml:
>         >>
>         >> 2007-04-29 21:11:45,556 ERROR
>         [org.jboss.deployment.MainDeployer ] Could not
>         >> initialise deployment: file:/appserv/jboss-
>         >> 4.0.4.GA/server/default/deploy/nuxeo.ear/
>         <http://4.0.4.ga/server/default/deploy/nuxeo.ear/>
>         >> org.jboss.deployment.DeploymentException : No
>         META-INF/application.xml found
>         >>  at org.jboss.deployment.EARDeployer.init(EARDeployer.java
:133)
>         >>
>         >> Even in my case I did the build following the documentation
>         steps...
>         >>
>         >>
>         >> Ciao,
>         >> Marco
>         >>
>         >>
>         >> On 4/27/07, Sanjiva Nath < [EMAIL PROTECTED]
>         <mailto:[EMAIL PROTECTED]>> wrote:
>         >>
>         >>> Hi,
>         >>>
>         >>> I went through the steps in Nuxeo5 Developer Quickstart and
>         it seems
>         >>> that all components installed correctly.  However, I am
>         getting HTTP 404
>         >>> error when trying to bring up nuxeo (the deployment failure
>         log below).
>         >>>
>         >>>
>         >>> -Sanjiva
>         >>>
>         >>>
>         >>> 01:49:06,028 INFO  [TomcatDeployer] deploy,
>         ctxPath=/jmx-console,
>         >>> warUrl=.../deploy/jmx-console.war/
>         >>> 01:49:06,182 INFO  [EARDeployer] Init J2EE application:
>         >>> file:/opt/jboss/server/default/deploy/nuxeo.ear/
>         >>> 01:49:06,182 ERROR [MainDeployer] Could not initialise
>         deployment:
>         >>> file:/opt/jboss/server/default/deploy/nuxeo.ear/
>         >>> org.jboss.deployment.DeploymentException: No
>         META-INF/application.xml
>         >>> found
>         >>>        at org.jboss.deployment.EARDeployer.init
>         (EARDeployer.java:133)
>         >>>        at org.jboss.deployment.MainDeployer.init
>         (MainDeployer.java:861)
>         >>>        at
>         >>> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java
:798)
>         >>>        at
>         >>> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java
>         :771)
>         >>>        at
>         sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
>         >>>        at
>         >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         >>> DelegatingMethodAccessorImpl.java :25)
>         >>>        at java.lang.reflect.Method.invoke(Method.java:585)
>         >>>        at
>         >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
>         >>> ReflectedDispatcher.java:155)
>         >>>        at
>         org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         >>>        at
>         >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(
>         >>> AbstractInterceptor.java:133)
>         >>>        at
>         org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         >>>        at
>         >>>
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
>         >>> ModelMBeanOperationInterceptor.java :142)
>         >>>        at
>         org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         >>>        at
>         >>>
>         org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java
>         >>> :264)
>         >>>        at
>         >>>
>         org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:659)
>
>         >>>        at
>         >>> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java
:210)
>         >>>        at $Proxy6.deploy(Unknown Source)
>         >>>        at
>         >>> org.jboss.deployment.scanner.URLDeploymentScanner.deploy (
>         >>> URLDeploymentScanner.java:421)
>         >>>        at
>         >>> org.jboss.deployment.scanner.URLDeploymentScanner.scan (
>         >>> URLDeploymentScanner.java:634)
>         >>>        at
>         org.jboss.deployment.scanner.AbstractDeploymentScanner
>         >>> $ScannerThread.doScan(AbstractDeploymentScanner.java:263)
>         >>>        at
>         >>>
>
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService
>         (
>         >>> AbstractDeploymentScanner.java:336)
>         >>>        at
>         >>> org.jboss.system.ServiceMBeanSupport.jbossInternalStart (
>         >>> ServiceMBeanSupport.java:289)
>         >>>        at
>         >>> org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(
>         >>> ServiceMBeanSupport.java:245)
>         >>>        at
>         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         >>>        at
>         >>>
>         sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java
>         >>> :39)
>         >>>        at
>         >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         >>> DelegatingMethodAccessorImpl.java :25)
>         >>>        at java.lang.reflect.Method.invoke(Method.java:585)
>         >>>        at
>         >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
>         >>> ReflectedDispatcher.java:155)
>         >>>        at
>         org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         >>>        at
>         org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         >>>        at
>         >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke
>         (AbstractMBeanInvoker.java
>         >>> :264)
>         >>>        at
>         >>>
>         org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:659)
>         >>>        at org.jboss.system.ServiceController
>         >>> $ServiceProxy.invoke(ServiceController.java:978)
>         >>>        at $Proxy0.start(Unknown Source)
>         >>>        at
>         >>>
>         org.jboss.system.ServiceController.start(ServiceController.java
>         :417)
>         >>>        at
>         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         >>>        at
>         >>>
>         sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java
>         >>> :39)
>         >>>        at
>         >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         >>> DelegatingMethodAccessorImpl.java :25)
>         >>>        at java.lang.reflect.Method.invoke(Method.java:585)
>         >>>        at
>         >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
>         >>> ReflectedDispatcher.java:155)
>         >>>        at
>         org.jboss.mx.server.Invocation.dispatch(Invocation.java :94)
>         >>>        at
>         org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
>         >>>        at
>         >>> org.jboss.mx.server.AbstractMBeanInvoker.invoke
>         (AbstractMBeanInvoker.java
>         >>> :264)
>         >>>        at
>         >>>
>         org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:659)
>         >>>        at
>         >>> org.jboss.mx.util.MBeanProxyExt.invoke (MBeanProxyExt.java
:210)
>         >>>        at $Proxy4.start(Unknown Source)
>         >>>        at
>         org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
>         >>>        at
>         >>> org.jboss.deployment.MainDeployer.start
>         (MainDeployer.java:1007)
>         >>>        at
>         >>> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java
:808)
>         >>>        at
>         >>> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java
>         :771)
>         >>>        at
>         >>> org.jboss.deployment.MainDeployer.deploy(MainDeployer.java
:755)
>         >>>        at
>         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         >>>        at
>         >>>
>         sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java
>         >>> :39)
>         >>>        at
>         >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(
>         >>> DelegatingMethodAccessorImpl.java :25)
>         >>>        at java.lang.reflect.Method.invoke(Method.java:585)
>         >>>        at
>         >>> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(
>         >>> ReflectedDispatcher.java:155)
>         >>>        at
>         org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
>         >>>        at
>         >>> org.jboss.mx.interceptor.AbstractInterceptor.invoke(
>         >>> AbstractInterceptor.java :133)
>         >>>        at
>         org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         >>>        at
>         >>>
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(
>         >>> ModelMBeanOperationInterceptor.java :142)
>         >>>        at
>         org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
>         >>>        at
>         >>>
>         org.jboss.mx.server.AbstractMBeanInvoker.invoke(
AbstractMBeanInvoker.java
>         >>> :264)
>         >>>        at
>         >>>
>         org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java
:659)
>         >>>        at
>         >>> org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java
:210)
>         >>>        at $Proxy5.deploy(Unknown Source)
>         >>>        at
>         >>> org.jboss.system.server.ServerImpl.doStart(ServerImpl.java
:482)
>         >>>        at
>         org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
>         >>>        at org.jboss.Main.boot(Main.java:200)
>         >>>        at org.jboss.Main$1.run(Main.java:464)
>         >>>        at java.lang.Thread.run(Thread.java:595)
>         >>> 01:49:06,196 ERROR [URLDeploymentScanner] Incomplete
>         Deployment listing:
>         >>>
>         >>> --- Incompletely deployed packages ---
>         >>> [EMAIL PROTECTED]
>         >>> { url=file:/opt/jboss/server/default/deploy/nuxeo.ear/ }
>         >>> deployer: [EMAIL PROTECTED]
>         >>> status: null
>         >>> state: FAILED
>         >>> watch: file:/opt/jboss/server/default/deploy/nuxeo.ear/
>         >>> altDD: null
>         >>> lastDeployed: 1177663746182
>         >>> lastModified: 1177663649000
>         >>> mbeans:
>         >>> _______________________________________________
>         >>> ECM mailing list
>         >>> [email protected] <mailto:[email protected]>
>         >>> http://lists.nuxeo.com/mailman/listinfo/ecm
>         >>>
>         >>>
>         >
>         >
>         > _______________________________________________
>         > ECM mailing list
>         > [email protected] <mailto:[email protected]>
>         > http://lists.nuxeo.com/mailman/listinfo/ecm
>         >
>         >
>
>
>


_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to