Initialisation Failure: Could not load Webservice SEI

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Initialisation Failure: Could not load Webservice SEI

Adrian Brenes-2
Hi, I'm working on using Mule to Host a Web Service. I would like some help if anyone know wut the cause of this problem ...

This is my mule configuration ,

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.2"
       xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.2"
        xmlns:spring="http://www.springframework.org/schema/beans"
        xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.2"
       
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
       http://www.springframework.org/schema/context 
       http://www.springframework.org/schema/context/spring-context-2.5.xsd
       http://www.mulesource.org/schema/mule/soap/2.2 http://www.mulesource.org/schema/mule/soap/2.2/mule-soap.xsd
       http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
       http://www.mulesource.org/schema/mule/stdio/2.2 http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd
       http://www.mulesource.org/schema/mule/cxf/2.2 http://www.mulesource.org/schema/mule/cxf/2.2/mule-cxf.xsd">

<model name="CxfExample">
 <service name = "retrieveName">
 <inbound>
 <cxf:inbound-endpoint address="http://10.0.0.1/name"/>
 </inbound>
 
 <component class="com.safeguard.webserver.SkyWalker"/>
 </service>
</model>

</mule>

and the error msg as below,

INFO  2010-08-06 17:23:47,636 [main] org.mule.transport.cxf.CxfConnector: Registering listener: retrieveName on endpointUri: http://10.0.0.1/name
ERROR 2010-08-06 17:23:47,746 [main] org.mule.MuleServer:
********************************************************************************
Message               : Initialisation Failure: Could not load Webservice SEI
Type                  : org.mule.api.lifecycle.InitialisationException
Code                  : MULE_ERROR-72085
JavaDoc               : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html
Object                : CxfMessageReceiver{this=fe0fd9, receiverKey=http://10.0.0.1/name, endpoint=http://10.0.0.1/name}
********************************************************************************
Exception stack is:
1. com.safeguard.webserver (java.lang.ClassNotFoundException)
  java.net.URLClassLoader$1:-1 (null)
2. Could not load Webservice SEI (javax.xml.ws.WebServiceException)
  org.apache.cxf.jaxws.support.JaxWsImplementorInfo:276 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/xml/ws/WebServiceException.html)
3. Initialisation Failure: Could not load Webservice SEI (org.mule.api.lifecycle.InitialisationException)
  org.mule.transport.cxf.CxfMessageReceiver:287 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html)
********************************************************************************
Root Exception stack trace:
java.lang.ClassNotFoundException: com.safeguard.webserver
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass2(ClassLoaderUtils.java:139)
        at org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:127)
        at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.initialize(JaxWsImplementorInfo.java:274)
        at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.<init>(JaxWsImplementorInfo.java:57)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.setServiceClass(JaxWsServiceFactoryBean.java:174)
        at org.mule.transport.cxf.CxfMessageReceiver.initServiceName(CxfMessageReceiver.java:326)
        at org.mule.transport.cxf.CxfMessageReceiver.doInitialise(CxfMessageReceiver.java:249)
        at org.mule.transport.AbstractMessageReceiver.initialise(AbstractMessageReceiver.java:120)
        at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1127)
        at org.mule.service.AbstractService.registerListeners(AbstractService.java:593)
        at org.mule.service.AbstractService.start(AbstractService.java:316)
        at org.mule.service.AbstractService.start(AbstractService.java:293)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:273)
        at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:129)
        at org.mule.lifecycle.GenericLifecycleManager.firePhase(GenericLifecycleManager.java:84)
        at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:170)
        at org.mule.MuleServer.run(MuleServer.java:259)
        at org.mule.MuleServer.start(MuleServer.java:244)
        at org.mule.MuleServer.main(MuleServer.java:121)

********************************************************************************

thank for reading ... any idea?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Failed to bind to uri "http://10.0.0.1/name" , any idea?

Adrian Brenes-2
i change the host and it work ... but when i invoke the web service from IE , i get this error msg

