Re: the matching wildcard is strict, but no declaration can be found for element jaxws.endpoint

2007-12-05 Thread Daniel Kulp

Does it work outside of eclipse?   Someone did mention previously that 
they had problems with eclipse getting completely confused and wiping 
out all the STP and cxf plugins from eclipse and re-installing them 
(with the latest versions) did the trick. I'm not sure if that's 
your issue though.

Dan


On Wednesday 05 December 2007, El_Kalifa_Meo wrote:
 I have downloaded the lastest version of CFX 2.0.3 and I am having the
 same problem with spring
 cvc-complex-type.2.4.c: The matching wildcard is strict, but no
 declaration can be found for element 'jaxws:endpoint'.
 I am currently developing in Eclipse Europa, has anyone found a
 solution I have tried everything... and nothing seems to work.
 here is the XML

 beans  xmlns=http://www.springframework.org/schema/beans;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xmlns:jaxws=http://cxf.apache.org/jaxws;
   xsi:schemaLocation=
 http://www.springframework.org/schema/beans
 http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd;

   import resource=classpath:META-INF/cxf/cxf.xml /
   import resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
   import resource=classpath:META-INF/cxf/cxf-servlet.xml /

   bean id=hello class=com.cda.project.webServices.userServicesImpl
 /

   jaxws:endpoint id=userServiceImplementor implementor=#hello
 address=/userService /

 /beans

 Troy Bull-3 wrote:
  Greetings
 
  I have a couple web services that I wrote.  I followed the tutorial
  from the apache site for creating a spring based ws using cfx.  This
  morning  I checked my web services out of subversion and I can no
  longer build them (in eclipse).  In my applicationBeans.xml I get
  the message :
 
  the matching wildcard is strict, but no declaration can be found for
  element jaxws.endpoint
 
  I sure dont know what I did to break these but I am in a real bind,
  if anyone could tell me what to do to fix this I would really
  appreciate it.
 
  For reference here is my beans.xml file that eclipse complains
  about:
 
  beans xmlns=http://www.springframework.org/schema/beans;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:jaxws=http://cxf.apache.org/jaxws;
  xsi:schemaLocation=
  http://www.springframework.org/schema/beans
  http://www.springframework.org/schema/beans/spring-beans.xsd
  http://cxf.apache.org/jaxws
  http://cxf.apache.org/schemas/jaxws.xsd;
 
  import resource=classpath:META-INF/cxf/cxf.xml /
  import resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
  import resource=classpath:META-INF/cxf/cxf-servlet.xml /
 
  jaxws:endpoint
id=helloWorld
implementor=#helloWorldBean
address=/HelloWorld
  /jaxws:endpoint
 
 
  /beans
 
  Please help, Thanks in advance.
 
  Troy



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727C: 508-380-7194
[EMAIL PROTECTED]
http://www.dankulp.com/blog


RE: the matching wildcard is strict, but no declaration can be found for element jaxws.endpoint