Aug 6, 2010 5:36:38 PM org.apache.cxf.interceptor.AttachmentInInterceptor handleMessage
INFO: AttachmentInInterceptor skipped in HTTP GET method
Aug 6, 2010 5:36:38 PM org.apache.cxf.interceptor.StaxInInterceptor handleMessage
INFO: StaxInInterceptor skipped.
Aug 6, 2010 5:36:38 PM org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor handleMessage
INFO: ReadHeadersInterceptor skipped in HTTP GET method
Aug 6, 2010 5:36:38 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: No such operation: david
        at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:77)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
        at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284)
        at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112)
        at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
        at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
        at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
        at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
        at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
        at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
        at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
        at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
        at org.mule.model.seda.SedaService.doSend(SedaService.java:257)
        at org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
        at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
        at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:364)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:193)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.doRequest(HttpMessageReceiver.java:273)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.processRequest(HttpMessageReceiver.java:227)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:190)
        at org.mule.work.WorkerContext.run(WorkerContext.java:310)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
        at java.lang.Thread.run(Unknown Source)
WARN  2010-08-06 17:36:38,506 [connector.http.0.receiver.3] org.mule.transport.http.HttpMessageReceiver: No receiver found with secondary lookup on connector: connector.http.0 with URI key: http://localhost:8080/favicon.ico
WARN  2010-08-06 17:36:38,506 [connector.http.0.receiver.3] org.mule.transport.http.HttpMessageReceiver: Receivers on connector are: {
http://localhost:8080/name=HttpMessageReceiver{this=1ca5df9, receiverKey=http://localhost:8080/name, endpoint=http://localhost:8080/name}
}
Aug 6, 2010 5:37:23 PM org.apache.cxf.interceptor.AttachmentInInterceptor handleMessage
INFO: AttachmentInInterceptor skipped in HTTP GET method
Aug 6, 2010 5:37:23 PM org.apache.cxf.interceptor.StaxInInterceptor handleMessage
INFO: StaxInInterceptor skipped.
Aug 6, 2010 5:37:23 PM org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor handleMessage
INFO: ReadHeadersInterceptor skipped in HTTP GET method
Aug 6, 2010 5:37:23 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: No such operation: david.
        at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:77)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
        at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284)
        at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112)
        at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
        at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
        at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
        at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
        at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
        at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
        at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
        at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
        at org.mule.model.seda.SedaService.doSend(SedaService.java:257)
        at org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
        at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
        at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:364)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:193)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.doRequest(HttpMessageReceiver.java:273)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.processRequest(HttpMessageReceiver.java:227)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:190)
        at org.mule.work.WorkerContext.run(WorkerContext.java:310)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
        at java.lang.Thread.run(Unknown Source)
WARN  2010-08-06 17:37:23,439 [connector.http.0.receiver.5] org.mule.transport.http.HttpMessageReceiver: No receiver found with secondary lookup on connector: connector.http.0 with URI key: http://localhost:8080/favicon.ico
WARN  2010-08-06 17:37:23,439 [connector.http.0.receiver.5] org.mule.transport.http.HttpMessageReceiver: Receivers on connector are: {
http://localhost:8080/name=HttpMessageReceiver{this=1ca5df9, receiverKey=http://localhost:8080/name, endpoint=http://localhost:8080/name}
}

any idea?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Failed to bind to uri "http://10.0.0.1/name" , any idea?

Adrian Brenes-2
i think maybe the address that i use was wrong ....

this is my inbound configuration

<model name="CxfExample">
 <service name = "retrieveName">
 <inbound>
 <cxf:inbound-endpoint address="http://localhost:8080/name"/>
 </inbound>
 
 <component class="com.safeguard.webserver.SkyWalker"/>
 </service>
</model>

</mule>

i pass a string by using this address

http://localhost:8080/name/david  and http://localhost:8080/name/retrieveName/david , both return error msg in on my mule ... correct me if my address is wrong

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Re: Failed to bind to uri "http://10.0.0.1/name" , any idea?

Stephen Fenech-2
What is the name of the operation you are trying to invoke?
ricston
 Your flexible Open Source services partner
Stephen FenechConsultant
Ricston Ltd - Northfields Suite 4,
Independence Avenue, Mosta MST9026, MALTA
[hidden email] - www.ricston.com
tel: +356 21334457 - fax +356 21334156

On 06/08/2010 12:48, Hsien Soon Fua wrote:
i think maybe the address that i use was wrong .... 

this is my inbound configuration 

<model name="CxfExample">
 <service name = "retrieveName">
 <inbound>
 <cxf:inbound-endpoint address="http://localhost:8080/name"/>
 </inbound>
 
 <component class="com.safeguard.webserver.SkyWalker"/>
 </service>
</model>

</mule>

i pass a string by using this address

http://localhost:8080/name/david  and http://localhost:8080/name/retrieveName/david , both return error msg in on my mule ... correct me if my address is wrong

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


  
Reply | Threaded
Open this post in threaded view
|