2007-12-05 Thread Benson Margulies
To make validation work in Eclipse, you have to manually interact with
their catalog management preference window, which is a giant PITA, to
point it as copies of the xsd files sitting in the file system where
they can find it. 

 -Original Message-
 From: Daniel Kulp [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, December 05, 2007 1:54 PM
 To: cxf-user@incubator.apache.org
 Cc: El_Kalifa_Meo
 Subject: Re: the matching wildcard is strict, but no 
 declaration can be found for element jaxws.endpoint
 
 
 Does it work outside of eclipse?   Someone did mention 
 previously that 
 they had problems with eclipse getting completely confused 
 and wiping out all the STP and cxf plugins from eclipse and 
 re-installing them 
 (with the latest versions) did the trick. I'm not sure if that's 
 your issue though.
 
 Dan
 
 
 On Wednesday 05 December 2007, El_Kalifa_Meo wrote:
  I have downloaded the lastest version of CFX 2.0.3 and I am 
 having the 
  same problem with spring
  cvc-complex-type.2.4.c: The matching wildcard is strict, but no 
  declaration can be found for element 'jaxws:endpoint'.
  I am currently developing in Eclipse Europa, has anyone found a 
  solution I have tried everything... and nothing seems to work.
  here is the XML
 
  beans  xmlns=http://www.springframework.org/schema/beans;
  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xmlns:jaxws=http://cxf.apache.org/jaxws;
  xsi:schemaLocation=
  http://www.springframework.org/schema/beans
  http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
  http://cxf.apache.org/jaxws 
 http://cxf.apache.org/schemas/jaxws.xsd;
 
  import resource=classpath:META-INF/cxf/cxf.xml /
  import 
 resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
  import resource=classpath:META-INF/cxf/cxf-servlet.xml /
 
  bean id=hello 
 class=com.cda.project.webServices.userServicesImpl
  /
 
  jaxws:endpoint id=userServiceImplementor implementor=#hello
  address=/userService /
 
  /beans
 
  Troy Bull-3 wrote:
   Greetings
  
   I have a couple web services that I wrote.  I followed 
 the tutorial 
   from the apache site for creating a spring based ws using 
 cfx.  This 
   morning  I checked my web services out of subversion and I can no 
   longer build them (in eclipse).  In my applicationBeans.xml I get 
   the message :
  
   the matching wildcard is strict, but no declaration can 
 be found for 
   element jaxws.endpoint
  
   I sure dont know what I did to break these but I am in a 
 real bind, 
   if anyone could tell me what to do to fix this I would really 
   appreciate it.
  
   For reference here is my beans.xml file that eclipse complains
   about:
  
   beans xmlns=http://www.springframework.org/schema/beans;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xmlns:jaxws=http://cxf.apache.org/jaxws;
 xsi:schemaLocation=
 http://www.springframework.org/schema/beans
 
 http://www.springframework.org/schema/beans/spring-beans.xsd
 http://cxf.apache.org/jaxws
   http://cxf.apache.org/schemas/jaxws.xsd;
  
 import resource=classpath:META-INF/cxf/cxf.xml /
 import 
 resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
 import resource=classpath:META-INF/cxf/cxf-servlet.xml /
  
 jaxws:endpoint
   id=helloWorld
   implementor=#helloWorldBean
   address=/HelloWorld
 /jaxws:endpoint
  
  
 /beans
  
   Please help, Thanks in advance.
  
   Troy
 
 
 
 --
 J. Daniel Kulp
 Principal Engineer
 IONA
 P: 781-902-8727C: 508-380-7194
 [EMAIL PROTECTED]
 http://www.dankulp.com/blog
 


Re: the matching wildcard is strict, but no declaration can be found for element jaxws.endpoint

2007-12-05 Thread El_Kalifa_Meo

I have downloaded the lastest version of CFX 2.0.3 and I am having the same
problem with spring
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration
can be found for element 'jaxws:endpoint'.
I am currently developing in Eclipse Europa, has anyone found a solution I
have tried everything... and nothing seems to work.
here is the XML

beans  xmlns=http://www.springframework.org/schema/beans;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xmlns:jaxws=http://cxf.apache.org/jaxws;
xsi:schemaLocation=
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd;

import resource=classpath:META-INF/cxf/cxf.xml /
import resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
import resource=classpath:META-INF/cxf/cxf-servlet.xml /

bean id=hello class=com.cda.project.webServices.userServicesImpl /

jaxws:endpoint id=userServiceImplementor implementor=#hello
address=/userService /

/beans


Troy Bull-3 wrote:
 
 Greetings
 
 I have a couple web services that I wrote.  I followed the tutorial
 from the apache site for creating a spring based ws using cfx.  This
 morning  I checked my web services out of subversion and I can no
 longer build them (in eclipse).  In my applicationBeans.xml I get the
 message :
 
 the matching wildcard is strict, but no declaration can be found for
 element jaxws.endpoint
 
 I sure dont know what I did to break these but I am in a real bind, if
 anyone could tell me what to do to fix this I would really appreciate
 it.
 
 For reference here is my beans.xml file that eclipse complains about:
 
 beans xmlns=http://www.springframework.org/schema/beans;
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xmlns:jaxws=http://cxf.apache.org/jaxws;
   xsi:schemaLocation=
   http://www.springframework.org/schema/beans
   http://www.springframework.org/schema/beans/spring-beans.xsd
   http://cxf.apache.org/jaxws 
 http://cxf.apache.org/schemas/jaxws.xsd;
 
   import resource=classpath:META-INF/cxf/cxf.xml /
   import resource=classpath:META-INF/cxf/cxf-extension-soap.xml /
   import resource=classpath:META-INF/cxf/cxf-servlet.xml /
 
   jaxws:endpoint
 id=helloWorld
 implementor=#helloWorldBean
 address=/HelloWorld
   /jaxws:endpoint
   
   
   /beans
 
 Please help, Thanks in advance.
 
 Troy
 
 

-- 
View this message in context: 
http://www.nabble.com/the-matching-wildcard-is-strict%2C-but-no-declaration-can-be-found-for-element-jaxws.endpoint-tf4732713.html#a14177706
Sent from the cxf-user mailing list archive at Nabble.com.



Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-05 Thread tog
Hi Dan,

This is ok, I looked at your code, I was doing similar things in my
GroovyWS client. Keep me informed when the snapshot will be published
?
Btw, the current snapshot give me this exception ... Am I doing
something wrong when creating my client ?

Cheers
Guillaume


java.lang.reflect.InvocationTargetException
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.apache.cxf.common.injection.ResourceInjector.invokePostConstruct(ResourceInjector.java:305)
at 
org.apache.cxf.common.injection.ResourceInjector.construct(ResourceInjector.java:86)
at 
org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:160)
at 
org.apache.cxf.bus.extension.ExtensionManagerImpl.activateViaNS(ExtensionManagerImpl.java:84)
at org.apache.cxf.bus.extension.DeferredMap.get(DeferredMap.java:47)
at 
org.apache.cxf.transport.ConduitInitiatorManagerImpl.getConduitInitiator(ConduitInitiatorManagerImpl.java:100)
at 
org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:70)
at 
org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit(UpfrontConduitSelector.java:71)
at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java:420)
at groovyx.net.ws.WSClient.init(WSClient.java:156)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at 
org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:465)
at 
groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2086)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1022)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:952)
at 
org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:126)
at 
org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:103)
at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:233)
at nfl.run(nfl.groovy:3)
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.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
at 
org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:98)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:79)
at 
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
at 
org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:374)
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.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
at 
org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:873)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:69)
at 
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:158)
at nfl.main(nfl.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 

Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-05 Thread Willem Jiang

Hi Guillaume

The exception is caused by my patch for removing 


@Resource(name = activationNamespaces)

to support Spring 2.5.
I did a quick fixing for it few days ago , so the exception will go way 
when you get the latest snapshot.


BTW, 
This exception only happened when your are useing CXFBusFactory instead 
of SpringBusFactory.


Willem.

tog wrote:

Hi Dan,

This is ok, I looked at your code, I was doing similar things in my
GroovyWS client. Keep me informed when the snapshot will be published
?
Btw, the current snapshot give me this exception ... Am I doing
something wrong when creating my client ?

Cheers
Guillaume


java.lang.reflect.InvocationTargetException
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.apache.cxf.common.injection.ResourceInjector.invokePostConstruct(ResourceInjector.java:305)
at 
org.apache.cxf.common.injection.ResourceInjector.construct(ResourceInjector.java:86)
at 
org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:160)
at 
org.apache.cxf.bus.extension.ExtensionManagerImpl.activateViaNS(ExtensionManagerImpl.java:84)
at org.apache.cxf.bus.extension.DeferredMap.get(DeferredMap.java:47)
at 
org.apache.cxf.transport.ConduitInitiatorManagerImpl.getConduitInitiator(ConduitInitiatorManagerImpl.java:100)
at 
org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:70)
at 
org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit(UpfrontConduitSelector.java:71)
at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java:420)
at groovyx.net.ws.WSClient.init(WSClient.java:156)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at 
org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:465)
at 
groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2086)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1022)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:952)
at 
org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:126)
at 
org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:103)
at 
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:233)
at nfl.run(nfl.groovy:3)
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.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
at 
org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:98)
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:79)
at 
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
at 
org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:374)
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.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
at 
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
at 
org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
at 
org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:873)
at 

Cxf Issue

2007-12-05 Thread priya j

Hi all,

Im priya, i have used cxf to make my application(spring framework) a Web
Service. The application works perfect when my Web Service implementing
class inturn calls another class, but the issue arise when iam trying to
call an interface.

Can anyone help me in solving this, its very urgent.
Thanks inadvance.

Regards,
priya
-- 
View this message in context: 
http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545
Sent from the cxf-user mailing list archive at Nabble.com.



RE: Cxf Issue

2007-12-05 Thread Liu, Jervis
Hi can you be more specific about the problem please? Some code snippets of 
your service implementation and configuration that can help us to reproduce the 
problem or a complete test case would be helpful.

Cheers,
Jervis

 -Original Message-
 From: priya j [mailto:[EMAIL PROTECTED]
 Sent: 2007年12月6日 11:16
 To: cxf-user@incubator.apache.org
 Subject: Cxf Issue
 
 
 Hi all,
 
 Im priya, i have used cxf to make my application(spring framework) a Web
 Service. The application works perfect when my Web Service implementing
 class inturn calls another class, but the issue arise when iam trying to
 call an interface.
 
 Can anyone help me in solving this, its very urgent.
 Thanks inadvance.
 
 Regards,
 priya
 --
 View this message in context:
 http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545
 Sent from the cxf-user mailing list archive at Nabble.com.


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: org.apache.cxf.interceptor.Fault: Marshalling Error with NFL/GroovyWS

2007-12-05 Thread tog
Ok willem, I will get the latest snapshot.
Thanks for the info
Guillaume

On Dec 6, 2007 9:48 AM, Willem Jiang [EMAIL PROTECTED] wrote:
 Hi Guillaume

 The exception is caused by my patch for removing

 @Resource(name = activationNamespaces)

 to support Spring 2.5.
 I did a quick fixing for it few days ago , so the exception will go way
 when you get the latest snapshot.

 BTW,
 This exception only happened when your are useing CXFBusFactory instead
 of SpringBusFactory.

 Willem.


 tog wrote:
  Hi Dan,
 
  This is ok, I looked at your code, I was doing similar things in my
  GroovyWS client. Keep me informed when the snapshot will be published
  ?
  Btw, the current snapshot give me this exception ... Am I doing
  something wrong when creating my client ?
 
  Cheers
  Guillaume
 
 
  java.lang.reflect.InvocationTargetException
  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.apache.cxf.common.injection.ResourceInjector.invokePostConstruct(ResourceInjector.java:305)
  at 
  org.apache.cxf.common.injection.ResourceInjector.construct(ResourceInjector.java:86)
  at 
  org.apache.cxf.bus.extension.ExtensionManagerImpl.loadAndRegister(ExtensionManagerImpl.java:160)
  at 
  org.apache.cxf.bus.extension.ExtensionManagerImpl.activateViaNS(ExtensionManagerImpl.java:84)
  at org.apache.cxf.bus.extension.DeferredMap.get(DeferredMap.java:47)
  at 
  org.apache.cxf.transport.ConduitInitiatorManagerImpl.getConduitInitiator(ConduitInitiatorManagerImpl.java:100)
  at 
  org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:70)
  at 
  org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit(UpfrontConduitSelector.java:71)
  at 
  org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java:420)
  at groovyx.net.ws.WSClient.init(WSClient.java:156)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
  Method)
  at 
  sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  at 
  sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  at 
  org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:465)
  at 
  groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2086)
  at 
  groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1022)
  at 
  groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:952)
  at 
  org.codehaus.groovy.runtime.Invoker.invokeConstructorOf(Invoker.java:126)
  at 
  org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:103)
  at 
  org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:233)
  at nfl.run(nfl.groovy:3)
  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.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
  at 
  org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:127)
  at 
  org.codehaus.groovy.runtime.metaclass.StdMetaMethod.invoke(StdMetaMethod.java:18)
  at 
  org.codehaus.groovy.runtime.MetaClassHelper.doMethodInvoke(MetaClassHelper.java:538)
  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:749)
  at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:589)
  at 
  org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:98)
  at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:79)
  at 
  org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:74)
  at 
  org.codehaus.groovy.runtime.InvokerHelper.runScript(InvokerHelper.java:374)
  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.codehaus.groovy.reflection.CachedMethod.invokeByReflection(CachedMethod.java:107)
  at 
  