Re: Re: Failed to bind to uri "http://10.0.0.1/name" , any idea?

Stephen Fenech-2
In reply to this post by Adrian Brenes-2
Take a look at

http://www.mulesoft.org/documentation/display/MULE2USER/Using+HTTP+GET+Requests

I think this is what you are looking for.....

http://host/service/OPERATION/PARAM_NAME/PARAM_VALUE

ricston
 Your flexible Open Source services partner
Stephen FenechConsultant
Ricston Ltd - Northfields Suite 4,
Independence Avenue, Mosta MST9026, MALTA
[hidden email] - www.ricston.com
tel: +356 21334457 - fax +356 21334156

On 06/08/2010 12:48, Hsien Soon Fua wrote:
i think maybe the address that i use was wrong .... 

this is my inbound configuration 

<model name="CxfExample">
 <service name = "retrieveName">
 <inbound>
 <cxf:inbound-endpoint address="http://localhost:8080/name"/>
 </inbound>
 
 <component class="com.safeguard.webserver.SkyWalker"/>
 </service>
</model>

</mule>

i pass a string by using this address

http://localhost:8080/name/david  and http://localhost:8080/name/retrieveName/david , both return error msg in on my mule ... correct me if my address is wrong

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


  
Reply | Threaded
Open this post in threaded view
|

Re: Initialisation Failure: Could not load Webservice SEI

ddossot
In reply to this post by Adrian Brenes-2
It tries to load this package name "com.safeguard.webserver" as the SEI class... how did you annotate SkyWalker?

D.


On Fri, Aug 6, 2010 at 2:26 AM, Hsien Soon Fua <[hidden email]> wrote:
Hi, I'm working on using Mule to Host a Web Service. I would like some help if anyone know wut the cause of this problem ...

This is my mule configuration ,

<?xml version="1.0" encoding="UTF-8"?>
<mule xmlns="http://www.mulesource.org/schema/mule/core/2.2"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.2"
      xmlns:stdio="http://www.mulesource.org/schema/mule/stdio/2.2"
       xmlns:spring="http://www.springframework.org/schema/beans"
       xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.2"

      xsi:schemaLocation="
      http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
      http://www.springframework.org/schema/context
      http://www.springframework.org/schema/context/spring-context-2.5.xsd
      http://www.mulesource.org/schema/mule/soap/2.2 http://www.mulesource.org/schema/mule/soap/2.2/mule-soap.xsd
      http://www.mulesource.org/schema/mule/core/2.2 http://www.mulesource.org/schema/mule/core/2.2/mule.xsd
      http://www.mulesource.org/schema/mule/stdio/2.2 http://www.mulesource.org/schema/mule/stdio/2.2/mule-stdio.xsd
      http://www.mulesource.org/schema/mule/cxf/2.2 http://www.mulesource.org/schema/mule/cxf/2.2/mule-cxf.xsd">

<model name="CxfExample">
 <service name = "retrieveName">
 <inbound>
 <cxf:inbound-endpoint address="http://10.0.0.1/name"/>
 </inbound>

 <component class="com.safeguard.webserver.SkyWalker"/>
 </service>
</model>

</mule>

and the error msg as below,

INFO  2010-08-06 17:23:47,636 [main] org.mule.transport.cxf.CxfConnector: Registering listener: retrieveName on endpointUri: http://10.0.0.1/name
ERROR 2010-08-06 17:23:47,746 [main] org.mule.MuleServer:
********************************************************************************
Message               : Initialisation Failure: Could not load Webservice SEI
Type                  : org.mule.api.lifecycle.InitialisationException
Code                  : MULE_ERROR-72085
JavaDoc               : http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html
Object                : CxfMessageReceiver{this=fe0fd9, receiverKey=http://10.0.0.1/name, endpoint=http://10.0.0.1/name}
********************************************************************************
Exception stack is:
1. com.safeguard.webserver (java.lang.ClassNotFoundException)
 java.net.URLClassLoader$1:-1 (null)
2. Could not load Webservice SEI (javax.xml.ws.WebServiceException)
 org.apache.cxf.jaxws.support.JaxWsImplementorInfo:276 (http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/xml/ws/WebServiceException.html)
3. Initialisation Failure: Could not load Webservice SEI (org.mule.api.lifecycle.InitialisationException)
 org.mule.transport.cxf.CxfMessageReceiver:287 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/lifecycle/InitialisationException.html)