RE: Cxf Issue

2007-12-05 Thread priya j

Thanks for your reply,

this is my implementor class:


@WebService(endpointInterface = demo.webService.server.IWebService)
public class WebService implements IWebService {

//The service that perform the query 
private FrontEndService service;

public String webService (String queryString) throws
FrontEndServiceException {

ResultData resultData=service.doSearch(queryString,
SearchMode.MULTI, NameConstants.LWI_KEY);

return The result +resultData;
}

public FrontEndService getService() {
return service;
}

public void setService(FrontEndService service) {
this.service = service;
}

}

Here the FrontEndService is another class, if it is an interface the
execution fails in client side.
Can you suggest me how to proceed.

Liu, Jervis wrote:
 
 Hi can you be more specific about the problem please? Some code snippets
 of your service implementation and configuration that can help us to
 reproduce the problem or a complete test case would be helpful.
 
 Cheers,
 Jervis
 
 -Original Message-
 From: priya j [mailto:[EMAIL PROTECTED]
 Sent: 2007年12月6日 11:16
 To: cxf-user@incubator.apache.org
 Subject: Cxf Issue
 
 
 Hi all,
 
 Im priya, i have used cxf to make my application(spring framework) a Web
 Service. The application works perfect when my Web Service implementing
 class inturn calls another class, but the issue arise when iam trying to
 call an interface.
 
 Can anyone help me in solving this, its very urgent.
 Thanks inadvance.
 
 Regards,
 priya
 --
 View this message in context:
 http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545
 Sent from the cxf-user mailing list archive at Nabble.com.
 
 
 IONA Technologies PLC (registered in Ireland)
 Registered Number: 171387
 Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
 
 

-- 
View this message in context: 
http://www.nabble.com/Cxf-Issue-tf4953753.html#a14186492
Sent from the cxf-user mailing list archive at Nabble.com.



RE: Cxf Issue

2007-12-05 Thread Liu, Jervis


 -Original Message-
 From: priya j [mailto:[EMAIL PROTECTED]
 Sent: 2007年12月6日 13:15
 To: cxf-user@incubator.apache.org
 Subject: RE: Cxf Issue
 
 
 Thanks for your reply,
 
 this is my implementor class:
 
 
 @WebService(endpointInterface = demo.webService.server.IWebService)
 public class WebService implements IWebService {
 
   //The service that perform the query
   private FrontEndService service;
 
 public String webService (String queryString) throws
 FrontEndServiceException {
 
   ResultData resultData=service.doSearch(queryString,
 SearchMode.MULTI, NameConstants.LWI_KEY);
 
   return The result +resultData;
   }
 
   public FrontEndService getService() {
   return service;
   }
 
   public void setService(FrontEndService service) {
   this.service = service;
   }
 
 }
 
 Here the FrontEndService is another class, if it is an interface the
 execution fails in client side.
 Can you suggest me how to proceed.
 
[Liu, Jervis] If I understand your problem correctly, your service fails to 
return a valid result (does the String webService (String queryString) method 
throw an exception?) when FrontEndService is implemented in a certain way. Not 
sure what you mean by if FrontEndService is an interface. Anyway, this seems 
to be a problem in your application code rather than a problem in CXF. A simply 
way to find out is to write a standalone Java mainline to get WebService 
instance from spring context then invoke String webService (String 
queryString) from your java mainline to see how it goes. Most likely it is a 
problem in your application code or sth wrong with your spring configuration.

Cheers,
Jervis

 execution fails in client side.
 Liu, Jervis wrote:
 
  Hi can you be more specific about the problem please? Some code snippets
  of your service implementation and configuration that can help us to
  reproduce the problem or a complete test case would be helpful.
 
  Cheers,
  Jervis
 
  -Original Message-
  From: priya j [mailto:[EMAIL PROTECTED]
  Sent: 2007年12月6日 11:16
  To: cxf-user@incubator.apache.org
  Subject: Cxf Issue
 
 
  Hi all,
 
  Im priya, i have used cxf to make my application(spring framework) a Web
  Service. The application works perfect when my Web Service
 implementing
  class inturn calls another class, but the issue arise when iam trying to
  call an interface.
 
  Can anyone help me in solving this, its very urgent.
  Thanks inadvance.
 
  Regards,
  priya
  --
  View this message in context:
  http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545
  Sent from the cxf-user mailing list archive at Nabble.com.
 
  
  IONA Technologies PLC (registered in Ireland)
  Registered Number: 171387
  Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
 
 
 
 --
 View this message in context:
 http://www.nabble.com/Cxf-Issue-tf4953753.html#a14186492
 Sent from the cxf-user mailing list archive at Nabble.com.


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland


Re: Cxf Issue

2007-12-05 Thread Jim Ma
JAXB can not handle interfaces . See : 
http://weblogs.java.net/blog/kohsuke/archive/2006/06/jaxb_and_interf.html.


Jim

priya j wrote:

The FrontEndService is the implementor class of IFrontEndService. The problem
here is if i call my interface it fails.

Hope i have explained wht my problem is

Liu, Jervis wrote:
  




-Original Message-
From: priya j [mailto:[EMAIL PROTECTED]
Sent: 2007年12月6日 13:15
To: cxf-user@incubator.apache.org
Subject: RE: Cxf Issue


Thanks for your reply,

this is my implementor class:


@WebService(endpointInterface = demo.webService.server.IWebService)
public class WebService implements IWebService {

//The service that perform the query
private FrontEndService service;

public String webService (String queryString) throws
FrontEndServiceException {

ResultData resultData=service.doSearch(queryString,
SearchMode.MULTI, NameConstants.LWI_KEY);

return The result +resultData;
}

public FrontEndService getService() {
return service;
}

public void setService(FrontEndService service) {
this.service = service;
}

}

Here the FrontEndService is another class, if it is an interface the
execution fails in client side.
Can you suggest me how to proceed.

  

[Liu, Jervis] If I understand your problem correctly, your service fails
to return a valid result (does the String webService (String
queryString) method throw an exception?) when FrontEndService is
implemented in a certain way. Not sure what you mean by if
FrontEndService is an interface. Anyway, this seems to be a problem in
your application code rather than a problem in CXF. A simply way to find
out is to write a standalone Java mainline to get WebService instance from
spring context then invoke String webService (String queryString) from
your java mainline to see how it goes. Most likely it is a problem in your
application code or sth wrong with your spring configuration.

Cheers,
Jervis



execution fails in client side.
Liu, Jervis wrote:
  

Hi can you be more specific about the problem please? Some code


snippets
  

of your service implementation and configuration that can help us to
reproduce the problem or a complete test case would be helpful.

Cheers,
Jervis



-Original Message-
From: priya j [mailto:[EMAIL PROTECTED]
Sent: 2007年12月6日 11:16
To: cxf-user@incubator.apache.org
Subject: Cxf Issue


Hi all,

Im priya, i have used cxf to make my application(spring framework) a
  

Web
  

Service. The application works perfect when my Web Service
  

implementing
  

class inturn calls another class, but the issue arise when iam trying
  

to
  

call an interface.

Can anyone help me in solving this, its very urgent.
Thanks inadvance.

Regards,
priya
--
View this message in context:
http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545
Sent from the cxf-user mailing list archive at Nabble.com.
  


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4,


Ireland
  


--
View this message in context:
http://www.nabble.com/Cxf-Issue-tf4953753.html#a14186492
Sent from the cxf-user mailing list archive at Nabble.com.
  


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland





  


Re: Cxf Issue

2007-12-05 Thread priya j

Oh k.
is there any other way i can make it work.

Thanks a lot for ur response


Jim Ma-3 wrote:
 
 JAXB can not handle interfaces . See : 
 http://weblogs.java.net/blog/kohsuke/archive/2006/06/jaxb_and_interf.html.
 
 Jim
 
 priya j wrote:
 The FrontEndService is the implementor class of IFrontEndService. The
 problem
 here is if i call my interface it fails.

 Hope i have explained wht my problem is

 Liu, Jervis wrote:
   

 
 -Original Message-
 From: priya j [mailto:[EMAIL PROTECTED]
 Sent: 2007年12月6日 13:15
 To: cxf-user@incubator.apache.org
 Subject: RE: Cxf Issue


 Thanks for your reply,

 this is my implementor class:


 @WebService(endpointInterface = demo.webService.server.IWebService)
 public class WebService implements IWebService {

//The service that perform the query
private FrontEndService service;

 public String webService (String queryString) throws
 FrontEndServiceException {

ResultData resultData=service.doSearch(queryString,
 SearchMode.MULTI, NameConstants.LWI_KEY);

return The result +resultData;
}

public FrontEndService getService() {
return service;
}

public void setService(FrontEndService service) {
this.service = service;
}

 }

 Here the FrontEndService is another class, if it is an interface the
 execution fails in client side.
 Can you suggest me how to proceed.

   
 [Liu, Jervis] If I understand your problem correctly, your service fails
 to return a valid result (does the String webService (String
 queryString) method throw an exception?) when FrontEndService is
 implemented in a certain way. Not sure what you mean by if
 FrontEndService is an interface. Anyway, this seems to be a problem in
 your application code rather than a problem in CXF. A simply way to find
 out is to write a standalone Java mainline to get WebService instance
 from
 spring context then invoke String webService (String queryString) from
 your java mainline to see how it goes. Most likely it is a problem in
 your
 application code or sth wrong with your spring configuration.

 Cheers,
 Jervis

 
 execution fails in client side.
 Liu, Jervis wrote:
   
 Hi can you be more specific about the problem please? Some code
 
 snippets
   
 of your service implementation and configuration that can help us to
 reproduce the problem or a complete test case would be helpful.

 Cheers,
 Jervis

 
 -Original Message-
 From: priya j [mailto:[EMAIL PROTECTED]
 Sent: 2007年12月6日 11:16
 To: cxf-user@incubator.apache.org
 Subject: Cxf Issue


 Hi all,

 Im priya, i have used cxf to make my application(spring framework) a
   
 Web
   
 Service. The application works perfect when my Web Service
   
 implementing
   
 class inturn calls another class, but the issue arise when iam trying
   
 to
   
 call an interface.

 Can anyone help me in solving this, its very urgent.
 Thanks inadvance.

 Regards,
 priya
 --
 View this message in context:
 http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545
 Sent from the cxf-user mailing list archive at Nabble.com.
   
 
 IONA Technologies PLC (registered in Ireland)
 Registered Number: 171387
 Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
 
 Ireland
   
 
 --
 View this message in context:
 http://www.nabble.com/Cxf-Issue-tf4953753.html#a14186492
 Sent from the cxf-user mailing list archive at Nabble.com.
   
 
 IONA Technologies PLC (registered in Ireland)
 Registered Number: 171387
 Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
 Ireland


 

   
 
 

-- 
View this message in context: 
http://www.nabble.com/Cxf-Issue-tf4953753.html#a14187328
Sent from the cxf-user mailing list archive at Nabble.com.



Re: Cxf Issue

2007-12-05 Thread Jim Ma

Can you change the IFrontEndService to abstract class?
You also  need to put the FrontEndService class in the same package as 
the IFrontEndService,
After @XmlSeeAlso is fully supported in CXF, you can put them in 
different package.


Jim

priya j wrote:

Oh k.
is there any other way i can make it work.

Thanks a lot for ur response


Jim Ma-3 wrote:
  
JAXB can not handle interfaces . See : 
http://weblogs.java.net/blog/kohsuke/archive/2006/06/jaxb_and_interf.html.


Jim

priya j wrote:


The FrontEndService is the implementor class of IFrontEndService. The
problem
here is if i call my interface it fails.

Hope i have explained wht my problem is

Liu, Jervis wrote:
  
  



-Original Message-
From: priya j [mailto:[EMAIL PROTECTED]
Sent: 2007年12月6日 13:15
To: cxf-user@incubator.apache.org
Subject: RE: Cxf Issue


Thanks for your reply,

this is my implementor class:


@WebService(endpointInterface = demo.webService.server.IWebService)
public class WebService implements IWebService {

//The service that perform the query
private FrontEndService service;

public String webService (String queryString) throws
FrontEndServiceException {

ResultData resultData=service.doSearch(queryString,
SearchMode.MULTI, NameConstants.LWI_KEY);

return The result +resultData;
}

public FrontEndService getService() {
return service;
}

public void setService(FrontEndService service) {
this.service = service;
}

}

Here the FrontEndService is another class, if it is an interface the
execution fails in client side.
Can you suggest me how to proceed.

  
  

[Liu, Jervis] If I understand your problem correctly, your service fails
to return a valid result (does the String webService (String
queryString) method throw an exception?) when FrontEndService is
implemented in a certain way. Not sure what you mean by if
FrontEndService is an interface. Anyway, this seems to be a problem in
your application code rather than a problem in CXF. A simply way to find
out is to write a standalone Java mainline to get WebService instance
from
spring context then invoke String webService (String queryString) from
your java mainline to see how it goes. Most likely it is a problem in
your
application code or sth wrong with your spring configuration.

Cheers,
Jervis




execution fails in client side.
Liu, Jervis wrote:
  
  

Hi can you be more specific about the problem please? Some code



snippets
  
  

of your service implementation and configuration that can help us to
reproduce the problem or a complete test case would be helpful.

Cheers,
Jervis




-Original Message-
From: priya j [mailto:[EMAIL PROTECTED]
Sent: 2007年12月6日 11:16
To: cxf-user@incubator.apache.org
Subject: Cxf Issue


Hi all,

Im priya, i have used cxf to make my application(spring framework) a
  
  

Web
  
  

Service. The application works perfect when my Web Service
  
  

implementing
  
  

class inturn calls another class, but the issue arise when iam trying
  
  

to
  
  

call an interface.

Can anyone help me in solving this, its very urgent.
Thanks inadvance.

Regards,
priya
--
View this message in context:
http://www.nabble.com/Cxf-Issue-tf4953753.html#a14185545
Sent from the cxf-user mailing list archive at Nabble.com.
  
  


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4,



Ireland
  
  



--
View this message in context:
http://www.nabble.com/Cxf-Issue-tf4953753.html#a14186492
Sent from the cxf-user mailing list archive at Nabble.com.
  
  


IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4,
Ireland