********************************************************************************
Root Exception stack trace:
java.lang.ClassNotFoundException: com.safeguard.webserver
       at java.net.URLClassLoader$1.run(Unknown Source)
       at java.security.AccessController.doPrivileged(Native Method)
       at java.net.URLClassLoader.findClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
       at java.lang.ClassLoader.loadClass(Unknown Source)
       at org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass2(ClassLoaderUtils.java:139)
       at org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:127)
       at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.initialize(JaxWsImplementorInfo.java:274)
       at org.apache.cxf.jaxws.support.JaxWsImplementorInfo.<init>(JaxWsImplementorInfo.java:57)
       at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.setServiceClass(JaxWsServiceFactoryBean.java:174)
       at org.mule.transport.cxf.CxfMessageReceiver.initServiceName(CxfMessageReceiver.java:326)
       at org.mule.transport.cxf.CxfMessageReceiver.doInitialise(CxfMessageReceiver.java:249)
       at org.mule.transport.AbstractMessageReceiver.initialise(AbstractMessageReceiver.java:120)
       at org.mule.transport.AbstractConnector.registerListener(AbstractConnector.java:1127)
       at org.mule.service.AbstractService.registerListeners(AbstractService.java:593)
       at org.mule.service.AbstractService.start(AbstractService.java:316)
       at org.mule.service.AbstractService.start(AbstractService.java:293)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
       at java.lang.reflect.Method.invoke(Unknown Source)
       at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:273)
       at org.mule.lifecycle.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:129)
       at org.mule.lifecycle.GenericLifecycleManager.firePhase(GenericLifecycleManager.java:84)
       at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:170)
       at org.mule.MuleServer.run(MuleServer.java:259)
       at org.mule.MuleServer.start(MuleServer.java:244)
       at org.mule.MuleServer.main(MuleServer.java:121)

********************************************************************************

thank for reading ... any idea?

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Reply | Threaded
Open this post in threaded view
|

Re: Initialisation Failure: Could not load Webservice SEI

Adrian Brenes-2
Below is my SkyWalker code...

package com.safeguard.webserver;


import javax.jws.WebService;


@WebService(endpointInterface ="com.safeguard.webserver.NameInterface", serviceName = "getName")
public class SkyWalker implements NameInterface{

 
    public String getName(String name){
        System.out.println(name);

        return name;
    }

}

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Initialisation Failure: Could not load Webservice SEI

Stephen Fenech-2
From

http://www.mulesoft.org/documentation/display/MULE2USER/Using+HTTP+GET+Requests

It states that the link needs to be in the following format:

http://host/service/OPERATION/PARAM_NAME/PARAM_VALUE
So I would assume, looking at your implementation, it should be something like the following:

http://localhost:8080/name/getName/name/Stephen

If that does not work, try the following:

http://localhost:8080/name/getName/getName/name/Stephen

since I was under the impression that you need to also put the name of the webservice in the address not just the operation name, but the documentation says otherwise, so my memory might be wrong.

ricston
 Your flexible Open Source services partner
Stephen FenechConsultant
Ricston Ltd - Northfields Suite 4,
Independence Avenue, Mosta MST9026, MALTA
[hidden email] - www.ricston.com
tel: +356 21334457 - fax +356 21334156

On 08/08/2010 06:25, Hsien Soon Fua wrote:
Below is my SkyWalker code...

package com.safeguard.webserver;


import javax.jws.WebService;


@WebService(endpointInterface ="com.safeguard.webserver.NameInterface", serviceName = "getName")
public class SkyWalker implements NameInterface{

 
    public String getName(String name){
        System.out.println(name);

        return name;
    }

}

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


  
Reply | Threaded
Open this post in threaded view
|

Re: Initialisation Failure: Could not load Webservice SEI

Adrian Brenes-2
thank stephen, i try ur method d and i get some error msg at the web browser for

http://localhost:8080/name/getName/name/Stephen 

- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <soap:Fault>
  <faultcode>soap:Server</faultcode>
  <faultstring>Parameter should be ordered in the following sequence: [arg0]</faultstring>
  </soap:Fault>
  </soap:Body>
  </soap:Envelope>

Eclipse Console error msg :

Aug 9, 2010 3:04:39 PM org.apache.cxf.interceptor.AttachmentInInterceptor handleMessage
INFO: AttachmentInInterceptor skipped in HTTP GET method
Aug 9, 2010 3:04:39 PM org.apache.cxf.interceptor.StaxInInterceptor handleMessage
INFO: StaxInInterceptor skipped.
Aug 9, 2010 3:04:39 PM org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor handleMessage
INFO: ReadHeadersInterceptor skipped in HTTP GET method
Aug 9, 2010 3:04:39 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Parameter should be ordered in the following sequence: [arg0]
        at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:147)
        at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:143)
        at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:80)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
        at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284)
        at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112)
        at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
        at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
        at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
        at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
        at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
        at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
        at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
        at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
        at org.mule.model.seda.SedaService.doSend(SedaService.java:257)
        at org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
        at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
        at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:364)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:193)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.doRequest(HttpMessageReceiver.java:273)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.processRequest(HttpMessageReceiver.java:227)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:190)
        at org.mule.work.WorkerContext.run(WorkerContext.java:310)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
        at java.lang.Thread.run(Unknown Source)
------------------------------------------------------------------------------------------------------------------------------------------------------------

and http://localhost:8080/name/getName/getName/name/Stephen

web browser error msg :

- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <soap:Fault>
  <faultcode>soap:Server</faultcode>
  <faultstring>Index: 4, Size: 4</faultstring>
  </soap:Fault>
  </soap:Body>
  </soap:Envelope>

Eclipse Console error msg :

Aug 9, 2010 3:05:02 PM org.apache.cxf.interceptor.AttachmentInInterceptor handleMessage
INFO: AttachmentInInterceptor skipped in HTTP GET method
Aug 9, 2010 3:05:02 PM org.apache.cxf.interceptor.StaxInInterceptor handleMessage
INFO: StaxInInterceptor skipped.
Aug 9, 2010 3:05:02 PM org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor handleMessage
INFO: ReadHeadersInterceptor skipped in HTTP GET method
Aug 9, 2010 3:05:02 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
        at java.util.ArrayList.RangeCheck(Unknown Source)
        at java.util.ArrayList.get(Unknown Source)
        at org.apache.cxf.interceptor.URIMappingInterceptor.getQueries(URIMappingInterceptor.java:230)
        at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:131)
        at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:80)
        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
        at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284)
        at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112)
        at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
        at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
        at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
        at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
        at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
        at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
        at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
        at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
        at org.mule.model.seda.SedaService.doSend(SedaService.java:257)
        at org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
        at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
        at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
        at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:364)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
        at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:193)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.doRequest(HttpMessageReceiver.java:273)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.processRequest(HttpMessageReceiver.java:227)
        at org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:190)
        at org.mule.work.WorkerContext.run(WorkerContext.java:310)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
        at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
        at java.lang.Thread.run(Unknown Source)
----------------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Initialisation Failure: Could not load Webservice SEI

Stephen Fenech-2
Ok try out
http://localhost:8080/name/getName/arg0/Stephen 
ricston
 Your flexible Open Source services partner
Stephen FenechConsultant
Ricston Ltd - Northfields Suite 4,
Independence Avenue, Mosta MST9026, MALTA
[hidden email] - www.ricston.com
tel: +356 21334457 - fax +356 21334156

On 09/08/2010 10:11, Hsien Soon Fua wrote:
thank stephen, i try ur method d and i get some error msg at the web browser for 

http://localhost:8080/name/getName/name/Stephen 

- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <soap:Fault>
  <faultcode>soap:Server</faultcode> 
  <faultstring>Parameter should be ordered in the following sequence: [arg0]</faultstring> 
  </soap:Fault>
  </soap:Body>
  </soap:Envelope>

Eclipse Console error msg :

Aug 9, 2010 3:04:39 PM org.apache.cxf.interceptor.AttachmentInInterceptor handleMessage
INFO: AttachmentInInterceptor skipped in HTTP GET method
Aug 9, 2010 3:04:39 PM org.apache.cxf.interceptor.StaxInInterceptor handleMessage
INFO: StaxInInterceptor skipped.
Aug 9, 2010 3:04:39 PM org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor handleMessage
INFO: ReadHeadersInterceptor skipped in HTTP GET method
Aug 9, 2010 3:04:39 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Parameter should be ordered in the following sequence: [arg0]
	at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:147)
	at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:143)
	at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:80)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
	at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284)
	at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112)
	at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
	at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
	at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
	at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
	at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
	at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
	at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
	at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
	at org.mule.model.seda.SedaService.doSend(SedaService.java:257)
	at org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
	at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
	at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
	at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
	at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:364)
	at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
	at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:193)
	at org.mule.transport.http.HttpMessageReceiver$HttpWorker.doRequest(HttpMessageReceiver.java:273)
	at org.mule.transport.http.HttpMessageReceiver$HttpWorker.processRequest(HttpMessageReceiver.java:227)
	at org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:190)
	at org.mule.work.WorkerContext.run(WorkerContext.java:310)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
	at java.lang.Thread.run(Unknown Source)
------------------------------------------------------------------------------------------------------------------------------------------------------------

and http://localhost:8080/name/getName/getName/name/Stephen

web browser error msg :

- <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
- <soap:Body>
- <soap:Fault>
  <faultcode>soap:Server</faultcode> 
  <faultstring>Index: 4, Size: 4</faultstring> 
  </soap:Fault>
  </soap:Body>
  </soap:Envelope>

Eclipse Console error msg :

Aug 9, 2010 3:05:02 PM org.apache.cxf.interceptor.AttachmentInInterceptor handleMessage
INFO: AttachmentInInterceptor skipped in HTTP GET method
Aug 9, 2010 3:05:02 PM org.apache.cxf.interceptor.StaxInInterceptor handleMessage
INFO: StaxInInterceptor skipped.
Aug 9, 2010 3:05:02 PM org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor handleMessage
INFO: ReadHeadersInterceptor skipped in HTTP GET method
Aug 9, 2010 3:05:02 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
INFO: Interceptor has thrown exception, unwinding now
java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
	at java.util.ArrayList.RangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at org.apache.cxf.interceptor.URIMappingInterceptor.getQueries(URIMappingInterceptor.java:230)
	at org.apache.cxf.interceptor.URIMappingInterceptor.getParameters(URIMappingInterceptor.java:131)
	at org.apache.cxf.interceptor.URIMappingInterceptor.handleMessage(URIMappingInterceptor.java:80)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:220)
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
	at org.mule.transport.cxf.CxfServiceComponent.sendToDestination(CxfServiceComponent.java:284)
	at org.mule.transport.cxf.CxfServiceComponent.onCall(CxfServiceComponent.java:112)
	at org.mule.model.resolvers.CallableEntryPointResolver.invoke(CallableEntryPointResolver.java:52)
	at org.mule.model.resolvers.DefaultEntryPointResolverSet.invoke(DefaultEntryPointResolverSet.java:50)
	at org.mule.component.DefaultLifecycleAdapter.invoke(DefaultLifecycleAdapter.java:205)
	at org.mule.component.AbstractJavaComponent.invokeComponentInstance(AbstractJavaComponent.java:83)
	at org.mule.component.AbstractJavaComponent.doInvoke(AbstractJavaComponent.java:74)
	at org.mule.component.AbstractComponent.invokeInternal(AbstractComponent.java:133)
	at org.mule.component.AbstractComponent.invoke(AbstractComponent.java:161)
	at org.mule.service.AbstractService.invokeComponent(AbstractService.java:929)
	at org.mule.model.seda.SedaService.doSend(SedaService.java:257)
	at org.mule.service.AbstractService.sendEvent(AbstractService.java:500)
	at org.mule.DefaultMuleSession.sendEvent(DefaultMuleSession.java:354)
	at org.mule.routing.inbound.DefaultInboundRouterCollection.send(DefaultInboundRouterCollection.java:228)
	at org.mule.routing.inbound.DefaultInboundRouterCollection.route(DefaultInboundRouterCollection.java:188)
	at org.mule.transport.AbstractMessageReceiver$DefaultInternalMessageListener.onMessage(AbstractMessageReceiver.java:364)
	at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:252)
	at org.mule.transport.AbstractMessageReceiver.routeMessage(AbstractMessageReceiver.java:193)
	at org.mule.transport.http.HttpMessageReceiver$HttpWorker.doRequest(HttpMessageReceiver.java:273)
	at org.mule.transport.http.HttpMessageReceiver$HttpWorker.processRequest(HttpMessageReceiver.java:227)
	at org.mule.transport.http.HttpMessageReceiver$HttpWorker.run(HttpMessageReceiver.java:190)
	at org.mule.work.WorkerContext.run(WorkerContext.java:310)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
	at java.lang.Thread.run(Unknown Source) 
----------------------------------------------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


  
Reply | Threaded
Open this post in threaded view
|

Re: Initialisation Failure: Could not load Webservice SEI

Adrian Brenes-2
yes ... it work... thx alot stephen ^^

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email