tools
| 17/08/2007 18.58 1.719 version.properties
|
I've only set the patch of jboss4.2.1 in the ant.properties file, then I've executed: ant deploy-jboss42 but this is the result:
|
| C:\jbossws-native-2.0.1.GA>ant deploy-jboss42
| Buildfile: build.xml
|
| prepare:
|
| undeploy-jboss42-endorsed:
|
| BUILD FAILED
| C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62: The following error occurr
| ed while executing this line:
| C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:385: Directory does no
| t exist:C:\jbossws-native-2.0.1.GA\jboss-4.2.1.GA\lib\endorsed
|
| Total time: 0 seconds
How can I deploy jbossws2.0.1 on jboss4.2.1?
Thanks everybody, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094111#4094111
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094111
From do-not-reply at jboss.com Thu Oct 11 10:45:03 2007
From: do-not-reply at jboss.com (richard_opalka)
Date: Thu, 11 Oct 2007 10:45:03 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: how to use wsprovide
Message-ID: <13346879.1192113903548.JavaMail.jboss@colo-br-02.atl.jboss.com>
Try to execute wsprovide script in the JBoss/bin directory.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094131#4094131
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094131
From do-not-reply at jboss.com Thu Oct 11 10:48:05 2007
From: do-not-reply at jboss.com (richard_opalka)
Date: Thu, 11 Oct 2007 10:48:05 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <20243863.1192114085905.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
the tool doesn't support BASIC authentication in present. Could you post a feature request in our JIRA?
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094132#4094132
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094132
From do-not-reply at jboss.com Thu Oct 11 12:06:15 2007
From: do-not-reply at jboss.com (AnisBM)
Date: Thu, 11 Oct 2007 12:06:15 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - How to call a web method in Seam 2.0 ?
Message-ID: <12075939.1192118775208.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi all,
I would like to know how to call from the code a web method defined in Seam 2.0 project. In the seam-bay example, this was done from the page (javascript code).
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094183#4094183
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094183
From do-not-reply at jboss.com Thu Oct 11 12:31:28 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 11 Oct 2007 12:31:28 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <33423102.1192120288255.JavaMail.jboss@colo-br-02.atl.jboss.com>
"Christy" wrote : Hi,
| I have implemented the web service and added to it BASIC authentication.
| After deploying the web service, I can access the WSDL through a browser after entering the user name and password. But I have run into a problem:
| How do I run wsconsume against this WSDL? Or may be there is another way to generate portable Jax-WS artifacts from such WSDL?
| Thank you!
In case you actually need to password protect your service only i.e. not your wsdl contract, see this: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#WebContext
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094192#4094192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094192
From do-not-reply at jboss.com Thu Oct 11 14:48:00 2007
From: do-not-reply at jboss.com (PeterJ)
Date: Thu, 11 Oct 2007 14:48:00 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: how to use wsprovide
Message-ID: <9621987.1192128480332.JavaMail.jboss@colo-br-02.atl.jboss.com>
The wsconsume script does not include the ejb api jar file. Modify the script, adding this line to the set of lines that create the classpath:
set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-ejb3x.jar
You could instead set WSCONSUME_CLASSPATH manually before running wsconsume, but usually editing the script is easier, especially if you will be running it often.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094233#4094233
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094233
From do-not-reply at jboss.com Fri Oct 12 01:39:30 2007
From: do-not-reply at jboss.com (nickarls)
Date: Fri, 12 Oct 2007 01:39:30 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Encoding problem
Message-ID: <14856550.1192167570169.JavaMail.jboss@colo-br-02.atl.jboss.com>
The file encoding didn't work out that well since everything else broke ;-)
Well, now the wsdl file is correctly UTF-8 encoded but the problem seems to be a JBossWS_remote._24540.xsd (schema validation?). The file has the original iso-8859-1 chars and no encoding info -> tilt.
Is there any way of hinting the encoding for the .xsd? Sure, I could strip the entities from all non-utf chars but since they are quite central that would lead to refactoring everywhere so if there is I a workaround, I'm more than happy to listen.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094354#4094354
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094354
From do-not-reply at jboss.com Fri Oct 12 02:26:12 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Fri, 12 Oct 2007 02:26:12 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Problems with installation of
jbossws2.0.1 on jboss4.2.1, he
Message-ID: <32091048.1192170372834.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi, In the last 2 day I tried to install jbossws2.0.1 on jboss4.2.1 but I have some problems. In the installation guide it said I must copy the ant.properties.examples into ant.properties, but there isn't the first file. I have only set the path of jboss4.2.1 in ant.properties and then I've executed ant deploy-jboss42 but I have this error message:
anonymous wrote :
| C:\jbossws-native-2.0.1.GA>ant deploy-jboss42
| Buildfile: build.xml
|
| prepare:
|
| undeploy-jboss42-endorsed:
|
| BUILD FAILED
| C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62: The following error occurr
| ed while executing this line:
| C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:385: Directory does no
| t exist:C:\jbossws-native-2.0.1.GA\jboss-4.2.1.GA\lib\endorsed
|
| Total time: 0 seconds
|
Why does it find "jboss-4.2.1.GA\lib\endorsed" in "C:\jbossws-native-2.0.1.GA\" directory?
The line 52 of C:\jbossws-native-2.0.1.GA\build\build-deploy.xml:62 this is:
|
|
and the jboss42.home is defined in ant.propertis as follows:
jboss42.home=C:\jboss-4.2.1.GA
The line385 of C:\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml is the tag in the following xml code:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
How can I install jbossws?
Thanks everybody.
Bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094365#4094365
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094365
From do-not-reply at jboss.com Fri Oct 12 02:33:16 2007
From: do-not-reply at jboss.com (saho)
Date: Fri, 12 Oct 2007 02:33:16 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: wsprovide : NoClassDefFoundError:
com/sun/codemodel/JExp
Message-ID: <8991288.1192170796448.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have also the same Problem.
Did you find any solution ?
Thanks
for any help
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094372#4094372
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094372
From do-not-reply at jboss.com Fri Oct 12 02:40:10 2007
From: do-not-reply at jboss.com (Christy)
Date: Fri, 12 Oct 2007 02:40:10 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <26591342.1192171210225.JavaMail.jboss@colo-br-02.atl.jboss.com>
alessio.soldano at jboss.com wrote :
| In case you actually need to password protect your service only i.e. not your wsdl contract, see this: http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#WebContext
|
I changed my class, here it is:
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
@SecurityDomain("e2edmwsSecurity")
@WebContext(secureWSDLAccess = false)
public class e2edm_metadata_ws {
.....
}
But now my service doesn't protect with password too. When I invoke it doesn't ask password? it works like common web service. Why? Where is the mistake?
Thank you!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094375#4094375
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094375
From do-not-reply at jboss.com Fri Oct 12 03:04:45 2007
From: do-not-reply at jboss.com (Christy)
Date: Fri, 12 Oct 2007 03:04:45 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <30128834.1192172685094.JavaMail.jboss@colo-br-02.atl.jboss.com>
No, I'm sorry, It was just cash... I still have wsdl contract protected with password.
I added to my service only this:
@SecurityDomain("e2edmwsSecurity")
@WebContext(secureWSDLAccess = false)
Maybe it is not enough?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094381#4094381
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094381
From do-not-reply at jboss.com Fri Oct 12 03:15:23 2007
From: do-not-reply at jboss.com (richard_opalka)
Date: Fri, 12 Oct 2007 03:15:23 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: wsprovide : NoClassDefFoundError:
com/sun/codemodel/JExp
Message-ID: <26864141.1192173323322.JavaMail.jboss@colo-br-02.atl.jboss.com>
You're missing jaxb-xjc.jar file in classpath.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094384#4094384
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094384
From do-not-reply at jboss.com Fri Oct 12 08:09:48 2007
From: do-not-reply at jboss.com (ptenn10)
Date: Fri, 12 Oct 2007 08:09:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released
Message-ID: <21982160.1192190988648.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi all,
Thank you for posting the XML files and the fix to the build-deploy.xml.
We are running jbossws 1.4 on JBoss AS 4.0.4GA. We are not using EJB3.
Yesterday I attempted to upgrade to 2.0.1GA on my local development box.
I applied the 3 fixes that were described in this post:
[list=]Drop in jboss-service-no-ejb3.xml
[list=]Drop in jboss-beans-no-ejb3.xml
[list=]Modify line 53 in build-deploy.xml
And was able to successfully run the deploy-jboss40 task.
However, when I went to run, my server.log file has the following warning:
2007-10-12 07:34:25,492 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ws.integration.jboss.ServiceEndpointInterceptor interceptor
| java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.integration.jboss.ServiceEndpointInterceptor
for every Stateless Session Bean that is deployed.
Here is the full stacktrace for one of the Stateless Session Bean deployments:
2007-10-12 07:34:25,477 INFO [org.jboss.ejb.EjbModule] Deploying SBNotificationService
| 2007-10-12 07:34:25,492 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ws.integration.jboss.ServiceEndpointInterceptor interceptor
| java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.integration.jboss.ServiceEndpointInterceptor
| at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511)
| at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
| at org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:89)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
| at org.jboss.ejb.EjbModule.addInterceptors(EjbModule.java:923)
| at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:810)
| at org.jboss.ejb.EjbModule.createStatelessSessionContainer(EjbModule.java:614)
| at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:569)
| at org.jboss.ejb.EjbModule.createService(EjbModule.java:344)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
| 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.create(Unknown Source)
| at org.jboss.system.ServiceController.create(ServiceController.java:330)
| at org.jboss.system.ServiceController.create(ServiceController.java:273)
| at sun.reflect.GeneratedMethodAccessor4.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.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 $Proxy25.create(Unknown Source)
| at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:641)
| 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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
| at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
| at org.jboss.wsf.container.jboss40.DeployerInterceptor.create(DeployerInterceptor.java:76)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| 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 $Proxy26.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
| at sun.reflect.GeneratedMethodAccessor58.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 $Proxy8.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.GeneratedMethodAccessor2.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.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.GeneratedMethodAccessor9.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.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)
|
Has anyone else experienced this? Is jbossws-2.0.1 still using the class org.jboss.ws.integration.jboss.ServiceEndpointInterceptor? I found this interceptor referenced in conf/standardjboss.xml and thought about commenting it out, but wanted to get a better understanding before doing so.
Thanks,
Philip Tenn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094507#4094507
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094507
From do-not-reply at jboss.com Fri Oct 12 08:10:06 2007
From: do-not-reply at jboss.com (richard_opalka)
Date: Fri, 12 Oct 2007 08:10:06 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: How to get Exception inheritance in
my WSDL....
Message-ID: <12497133.1192191006347.JavaMail.jboss@colo-br-02.atl.jboss.com>
http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#Customizing_WSDL_Schema_Generation_Using_WSProvide_Tool
This should help you ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094509#4094509
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094509
From do-not-reply at jboss.com Fri Oct 12 08:33:12 2007
From: do-not-reply at jboss.com (richard_opalka)
Date: Fri, 12 Oct 2007 08:33:12 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released
Message-ID: <17425517.1192192392384.JavaMail.jboss@colo-br-02.atl.jboss.com>
How did you get org.jboss.ws.integration.jboss.ServiceEndpointInterceptor?
It should be org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094533#4094533
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094533
From do-not-reply at jboss.com Fri Oct 12 09:08:05 2007
From: do-not-reply at jboss.com (fjump)
Date: Fri, 12 Oct 2007 09:08:05 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - trouble calling web service
Message-ID: <11839590.1192194485489.JavaMail.jboss@colo-br-02.atl.jboss.com>
HI, i need help please,
i got the following problem:
when i made a call to the web service, appears the error
avax.xml.ws.WebServiceException: java.io.IOException: Could not transmit message
org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317)
org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255)
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
$Proxy112.update(Unknown Source)
com.blackbulltv.settopbox.web.MainMenu.doGet(MainMenu.java:109)
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
im trying to discover what is the problem but i dont find any solution.
this is the web service call
here is where i made a call to the web service, extracting the URL from a xml file:
BlackBullTvWebServices wsconf = new BlackBullTvWebServices();
String serv = wsconf.getPropertyValue("UpdateServiceURL");
URL url = new URL(serv);
QName qname = new QName("urn:com.blackbulltv.server.ws", "UpdateService");
Service service = Service.create(url,qname);
Update up = (Update)service.getPort(Update.class);
temp = up.update(vVersion,component_name,pType);
this is my xml file, that contain the URL of my web service.
http://192.168.0.17:8080/com.blackbulltv.server/MenuWs?wsdl
urn:com.blackbulltv.server.ws
this is the web service client file:
@WebServiceClient(name = "MainMenuWsService", targetNamespace = "urn:com.blackbulltv.server.ws", wsdlLocation = "http://localhost:8080/Update/MainMenuWs?wsdl")
public class MainMenuWsService
extends Service
{
private final static URL MAINMENUWSSERVICE_WSDL_LOCATION;
static {
URL url = null;
try {
url = new URL("http://localhost:8080/Update/MainMenuWs?wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
MAINMENUWSSERVICE_WSDL_LOCATION = url;
}
public MainMenuWsService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public MainMenuWsService() {
super(MAINMENUWSSERVICE_WSDL_LOCATION, new QName("urn:com.blackbulltv.server.ws", "MainMenuWsService"));
}
/**
*
* @return
* returns MainMenuWs
*/
@WebEndpoint(name = "MainMenuWsPort")
public MainMenuWs getMainMenuWsPort() {
return (MainMenuWs)super.getPort(new QName("urn:com.blackbulltv.server.ws", "MainMenuWsPort"), MainMenuWs.class);
}
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094556#4094556
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094556
From do-not-reply at jboss.com Fri Oct 12 12:35:54 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Fri, 12 Oct 2007 12:35:54 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <14631815.1192206954335.JavaMail.jboss@colo-br-02.atl.jboss.com>
Yes, you need to also specify the authMethod and transportGuarantee. You can also take a look at the samples, in particular the jaxws-samples-context features this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094696#4094696
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094696
From do-not-reply at jboss.com Fri Oct 12 13:24:12 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Fri, 12 Oct 2007 13:24:12 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Troble Connecting a client to web
service
Message-ID: <21490091.1192209852749.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
could you please provide us some more details (wsdl, SEI, etc).
Generally speaking, I would suggest you to upgrade to jbossws 2.0.1.GA and use the jaxws tools to create the SEI and in/out classes that correctly fit the wsdl contract I think you need to remain unchanged.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094713#4094713
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094713
From do-not-reply at jboss.com Fri Oct 12 16:01:33 2007
From: do-not-reply at jboss.com (ptenn10)
Date: Fri, 12 Oct 2007 16:01:33 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released
Message-ID: <579169.1192219293764.JavaMail.jboss@colo-br-02.atl.jboss.com>
Richard,
Thanks very much for your response.
I downloaded a pure copy of the JBoss AS 4.0.4GA and compared default/conf/standardjboss.xml to our /conf/standardjboss.xml.
It appears that in the pure 4.0.4GA, the interceptor is: org.jboss.ws.server.ServiceEndpointInterceptor
and we had changed this to
org.jboss.ws.integration.jboss.ServiceEndpointInterceptor
when we upgraded to jbossws-1.4. Although I wasn't the person on our team who did this upgrade to jbossws-1.4, this is what I can gather based on subversion revision messages.
So, as you suggested, I changed the interceptor to org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor in our /conf/standardjboss.xml:
|
| Standard Stateless SessionBean
| false
| stateless-rmi-invoker
|
| org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
| org.jboss.ejb.plugins.LogInterceptor
| org.jboss.ejb.plugins.SecurityInterceptor
|
| org.jboss.ejb.plugins.TxInterceptorCMT
| org.jboss.ejb.plugins.CallValidationInterceptor
| org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
| org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
|
| org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
| org.jboss.ejb.plugins.TxInterceptorBMT
| org.jboss.ejb.plugins.CallValidationInterceptor
| org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
| org.jboss.resource.connectionmanager.CachedConnectionInterceptor
|
| org.jboss.ejb.plugins.StatelessSessionInstancePool
|
|
|
| 100
|
|
|
|
| Clustered Stateless SessionBean
| false
| clustered-stateless-rmi-invoker
|
| org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
| org.jboss.ejb.plugins.CleanShutdownInterceptor
| org.jboss.ejb.plugins.LogInterceptor
| org.jboss.ejb.plugins.SecurityInterceptor
|
| org.jboss.ejb.plugins.TxInterceptorCMT
| org.jboss.ejb.plugins.CallValidationInterceptor
| org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
| org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
|
| org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
| org.jboss.ejb.plugins.TxInterceptorBMT
| org.jboss.ejb.plugins.CallValidationInterceptor
| org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
| org.jboss.resource.connectionmanager.CachedConnectionInterceptor
|
| org.jboss.ejb.plugins.StatelessSessionInstancePool
|
|
|
| 100
|
|
| ${jboss.partition.name:DefaultPartition}
|
|
|
However, this class is not found either. I get the exception
2007-10-12 15:40:44,728 WARN [org.jboss.ejb.EjbModule] Could not load the org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor interceptor
| java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor
|
Could you tell me which JAR this class (org.jboss.ws.integration.jboss40.ServiceEndpointInterceptor) is supposed to reside in? I've tried going through the JARs inside the jbossws.sar directory, but have not been able to find it.
Thanks again for your help!
Philip Tenn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094763#4094763
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094763
From do-not-reply at jboss.com Sat Oct 13 12:56:22 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Sat, 13 Oct 2007 12:56:22 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - I don't succeded installing
jbossws2.0.1 please help me I ne
Message-ID: <20472172.1192294583006.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi all, I have been trying for 3 days to install jbossws with jboss42. Before I had jdk6 now I have the jdk5, I have downloaded the jbossws 2.0.1 native and I have followed the instruction but I have this error and I don't know how risolving.
The errore is the following:
|
| BUILD FAILED
| C:\jbossws-src-2.0.1.GA\ant-import\build-deploy.xml:84: The following error occu
| rred while executing this line:
| C:\jbossws-src-2.0.1.GA\ant-import\macros-deploy-native.xml:385: Directory does
| not exist:C:\jbossws-src-2.0.1.GA\jboss-4.2.1.GA\lib\endorsed
|
| Total time: 7 seconds
|
The path of jboss42 I have setted in ant.propertis is the following:
| jboss42.home= C:\jboss-4.2.1.GA
|
jbossws is the directory C:\jbossws-src-2.0.1.GA
The macros-deploy-native.xml:385 is line with *:
|
|
|
| *
|
|
|
|
|
|
|
|
|
|
Why does it search jboss-4.2.1.GA\lib\endorsed in the directory of jbossws and not in jboss42 directory?
What does I wrong? How can I resolve?
I need jbossws, please help me!
Thanks to all.
Bye Bye
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094890#4094890
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094890
From do-not-reply at jboss.com Sat Oct 13 14:41:17 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Sat, 13 Oct 2007 14:41:17 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: I don't succeded installing
jbossws2.0.1 please help me
Message-ID: <16054207.1192300877316.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have resolved the problem, in the path of jboss42 it lacks a \, in fact I wrote C:\jboss-4.2.1.GA instead C:\\jboss-4.2.1.GA, writing C:\\jboss-4.2.1.GA all works.
Thanks to all and excuse me.
Bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094907#4094907
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094907
From do-not-reply at jboss.com Sun Oct 14 04:03:37 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 14 Oct 2007 04:03:37 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Problems with installation of
jbossws2.0.1 on jboss4.2.1
Message-ID: <1340948.1192349017779.JavaMail.jboss@colo-br-02.atl.jboss.com>
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094907
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094950#4094950
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094950
From do-not-reply at jboss.com Sun Oct 14 04:22:56 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 14 Oct 2007 04:22:56 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jax-rpc/wstools genereate problem
Message-ID: <22334643.1192350176434.JavaMail.jboss@colo-br-02.atl.jboss.com>
Starting from some months ago, the JBossWS team is putting his main effort into JAXWS. However, you might create a minimal application reproducing this problem and attach it to a new Jira issue. This way somebody from the community may try to fix the potential bug into the codebase.
Apart from this, considering you're dealing with migration issues due to the AS upgrade, I would really suggest you to evaluate switching to jaxws (also upgrading to the latest jbossws release); here http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_vs_JAX-RPC you can find a brief introduction explaining why this might be a good idea.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094951#4094951
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094951
From do-not-reply at jboss.com Sun Oct 14 04:42:10 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 14 Oct 2007 04:42:10 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: ClassCastException @
BaseDeserializerFactory.getSpeciali
Message-ID: <1969159.1192351330616.JavaMail.jboss@colo-br-02.atl.jboss.com>
Sorry, can't remember of it; moreover as you said, setting the username/pwd into the stub should not cause this.
If migrating to a more recent jboss application server and ws stack is not affordable for you, in order to understand what's happening I would suggest you to capture the soap messages being exchanged. This way you might see what is really changing and that could drive you to understand where is the problem.
If you still think there's a bug, you can nevertheless create a minimal application reproducing the problem and attach it to a new jira issue, however keep in mind that the team is putting his main effort into the jaxws development, thus your potential issue might have to be handled by the community.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094953#4094953
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094953
From do-not-reply at jboss.com Sun Oct 14 04:54:28 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 14 Oct 2007 04:54:28 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: wstool jboss 4.05 vs jboss 4.2.0GA
wsdl-java
Message-ID: <25008877.1192352068592.JavaMail.jboss@colo-br-02.atl.jboss.com>
"nirre" wrote : then one included in jboss 4.2 - jbossws-1.2.1.GA (build=200704151756)
|
| I have another problem now. Wstool now (with the above mentioned version) generates "strange array data types" in the jax-rpc file (and it does not generate the corresponding java files) - they where not generated when using the jbossws 1.03 (the one incuded in jboss 4.0.5)...
|
| At runtime I know get errors like:
| [EndpointMetaData] Cannot load class for type: {http://company.com/theIntegration}ArrayOfOpportunityID,com.company.theIntegration.ArrayOfOpportunityID
|
| and then I get a:
|
| RemoteException occured when invoking web service method!java.rmi.RemoteException: Call invocation failed; nested exception is:
| | java.io.IOException: Could not transmit message
|
|
This seems to me the same as http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120947.
I also invite you to create a minimal application reproducing the bug and attaching it to a new tools-jaxrpc jira issue. Then the community might take care of it.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094955#4094955
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094955
From do-not-reply at jboss.com Sun Oct 14 05:19:41 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 14 Oct 2007 05:19:41 -0400 (EDT)
Subject: [jbossws-users]
[JBossWS] - Re: Deploying 2 web services on JBossWS,
and getting differe
Message-ID: <15172665.1192353581405.JavaMail.jboss@colo-br-02.atl.jboss.com>
Issue created on Jira: http://jira.jboss.com/jira/browse/JBWS-1855
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094959#4094959
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094959
From do-not-reply at jboss.com Sun Oct 14 05:26:08 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 14 Oct 2007 05:26:08 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Stop Empty SOAP elements
Message-ID: <15542750.1192353968991.JavaMail.jboss@colo-br-02.atl.jboss.com>
Could you please capture a soap message exchange showing this and post it here along with the wsdl contract and the stack/version you're using both on client and server side?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094961#4094961
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094961
From do-not-reply at jboss.com Sun Oct 14 05:52:00 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 14 Oct 2007 05:52:00 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: soap message not correct?
Message-ID: <836333.1192355520564.JavaMail.jboss@colo-br-02.atl.jboss.com>
Yes, the soap message payload does not match with the specified wsdl. From which version of JBossWS is the wsconsume you're using?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094964#4094964
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094964
From do-not-reply at jboss.com Sun Oct 14 06:07:02 2007
From: do-not-reply at jboss.com (nirre)
Date: Sun, 14 Oct 2007 06:07:02 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: wstool jboss 4.05 vs jboss 4.2.0GA
wsdl-java
Message-ID: <16453277.1192356422592.JavaMail.jboss@colo-br-02.atl.jboss.com>
I rewrote the build script and used wsconsume instead and had to rewrite some of my beans etc etc, but eventually I got it working.
I still think the change of behaviour of the wtools is strange.
thanks anyway.
/niclas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094968#4094968
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094968
From do-not-reply at jboss.com Sun Oct 14 06:13:06 2007
From: do-not-reply at jboss.com (nirre)
Date: Sun, 14 Oct 2007 06:13:06 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jax-rpc/wstools genereate problem
Message-ID: <33115796.1192356786583.JavaMail.jboss@colo-br-02.atl.jboss.com>
I actually did just that ;)
Now I use the wsconsume tool instead and rewrote the build script and the bean code that handled all the method/attribute "passing".
I think jax-ws is simpler with than jaxrpc, it feels more flexible and simpler - dont have to handle all the unwrapping of the types etc.
The bad thing is it took time and I have to test all the core again.. but atleast i learned some new stuff ;)
/nirre
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094972#4094972
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094972
From do-not-reply at jboss.com Sun Oct 14 08:34:35 2007
From: do-not-reply at jboss.com (Vincent321)
Date: Sun, 14 Oct 2007 08:34:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - WSSecurity Username token
Message-ID: <9207595.1192365275312.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hello,
Could you please tell me how to protect a web service with username token ?
I am not able to find any sample.
Many thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4094988#4094988
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4094988
From do-not-reply at jboss.com Sun Oct 14 11:15:55 2007
From: do-not-reply at jboss.com (nickarls)
Date: Sun, 14 Oct 2007 11:15:55 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Encoding problem
Message-ID: <4001341.1192374955361.JavaMail.jboss@colo-br-02.atl.jboss.com>
Any theories as to why the wsdl file is correctly encoded but the .xsd is not? Since they both are generated from the same information, one would assume the encodings would match(?)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095003#4095003
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095003
From do-not-reply at jboss.com Sun Oct 14 22:26:46 2007
From: do-not-reply at jboss.com (PeterJ)
Date: Sun, 14 Oct 2007 22:26:46 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSSecurity Username token
Message-ID: <21975034.1192415206398.JavaMail.jboss@colo-br-02.atl.jboss.com>
See http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html#d0e1165
Also, there was an earlier discussion at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=120353
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095065#4095065
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095065
From do-not-reply at jboss.com Mon Oct 15 02:35:36 2007
From: do-not-reply at jboss.com (sameerean)
Date: Mon, 15 Oct 2007 02:35:36 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Unsupported content type:
application/x-www-form-urlenco
Message-ID: <14313745.1192430136899.JavaMail.jboss@colo-br-02.atl.jboss.com>
Florian,
I am also facing the same problem on weblogic 8.1, with spring-webservices. Could you elaborate, how have you resolved this issue ?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095095#4095095
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095095
From do-not-reply at jboss.com Mon Oct 15 02:59:50 2007
From: do-not-reply at jboss.com (rukus)
Date: Mon, 15 Oct 2007 02:59:50 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web service call or
javax.xml.bind.JAXBException
Message-ID: <9108909.1192431590818.JavaMail.jboss@colo-br-02.atl.jboss.com>
No replies so far?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095099#4095099
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095099
From do-not-reply at jboss.com Mon Oct 15 03:52:27 2007
From: do-not-reply at jboss.com (richard_opalka)
Date: Mon, 15 Oct 2007 03:52:27 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released
Message-ID: <20063059.1192434747063.JavaMail.jboss@colo-br-02.atl.jboss.com>
Sorry for mistake. The correct class name is:
org.jboss.wsf.container.jboss40.ServiceEndpointInterceptor
Another important fact is we have tested JBossWS 2.0.1 on JBoss 4.0.5 GA not JBoss 4.0.4 GA.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095109#4095109
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095109
From do-not-reply at jboss.com Mon Oct 15 04:38:30 2007
From: do-not-reply at jboss.com (jtestori)
Date: Mon, 15 Oct 2007 04:38:30 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: soap message not correct?
Message-ID: <23186731.1192437510301.JavaMail.jboss@colo-br-02.atl.jboss.com>
tested with 1.2.1 and 2.0.1. then i deployed jbossws-2.0.1, same problem.
strange thing is that it works when i use the generated classes it in a simple main-class without jboss, so i guess there must be a classpath-problem. but i don't deploy any webservice-related jar-file together with my application.
maybe the generated source code can help:
| package com.shark.ewob.services.approveactivity;
|
| import javax.jws.WebMethod;
| import javax.jws.WebParam;
| import javax.jws.WebResult;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
|
| /**
| * This class was generated by the JAX-WS RI.
| * JAX-WS RI 2.1.1-b03-
| * Generated source version: 2.0
| *
| */
| @WebService(name = "ApproveActivity", targetNamespace = "http://xmlns.oracle.com/ApproveActivity")
| @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
| public interface ApproveActivity {
|
|
| /**
| *
| * @param payload
| * @return
| * returns com.shark.ewob.services.approveactivity.ApproveActivityOUT
| */
| @WebMethod(action = "process")
| @WebResult(name = "ApproveActivityOUT", targetNamespace = "http://www.example.org", partName = "payload")
| public ApproveActivityOUT process(
| @WebParam(name = "ApproveActivityIN", targetNamespace = "http://www.example.org", partName = "payload")
| ApproveActivityIN payload);
|
| }
|
|
| package com.shark.ewob.services.approveactivity;
|
| import java.net.MalformedURLException;
| import java.net.URL;
| import javax.xml.namespace.QName;
| import javax.xml.ws.Service;
| import javax.xml.ws.WebEndpoint;
| import javax.xml.ws.WebServiceClient;
|
|
| /**
| * This class was generated by the JAX-WS RI.
| * JAX-WS RI 2.1.1-b03-
| * Generated source version: 2.0
| *
| */
| @WebServiceClient(name = "ApproveActivity", targetNamespace = "http://xmlns.oracle.com/ApproveActivity", wsdlLocation = "http://localhost:8888/orabpel/default/ApproveActivity/1.0/ApproveActivity?wsdl")
| public class ApproveActivity_Service
| extends Service
| {
|
| private final static URL APPROVEACTIVITY_WSDL_LOCATION;
|
| static {
| URL url = null;
| try {
| url = new URL("http://localhost:8888/orabpel/default/ApproveActivity/1.0/ApproveActivity?wsdl");
| } catch (MalformedURLException e) {
| e.printStackTrace();
| }
| APPROVEACTIVITY_WSDL_LOCATION = url;
| }
|
| public ApproveActivity_Service(URL wsdlLocation, QName serviceName) {
| super(wsdlLocation, serviceName);
| }
|
| public ApproveActivity_Service() {
| super(APPROVEACTIVITY_WSDL_LOCATION, new QName("http://xmlns.oracle.com/ApproveActivity", "ApproveActivity"));
| }
|
| /**
| *
| * @return
| * returns ApproveActivity
| */
| @WebEndpoint(name = "ApproveActivityPort")
| public ApproveActivity getApproveActivityPort() {
| return (ApproveActivity)super.getPort(new QName("http://xmlns.oracle.com/ApproveActivity", "ApproveActivityPort"), ApproveActivity.class);
| }
|
| }
|
| package com.shark.ewob.services.approveactivity;
|
| import javax.xml.bind.annotation.XmlAccessType;
| import javax.xml.bind.annotation.XmlAccessorType;
| import javax.xml.bind.annotation.XmlElement;
| import javax.xml.bind.annotation.XmlRootElement;
| import javax.xml.bind.annotation.XmlType;
|
|
| /**
| * Java class for anonymous complex type.
| *
| *
The following schema fragment specifies the expected content contained within this class.
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| */
| @XmlAccessorType(XmlAccessType.FIELD)
| @XmlType(name = "", propOrder = {
| "activityId",
| "action",
| "approverId",
| "comment"
| })
| @XmlRootElement(name = "ApproveActivityIN")
| public class ApproveActivityIN {
|
| protected int activityId;
| @XmlElement(required = true)
| protected String action;
| protected int approverId;
| @XmlElement(required = true)
| protected String comment;
|
| /**
| * Gets the value of the activityId property.
| *
| */
| public int getActivityId() {
| return activityId;
| }
|
| /**
| * Sets the value of the activityId property.
| *
| */
| public void setActivityId(int value) {
| this.activityId = value;
| }
|
| /**
| * Gets the value of the action property.
| *
| * @return
| * possible object is
| * {@link String }
| *
| */
| public String getAction() {
| return action;
| }
|
| /**
| * Sets the value of the action property.
| *
| * @param value
| * allowed object is
| * {@link String }
| *
| */
| public void setAction(String value) {
| this.action = value;
| }
|
| /**
| * Gets the value of the approverId property.
| *
| */
| public int getApproverId() {
| return approverId;
| }
|
| /**
| * Sets the value of the approverId property.
| *
| */
| public void setApproverId(int value) {
| this.approverId = value;
| }
|
| /**
| * Gets the value of the comment property.
| *
| * @return
| * possible object is
| * {@link String }
| *
| */
| public String getComment() {
| return comment;
| }
|
| /**
| * Sets the value of the comment property.
| *
| * @param value
| * allowed object is
| * {@link String }
| *
| */
| public void setComment(String value) {
| this.comment = value;
| }
|
| }
|
| package com.shark.ewob.services.approveactivity;
|
| import javax.xml.bind.annotation.XmlAccessType;
| import javax.xml.bind.annotation.XmlAccessorType;
| import javax.xml.bind.annotation.XmlElement;
| import javax.xml.bind.annotation.XmlRootElement;
| import javax.xml.bind.annotation.XmlType;
|
|
| /**
| * Java class for anonymous complex type.
| *
| *
The following schema fragment specifies the expected content contained within this class.
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| */
| @XmlAccessorType(XmlAccessType.FIELD)
| @XmlType(name = "", propOrder = {
| "result",
| "message"
| })
| @XmlRootElement(name = "ApproveActivityOUT")
| public class ApproveActivityOUT {
|
| @XmlElement(required = true)
| protected String result;
| @XmlElement(required = true, nillable = true)
| protected String message;
|
| /**
| * Gets the value of the result property.
| *
| * @return
| * possible object is
| * {@link String }
| *
| */
| public String getResult() {
| return result;
| }
|
| /**
| * Sets the value of the result property.
| *
| * @param value
| * allowed object is
| * {@link String }
| *
| */
| public void setResult(String value) {
| this.result = value;
| }
|
| /**
| * Gets the value of the message property.
| *
| * @return
| * possible object is
| * {@link String }
| *
| */
| public String getMessage() {
| return message;
| }
|
| /**
| * Sets the value of the message property.
| *
| * @param value
| * allowed object is
| * {@link String }
| *
| */
| public void setMessage(String value) {
| this.message = value;
| }
|
| }
|
|
| package com.shark.ewob.services.approveactivity;
|
| import javax.xml.bind.annotation.XmlRegistry;
|
|
| /**
| * This object contains factory methods for each
| * Java content interface and Java element interface
| * generated in the com.shark.ewob.services.approveactivity package.
| * An ObjectFactory allows you to programatically
| * construct new instances of the Java representation
| * for XML content. The Java representation of XML
| * content can consist of schema derived interfaces
| * and classes representing the binding of schema
| * type definitions, element declarations and model
| * groups. Factory methods for each of these are
| * provided in this class.
| *
| */
| @XmlRegistry
| public class ObjectFactory {
|
|
| /**
| * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.shark.ewob.services.approveactivity
| *
| */
| public ObjectFactory() {
| }
|
| /**
| * Create an instance of {@link ApproveActivityOUT }
| *
| */
| public ApproveActivityOUT createApproveActivityOUT() {
| return new ApproveActivityOUT();
| }
|
| /**
| * Create an instance of {@link ApproveActivityIN }
| *
| */
| public ApproveActivityIN createApproveActivityIN() {
| return new ApproveActivityIN();
| }
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095130#4095130
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095130
From do-not-reply at jboss.com Mon Oct 15 06:03:07 2007
From: do-not-reply at jboss.com (nickarls)
Date: Mon, 15 Oct 2007 06:03:07 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - wsse performance
Message-ID: <14551184.1192442587033.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
Where in the documentation can I read about factors affecting performance? I have a signed and encrypted WS call that takes about 400ms (actual work time is negligable) and would like to know what affects the wall clock time performance most. The signing? Key length? Something else?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095165#4095165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095165
From do-not-reply at jboss.com Mon Oct 15 06:58:09 2007
From: do-not-reply at jboss.com (ptenn10)
Date: Mon, 15 Oct 2007 06:58:09 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released
Message-ID: <6749449.1192445889554.JavaMail.jboss@colo-br-02.atl.jboss.com>
Richard,
Thank you again for all of your help. I changed my conf/standardjboss.xml to use:
org.jboss.wsf.container.jboss40.ServiceEndpointInterceptor
and no longer get the exceptions during deployment.
anonymous wrote : Another important fact is we have tested JBossWS 2.0.1 on JBoss 4.0.5 GA not JBoss 4.0.4 GA.
I'll be doing a lot of testing on Jboss 4.0.4 GA, so I can definitely post successful results and/or issues I run into.
Thanks,
Philip Tenn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095184#4095184
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095184
From do-not-reply at jboss.com Mon Oct 15 08:33:24 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Mon, 15 Oct 2007 08:33:24 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: Cannot
obtain java type mappin
Message-ID: <4720254.1192451604229.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
Thank you for your suggestion alessio.soldano.
I have resolved this issue.yes,it is related to mapping of xml artifacts,java classes by using jbossws 1.0.4.
I am also using the interfaces/classes generated by Weblogic.I must use these interfaces/classes which were generated by weblogic.I should not use classes generated by tools provided by jboss. This is my requirement.It deployed successfully.It published the WSDL file and i am able to view WSDL file.
Now when i run the client initially i got the following exception
jboss.ws.WSException: Cannot find java method: processVendorOrder
at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:213)
at org.jboss.ws.binding.EndpointInvocation.getJavaMethod(EndpointInvocation.java:82)
at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:87)
at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Then i modified jaxrpc-mapping.xml file such that it refers exact classes.
This exception i got because weblogic uses XMLBeans to generate interfaces/classes the implementation classes for the interfaces were there in under impl directory so i have modified jaxrpc-mapping.xml to refer for the classes under impl directory.
But now i am getting different exception
Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Neither fromValue(java.lang.String p) nor fromValue(java.lang.String p1, javax.xml.namespace.NamespaceContext p2) were found in interface com.covad.xsd.smo.vendororder.AreaCode
at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtUtil.invokeUnmarshalMethod(RtUtil.java:350)
at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHandler.unmarshal(RtCharactersHandler.java:104)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:872)
at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endElement(SundayContentHandler.java:160)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.endElement(SaxJBossXBParser.java:295)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:174)
... 34 more
I think from the stack trace i understood that it is referring to interface and not to actual implementation class.AreaCode is a simple type.
I want to know wheather jbossws supports XMLBeans or not?
If supports ,which version of jbossws supports XMLBeans.
Please help me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095212#4095212
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095212
From do-not-reply at jboss.com Mon Oct 15 09:20:24 2007
From: do-not-reply at jboss.com (ptenn10)
Date: Mon, 15 Oct 2007 09:20:24 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released
Message-ID: <1218487.1192454424974.JavaMail.jboss@colo-br-02.atl.jboss.com>
PS one more question: I recall reading that jbossws 2.1 is going to support Apache CXF as a native stack.
Do you know approximately when jbossws 2.1 might go GA?
The main driving factor that has been pushing our upgrade from jbossws 1.4 to 2.0.1 GA has been the compatibility issues I encountered with jbossws 1.4 and Apache CXF.
If jbossws 2.1 is on the very near horizon, I might push for waiting for that instead of trying to integrate CXF with jboss 2.0.1 GA.
Thanks,
Philip Tenn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095241#4095241
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095241
From do-not-reply at jboss.com Mon Oct 15 11:37:30 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Mon, 15 Oct 2007 11:37:30 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Problems with wstools
Message-ID: <28702359.1192462650272.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi, I've many problems with the tools in the bin directory of jbossws2.1, when I try to start wsprovide or wstools or wsconsume I receve an error message like this:
| C:\Documents and Settings\Angelo>wsprovide
| Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/too
| ls/cmd/WSProvide
|
But if I try to run
java org.jboss.wsf.spi.tools.cmd.WSProvide
manually it run, why?
Another question when I try to generate jax-ws artifacts I have this problem:
| C:\Documents and Settings\Angelo\workspace\WebServiceJbossWS>java org.jboss.wsf.
| spi.tools.cmd.WSProvide -w somma.Somma
| Error: Could not load class [somma.Somma]. Did you specify a valid --classpath?
|
In the directory somma there's the file Somma.class.
Thanks to all.
Bye Bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095291#4095291
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095291
From do-not-reply at jboss.com Mon Oct 15 14:26:56 2007
From: do-not-reply at jboss.com (kgoral)
Date: Mon, 15 Oct 2007 14:26:56 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - WS-BPEL with JAX-WS services
Message-ID: <2421064.1192472816566.JavaMail.jboss@colo-br-02.atl.jboss.com>
I've read in User Guide of JBossWS that JAX-WS doesn't suppport WS-BPEL. There is no further explanation. Does anybody know why ? I still would like to pack my jax-ws services in some BPEL process. Do you know how to do this? I would be gratefull for any kind of articles, links, tutorials and tips on the matter...
thanks,
Kasia
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095364#4095364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095364
From do-not-reply at jboss.com Mon Oct 15 16:17:57 2007
From: do-not-reply at jboss.com (Vincent321)
Date: Mon, 15 Oct 2007 16:17:57 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSSecurity Username token
Message-ID: <14789600.1192479477816.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks Peter,
But the conversation and example are related to x509 token :-(
I want the web service to handle such an header :
|
| 2007-10-14T12:45:34.656Z
| 2007-10-14T12:46:34.656Z
|
|
| test
| test
|
|
Thanks,
Vincent
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095395#4095395
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095395
From do-not-reply at jboss.com Mon Oct 15 16:40:07 2007
From: do-not-reply at jboss.com (pranav.akiri)
Date: Mon, 15 Oct 2007 16:40:07 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Multithreading in Jboss 4.0.1
Message-ID: <8094487.1192480809535.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
We are trying to connect to a third party webservice to propagate the changes to the thirdparty system(in the suggeted JNDI look up pattern described in the jboss-webservice tutorial and it is working fine)
Since the number of propagation updates are large,now we wanted to have parallel updates to the third party system,which is like having a master thread creaing few child threads,each will take,say 1000 records and updates in the 3rd party system using the webservices in parallel.
Now,we are having an issue while using multiple threads.If I understand correctly,I guess the issue is because,we are sharing websevice client name registered in the JNDI,and it is giving exceptions.
Has anyone have any idea of how can invoke multi threading with webservices.In the other way,we are trying to have multiple threads connecting the same webservice concurrently in the same appserver.
we are using JBoss 4.0.1 and jdk 1.4
Any suggestions would be appreciated.Following is the code snippet for conencting to webservices:
==========================================
private boolean connect() throws Exception
{
if(!isConnected)
{
Properties env = new Properties();
env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client:org.jboss.naming");
env.setProperty(Context.PROVIDER_URL, JNDI_URL);
env.setProperty("j2ee.clientName", "nn-ws4ee-client");
try
{
InitialContext iniCtx = new InitialContext(env);
Service service = (Service)iniCtx.lookup(NN_CLIENT_JNDI_NAME);
nrdInterface = (NRD)service.getPort(NRD.class);
((Stub)nrdInterface)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, url);
isConnected = true;
}
catch(Exception exc)
{
logger.fatal("NN Client Wrapper initialization exception. " +
"The JNDI may not be correctly configured as follows: JNDI Location: " + JNDI_URL +
" NN Client JNDI Name: " + NN_CLIENT_JNDI_NAME);
logger.fatal("NN Client Wrapper initialization exception:", exc);
isConnected = false;
throw exc;
}
}
return isConnected;
}
============================
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095404#4095404
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095404
From do-not-reply at jboss.com Tue Oct 16 04:50:19 2007
From: do-not-reply at jboss.com (qu)
Date: Tue, 16 Oct 2007 04:50:19 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - how can I run jbossws2.0.1 on tomcat
Message-ID: <23605038.1192524619424.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have run jbossws1.2.1 on tomcat successfully, but how to run jbossws2.0.1 on tomcat?
thanks very much
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095518#4095518
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095518
From do-not-reply at jboss.com Tue Oct 16 05:06:00 2007
From: do-not-reply at jboss.com (burakbayramli)
Date: Tue, 16 Oct 2007 05:06:00 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Cannot obtain wsdl service (problem in
JBoss 4.2 used to wor
Message-ID: <23459699.1192525560906.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have the following code that used to work in JBoss 4.0.4GA. After port to 4.2, server complained about "context roots being different, so I added @WebContext to all web services. Now server is fine, I can see the WSDL, but I cannot connect to the server using a Java client.
| @WebService
| @SOAPBinding(style=Style.RPC)
| public interface Calculator extends Remote
| {
| @WebMethod int add(int x, int y);
|
| @WebMethod int subtract(int x, int y);
| }
|
| @Stateless
| @WebService(name="CalculatorService",serviceName="CalculatorService",endpointInterface="org.bilgidata.kitapdemo.service.Calculator")
| @WebContext(contextRoot="/ggServices")
| public class CalculatorBean implements Calculator
| {
| public int add(int x, int y)
| {
| System.out.println("inside add");
| return x + y;
| }
|
| public int subtract(int x, int y)
| {
| System.out.println("inside subtract");
| return x - y;
| }
| }
|
| public class Client
| {
| public static void main(String[] args) throws Exception
| {
| URL url = new URL("http://localhost:8080/ggServices/CalculatorBean?wsdl");
| QName qname = new QName("http://localhost:8080/ggServices/CalculatorBean",
| "CalculatorService");
|
| ServiceFactory factory = ServiceFactory.newInstance();
| Service service = factory.createService(url, qname);
|
| Calculator calculator = (Calculator) service.getPort(Calculator.class);
|
| System.out.println("1 + 1 = " + calculator.add(1, 1));
| System.out.println("1 - 1 = " + calculator.subtract(1, 1));
| }
| }
|
The WSDL looks like
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Exception in thread "main" java.lang.IllegalArgumentException: Cannot obtain wsdl service: {http://localhost:8080/ggServices/CalculatorBean}CalculatorService
| at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:171)
| at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:133)
| at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:85)
| at org.jboss.ws.core.jaxrpc.client.ServiceImpl.(ServiceImpl.java:111)
| at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
| at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
| at org.bilgidata.kitapdemo.service.Client.main(Client.java:18)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095525#4095525
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095525
From do-not-reply at jboss.com Tue Oct 16 08:58:37 2007
From: do-not-reply at jboss.com (CarstenRudat)
Date: Tue, 16 Oct 2007 08:58:37 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - SessionBean as WebService - again
complex data structures
Message-ID: <18392131.1192539517203.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi all,
I have a SLSB and want it to be accessable through a webservice. So I write
| package com.genloop.ejb.beans.service;
|
| import javax.ejb.Remote;
| import javax.jws.WebMethod;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
| @WebService
| @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
| @Remote
| public interface PartnerWebService extends java.rmi.Remote{
|
| @WebMethod
| public String sayHello(String hello);
|
| }
|
and
| package com.genloop.ejb.beans.service;
|
| import java.util.Date;
|
| import javax.ejb.Remote;
| import javax.ejb.Stateless;
| import javax.interceptor.Interceptors;
| import javax.jws.WebService;
|
| import org.jboss.annotation.ejb.RemoteBinding;
| import org.jboss.annotation.security.SecurityDomain;
|
| import com.genloop.ejb.commons.SecurityInterceptor;
| import com.genloop.ejb.commons.UserInterceptor;
|
| @Stateless
| @Remote(PartnerWebService.class)
| @SecurityDomain("...")
| @org.jboss.annotation.ejb.Clustered
| @RemoteBinding(jndiBinding="test/PartnerWebService/remote")
| @Interceptors({UserInterceptor.class, SecurityInterceptor.class})
| @WebService(endpointInterface="com.genloop.ejb.beans.service.PartnerWebService", serviceName="PartnerService")
| public class PartnerWebServiceBean implements PartnerWebService {
|
| public String sayHello(String hello) {
| return hello;
| }
|
| }
|
My Client works well:
| public class PartnerWSClient {
|
| public static void main(String[] args) {
| try {
| URL url = new URL("http://localhost:8080/test-ea-test-service/PartnerWebServiceBean?wsdl");
| QName qname = new QName("http://service.beans.ejb.genloop.com/", "PartnerService");
|
| ServiceFactory factory = ServiceFactory.newInstance();
| Service service = factory.createService(url, qname);
|
| PartnerWebService partnerService = (PartnerWebService)service.getPort(PartnerWebService.class);
|
| System.out.println(partnerService.sayHello("test"));
| } catch (MalformedURLException e) {
| e.printStackTrace();
| } catch (ServiceException e) {
| e.printStackTrace();
| }
| }
| }
|
But now, I add another mehtod:
| public ComplexObject getComplexObject() {
| return new ComplexObject(new Date(), "test");
| }
|
| ...
|
| @WebMethod
| public ComplexObject getComplexObject();
|
| ...
|
| public class ComplexObject implements Serializable {
|
| protected Date date;
|
| protected String string;
|
| public ComplexObject() {
| }
|
| getter/setter
| }
|
No, I just get this exception:
| Cannot obtain java/xml type mapping for: {http://service.beans.ejb.genloop.com/}complexObject
|
I use JBoss 4.2.1 and updated JBoss Web Services to version 2.0.
And my question is: What am I doing wrong? Is there any way to get user datastructures work?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095598#4095598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095598
From do-not-reply at jboss.com Tue Oct 16 10:05:39 2007
From: do-not-reply at jboss.com (tvvenu)
Date: Tue, 16 Oct 2007 10:05:39 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Error with JbossWS in JbossAS 4.0.4
Message-ID: <8887433.1192543539825.JavaMail.jboss@colo-br-02.atl.jboss.com>
pls give me solution for this error ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing:
while accessing the jsp page using jboss server
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095637#4095637
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095637
From do-not-reply at jboss.com Tue Oct 16 11:50:31 2007
From: do-not-reply at jboss.com (PeterJ)
Date: Tue, 16 Oct 2007 11:50:31 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Error with JbossWS in JbossAS 4.0.4
Message-ID: <16053336.1192549831622.JavaMail.jboss@colo-br-02.atl.jboss.com>
tvvenu, please do not add unrelated questions to someone else's post, it is considered rude.
Second, you have the wrong forum. This forum is for web services.
Third, it is impossible to determine the cause without a stack trace.
Finally, ask your question in "Beginner's Corner", and post the stack trace that shows up in the console window (stack traces that show up in the browser are typically useless).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095704#4095704
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095704
From do-not-reply at jboss.com Tue Oct 16 14:05:53 2007
From: do-not-reply at jboss.com (ptenn10)
Date: Tue, 16 Oct 2007 14:05:53 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Results: jboss-4.0.4 AS and
jbossws-2.0.1 Integration
Message-ID: <20779607.1192557953089.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi All,
Well, thanks to help from Richard's posts, I was able to get jboss-4.0.4 AS working with jbossws-2.0.1.
I was still getting an error:
anonymous wrote :
| java.lang.NoSuchMethodError: javax.xml.bind.JAXBContext.newInstance([Ljava/lang/Class;)Ljavax/xml/bind/JAXBContext;
However, I tracked this down to the fact that jboss-4.0.4 AS ships with JAXB 1.x (not sure exact version, but I checked method signatures and know it is prior to JAXB 2), and jboss-ws 2.0.1 requires JAXB 2.
A JIRA entry by Thomas also confirms this:
http://jira.jboss.com/jira/browse/JBWS-947
If I do as Thomas suggested and drop in the jaxb-api.jar into the endorsed directory, it works. I did verify this, as a test.
However, this is not a viable solution for us, nor is modifying the contents of the jboss-j2ee.jar and jbossall-client.jar. So basically I've reached a dead-end in terms of jboss-4.0.4 and jbossws-2.0.1 integration.
Hopefully this information will be useful for someone who is trying to run jboss-4.0.4 AS with jbossws-2.0.1 and is able to make one of the two fixes described in http://jira.jboss.com/jira/browse/JBWS-947
As for me ... I'll have to look toward going to jboss-4.2.x AS and hopefully there won't be a JAXB conflict there, or look into another Web Services implementation.
Thanks,
Philip Tenn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095749#4095749
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095749
From do-not-reply at jboss.com Tue Oct 16 20:12:28 2007
From: do-not-reply at jboss.com (KuppanChinna1979)
Date: Tue, 16 Oct 2007 20:12:28 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws.1.2.1.GA... JNDI Bind
Failed:JAXR
Message-ID: <3564126.1192579948935.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
The [JUDDIService] JNDI Bind Failed:JAXR error comes when BindJaxr in
"jboss-4.0.4.GA/server/default//deploy/juddi-service.sar/meta-inf/jboss-service.xml" is not set correctly
false
true
false
java:/DefaultDS
RegistryOperator
true
java:/JAXR
false
jboss.jca:service=DataSourceBinding,name=DefaultDS
If you have both the web service consumer and producer in the same VM
BindJaxr should be
java:/JAXR
If web service consumer and producer are in different VM
BindJaxr should be
JAXR
If BindJaxr is not set properly as per the above condition JNDI bind for JAXR would fail
thanks,
Nirmala
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095838#4095838
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095838
From do-not-reply at jboss.com Tue Oct 16 21:27:33 2007
From: do-not-reply at jboss.com (aaronwell)
Date: Tue, 16 Oct 2007 21:27:33 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Class name case incorrect in
generated client artifacts
Message-ID: <28076164.1192584453290.JavaMail.jboss@colo-br-02.atl.jboss.com>
Why do I still have this problem in JBossWS 1.2.0? I can not find the detailed information here, so can you let me know how I use it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095848#4095848
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095848
From do-not-reply at jboss.com Tue Oct 16 21:30:40 2007
From: do-not-reply at jboss.com (qu)
Date: Tue, 16 Oct 2007 21:30:40 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: how can I run jbossws2.0.1 on tomcat
Message-ID: <12321226.1192584640805.JavaMail.jboss@colo-br-02.atl.jboss.com>
nobody can help me
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095849#4095849
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095849
From do-not-reply at jboss.com Wed Oct 17 02:08:57 2007
From: do-not-reply at jboss.com (lynquan)
Date: Wed, 17 Oct 2007 02:08:57 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - How Can I Make my JBoss Application
Server Support JAX-WS?
Message-ID: <23698896.1192601337623.JavaMail.jboss@colo-br-02.atl.jboss.com>
my env is:
JBoss 4.2.1.GA
JBossws-native-2.0.1.GA
JDK 1.5.12
while I run the command:
ant deploy-jboss42
there cause an error such as:
BUILD FAILED
C:\JBOSSW~1.GA\build\build-deploy.xml:58: The following error occurred while executing this line:
C:\JBOSSW~1.GA\build\macros-deploy-native.xml:178:Not availabel:/home/tdiesler/svn/jbossas/tags/jboss_4_2_1_GA/build/output/jboss-4.2.1.GA/client/jboss-client.jar
How can I deal with it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095884#4095884
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095884
From do-not-reply at jboss.com Wed Oct 17 03:11:07 2007
From: do-not-reply at jboss.com (Christy)
Date: Wed, 17 Oct 2007 03:11:07 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <25302066.1192605067968.JavaMail.jboss@colo-br-02.atl.jboss.com>
anonymous wrote : Yes, you need to also specify the authMethod and transportGuarantee. You can also take a look at the samples, in particular the jaxws-samples-context features this
I'm sorry, I'm here again. I still have the same problem, WSDL pritected with password.
Please look at my code once again:
Web service code:
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
@WebContext(authMethod = "BASIC", transportGuarantee="NONE", secureWSDLAccess = false)
@SecurityDomain("e2edmwsSecurity")
@Stateless
public class e2edm_metadata_ws implements e2edmnwsInterface{
}
web.xml file:
e2edm_metadata_ws
metadata.e2edm.e2edm_metadata_ws
e2edm_metadata_ws
/e2edmws
e2edm_metadata_ws_security
/
POST
ws
BASIC
e2edmwsSecurity
ws
jbossweb.xml:
java:/jaas/e2edmwsSecurity
Why I still have WSDL with password? Thank you!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095895#4095895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095895
From do-not-reply at jboss.com Wed Oct 17 03:24:46 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 17 Oct 2007 03:24:46 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: how can I run jbossws2.0.1 on tomcat
Message-ID: <13020253.1192605886624.JavaMail.jboss@colo-br-02.atl.jboss.com>
JBossWS 2.0.1 doesn't support Tomcat deployment.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095902#4095902
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095902
From do-not-reply at jboss.com Wed Oct 17 03:27:13 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 17 Oct 2007 03:27:13 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: How Can I Make my JBoss Application
Server Support JAX-W
Message-ID: <9635343.1192606033550.JavaMail.jboss@colo-br-02.atl.jboss.com>
You have to modify your ant.properties file.
I'm sure there's no /home/tdiesler directory on your machine ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095903#4095903
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095903
From do-not-reply at jboss.com Wed Oct 17 03:52:02 2007
From: do-not-reply at jboss.com (lynquan)
Date: Wed, 17 Oct 2007 03:52:02 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: How Can I Make my JBoss Application
Server Support JAX-W
Message-ID: <5618763.1192607522485.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks for your help.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095907#4095907
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095907
From do-not-reply at jboss.com Wed Oct 17 04:16:02 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 17 Oct 2007 04:16:02 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: 2 ejb3s exposed as web services.
Can't have same methods
Message-ID: <534615.1192608962065.JavaMail.jboss@colo-br-02.atl.jboss.com>
This problem will no be fixed in next release, because it's not JAX-WS compliant.
To prevent your problem please use:
@RequestWrapper(className="package.UniqueClassName")
| @ResponseWrapper(className="package.UniqueClassNameResponse")
method annotations on your second bean authenticate() method.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095920#4095920
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095920
From do-not-reply at jboss.com Wed Oct 17 04:53:29 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 17 Oct 2007 04:53:29 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: 2 ejb3s exposed as web services.
Can't have same methods
Message-ID: <3346669.1192611209242.JavaMail.jboss@colo-br-02.atl.jboss.com>
Updated FAQ document, see:
http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#Why_I.27m_getting_.22propertyname_is_not_valid_property_on_class_mypackage.jaxws.Propertyname.22.3F
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095934#4095934
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095934
From do-not-reply at jboss.com Wed Oct 17 05:54:03 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 17 Oct 2007 05:54:03 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.1 released
Message-ID: <3350728.1192614843822.JavaMail.jboss@colo-br-02.atl.jboss.com>
I don't know that exactly. But it should be next year.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095974#4095974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095974
From do-not-reply at jboss.com Wed Oct 17 07:32:38 2007
From: do-not-reply at jboss.com (l.gh)
Date: Wed, 17 Oct 2007 07:32:38 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Deployment failure
Message-ID: <10133354.1192620758534.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi guys,
I'm now deploying my POJO style EJB3 as a webservice. And it can be done successfully on Jboss4.0.5 but seriously it failed on Jboss4.2.1. I'm going to find a solution by Google but seems no similar way to solve it. Could anybody of you experts give me an opinion please?
Here I attached logs pushed into Jboss console.
| 12:21:09,330 ERROR [MainDeployer] Could not create deployment: file:/C:/devenv/jboss-4.2.0.GA/server/janes-dev/deploy/jm-lmi-place-ejb.jar
| org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nested throwable: (java.lang.IllegalStateException: Cannot build JAXB context)
| at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
| at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:83)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
| 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 $Proxy34.create(Unknown Source)
| at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:597)
| 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 $Proxy9.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$ScannerThread.loop(AbstractDeploymentScanner.java:274)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
| Caused by: java.lang.IllegalStateException: Cannot build JAXB context
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:879)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:128)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:49)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:77)
| at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:92)
| at org.jboss.ws.integration.jboss42.DeployerInterceptor.createServiceEndpoint(DeployerInterceptor.java:127)
| at org.jboss.ws.integration.jboss42.DeployerInterceptorEJB.createServiceEndpoint(DeployerInterceptorEJB.java:43)
| at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:78)
| ... 28 more
| Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
| java.util.List is an interface, and JAXB can't handle interfaces.
| this problem is related to the following location:
| at java.util.List
|
| at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:66)
| at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:361)
| at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:217)
| at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
| 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:597)
| at com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:76)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.createJAXBContext(JAXWSMetaDataBuilder.java:875)
| ... 35 more
|
Source code looks like:
| @Remote
| @WebService
| @SOAPBinding(style=Style.RPC)
| public interface PlaceOperator {
| public List getList(HashMap map);
| }
|
| @Stateless
| @WebService(endpointInterface = "com.janes.discoveryxml.ejb.PlaceOperator")
| public class PlaceOperatorBean implements PlaceOperator{
|
| public List getList(HashMap map) {
| xxx
| return null;
| }
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096014#4096014
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096014
From do-not-reply at jboss.com Wed Oct 17 07:39:13 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 17 Oct 2007 07:39:13 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployment failure
Message-ID: <20671125.1192621153370.JavaMail.jboss@colo-br-02.atl.jboss.com>
"l.gh" wrote :
| Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions
| java.util.List is an interface, and JAXB can't handle interfaces.
| this problem is related to the following location:
| at java.util.List
|
Try to focus on this. It seems there's a java.util.List somewhere in your source code which is annotated with JAXB annotations.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096016#4096016
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096016
From do-not-reply at jboss.com Wed Oct 17 07:43:47 2007
From: do-not-reply at jboss.com (l.gh)
Date: Wed, 17 Oct 2007 07:43:47 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployment failure
Message-ID: <31684233.1192621427184.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks Richard of your reply!
But it is really happy with Jboss4.0.5
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096018#4096018
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096018
From do-not-reply at jboss.com Wed Oct 17 09:59:12 2007
From: do-not-reply at jboss.com (cch@jboss)
Date: Wed, 17 Oct 2007 09:59:12 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - How to handle namespace generation?
Message-ID: <27232492.1192629552313.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi everyone,
I have the following problem: In a jboss 4.0.5GA with ejb3 (installed from jems-installer-1.2.0.GA.jar) I want to publish a web service.
Therefor I annotate a class with
| @WebService(name="service",
| portName="service",
| serviceName="TestService",
| targetNamespace="http://foo.com"
| )
|
One of the method I annotate with @WebMethod uses a class Bar from package com.foo Now if I inspect the automatically generated wsdl I have a targetNamespace http://foo.com but in the types-section I have a targetNamespace http://foo.com/jaws.
I tried to put a package-info.java in the package com.foo with
| @javax.xml.bind.annotation.XmlSchema(namespace="http://com.foo")
| package com.foo;
|
But the result is still the same.
Am a missing any obvious switch or do I just have a serious misunderstanding of how the wsdl should work?
Christian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096090#4096090
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096090
From do-not-reply at jboss.com Wed Oct 17 10:26:59 2007
From: do-not-reply at jboss.com (ptenn10)
Date: Wed, 17 Oct 2007 10:26:59 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Results: jboss-4.0.4 AS and
jbossws-2.0.1 Integration
Message-ID: <15194406.1192631219425.JavaMail.jboss@colo-br-02.atl.jboss.com>
I thought I'd have to go down a different path, but my manager said he's good with dropping jaxb-api.jar for JAXB 2.0 into the endorsed directory, so I'm back in business. Horray!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096113#4096113
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096113
From do-not-reply at jboss.com Wed Oct 17 10:59:53 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 17 Oct 2007 10:59:53 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Productivity
Message-ID: <32914380.1192633193241.JavaMail.jboss@colo-br-02.atl.jboss.com>
The JBossWS team is currently defining enhancements and changes to the project in order to improve his users productivity.
The main concern is making the whole webservice experience easier; this means helping users in making the most of jbossws for their own enterprise business.
We've just described our first idea about this interesting topic on the design forum; if anybody wants to comment or propose something, let's do it there.
Here is the introduction:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121127
and here are the other posts about productivity efforts at different levels:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121223
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121252
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121257
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121379
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121473
Community opinions are very important, especially for topics like this. Feel free to comment or suggest actions to improve the overall productivity.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096133#4096133
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096133
From do-not-reply at jboss.com Wed Oct 17 11:33:03 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Wed, 17 Oct 2007 11:33:03 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Jbossws Tutorial.
Message-ID: <13692891.1192635183938.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have search a lot to find a starting tutorial for JBossws without EJB and wiht server 4.0.5.
Can any body help me how to create a very simple Web Service. Which files need to be created, directory structure, where to deploy and how to test it.
It would be very helpful.
Regards,
Zeeshan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096149#4096149
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096149
From do-not-reply at jboss.com Wed Oct 17 12:14:58 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 17 Oct 2007 12:14:58 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <31934911.1192637698757.JavaMail.jboss@colo-br-02.atl.jboss.com>
Did you take a look at the documentation? In particular, speaking of POJO endpoint, check this:
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Plain_old_Java_Object_.28POJO.29
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096176#4096176
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096176
From do-not-reply at jboss.com Wed Oct 17 12:35:24 2007
From: do-not-reply at jboss.com (pranav.akiri)
Date: Wed, 17 Oct 2007 12:35:24 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Multithreading in Jboss 4.0.1
Message-ID: <9297058.1192638925051.JavaMail.jboss@colo-br-02.atl.jboss.com>
No one has encounted this?
How abt Jboss team?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096189#4096189
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096189
From do-not-reply at jboss.com Wed Oct 17 13:02:35 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 17 Oct 2007 13:02:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <10840974.1192640555417.JavaMail.jboss@colo-br-02.atl.jboss.com>
mmh, I think there's a little mess in your configuration. Why are you using web.xml and jboss-web.xml considering you have ejb endpoints? You should only have jboss.xml as non-java file. I think this could be the problem, I would try starting from the jaxws-sample-context, it has an ejb endpoint with secureWSDLAccess = false.
Let me know if you still have problem once you fix this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096198#4096198
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096198
From do-not-reply at jboss.com Wed Oct 17 13:18:13 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 17 Oct 2007 13:18:13 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Class name case incorrect in
generated client artifacts
Message-ID: <17818157.1192641493419.JavaMail.jboss@colo-br-02.atl.jboss.com>
It should work, since the issue has been solved in release 1.0.2. If you still have the same problem, please reopen the issue and submit the wsdl you're using to reproduce the issue.
However please note that jaxrpc tools issues are solved by the community, since our main focus is on jax-ws.
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096210#4096210
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096210
From do-not-reply at jboss.com Wed Oct 17 13:27:49 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 17 Oct 2007 13:27:49 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: SessionBean as WebService - again
complex data structure
Message-ID: <29961000.1192642069891.JavaMail.jboss@colo-br-02.atl.jboss.com>
It would have been fine if you used WRAPPED parameter style.
BARE parameter style requires additional JAXB annotations:
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Document.2FLiteral_.28Bare.29
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096215#4096215
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096215
From do-not-reply at jboss.com Wed Oct 17 13:33:35 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 17 Oct 2007 13:33:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Cannot obtain wsdl service (problem
in JBoss 4.2 used to
Message-ID: <12655287.1192642415545.JavaMail.jboss@colo-br-02.atl.jboss.com>
"burakbayramli" wrote :
|
| | public class Client
| | {
| | public static void main(String[] args) throws Exception
| | {
| | URL url = new URL("http://localhost:8080/ggServices/CalculatorBean?wsdl");
| | QName qname = new QName("http://localhost:8080/ggServices/CalculatorBean",
| | "CalculatorService");
| |
|
You're using the wrong namespace when creating the qname; it should be "http://service.kitapdemo.bilgidata.org/" according to your wsdl.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096218#4096218
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096218
From do-not-reply at jboss.com Wed Oct 17 13:49:38 2007
From: do-not-reply at jboss.com (gturner)
Date: Wed, 17 Oct 2007 13:49:38 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Runtime classloader cannot be null
Message-ID: <4158571.1192643378325.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have a JAX-WS 2.0 RI based project deployed on JBoss 4.0.4.GA that I am upgrading to JBoss 4.2.1.GA with JBossWS 2.0.1.GA.
Deployment of the .war fails with the following stacktrace:
| 2007-10-17 09:31:32,361 ERROR [org.jboss.deployment.MainDeployer] (main:) Could not start deployment: file:/home/jboss/jboss-4.2.1.GA/server/jboss2/farm/HVODImportWebService.war
| java.lang.IllegalArgumentException: Runtime classloader cannot be null
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:55)
| at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
| at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
| at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
| at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
| at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
| at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
| 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 $Proxy55.start(Unknown Source)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor28.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 $Proxy67.deploy(Unknown Source)
| at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
| at org.jboss.ha.framework.server.FarmMemberService.deploy(FarmMemberService.java:412)
| at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
| at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
| at org.jboss.ha.framework.server.FarmMemberService.startService(FarmMemberService.java:212)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
| at sun.reflect.GeneratedMethodAccessor6.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.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.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.server.Invocation.invoke(Invocation.java:86)
| at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoke.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:1025)
| at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at sun.reflect.GeneratedMethodAccessor28.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 $Proxy10.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.GeneratedMethodAccessor6.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.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.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.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:1025)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
| at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
| 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:508)
| at java.lang.Thread.run(Thread.java:595)
|
The war file contains the following jboss-web.xml:
|
|
|
|
|
|
| xo.loaders:loader=HVODImportWebService.war
|
|
|
| java:/jaas/LDAP
|
| /HVODWebService/Import
|
| false
|
| xo.services:service=ConfigurationManager
|
|
When I remove the loader-repository configuration, deployment is successful. I'm not entirely sure why I have a habit of declaring loader-repository for all my deployments, it definitely began with my quest for isolated-classloaders, but is probably superfluous now that I have isolated classloaders properly configured in conf/jboss-service.xml, deploy/ear-deployer.xml, and deploy/jboss-web.deployer/META-INF/jboss-service.xml server configuration files.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096224#4096224
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096224
From do-not-reply at jboss.com Wed Oct 17 14:24:26 2007
From: do-not-reply at jboss.com (gturner)
Date: Wed, 17 Oct 2007 14:24:26 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - @PostConstruct never invoked
Message-ID: <21412519.1192645466760.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have a JAX-WS 2.0 RI based project deployed on JBoss 4.0.4.GA that I am upgrading to JBoss 4.2.1.GA with JBossWS 2.0.1.GA.
An endpoint packaged in a war makes use of @PostConstruct, as well as some Handlers that make use of @PostConstruct as well. @PostContruct on the web service class is never invoked, however @PostConstruct on on of the Handlers does get invoked. I'll try experimenting with removing the handlers, and see if it's something like JBossWS will only invoker one @PostConstruct method per web service.
The following port interface was generated from the WSDL:
| @WebService(name="ImportPort", targetNamespace="urn:HVODWebService")
| @HandlerChain(file="ImportPort_handler.xml")
| @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.BARE)
| public interface ImportPort {
|
| @WebMethod
| @WebResult(name="ImportResponse",
| targetNamespace="urn:HVODWebServiceTypes",
| partName="response")
| public ImportResponse submitJob(@WebParam(name="ImportRequest",
| targetNamespace="urn:HVODWebServiceTypes",
| partName="request")
| ImportRequest request)
| throws ServiceFault;
|
| }
|
The following implementation makes use of @PostConstruct, but never gets invoked:
| @WebService(endpointInterface="com.xo.nextgen.hvodwebservice.wsdl.ImportPort")
| public class ImportWebService implements ImportPort {
|
| @Resource
| private WebServiceContext context;
|
| @PostConstruct
| public void initialize() {
| ...
| }
|
| @PreDestroy
| public void destroy() {
| ...
| }
|
| public ImportResponse submitJob(ImportRequest request)
| throws ServiceFault {
| ...
| }
|
| }
|
The following handler.xml is used to inject two Handlers:
|
|
|
|
| SchemaValidation
| com.xo.nextgen.hvodwebservice.wsdl.handler.SchemaValidationHandler
|
|
| FaultNotification
| com.xo.nextgen.hvodwebservice.wsdl.handler.FaultNotificationHandler
|
|
|
|
The following Handler interestingly does have it @PostConstruct method invoked:
| public class SchemaValidationHandler
| implements LogicalHandler {
|
| @PostConstruct
| public void initialize() throws WebServiceException {
| ...
| }
|
| @PreDestroy
| public void destroy() {
| }
|
|
| public boolean handleMessage(LogicalMessageContext context) {
| ...
| }
|
| public boolean handleFault(LogicalMessageContext context) {
| ...
| }
|
| public void close(MessageContext context) {
| ...
| }
|
| }
|
Also the exact same behavior occurs with JBoss 4.2.1.GA with it's native JBossWS 1.2.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096238#4096238
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096238
From do-not-reply at jboss.com Wed Oct 17 15:24:56 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 17 Oct 2007 15:24:56 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - SoapFaultException using anyType
Message-ID: <25534736.1192649096394.JavaMail.jboss@colo-br-02.atl.jboss.com>
I'm attempting to access a web-service on a clients machine, but, receive one of the vaguest errors ever:
| 2007-10-17 11:44:18,875 INFO [STDOUT:140] javax.xml.rpc.soap.SOAPFaultException: SoapMapper:Can't create mapper inside 'anyType' of type anySimpleType in namespace http://www.w3.org/2001/XMLSchema.
| 2007-10-17 11:44:18,875 INFO [STDOUT:140] at com.sun.xml.rpc.client.StreamingSender._raiseFault(StreamingSender.java:360)
| 2007-10-17 11:44:18,875 INFO [STDOUT:140] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:224)
| 2007-10-17 11:44:18,875 INFO [STDOUT:140] at com.comira.ScheduleSoapPort_Stub.getCandidateScheduleData(ScheduleSoapPort_Stub.java:170)
|
I'm not sure what is causing the problem and was hoping someone could help.
I'm using jwsdp1.3, jboss-4.0.3SP1, jdk1.4.2_13.
Thanks,
Graham
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096253#4096253
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096253
From do-not-reply at jboss.com Wed Oct 17 19:37:07 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 17 Oct 2007 19:37:07 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: SoapFaultException using anyType
Message-ID: <22708425.1192664227664.JavaMail.jboss@colo-br-02.atl.jboss.com>
Can anyone tell me which version of JBoss works with jdk1.4.2 and supports the anyType type element?
This seemed to state that there was a problem with rpc encoded web-services: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032888#4032888
I've tried to change them to literal, but, have been unsuccessful..
And this says that it's fixed, but, it doesn't say which version to use:
http://jira.jboss.com/jira/browse/JBWS-1595
Thanks.
Graham
Here's the wsdl. If you see anything that might be causing the problem please let me know:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096326#4096326
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096326
From do-not-reply at jboss.com Wed Oct 17 19:52:04 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 17 Oct 2007 19:52:04 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: SoapFaultException using anyType
Message-ID: <10949605.1192665124253.JavaMail.jboss@colo-br-02.atl.jboss.com>
looks like it's fixed in
jbossws-native-2.0.0.GA
and above
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096335#4096335
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096335
From do-not-reply at jboss.com Wed Oct 17 19:57:51 2007
From: do-not-reply at jboss.com (balkanboy)
Date: Wed, 17 Oct 2007 19:57:51 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - wsconsume Ant task fails to find
Message-ID: <11414040.1192665471347.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have the following in my build.xml:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
And a WSDL that contains a type like this:
|
|
|
|
|
|
|
|
|
When I invoke the 'wsconsume' task from Ant, I get the following:
package javax.activation does not exist
[wsconsume] import javax.activation.DataHandler;
[wsconsume] ^
[wsconsume] BrmEntry.java:50: cannot find symbol
[wsconsume] symbol : class DataHandler
[wsconsume] location: class com.raf.uspsbrm.datamart.wsclient.BrmEntry
[wsconsume] protected DataHandler imageStream;
The only way I was able to get around this issue is to add "activation.jar" to Ant's classpath (I'm using Ant 1.7), or use the 'wsconsume.sh' script.
Does anyone have any idea how to fix the Ant task without necessarily altering Ant's CLASSPATH or is this necessary for 'wsconsume' to work from within Ant?
Thanks in advance!
Martin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096337#4096337
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096337
From do-not-reply at jboss.com Thu Oct 18 02:39:48 2007
From: do-not-reply at jboss.com (oskar.carlstedt)
Date: Thu, 18 Oct 2007 02:39:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Multithreading in Jboss 4.0.1
Message-ID: <31780534.1192689588847.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi!
The most correct way to do this is to write your own MBean/Service. AFAIK threads are not allowed inside an EJB (some application servers will allow threads in the EJB). So writing your own MBean that will take care of multithreading might solve your problem.
Creating MBeans is about adding a new service entry in you jboss-app.xml that will point out a your-service.xml file.
You MBean javacode must implement an interface s.a. YourServiceMBean (Notice the pattern interface name ends with MBean, the implementation does not);
mbean interface: YourServiceMBean
mbean impleementation: YourService
You are looking up MBeans in the same way as you do with an EJB with the
iniCtx.lookup(...)
The MBean has some life cycle methods that you might want to use:
start(), stop(), ... Start is called when the service is deployed. Check the JBoss application server documentation for more details.
Hope this can help you.
Cheers
/Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096383#4096383
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096383
From do-not-reply at jboss.com Thu Oct 18 03:39:11 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Thu, 18 Oct 2007 03:39:11 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <14271577.1192693151350.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi I have read that guide but I haven't understood much.
First I had to write the class that implements the service but then I don't know what I have to do.
In that page there's this file xml:
|
|
| TestService
| org.jboss.test.ws.jaxws.samples.jsr181pojo.JSEBean01
|
|
| TestService
| /*
|
|
|
Must I write this file or this file is generated by jbossws automatically when I deploy a web service? or are there some tools to write it?
The xml that I copied above is the web.xml required?
After that I have created my implementation of service ed the xml file, If I understand I must create a jar file and rename it as war, isn't it?
The last my doubt is about how can I deploy the war?
In wich directory must I put the war file?
Thanks to all, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096392#4096392
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096392
From do-not-reply at jboss.com Thu Oct 18 03:58:36 2007
From: do-not-reply at jboss.com (Christy)
Date: Thu, 18 Oct 2007 03:58:36 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <1108305.1192694316272.JavaMail.jboss@colo-br-02.atl.jboss.com>
alessio.soldano at jboss.com
Thank you very much that you are helping me!
My problem is not solved. I downloaded jbossws-samples-1.2.1.GA and looked through jaxws-sample-context. In src/java/...... /context directory I found several classes and interfaces (EndpointEJB, EndpointJSE., EndpointNoInjectEJB, TestEndpoint, WebServiceContextEJBTestCase, WebServiceContextJSETestCase).
Then I went to the src/resources/.../context directory and I found web.xml and jboss-web.xml. I looked through web.xml and found, that it describes EndpointJSE class. But an ejb endpoint with secureWSDLAccess = false is in the EndpointEJB. I din't found any *.xml for it. So, I'm confused. What samples should I look? Thank you!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096402#4096402
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096402
From do-not-reply at jboss.com Thu Oct 18 04:03:54 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 04:03:54 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <21479720.1192694634969.JavaMail.jboss@colo-br-02.atl.jboss.com>
you can do the following: create a zip-file with the follwoing structure (folders are between < and >)
|
+--
+--
+-- web.xml
+--
+-- put your class-files here (including packages)
rename the zip-file to a war-file and copy it to /server/default/deploy (if you are using the default-server-config)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096406#4096406
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096406
From do-not-reply at jboss.com Thu Oct 18 04:06:50 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 04:06:50 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <5269167.1192694810146.JavaMail.jboss@colo-br-02.atl.jboss.com>
hm, something happened with the zip-file-structure:
| |
| +--
| +--
| +-- web.xml
| +--
| +-- put your class-files here (including packages)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096408#4096408
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096408
From do-not-reply at jboss.com Thu Oct 18 04:08:23 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 18 Oct 2007 04:08:23 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <28884008.1192694903788.JavaMail.jboss@colo-br-02.atl.jboss.com>
"Christy" wrote : alessio.soldano at jboss.com
| Thank you very much that you are helping me!
| My problem is not solved. I downloaded jbossws-samples-1.2.1.GA and looked through jaxws-sample-context. In src/java/...... /context directory I found several classes and interfaces (EndpointEJB, EndpointJSE., EndpointNoInjectEJB, TestEndpoint, WebServiceContextEJBTestCase, WebServiceContextJSETestCase).
| Then I went to the src/resources/.../context directory and I found web.xml and jboss-web.xml. I looked through web.xml and found, that it describes EndpointJSE class. But an ejb endpoint with secureWSDLAccess = false is in the EndpointEJB. I din't found any *.xml for it. So, I'm confused. What samples should I look? Thank you!
Well, I was looking at the 2.0.x samples, anyway there shouldn't be a lot of differences. I suggest you to build the samples so that you get the binaries and can see what is being packaged inside them.
The 2.0.x samples build creates a jaxws-samples-context.war and a jaxws-samples-context.jar: the first one features a pojo endpoint, the second one an ejb endpoint.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096409#4096409
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096409
From do-not-reply at jboss.com Thu Oct 18 04:47:22 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Thu, 18 Oct 2007 04:47:22 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <32545783.1192697242538.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
Thanks for your response.
Again my question is still there. How to start from a scratch?
Can you please eloborate how to make a simple HelloWorld Service. Which in ping send message, 'Hello World'
My question goes, how to creat this class, how to use tools to create WSDL file.
Its clear once u have you .war file how to deploy that. Please give a complete example of HelloWorld from scratch which explains how to use jbossws.
Thanks in advance.
Regards,
Zeeshan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096432#4096432
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096432
From do-not-reply at jboss.com Thu Oct 18 04:52:10 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Thu, 18 Oct 2007 04:52:10 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <30307500.1192697530308.JavaMail.jboss@colo-br-02.atl.jboss.com>
Mmm, I must create a zip file with the class file that describes the web service like this:
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class Test
| {
| @WebMethod
| public String echo(String input)
| {
| return input;
| }
| }
|
In the test.war, I insert test.class and the web.xml.
But my problems is the web.xml file, how can I create this?
Is it generated automatically by something? And how?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096437#4096437
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096437
From do-not-reply at jboss.com Thu Oct 18 05:07:19 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 05:07:19 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <8814485.1192698439499.JavaMail.jboss@colo-br-02.atl.jboss.com>
copy the web.xml and change the servlet-class to your webservice's class and the servlet-name (twice) to whatever you like to
i don't know if it can be created automatically, i always do it manually
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096442#4096442
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096442
From do-not-reply at jboss.com Thu Oct 18 07:00:57 2007
From: do-not-reply at jboss.com (nickarls)
Date: Thu, 18 Oct 2007 07:00:57 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - nor any of its super class is known...
Message-ID: <20287621.1192705257882.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
I'm running JB 4.2.1GA and have an annotated WebService that takes a List as parameters. However, I get an
| [javax.xml.bind.JAXBException: foo.Bar nor any of its super class is known to this context]
|
How should I introduce this class to JAXB? Tried @XmlType and @XmlRootElement annotations but no go. Even more strange, It was working at some point without any extra configuration :-/
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096464#4096464
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096464
From do-not-reply at jboss.com Thu Oct 18 07:23:28 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Thu, 18 Oct 2007 07:23:28 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <7335316.1192706608941.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
Can you please do a favour and paste here the compelte files.
Test.java (with all imports as I am getting compiling error)
web.xml (refering to this Test.java).
Please , kick us to start...
Regards,
Zeeshan.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096470#4096470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096470
From do-not-reply at jboss.com Thu Oct 18 07:44:02 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 07:44:02 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <5219071.1192707842323.JavaMail.jboss@colo-br-02.atl.jboss.com>
java-source (you need jboss-jaxws.jar to compile it)
| package ws.test; /* you can use any package */
|
| import javax.jws.WebMethod;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class Test {
|
| @WebMethod
| public String echo(String param) {
| return param;
| }
|
| }
|
web.xml
|
|
|
|
|
| Test
| ws.test.Test
|
|
|
| Test
| /*
|
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096480#4096480
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096480
From do-not-reply at jboss.com Thu Oct 18 08:21:30 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Thu, 18 Oct 2007 08:21:30 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <6490273.1192710090282.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
Thanks for such a great help.
Now files are compiled and deployed sucsessfully but I am not able to see any published service on JBOSSWS page. for example
http://localhost/jbossws/ is the url where i can see that jbossws is running and up. how I see my my published service??
Regards,
Zeeshan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096503#4096503
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096503
From do-not-reply at jboss.com Thu Oct 18 08:41:27 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 08:41:27 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <7260476.1192711287316.JavaMail.jboss@colo-br-02.atl.jboss.com>
per default the url is http://localhost:8080/jbossws/
after deploying the war-file you should see something like this in the log-file (/server/default/log/server.log) and/or on the console:
| 8:58,078 INFO [org.jboss.ws.core.server.ServiceEndpointManager] WebService started: http://127.0.0.1:8080/test
|
then you can see the wsdl of your webservice at http://127.0.0.1:8080/test?WSDL
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096518#4096518
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096518
From do-not-reply at jboss.com Thu Oct 18 08:59:52 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Thu, 18 Oct 2007 08:59:52 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <23037631.1192712392876.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
NOw let me repeat what I have done
Test.Java
__
import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@WebService
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class Test {
@WebMethod
public String echo(String param) {
return param;
}
}
__
web.xml
__
FirstTest
Test
FirstTest
/*
__
and when I make a war file of this and put in deploy directory of Jboos, I got on console ..
14:54:01,371 INFO [TomcatDeployer] deploy, ctxPath=/FirstTest, warUrl=.../tmp/deploy/tmp64909FirstTest-exp.war/
Now When I try to go to this url.
http://localhost/FirstTest?wsdl
it simply comes up with 'Directory Listing For'
I think I am still missing something. Are not we suppose to make WSDL file first using some tool. If yes, can you please explain that as well?
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096528#4096528
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096528
From do-not-reply at jboss.com Thu Oct 18 09:13:21 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 09:13:21 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <32337745.1192713201769.JavaMail.jboss@colo-br-02.atl.jboss.com>
wsdl-file will be created automatically
are there no more log-entries for your deployment?
maybe the structure of your war-file is not correct. could you unzip it and paste a recursive directory-listing here?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096533#4096533
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096533
From do-not-reply at jboss.com Thu Oct 18 09:20:35 2007
From: do-not-reply at jboss.com (terapong)
Date: Thu, 18 Oct 2007 09:20:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - JBOSS Webservice & Thai Language
Message-ID: <16894534.1192713635724.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have a problem
i use redhat developer studio beta 2 + jboss 4.2.1 GA with JBOSSWS develop webservice. i write simple operation
@WebMethod
@WebResult(name = "result")
public String echo(@WebParam(name = "book") String book) {
System.out.println(book);
return "?????";
}
and run soap UI for test result but it return ???
the same operation develop on netbean 5.5 deploy on tomcat 5.5 has no problem
how i resolve problem
help me expert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096541#4096541
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096541
From do-not-reply at jboss.com Thu Oct 18 09:22:36 2007
From: do-not-reply at jboss.com (terapong)
Date: Thu, 18 Oct 2007 09:22:36 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBOSS Webservice & Thai Language
Message-ID: <10691421.1192713756622.JavaMail.jboss@colo-br-02.atl.jboss.com>
i can't type thai language on this forum
@WebMethod
@WebResult(name = "result")
public String echo(@WebParam(name = "book") String book) {
System.out.println(book);
return "any thai word";
}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096542#4096542
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096542
From do-not-reply at jboss.com Thu Oct 18 09:46:09 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Thu, 18 Oct 2007 09:46:09 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <4147391.1192715169362.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thank you! I deployed my web service. I have generated the web service wsdl, does it means that the web service work correctly?
Another question, I must write a web service that read/write an xml file, what is the current path of the war package?
Thanks again!
Bye Bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096566#4096566
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096566
From do-not-reply at jboss.com Thu Oct 18 09:51:23 2007
From: do-not-reply at jboss.com (oskar.carlstedt)
Date: Thu, 18 Oct 2007 09:51:23 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBOSS Webservice & Thai Language
Message-ID: <10814814.1192715483478.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi!
You have to set the encoding to UTF-8 (default is ISO-8859). I'm not sure if there is any other way right now than setting the file.encoding parameter to UTF-8. So add -Dfile.encoding=UTF-8 to your JAVA_OPTS when starting JBoss.
Good luck!
/Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096568#4096568
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096568
From do-not-reply at jboss.com Thu Oct 18 09:54:48 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Thu, 18 Oct 2007 09:54:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <17000823.1192715688321.JavaMail.jboss@colo-br-02.atl.jboss.com>
if I unzip my file the structure is as
FirstTest-
+META-INF
+WEB-INF
- web.xml
+classes
-Test.class
Any clue?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096570#4096570
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096570
From do-not-reply at jboss.com Thu Oct 18 10:01:36 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 10:01:36 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <8126066.1192716096699.JavaMail.jboss@colo-br-02.atl.jboss.com>
i think you need a package, i got an exception in the server.log when i tried without one
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096573#4096573
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096573
From do-not-reply at jboss.com Thu Oct 18 10:07:51 2007
From: do-not-reply at jboss.com (jtestori)
Date: Thu, 18 Oct 2007 10:07:51 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <27899326.1192716471971.JavaMail.jboss@colo-br-02.atl.jboss.com>
"abdujaparov" wrote : Thank you! I deployed my web service. I have generated the web service wsdl, does it means that the web service work correctly?
|
if you mean that the url ...?WSDL shows the wsdl-file in the browser, your service should be up and running
"abdujaparov" wrote : Another question, I must write a web service that read/write an xml file, what is the current path of the war package?
the path where the war-file is inflated changes with every deployment or server-restart. i'm not sure what the best way to do this is, maybe someone else can help you. i would try if if had time ;)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096576#4096576
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096576
From do-not-reply at jboss.com Thu Oct 18 12:33:37 2007
From: do-not-reply at jboss.com (mazz@jboss.com)
Date: Thu, 18 Oct 2007 12:33:37 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - avoid lazy-initialization exceptions
Message-ID: <32002308.1192725217576.JavaMail.jboss@colo-br-02.atl.jboss.com>
We have a pretty big problem that I was hoping to get some feedback on how others solved the problem. Its a common-enough problem that I think others must have run into this.
We've got some SLSBs that return EJB3/JPA entities. We've annotated our SLSBs with @WebService so we can have a python client call into the SLSB via the web service interface.
Some of the SLSB methods return entities that are not fully, eagerly loaded. That is, for performance reasons, we don't need to eagerly load in all relationships before the SLSB returns the entity to the web service client.
However, when the web service container attempts to encode the entity in its XML representation, it calls the getters for those relationships we haven't loaded. This, in turn, throws the infamous LazyInitializationException.
Clearly, the answer is not to force web service apps to eagerly load all entity relationships. However, for maintenance purposes, we don't want to have to create another layer of data-transfer objects just to support the web service stuff (the SLSB API works fine from a Java UI client - the only problem occurs when needing web service access since this only happens when the web service container needs to encode the returned entity in XML).
Is there some way (annotation? configuration?) that we can tell the web service container to null out or otherwise not call the getters that we know won't work? Can we get the web service container to catch these lazy-init exceptions and just null out the XML value when returning the entity to the client?
How do others solve this problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096654#4096654
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096654
From do-not-reply at jboss.com Thu Oct 18 12:49:10 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Thu, 18 Oct 2007 12:49:10 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <17653221.1192726150485.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks you jtestori, the service works! I've written a client with the stubs genereted by axis from the wsdl was generated by jboss and everything work!
If I go to the list of deployed services I find my service, in this screenview I have some statistics about the service, how can I get this statistics?
Are this statistics calculated on all the interfaces of the services or are there statistics about every interfaces of a service?
Thanks again!
Bye Bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096664#4096664
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096664
From do-not-reply at jboss.com Thu Oct 18 13:42:06 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Thu, 18 Oct 2007 13:42:06 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <2546739.1192729327241.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
abdujaparov is it possible for you to post here your complete code including how u make war file ...
I am not able to see any error on server console but also not able to see my webservice on jbossws page.
plz do help me out.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096681#4096681
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096681
From do-not-reply at jboss.com Thu Oct 18 15:52:44 2007
From: do-not-reply at jboss.com (jortel)
Date: Thu, 18 Oct 2007 15:52:44 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - JBWS-1622,
multiple root context with EJB providing WS probl
Message-ID: <21892887.1192737164304.JavaMail.jboss@colo-br-02.atl.jboss.com>
The release notes for jboss-jaxws_2.0.0GA indicate that this has been fixed. However, I'm deploying with jboss-jaxws_2.0.1GA and I'm still getting the same exception. Wasn't this fixed? If so, how? Do I need to do anything else?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096720#4096720
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096720
From do-not-reply at jboss.com Thu Oct 18 16:50:33 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Thu, 18 Oct 2007 16:50:33 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <31296300.1192740633156.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
You was very right that we have to speficy a package name. Without package name , it did not work but now it works. Now I will create a client and will keep on posting.
Thanks in deed.
Regards,
Zeeshan Javeed.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096740#4096740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096740
From do-not-reply at jboss.com Thu Oct 18 17:14:59 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Thu, 18 Oct 2007 17:14:59 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <248213.1192742099689.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi zeeshan.javeed, this is my code:
| package sum;
|
| import javax.jws.WebMethod;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
|
|
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class Sum {
|
| @WebMethod
| public int sumAB(int a, int b){
| return a+b;
| }
|
| }
|
|
web.xml:
|
|
|
|
|
| Sum
| sum.Sum
|
|
|
| Sum
| /*
|
|
|
|
file sum.war:
directory META-INF.
directory WEB-INF:
web.xml
directory classes:
directory sum:
Sum.class
If I go to http://localhost:8080/jbossws/services jboss give me these statistics:
anonymous wrote :
| Registered Service Endpoints
| Endpoint Name jboss.ws:context=sum,endpoint=Sum
| Endpoint Address http://127.0.0.1:8080/sum?wsdl
| StartTime StopTime
| Thu Oct 18 23:12:09 CEST 2007
| RequestCount ResponseCount FaultCount
| 0 0 0
| MinProcessingTime MaxProcessingTime AvgProcessingTime
| 0 0 0
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096750#4096750
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096750
From do-not-reply at jboss.com Thu Oct 18 17:16:07 2007
From: do-not-reply at jboss.com (acxjbertr)
Date: Thu, 18 Oct 2007 17:16:07 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Fast Infoset
Message-ID: <9777837.1192742167394.JavaMail.jboss@colo-br-02.atl.jboss.com>
I put this comment on http://jira.jboss.org/jira/browse/JBWS-925. I am re-posting it here as it seems appropriate to stimulate discussion on this topic.
The referenced document (http://java.sun.com/developer/technicalArticles/xml/fastinfoset) is over four years old. Since the time it was published several of your open source competitors have integrated Fast Infoset into their stacks. This includes Apache's Axis2 (http://wso2.org/library/2686) which is used by Geronimo (http://geronimo.apache.org/) and Jonas (http://jonas.objectweb.org/). It also includes Sun's reference implementation of JAX-WS (https://jax-ws.dev.java.net/) which is the basis of the Metro Web Service Stack (https://metro.dev.java.net/) used by Glassfish (https://glassfish.dev.java.net/). I don't know anything about commercial vendors, but I assume coverage is good there as well.
The reason I bring this up is because I am endeavoring to write the highest performing web service possible with open source software. Right now, we have standardized on JBoss, but the benefits of Fast Infoset look large enough that they might justify changing application servers.
Is there any possibility Fast Infoset could be integrated into the 2.0.x codebase rather than the 2.1.x codebase?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096751#4096751
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096751
From do-not-reply at jboss.com Thu Oct 18 19:17:17 2007
From: do-not-reply at jboss.com (balkanboy)
Date: Thu, 18 Oct 2007 19:17:17 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: wsconsume Ant task fails to find
Message-ID: <13294011.1192749437901.JavaMail.jboss@colo-br-02.atl.jboss.com>
My apologies - I dont think I did my due diligence with the classpath - I've fixed the problem - I added "fork=true" to the 'wsconsume' Ant task, as well as , and it started to work.
Thanks for reading :).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096773#4096773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096773
From do-not-reply at jboss.com Thu Oct 18 19:19:06 2007
From: do-not-reply at jboss.com (balkanboy)
Date: Thu, 18 Oct 2007 19:19:06 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: wsconsume Ant task fails to find
Message-ID: <31660943.1192749546843.JavaMail.jboss@colo-br-02.atl.jboss.com>
"balkanboy" wrote : My apologies - I dont think I did my due diligence with the classpath - I've fixed the problem - I added "fork=true" to the 'wsconsume' Ant task, as well as , and it started to work.
|
| Thanks for reading :).
Hm, my code got eaten- here's the fix:
|
|
|
|
Since the forked wsconsume task will run inside of its own JVM, obviously activation.jar is getting picked up...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096774#4096774
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096774
From do-not-reply at jboss.com Thu Oct 18 23:57:22 2007
From: do-not-reply at jboss.com (wangfei90)
Date: Thu, 18 Oct 2007 23:57:22 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Please help on invoking the jboss WS?
Message-ID: <21500626.1192766242231.JavaMail.jboss@colo-br-02.atl.jboss.com>
I recently met the problem when I use the jbossWS. I use the jboss 4.2 AS and jbossws2.0GA, jdk1.5.07
Here is my code
package tv.blackarrow.integration.twc.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.1.1-b03-
* Generated source version: 2.0
*
*/
@WebService(name = "Hello", targetNamespace = "http://ws.twc.integration.blackarrow.tv/")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface Hello {
/**
*
* @param arg0
* @return
* returns java.lang.String
*/
@WebMethod
@WebResult(partName = "return")
public String echo(
@WebParam(name = "arg0", partName = "arg0")
String arg0);
}
package tv.blackarrow.integration.twc.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@javax.jws.WebService(endpointInterface="tv.blackarrow.integration.twc.ws.Hello")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class HelloImpl implements Hello{
@WebMethod
public String echo(String input)
{
System.out.println("This is echo of"+input);
return input;
}
}
client side
ackage tv.blackarrow.integration.twc.wsclient;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import tv.blackarrow.integration.twc.ws.*;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.1.1-b03-
* Generated source version: 2.0
*
*/
@WebServiceClient(name = "HelloService", targetNamespace = "http://ws.twc.integration.blackarrow.tv/", wsdlLocation = "http://localhost:8080/baapi/hello?wsdl")
public class HelloService
extends Service
{
private final static URL HELLOSERVICE_WSDL_LOCATION;
static {
URL url = null;
try {
url = new URL("http://localhost:8080/baapi/hello?wsdl");
} catch (MalformedURLException e) {
e.printStackTrace();
}
HELLOSERVICE_WSDL_LOCATION = url;
}
public HelloService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public HelloService() {
super(HELLOSERVICE_WSDL_LOCATION, new QName("http://ws.twc.integration.blackarrow.tv/", "HelloService"));
}
/**
*
* @return
* returns Hello
*/
@WebEndpoint(name = "HelloPort")
public Hello getHelloPort() {
return (Hello)super.getPort(new QName("http://ws.twc.integration.blackarrow.tv/", "HelloPort"), Hello.class);
}
}
package tv.blackarrow.integration.twc.wsclient;
import tv.blackarrow.integration.twc.ws.*;
public class HelloClient {
public static void main(String args[])
{
if (args.length != 1)
{
System.err.println("usage: EchoClient ");
System.exit(1);
}
HelloService service = new HelloService();
Hello echo = service.getHelloPort();
System.out.println("Server said: " + echo.echo(args[0]));
}
}
Here is my web.xml setting
HelloService
tv.blackarrow.integration.twc.ws.Hello
1
HelloService
/hello/*
Here is the wsdl
?
?
?
?
?
?
?
?
?
?
when I run the wsrunclient to invoke the client, it shows
[Fatal Error] :-1:-1: Premature end of file.
Server said: null
I check with the jboss log,
20:42:17,955 INFO [LifecycleHandlerImpl] WebService started: http://127.0.0.1:8080/baapi/hello
20:43:25,799 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
java.lang.ClassCastException: org.jboss.ws.core.soap.EnvelopeBuilderDOM
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:252)
at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:179)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:377)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:260)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:177)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
at org.jboss.wsf.spi.invocation.EndpointServlet.service(EndpointServlet.java:72)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
20:43:25,807 ERROR [SOAPFaultHelperJAXWS] Error creating SOAPFault message
javax.xml.soap.SOAPException: java.lang.ClassCastException: org.jboss.ws.core.soap.MessageFactoryImpl
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:77)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:231)
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:161)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:418)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:260)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:177)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
at org.jboss.wsf.spi.invocation.EndpointServlet.service(EndpointServlet.java:72)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.ClassCastException: org.jboss.ws.core.soap.MessageFactoryImpl
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:73)
... 28 more
20:43:25,808 ERROR [RequestHandlerImpl] Error processing web service request
org.jboss.ws.WSException: javax.xml.ws.WebServiceException: Cannot create SOAPFault message for: java.lang.ClassCastException: org.jboss.ws.core.soap.EnvelopeBuilderDOM
at org.jboss.ws.WSException.rethrow(WSException.java:68)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:298)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:177)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
at org.jboss.wsf.spi.invocation.EndpointServlet.service(EndpointServlet.java:72)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
Caused by: javax.xml.ws.WebServiceException: Cannot create SOAPFault message for: java.lang.ClassCastException: org.jboss.ws.core.soap.EnvelopeBuilderDOM
at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:169)
at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:104)
at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:645)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:418)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:260)
... 22 more
Please help!!! thanks a million
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096798#4096798
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096798
From do-not-reply at jboss.com Fri Oct 19 01:28:00 2007
From: do-not-reply at jboss.com (balkanboy)
Date: Fri, 19 Oct 2007 01:28:00 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Multiple SOAP attachments via MTOM
document/literal?
Message-ID: <20670018.1192771680951.JavaMail.jboss@colo-br-02.atl.jboss.com>
Is it possible to have an API as such:
class Attachments {
private DataHandler dh;
public DataHandler[] getAttachments();
public void setAttachments(DataHandler[] attachments);
}
public interface StoreAttachments {
void storeAttachments(Attachments arg);
}
using MTOM/XOP and document/literal (or any other encoding)?
I want to be able to send multiple attachments (20MB on average each attachment) in a single SOAP message. Is this doable in JBossWS 2.0.1?
Thanks!
Martin
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096809#4096809
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096809
From do-not-reply at jboss.com Fri Oct 19 01:36:28 2007
From: do-not-reply at jboss.com (terapong)
Date: Fri, 19 Oct 2007 01:36:28 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBOSS Webservice & Thai Language
Message-ID: <7780856.1192772188596.JavaMail.jboss@colo-br-02.atl.jboss.com>
It's work thanks Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096810#4096810
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096810
From do-not-reply at jboss.com Fri Oct 19 01:41:08 2007
From: do-not-reply at jboss.com (wangfei90)
Date: Fri, 19 Oct 2007 01:41:08 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Please help on invoking the jboss
WS?
Message-ID: <21836715.1192772468042.JavaMail.jboss@colo-br-02.atl.jboss.com>
I clean up my war fle lib, remove all the jboss ws related jar file, seems the exception changed to
java.lang.IllegalStateException: Canot get target bean instance
at org.jboss.wsf.spi.invocation.InvocationHandlerJSE.getTargetBean(InvocationHandlerJSE.java:54)
at org.jboss.wsf.stack.jbws.ServiceLifecycleInvocationHandler.invoke(ServiceLifecycleInvocationHandler.java:47)
at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:206)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:396)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:260)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:177)
at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:110)
at org.jboss.wsf.spi.invocation.EndpointServlet.service(EndpointServlet.java:72)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.InstantiationException: tv.blackarrow.integration.twc.ws.Hello
at java.lang.Class.newInstance0(Class.java:335)
at java.lang.Class.newInstance(Class.java:303)
at org.jboss.wsf.spi.invocation.InvocationHandlerJSE.getTargetBean(InvocationHandlerJSE.java:49)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096811#4096811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096811
From do-not-reply at jboss.com Fri Oct 19 02:09:09 2007
From: do-not-reply at jboss.com (wangfei90)
Date: Fri, 19 Oct 2007 02:09:09 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Please help on invoking the jboss
WS?
Message-ID: <25178449.1192774149855.JavaMail.jboss@colo-br-02.atl.jboss.com>
solve the problem. please refer to
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104843
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096815#4096815
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096815
From do-not-reply at jboss.com Fri Oct 19 03:56:14 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Fri, 19 Oct 2007 03:56:14 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <27956653.1192780574061.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
Thanks a lot man. Another favour, can you please put the code of your consumer class (client class).
What is the role of different tools provided with Jbossws. For example,
wsconsume.bat
wsprovide.bat
wstools.bat
and
wsrunclient.bat
Thanks.
Zeeshan.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096847#4096847
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096847
From do-not-reply at jboss.com Fri Oct 19 04:11:03 2007
From: do-not-reply at jboss.com (jtestori)
Date: Fri, 19 Oct 2007 04:11:03 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <24225805.1192781463024.JavaMail.jboss@colo-br-02.atl.jboss.com>
http://www.jboss.org/?module=bb&op=viewtopic&t=103420
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096849#4096849
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096849
From do-not-reply at jboss.com Fri Oct 19 05:07:52 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Fri, 19 Oct 2007 05:07:52 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <22630158.1192784873111.JavaMail.jboss@colo-br-02.atl.jboss.com>
HI,
I have tried to use both, wsconsume, and wsproivder but all the time i am getting error of ClassDEFFOUNDERROR.
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/cmd/WSConsume
Althouhg, I have set classpath to jbossws-spi, where these files are present. I am using Java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) Client VM (build 1.6.0_03-b05, mixed mode, sharing).
Please help out... how to use. If i try to make an ant.
give the error that classname="org.jboss.ws.tools.jaxws.ant.wsprovide" not found.
...
Regard,
Zeeshan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096867#4096867
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096867
From do-not-reply at jboss.com Fri Oct 19 05:12:57 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Fri, 19 Oct 2007 05:12:57 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <19956403.1192785177412.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi everybody, I developed my client class with axis, with wsdl2java I have produced the stubs classes for the client.
For the client you can use every solution. The tools as wsprovide or wsconsume give me the same error of zeeshan and I don't know how can resolve it.
The client code is the following:
| import java.rmi.RemoteException;
|
| import javax.xml.rpc.ServiceException;
|
| import client.*;
|
|
| public class Client {
|
| /**
| * @param args
| * @throws ServiceException
| * @throws RemoteException
| */
| public static void main(String[] args) throws ServiceException, RemoteException {
| // TODO Auto-generated method stub
|
| SumService ss = new SumServiceLocator();
|
| Sum sun = ss.getSumPort();
|
| System.out.println(sun.sumAB(6, 3));
| }
|
| }
|
If someone discovers how resolve and how work wstools could tell me the way?
Thanks.
Bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096871#4096871
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096871
From do-not-reply at jboss.com Fri Oct 19 05:24:24 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Fri, 19 Oct 2007 05:24:24 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <18699023.1192785865003.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi abdujaparov,
I got few question..
what is in the package of client.*;
this points to ur webservice provider classes??
how you know which service locator you have to call along port ??
SumService ss = new SumServiceLocator(); // How you know SumServiceLocator you have to call ? and also .getSumPort(); ??
Regards,
Zeeshan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096877#4096877
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096877
From do-not-reply at jboss.com Fri Oct 19 05:38:41 2007
From: do-not-reply at jboss.com (jtestori)
Date: Fri, 19 Oct 2007 05:38:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <30552276.1192786721861.JavaMail.jboss@colo-br-02.atl.jboss.com>
i'm using jboss-4.2.1.GA and the wsconsume in the bin-folder
| @echo off
|
| rem $Id: wsgen.bat 2158 2007-01-27 06:20:59Z jason.greene at jboss.com $
|
| @if not "%ECHO%" == "" echo %ECHO%
| @if "%OS%" == "Windows_NT" setlocal
|
| set DIRNAME=.\
| if "%OS%" == "Windows_NT" set DIRNAME=%~dp0%
| set PROGNAME=run.bat
| if "%OS%" == "Windows_NT" set PROGNAME=%~nx0%
|
| rem Read all command line arguments
|
| REM
| REM The %ARGS% env variable commented out in favor of using %* to include
| REM all args in java command line. See bug #840239. [jpl]
| REM
| REM set ARGS=
| REM :loop
| REM if [%1] == [] goto endloop
| REM set ARGS=%ARGS% %1
| REM shift
| REM goto loop
| REM :endloop
|
| set JAVA=%JAVA_HOME%\bin\java
| set JBOSS_HOME=%DIRNAME%\..
| rem Setup the java endorsed dirs
| set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
|
| rem Setup the wstools classpath
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JAVA_HOME%/lib/tools.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-xml-binding.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/wstx.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/activation.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/javassist.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/getopt.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-api.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/stax-api.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-impl.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxb-xjc.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxws-rt.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jaxws-tools.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossws-spi.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossall-client.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-saaj.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxrpc.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jboss-jaxws.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/jbossws-client.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/log4j.jar
| set WSCONSUME_CLASSPATH=%WSCONSUME_CLASSPATH%;%JBOSS_HOME%/client/mail.jar
|
| rem Execute the JVM
| "%JAVA%" %JAVA_OPTS% -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" -Dlog4j.configuration=wstools-log4j.xml -classpath "%WSCONSUME_CLASSPATH%" org.jboss.wsf.spi.tools.cmd.WSConsume %*
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096886#4096886
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096886
From do-not-reply at jboss.com Fri Oct 19 05:40:42 2007
From: do-not-reply at jboss.com (jtestori)
Date: Fri, 19 Oct 2007 05:40:42 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <782969.1192786843034.JavaMail.jboss@colo-br-02.atl.jboss.com>
from the bin folder, the following works for me
| wsconsume -k http://localhost:8080/myservice?WSDL
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096887#4096887
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096887
From do-not-reply at jboss.com Fri Oct 19 07:50:29 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Fri, 19 Oct 2007 07:50:29 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <17532662.1192794629353.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks , its working from there.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096925#4096925
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096925
From do-not-reply at jboss.com Fri Oct 19 08:28:33 2007
From: do-not-reply at jboss.com (iner)
Date: Fri, 19 Oct 2007 08:28:33 -0400 (EDT)
Subject: [jbossws-users]
[JBossWS] - JBossWS vs Glassfish, do we a 'Tester' ?
Message-ID: <7678730.1192796913152.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hello,
Using JBoss frequently, checked out the features for WS
in Glassfish and saw that they have this Tester-feature in the AS.
This gives me the opportunity to test the WS without writing a client.
Does JBoss have something similar ?
I am running JBoss 4.2.1 now, do I need any addition to that
regarding WS ? And I am running mysql as my rdbms.
regards, i
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096940#4096940
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096940
From do-not-reply at jboss.com Fri Oct 19 09:23:39 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Fri, 19 Oct 2007 09:23:39 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <9366090.1192800219058.JavaMail.jboss@colo-br-02.atl.jboss.com>
hi,
Anyone have any idea how we can deploy a bit complex structure.
I have one Interface class, HelloWorld and the other file is HelloWorldImpl.
HelloWord. java
| package de.iplabs;
| public interface HelloWorld
| {
|
| public void setName(String name);
| public String getName();
|
| public void setAge(String age);
| public String getAge() ;
|
| }
|
and
HelloWorldImpl.java
| package de.iplabs;
|
|
| import javax.jws.WebMethod;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
|
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class HelloWorldImpl implements HelloWorld
| {
| public String name, age;
|
| HelloWorldImpl()
| {
| this.name = "default name";
| this.age = "default age";
| }
|
| @WebMethod
| public void setName(String name)
| {
| this.name = name;
| }
|
| @WebMethod
| public String getName()
| {
| return name;
| }
|
| @WebMethod
| public void setAge(String age)
| {
| this.age = age;
| }
|
| @WebMethod
| public String getAge()
| {
| return this.age;
| }
| }
|
where
web.xml file is
|
|
|
|
|
| HelloWorldService
| de.iplabs.HelloWorldImpl
|
|
|
| HelloWorldService
| /*
|
|
|
|
|
|
Now its again not showing the webserive at http://localhost/jbossws/services
and also I do not see any exception at server console.
Any Idea, whats going wrong ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096969#4096969
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096969
From do-not-reply at jboss.com Fri Oct 19 09:29:47 2007
From: do-not-reply at jboss.com (jtestori)
Date: Fri, 19 Oct 2007 09:29:47 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: web service and asynchronous
processing
Message-ID: <2418775.1192800588001.JavaMail.jboss@colo-br-02.atl.jboss.com>
dear vitor_b,
did you manage to do asynchronous calls as you described here? i would be very interested in how it works.
or can anyone else help me? i don't want a stateful shopping card, but a webservice that calls back to the client after processing the request, because in my case this can be some days later.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096974#4096974
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096974
From do-not-reply at jboss.com Fri Oct 19 09:37:05 2007
From: do-not-reply at jboss.com (jtestori)
Date: Fri, 19 Oct 2007 09:37:05 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <30120090.1192801025224.JavaMail.jboss@colo-br-02.atl.jboss.com>
i can't see any problem, i tried it exactly with the code you have posted and it works
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096976#4096976
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096976
From do-not-reply at jboss.com Fri Oct 19 09:41:11 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Fri, 19 Oct 2007 09:41:11 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBossWS vs Glassfish,
do we a 'Tester' ?
Message-ID: <15422479.1192801271352.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
JBoss currently lacks something similar to the Glassfish ws Tester, however we're working on this. For further information, take a look at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121127
Feel free to comment!
In the meantime you might evaluate Wise http://www.javalinuxlabs.org/wise/, a tool to test ws through a web interface almost like the Glassfish tester.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096978#4096978
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096978
From do-not-reply at jboss.com Fri Oct 19 09:57:23 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Fri, 19 Oct 2007 09:57:23 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <16807240.1192802243398.JavaMail.jboss@colo-br-02.atl.jboss.com>
I was doing a mistake and it deployed succesfully.
Now , I created consumer.java
| import java.rmi.RemoteException;
|
| import javax.xml.rpc.ServiceException;
| import de.iplabs.*;
|
| public class consumer
| {
| public static void main(String args[])
| {
|
| HelloWorldImplService service = new HelloWorldImplService ();
| HelloWorldImpl user = service.getHelloWorldImplPort();
| System.out.println("Server said: " +user.getName());
| System.out.println("Server said: " +user.getAge());
| }
| }
|
and when i run it, i get this error .....
C:\Office\WebService\complex\Consumer>java consumer
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Canot get target bean instance
at com.sun.xml.internal.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(Unknown Source)
at com.sun.xml.internal.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(Unknown Source)
at com.sun.xml.internal.ws.protocol.soap.client.SOAPMessageDispatcher.receive(Unknown Source)
at com.sun.xml.internal.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(Unknown Source)
at com.sun.xml.internal.ws.protocol.soap.client.SOAPMessageDispatcher.send(Unknown Source)
at com.sun.xml.internal.ws.encoding.soap.internal.DelegateBase.send(Unknown Source)
at com.sun.xml.internal.ws.client.EndpointIFInvocationHandler.implementSEIMethod(Unknown Source)
at com.sun.xml.internal.ws.client.EndpointIFInvocationHandler.invoke(Unknown Source)
at $Proxy9.getName(Unknown Source)
at consumer.main(consumer.java:13)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096987#4096987
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096987
From do-not-reply at jboss.com Fri Oct 19 10:13:19 2007
From: do-not-reply at jboss.com (zeeshan.javeed)
Date: Fri, 19 Oct 2007 10:13:19 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <2453324.1192803199318.JavaMail.jboss@colo-br-02.atl.jboss.com>
:)
the problem was my constructor was not declard with PUBLIC modifier. The second thing, the war file is never published if it is renamed from .rar extension to .war.
It should always be proper zip file and that can renamed to war and it works fine.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096992#4096992
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096992
From do-not-reply at jboss.com Fri Oct 19 10:20:40 2007
From: do-not-reply at jboss.com (omatzura)
Date: Fri, 19 Oct 2007 10:20:40 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBossWS vs Glassfish,
do we a 'Tester' ?
Message-ID: <5752615.1192803640277.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
have a look at soapUI (http://www.soapui.org), which is an extremely popular free open-source desktop app for invoking, testing and simulating any web-service. It even has built-in support for the jbossws wsconsume toolset and there are plugins for eclipse, netbeans and IDEA..
Previously there was also a dedicated plug-in for JBossIDE, put it has not yet made it into the new JBoss Tools stack..
Good Luck!
/Ole
eviware.com
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4096997#4096997
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4096997
From do-not-reply at jboss.com Fri Oct 19 17:29:53 2007
From: do-not-reply at jboss.com (iner)
Date: Fri, 19 Oct 2007 17:29:53 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBossWS vs Glassfish,
do we a 'Tester' ?
Message-ID: <29062114.1192829393939.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks !!
I will put a side saturday for this
and get back to you!
regards, Inkimar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097120#4097120
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097120
From do-not-reply at jboss.com Sat Oct 20 11:40:17 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Sat, 20 Oct 2007 11:40:17 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jbossws Tutorial.
Message-ID: <18999489.1192894817865.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi excuse me if I'm answering only now however.
In my client package there are the classes genereted with WSDL2Java (an axis tool), these classes are the stub that I use to invoke the service.
Now I have a problem, if I try to use wsconsume in the following way:
wsconsume.bat -k http://localhost:8080/FileSave?w
| sdl
I receive the following error message:
anonymous wrote :
| Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/wsf/spi/too
| ls/cmd/WSConsume
|
Why this problem? How can I resolve it?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097191#4097191
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097191
From do-not-reply at jboss.com Sat Oct 20 11:52:50 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Sat, 20 Oct 2007 11:52:50 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Deployed service statistics
Message-ID: <1780991.1192895570371.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi, I've deployed some services on jbossws, when I view the list of deployed services there are the statistics of every service such as number of request, respons time etc etc, how can I get these statistics? Have jboss some apis? If yes, where can I find these apis?
Thanks.
Bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097192#4097192
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097192
From do-not-reply at jboss.com Sun Oct 21 04:16:06 2007
From: do-not-reply at jboss.com (gshumakher@gmail.com)
Date: Sun, 21 Oct 2007 04:16:06 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Schema generation with jboss jaxb
Message-ID: <13063447.1192954566822.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
I have a POJO class annotated with JAXB. It works great in the context of web service.
But is there a jboss command line tool that I could use to generate just XSD schema out of this class (similar to schemagen.bat in jaxb reference implementation)?
Thanks,
Gennady
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097240#4097240
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097240
From do-not-reply at jboss.com Sun Oct 21 06:48:11 2007
From: do-not-reply at jboss.com (robert_trudel)
Date: Sun, 21 Oct 2007 06:48:11 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - web service not found
Message-ID: <29038061.1192963691853.JavaMail.jboss@colo-br-02.atl.jboss.com>
hi
somebody sent me a wsdl, i use the jboss tool to generate the classe
it's the wsdl:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
jboss generated some classe
GetPrix.java
GetPrixResponse.java
Prix.java
PrixSoap.java
....
so i implemented the server class (TarifImpl who implement the interface generated by jobss)
in the web.xml i wrote
|
| Facturateur
| com.test.ws.TarifImpl
|
|
|
| Facturateur
| /Facturateur
|
|
when i go to http://localhost:8080/jbossws/services
there is no service
any idea?
thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097246#4097246
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097246
From do-not-reply at jboss.com Sun Oct 21 09:49:35 2007
From: do-not-reply at jboss.com (iner)
Date: Sun, 21 Oct 2007 09:49:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBossWS vs Glassfish,
do we a 'Tester' ?
Message-ID: <10738730.1192974575399.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hello Alessio,
Trying the WISE.
Using JBoss 4.2.1.
Did not install JBossWS though - is that necessary ?
When surfing to:
http://localhost:8080/Wise/
I get the following error in the JBoss-console:
| 15:35:12,680 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbTransaction ejbName: EjbTransaction
| 15:35:12,713 INFO [EJB3Deployer] Deployed: file:/C:/app/jboss-4.2.1.GA/server/default/tmp/deploy/tmp39865Wise.ear-contents/jboss-seam.jar
| 15:35:12,717 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
| 15:35:12,720 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=Wise.ear,jar=Wise.ejb3.jar,unitName=Wise with dependencies:
| 15:35:12,722 INFO [JmxKernelAbstraction] jboss.jca:name=WiseDatasource,service=DataSourceBinding
| 15:35:12,725 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=Wise.ear,jar=Wise.ejb3.jar,unitName=Wise
| 15:35:12,762 INFO [Ejb3Configuration] found EJB3 Entity bean: it.javalinux.wise.seam.entities.SavedWsdl
| 15:35:12,766 INFO [Ejb3Configuration] found EJB3 Entity bean: it.javalinux.wise.seam.entities.UserInformation
| 15:35:12,792 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
| 15:35:12,794 INFO [Ejb3Configuration] [PersistenceUnit: Wise] no META-INF/orm.xml found
| 15:35:12,800 INFO [AnnotationBinder] Binding entity from annotated class: it.javalinux.wise.seam.entities.SavedWsdl
| 15:35:12,803 INFO [EntityBinder] Bind entity it.javalinux.wise.seam.entities.SavedWsdl on table SavedWSDL
| 15:35:12,826 INFO [AnnotationBinder] Binding entity from annotated class: it.javalinux.wise.seam.entities.UserInformation
| 15:35:12,828 INFO [EntityBinder] Bind entity it.javalinux.wise.seam.entities.UserInformation on table UserInformation
| 15:35:12,839 INFO [CollectionBinder] Mapping collection: it.javalinux.wise.seam.entities.UserInformation.savedWsdls -> SavedWSDL
| 15:35:12,986 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
| 15:35:12,989 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
| 15:35:12,999 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
| org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Access denied for user 'root'@'loc
| alhost' (using password: NO))
| at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
| at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:577)
|
When using 'MySQL Administrator' and going to 'Server Connection'
Then I am able to see all the connection made in my mysql-ds.xml within JBoss but not the connection in 'wise-ds.xml'
I am not able to register a new user ....
I am running on a windows vista at the moment, that is
my working machine - the installation-routine for JBossWS seems
a bit complicated.
Could you give me further advice.
regards, i
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097250#4097250
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097250
From do-not-reply at jboss.com Sun Oct 21 10:53:30 2007
From: do-not-reply at jboss.com (iner)
Date: Sun, 21 Oct 2007 10:53:30 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBossWS vs Glassfish,
do we a 'Tester' ?
Message-ID: <298617.1192978410604.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hello,
My mistake with Wise, sorry for that.
changed the login in 'wise-ds.xml' and able to create a new user and to log in ( shame that I cannot erase the last post )
Adding a WebService which I have tried out in Glassfish:
It is this small one:
@Stateless()
| @WebService()
| public class ProjectManagerWs {
|
| @WebMethod
| public String version() {
| return "ProjectManager version 0.1";
| }
| }
Surfing to:
http://127.0.0.1:8080/ProjectManagerWsService/ProjectManagerWs?wsdl
I am able to see the WSDL.
But adding it to wise and clicking the link which I have created gives me the following error:
16:47:48,421 INFO [WSDLManagerBean] *** Beginning conversation, savedWsdl = null
16:47:48,426 ERROR [WSDLManagerBean] An unexpected exception occurred while selecting the wsdl.
java.lang.NoClassDefFoundError: org/jboss/wsf/spi/tools/WSContractConsumer
| at it.javalinux.wise.seam.actions.WSDLManagerBean.selectWsdl(WSDLManagerBean.java:116)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Am I forgetting something ?
the mysql says:
mysql> select * from savedwsdl;
| +-------------+---------------------------------------------------------------------+----------+------------+-------------------+
| | idSavedWSDL | wsdlLink | wsdlText | savingDate | idUserInformation |
| +-------------+---------------------------------------------------------------------+----------+------------+-------------------+
| | 2 | http://127.0.0.1:8080/ProjectManagerWsService/ProjectManagerWs?wsdl | tt | 2007-10-21 | 3 |
| +-------------+---------------------------------------------------------------------+----------+------------+-------------------+
|
| regards, i
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097254#4097254
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097254
From do-not-reply at jboss.com Sun Oct 21 14:48:45 2007
From: do-not-reply at jboss.com (nickarls)
Date: Sun, 21 Oct 2007 14:48:45 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <15326902.1192992525629.JavaMail.jboss@colo-br-02.atl.jboss.com>
Bump. Anyone?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097270#4097270
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097270
From do-not-reply at jboss.com Sun Oct 21 16:24:18 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 21 Oct 2007 16:24:18 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBossWS vs Glassfish,
do we a 'Tester' ?
Message-ID: <24706708.1192998259046.JavaMail.jboss@colo-br-02.atl.jboss.com>
I'm sorry, this is not the right forum for Wise issues. Please post your requests for assistance (including any follow-up to this thread) here:
http://www.javalinux.it/blogs/index.php?title=wise_1_0_1_released&more=1&c=1&tb=1&pb=1#comments
Anyway, you need of course to upgrade the JBossWS that ships with JBoss 4.2.1 and this is most likely the cause of your problem.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097279#4097279
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097279
From do-not-reply at jboss.com Sun Oct 21 16:57:25 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 21 Oct 2007 16:57:25 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <9397476.1193000245817.JavaMail.jboss@colo-br-02.atl.jboss.com>
The statistics you see in the deployed service list page are currently also available through a MBean for each endpoint (ManagedEndpoint). You can access them programmatically via JMX; moreover they're of course showed in the jmx-console under the jboss.ws domain.
If you think something else should be added to those statistics or simply want to know what we're working on concerning this, please read this
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121473
and feel free to comment!
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097284#4097284
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097284
From do-not-reply at jboss.com Sun Oct 21 17:00:29 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 21 Oct 2007 17:00:29 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <29006763.1193000429084.JavaMail.jboss@colo-br-02.atl.jboss.com>
Also consider we still have to fix this http://jira.jboss.org/jira/browse/JBWS-1855, but I'm quite confident it will be resolved soon.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097285#4097285
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097285
From do-not-reply at jboss.com Mon Oct 22 03:10:45 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Mon, 22 Oct 2007 03:10:45 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Schema generation with jboss jaxb
Message-ID: <23672973.1193037045090.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi Gennady,
currently there's no such commandline tool available in JBossWS. The only way how to get the XML schema generated via our tools is to provide java web service interface and use our
wsprovide.sh(.bat) tool with --wsdl option. It will generate the wsdl file where's the types section. There you can find the schema generated via our tools.
To provide you the implementation detail, our wsprovide tool uses com.sun.xml.bind.api.JAXBRIContext.generateSchema() method internally.
So you can write such tool on your own using this knowledge or join our dev discussion here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=121127
and report the tools you are missing in JBossWS. Your contribution is welcomed ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097336#4097336
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097336
From do-not-reply at jboss.com Mon Oct 22 03:11:31 2007
From: do-not-reply at jboss.com (burakbayramli)
Date: Mon, 22 Oct 2007 03:11:31 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Cannot obtain wsdl service (problem
in JBoss 4.2 used to
Message-ID: <13869553.1193037091307.JavaMail.jboss@colo-br-02.atl.jboss.com>
That worked.. thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097337#4097337
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097337
From do-not-reply at jboss.com Mon Oct 22 03:14:07 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Mon, 22 Oct 2007 03:14:07 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: web service not found
Message-ID: <3470583.1193037247719.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
check your JBoss AS server log if there is some problem report available.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097339#4097339
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097339
From do-not-reply at jboss.com Mon Oct 22 04:13:23 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Mon, 22 Oct 2007 04:13:23 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <13751466.1193040803255.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi Alessio, I've read what you have highlited but I don't understand a lot.
Does a tutorial/guide exist? If yes, where can I find it?
With that informations I remain at the beginning point.
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097354#4097354
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097354
From do-not-reply at jboss.com Mon Oct 22 04:29:00 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Mon, 22 Oct 2007 04:29:00 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <22099694.1193041740198.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
unfortunately no tutorial available on this right now; however, once you understand a bit about JMX, it's quite straightforward.
I suggest you to search a bit about jmx technology on the Internet.
A brief JMX-console introduction is available here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JMXConsole
For sure in future we'll enhance our documentation covering this issues too, as said in the productivity threads mentioned above. If you think something in particular should be done, feel free to comment there.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097359#4097359
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097359
From do-not-reply at jboss.com Mon Oct 22 04:52:50 2007
From: do-not-reply at jboss.com (thomas.diesler@jboss.com)
Date: Mon, 22 Oct 2007 04:52:50 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: avoid lazy-initialization exceptions
Message-ID: <25729308.1193043170468.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi John,
please show us your SLSB and one of your entities. The JAXB default is to bind all public members. Please have a look at the JAXB spec for finer control. e.g. @XMLAccessType
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097369#4097369
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097369
From do-not-reply at jboss.com Mon Oct 22 05:50:26 2007
From: do-not-reply at jboss.com (ZazzaZ)
Date: Mon, 22 Oct 2007 05:50:26 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - org.jboss.ws.WSException: Cannot find
java method
Message-ID: <32054910.1193046626710.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
I used wscompile to generate a webservice starting from a correct WSDL.
Deploy went OK, but when I run the client class to test the service I got the following exception in server-side log.
|
| org.jboss.ws.WSException: Cannot find java method: controlloAccessoOperation
| at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:213)
| at org.jboss.ws.binding.EndpointInvocation.getJavaMethod(EndpointInvocation.java:82)
| at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:87)
| at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115)
| at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209)
| at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355)
| at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
|
|
|
|
I generated the files with the following files:
wscompile input
|
|
|
|
|
|
|
|
|
WSDL file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Imported schema
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
web.xml file
|
|
|
|
|
|
| controlloServlet
|
| org.jbpm.bpel.login.Impl
|
|
|
| controlloServlet
| /controllo
|
|
|
|
|
And finally the webservices.xml file
|
|
|
|
|
|
|
| Controllo Autenticazione
|
| WEB-INF/wsdl/ControlloAccesso.wsdl
| WEB-INF/jaxrpc-mapping.xml
|
|
|
| ControlloAccessoPort
| portNS:ControlloAccessoPort
|
| org.jbpm.bpel.login.ControlloAccessoPortType
|
|
| controlloServlet
|
|
|
|
|
|
|
|
|
I hope my information are enought to get a solution. Bye
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097381#4097381
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097381
From do-not-reply at jboss.com Mon Oct 22 06:06:19 2007
From: do-not-reply at jboss.com (cch@jboss)
Date: Mon, 22 Oct 2007 06:06:19 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: How to handle namespace generation?
Message-ID: <1900161.1193047579666.JavaMail.jboss@colo-br-02.atl.jboss.com>
*push*
Nobody has any hint for me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097386#4097386
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097386
From do-not-reply at jboss.com Mon Oct 22 06:57:57 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Mon, 22 Oct 2007 06:57:57 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - AOP with web service
Message-ID: <9860675.1193050677565.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi I heve developed a web service for jbossws and I would apply an aspect to the methods of this web service.
I have written the aspect code and the xml file for jbossaop and I have installed jboss aop on jboss4.2.1 following the jboss aop instruction (I've copied this directory jboss-aop-jdk50.deployer in the deploy directory of jboss4.2.1).
My war file is composed so:
directory META-INF:
directory WEB-INF:
-file web.xml;
-file jboss-aop.xml;
+directory classes:
-file jboss-aop.xml;
+directory xml:
-XMLJDomWriterStat.class
-XMLSaxReaderStat.class
+directory services:
-ServiceAOP.class;
-ServiceAOPAspect.class.
My web.xml file is so composed:
|
|
|
|
|
| ServiceAOP
| service.ServiceAOP
|
|
|
| ServiceAOP
| /*
|
|
|
|
My jboss-aop.xml is the following:
|
|
|
|
|
|
|
|
What have I to do for running aop on web service?
Thanks all, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097400#4097400
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097400
From do-not-reply at jboss.com Mon Oct 22 07:37:30 2007
From: do-not-reply at jboss.com (oskar.carlstedt)
Date: Mon, 22 Oct 2007 07:37:30 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <21112772.1193053050802.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi!
Just take a look in the source code for the jbossws web application and you?re up and running. It's really simple when you find the correct source.
Anyway, here is a code snippet ...
| // get SPI provider and endpoint registry
| SPIProvider spiProvider = SPIProviderResolver.getInstance()
| .getProvider();
| EndpointRegistry epRegistry = spiProvider.getSPI(
| EndpointRegistryFactory.class).getEndpointRegistry();
|
| // loop over all endpoints
| Set objectNames = epRegistry.getEndpoints();
| for (ObjectName objectName : objectNames) {
|
| // get the endpoint by using its name
| Endpoint endpoint = epRegistry.getEndpoint(objectName);
|
| ...
| }
|
Cheers,
Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097413#4097413
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097413
From do-not-reply at jboss.com Mon Oct 22 08:23:50 2007
From: do-not-reply at jboss.com (ptenn10)
Date: Mon, 22 Oct 2007 08:23:50 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Jboss Annotation: WebContext package
and JAR location.
Message-ID: <28352709.1193055830828.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi All,
Quick question: I would like to use WebContext for EJB3. However, it seems like the packaging has changed on this annotation.
Under the examples for jbossws-1.2.1GA, I saw the annotation being imported as:
org.jboss.ws.annotation.WebContext
However, I could not find this anywhere in jbossws-2.0.1GA (I checked through all the JARs).
I did find:
org.jboss.wsf.spi.annotation.WebContext
Is this the same annotation? Can I rely on this to work as the WebContext annotation that was described in the examples?
Thanks,
Philip Tenn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097437#4097437
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097437
From do-not-reply at jboss.com Mon Oct 22 08:33:21 2007
From: do-not-reply at jboss.com (ZazzaZ)
Date: Mon, 22 Oct 2007 08:33:21 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: Cannot
find java method
Message-ID: <23846844.1193056401761.JavaMail.jboss@colo-br-02.atl.jboss.com>
I just modified my WSDL like this
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ant regenerating the service went OK.
I dunno if the problem was in the attribute name of binding operation or message part but now it works!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097444#4097444
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097444
From do-not-reply at jboss.com Mon Oct 22 09:05:50 2007
From: do-not-reply at jboss.com (sarunb4u)
Date: Mon, 22 Oct 2007 09:05:50 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - JBoss and Apache Axis compatibility
Message-ID: <32261245.1193058350373.JavaMail.jboss@colo-br-02.atl.jboss.com>
I'm in the midst of integrating two components, one runs in JBoss and other components exposes some web services deployed in Axis. When i integrate them, there will be a communication between component deployed in JBOSS and Web services exposed via Axis.
If i understand correctly, AXIS by default uses RPC service style and JBOSS uses document/literal encoding format. So there is a notion of soap-wsdl encoding format change required here.
All i wanted to know is that,
1.Is there any compatibility issues (if any) between JBOSS and Axis ?
2.JBOSS-Axis interaction with respect to the soap encoding format ?
3.Some explanation on SOAP encodingStyle ?
Regards
Arun
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097465#4097465
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097465
From do-not-reply at jboss.com Mon Oct 22 09:29:23 2007
From: do-not-reply at jboss.com (AnisBM)
Date: Mon, 22 Oct 2007 09:29:23 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Newbie with JbossWS
Message-ID: <2279036.1193059763461.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi all,
Do the WSTools generate web services conform to Seam 2.0 web services ?
PS : I'm using those integrated in JBoss 4.2.1.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097476#4097476
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097476
From do-not-reply at jboss.com Mon Oct 22 11:33:56 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Mon, 22 Oct 2007 11:33:56 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <27181756.1193067236486.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi!
I begin to study jmx, I hope to understand something, the code posted by oskar permits to take the list of web service deployed on jboss?
A question, has jbossws statistics about each operation (ex: number of request of operation echo(String) of service Pippo) of the service or only the general statistics of a service (ex: number of request of service Pippo)?
Thanks!
Bye Bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097532#4097532
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097532
From do-not-reply at jboss.com Mon Oct 22 12:05:42 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Mon, 22 Oct 2007 12:05:42 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Jboss Annotation: WebContext
package and JAR location.
Message-ID: <30020416.1193069142621.JavaMail.jboss@colo-br-02.atl.jboss.com>
Yes,
it should be the same (but refactored) annotation ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097550#4097550
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097550
From do-not-reply at jboss.com Mon Oct 22 14:39:15 2007
From: do-not-reply at jboss.com (robert_trudel)
Date: Mon, 22 Oct 2007 14:39:15 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: web service not found
Message-ID: <4555809.1193078355666.JavaMail.jboss@colo-br-02.atl.jboss.com>
there is no error
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097589#4097589
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097589
From do-not-reply at jboss.com Tue Oct 23 01:58:44 2007
From: do-not-reply at jboss.com (sarunb4u)
Date: Tue, 23 Oct 2007 01:58:44 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBoss and Apache Axis compatibility
Message-ID: <5891935.1193119124914.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi ppl
I need your help here. I'll really appreciate any kind of help as i'm new to this web service stuff.
--Arun
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097693#4097693
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097693
From do-not-reply at jboss.com Tue Oct 23 02:55:58 2007
From: do-not-reply at jboss.com (oskar.carlstedt)
Date: Tue, 23 Oct 2007 02:55:58 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBoss and Apache Axis compatibility
Message-ID: <16932557.1193122559007.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi!
If you are creating "contract first" web services, there should be no problem at all. If you are generating your contract you can get into trouble.
So stick to contract first and generate booth service implementation and client usage from the contract to be on the "safe" side.
Regards
Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097706#4097706
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097706
From do-not-reply at jboss.com Tue Oct 23 04:26:58 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Tue, 23 Oct 2007 04:26:58 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: AOP with web service
Message-ID: <28873140.1193128018511.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi, I've modified my war file in this way:
In META-INF directory there is the file:
jboss-aop.xml, this file is only in this place;
In WEB-INF:
directory WEB-INF:
-file web.xml;
+directory classes:
+directory xml:
-XMLJDomWriterStat.class
-XMLSaxReaderStat.class
+directory services:
-ServiceAOP.class;
-ServiceAOPAspect.class;
-ServiceAOP$fattoriale_9086071828619756113.class (this class was generated by jboss aop ide with eclipse automatically).
When I try to invoke a method of the web service, also a method whitout a binding with the aspect I receive this error:
| Exception in thread "main" AxisFault
| faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
| faultSubcode:
| faultString: org.xml.sax.SAXParseException: Premature end of file.
| faultActor:
| faultNode:
| faultDetail:
| {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end of file.
| at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
| at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
| at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
| at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
| at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:230)
| at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
| at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
| at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
| at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
| at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
| at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
| at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
| at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
| at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
| at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
| at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
| at org.apache.axis.client.Call.invoke(Call.java:2767)
| at org.apache.axis.client.Call.invoke(Call.java:2443)
| at org.apache.axis.client.Call.invoke(Call.java:2366)
| at org.apache.axis.client.Call.invoke(Call.java:1812)
| at clientLett.ServiceLettBindingStub.fattoriale(ServiceLettBindingStub.java:117)
| at Test.main(Test.java:38)
|
| {http://xml.apache.org/axis/}hostname:angelinux
|
| org.xml.sax.SAXParseException: Premature end of file.
| at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
| at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
| at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
| at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
| at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
| at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
| at org.apache.axis.client.Call.invoke(Call.java:2767)
| at org.apache.axis.client.Call.invoke(Call.java:2443)
| at org.apache.axis.client.Call.invoke(Call.java:2366)
| at org.apache.axis.client.Call.invoke(Call.java:1812)
| at clientLett.ServiceLettBindingStub.fattoriale(ServiceLettBindingStub.java:117)
| at Test.main(Test.java:38)
| Caused by: org.xml.sax.SAXParseException: Premature end of file.
| at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
| at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
| at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
| at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
| at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:230)
| at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:798)
| at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
| at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
| at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
| at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
| at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
| at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
| ... 10 more
|
Why? How can I resolve?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097730#4097730
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097730
From do-not-reply at jboss.com Tue Oct 23 06:41:02 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Tue, 23 Oct 2007 06:41:02 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Exception while deploying the
webservice using jax-ws
Message-ID: <9736889.1193136062526.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi All,
I am migrating the web service from weblogic to JBoss 4.2.1
I have WDSL file so i am using TOP-DOWN approach which was mentined in JAX-WS userguide.I have generated schema related classes using jaxb 2.o and modified the code accordingly and used WSCONSUME for generating client side artifacts and prepared the war file and tried to deploy the web service.
Following is the exception that i am getting while deploying the webservice
java.lang.ClassCastException: com.covad.xsd.smo.vendororder.ProcessVendorOrder$J
axbAccessorM_getVendorOrder_setVendorOrder_com_covad_xsd_smo_vendororder_VendorO
rder
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.inst
anciate(OptimizedAccessorFactory.java:151)
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(
OptimizedAccessorFactory.java:96)
at com.sun.xml.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.o
ptimize(Accessor.java:308)
at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.
(SingleElementNodeProperty.java:53)
at sun.reflect.GeneratedConstructorAccessor42.newInstance(Unknown Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyF
actory.java:88)
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImp
l.java:135)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextIm
pl.java:404)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.ja
va:246)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
76)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at org.jboss.ws.metadata.acessor.JAXBAccessor$1.create(JAXBAccessor.java
:67)
at org.jboss.ws.metadata.acessor.JAXBAccessor$1.create(JAXBAccessor.java
:54)
at org.jboss.ws.metadata.umdm.ParameterMetaData.eagerInitialize(Paramete
rMetaData.java:470)
at org.jboss.ws.metadata.umdm.OperationMetaData.eagerInitialize(Operatio
nMetaData.java:466)
at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitializeOperations
(EndpointMetaData.java:516)
at org.jboss.ws.metadata.umdm.EndpointMetaData.initializeInternal(Endpoi
ntMetaData.java:502)
at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitialize(EndpointM
etaData.java:490)
at org.jboss.ws.metadata.umdm.ServiceMetaData.eagerInitialize(ServiceMet
aData.java:429)
at org.jboss.ws.metadata.umdm.UnifiedMetaData.eagerInitialize(UnifiedMet
aData.java:192)
at org.jboss.ws.core.server.ServiceEndpoint.start(ServiceEndpoint.java:1
12)
at org.jboss.ws.core.server.ServiceEndpointManager.startServiceEndpoint(
ServiceEndpointManager.java:646)
at org.jboss.ws.core.server.ServiceEndpointDeployer.start(ServiceEndpoin
tDeployer.java:140)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.startServiceEndp
oint(DeployerInterceptor.java:144)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerIn
terceptor.java:96)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
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 $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:610)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)
15:58:00,843 ERROR [MainDeployer] Could not start deployment: file:/E:/jboss-4.2
.1.GA/server/default/deploy/mcafeeAdapter.war
org.jboss.deployment.DeploymentException: Cannot start service endpoint; - neste
d throwable: (java.lang.ClassCastException: com.covad.xsd.smo.vendororder.Proces
sVendorOrder$JaxbAccessorM_getVendorOrder_setVendorOrder_com_covad_xsd_smo_vendo
rorder_VendorOrder)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
(DeploymentException.java:53)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerIn
terceptor.java:101)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
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 $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:610)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)
Caused by: java.lang.ClassCastException: com.covad.xsd.smo.vendororder.ProcessVe
ndorOrder$JaxbAccessorM_getVendorOrder_setVendorOrder_com_covad_xsd_smo_vendoror
der_VendorOrder
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.inst
anciate(OptimizedAccessorFactory.java:151)
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(
OptimizedAccessorFactory.java:96)
at com.sun.xml.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.o
ptimize(Accessor.java:308)
at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.
(SingleElementNodeProperty.java:53)
at sun.reflect.GeneratedConstructorAccessor42.newInstance(Unknown Source
)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyF
actory.java:88)
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.(ClassBeanInfoImp
l.java:135)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextIm
pl.java:404)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.ja
va:246)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
76)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:
55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at org.jboss.ws.metadata.acessor.JAXBAccessor$1.create(JAXBAccessor.java
Please help me how to overcome this exception
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097801#4097801
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097801
From do-not-reply at jboss.com Tue Oct 23 06:54:04 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Tue, 23 Oct 2007 06:54:04 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying the
webservice using jax-ws
Message-ID: <2546140.1193136844394.JavaMail.jboss@colo-br-02.atl.jboss.com>
Sorry
i forgot to mention this the interface created by WSCONSUME
package com.covad.xsd.smo.vendororder;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* JBossWS Generated Source
*
* Generation Date: Tue Oct 23 09:29:51 IST 2007
*
* This generated source code represents a derivative work of the input to
* the generator that produced it. Consult the input for the copyright and
* terms of use that apply to this source code.
*
* JAX-WS Version: 2.0
*
*/
@WebService(name = "VendorOrderPort", targetNamespace = "http://smo.xsd.covad.com/vendororder")
public interface VendorOrderPort {
/**
*
* @param vendorOrder
* @return
* returns com.covad.xsd.smo.vendororder.VendorOrder
* @throws VendorOrderException_Exception
*/
@WebMethod
@WebResult(targetNamespace = "http://smo.xsd.covad.com/vendororder")
@RequestWrapper(localName = "processVendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrder")
@ResponseWrapper(localName = "processVendorOrderResponse", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrderResponse")
public VendorOrder processVendorOrder(
@WebParam(name = "vendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder")
VendorOrder vendorOrder)
throws VendorOrderException_Exception
;
}
Please help me.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097803#4097803
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097803
From do-not-reply at jboss.com Tue Oct 23 08:12:18 2007
From: do-not-reply at jboss.com (iner)
Date: Tue, 23 Oct 2007 08:12:18 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Problem to install
jbossws-native-2.0.1.GA, build.xml !?
Message-ID: <21382721.1193141539010.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hello,
I am running JBoss 4.2.1 on my windows machine.
Using JDK jdk1.5.0_12,
| C:\app\jbossws-native-2.0.1.GA>echo %java_home%
| C:\jdk1.5.0_12
|
| C:\app\jbossws-native-2.0.1.GA>java -version
| java version "1.5.0_12"
| Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
| Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
|
| C:\app\jbossws-native-2.0.1.GA>echo %jboss_home%
| C:\APP\jboss-4.2.1.GA
|
| Changed the ant.properites to reflect my environment.
| # Optional JBoss Home
| | jboss42.home=C:\APP\jboss-4.2.1.GA.
|
| running the following:
| C:\app\jbossws-native-2.0.1.GA>ant deploy-jboss42
| Buildfile: build.xml
|
| prepare:
|
| undeploy-jboss42-endorsed:
|
| undeploy-jboss42:
|
| BUILD FAILED
| C:\app\jbossws-native-2.0.1.GA\build\build-deploy.xml:58: The following error occurred while executing this line:
| C:\app\jbossws-native-2.0.1.GA\build\macros-deploy-native.xml:178: Not available: C:APPjboss-4.2.1.GA/client/jboss-client.jar
|
| Total time: 1 second
| C:\app\jbossws-native-2.0.1.GA>
|
Total time: 0 seconds
So, where am I going wrong, seems like the build.xml does something to my %jboss_home% which it should not do.
regards, i
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097857#4097857
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097857
From do-not-reply at jboss.com Tue Oct 23 08:26:34 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Tue, 23 Oct 2007 08:26:34 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Problem to install
jbossws-native-2.0.1.GA, build.xml !?
Message-ID: <11752624.1193142394975.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
you're working with "excellent OS", so you must
jboss42.home=C:\APP\jboss-4.2.1.GA
replace with
jboss42.home=C:\\APP\\jboss-4.2.1.GA
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097868#4097868
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097868
From do-not-reply at jboss.com Tue Oct 23 09:44:16 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Tue, 23 Oct 2007 09:44:16 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <28939868.1193147056436.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi Oskar!
What are the jar files of that classes and what are the packages?
What do I obtain with that classes?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097895#4097895
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097895
From do-not-reply at jboss.com Tue Oct 23 10:05:57 2007
From: do-not-reply at jboss.com (oskar.carlstedt)
Date: Tue, 23 Oct 2007 10:05:57 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <666601.1193148357757.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi!
http://repository.jboss.org/maven2/jboss/jbossws-spi/1.0.0.GA/jbossws-spi-1.0.0.GA.jar
//Oskar
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097904#4097904
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097904
From do-not-reply at jboss.com Tue Oct 23 10:22:37 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Tue, 23 Oct 2007 10:22:37 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <9768400.1193149357618.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi Oskar, with this classes what do I obtain?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097910#4097910
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097910
From do-not-reply at jboss.com Tue Oct 23 10:24:41 2007
From: do-not-reply at jboss.com (torkins)
Date: Tue, 23 Oct 2007 10:24:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - generating documentation for deployed
web services stateless
Message-ID: <23420483.1193149481329.JavaMail.jboss@colo-br-02.atl.jboss.com>
In my application, I am deploying Stateless session beans in an ear to my jboss instance. Jboss correctly generates a WSDL and publishes it and everything works.
What I can't figure out is how to code my javadoc (Or anything else) so that when Jboss generates the WSDL to publish, it generates wsdl:documentation or xsd:documentation tags for either the WSDL components (definitions,operations, etc) or any of the schema types.
I found that if I use the >> structure in a schema and consume it with WSConsume, it will generate a class that includes that documentation in the javadoc of the class. What I am trying to do is the reverse (since I cannot create the WSDL manually, I require Jboss to be able to generate the documentation elements).
Does anyone know how I can accomplish this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097912#4097912
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097912
From do-not-reply at jboss.com Tue Oct 23 10:51:37 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Tue, 23 Oct 2007 10:51:37 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: generating documentation for
deployed web services state
Message-ID: <14248362.1193151097585.JavaMail.jboss@colo-br-02.atl.jboss.com>
This is going to be done in JBossWS 2.0.3
http://jira.jboss.com/jira/browse/JBWS-1850
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097926#4097926
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097926
From do-not-reply at jboss.com Tue Oct 23 11:01:42 2007
From: do-not-reply at jboss.com (torkins)
Date: Tue, 23 Oct 2007 11:01:42 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: generating documentation for
deployed web services state
Message-ID: <33374778.1193151702991.JavaMail.jboss@colo-br-02.atl.jboss.com>
thanks for the quick reply :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097932#4097932
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097932
From do-not-reply at jboss.com Tue Oct 23 11:13:06 2007
From: do-not-reply at jboss.com (PeterJ)
Date: Tue, 23 Oct 2007 11:13:06 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Problem to install
jbossws-native-2.0.1.GA, build.xml !?
Message-ID: <22085379.1193152386885.JavaMail.jboss@colo-br-02.atl.jboss.com>
Or simply:
jboss42.home=c:/app/jboss-4.2.1.GA
Ant does not care which directory separator you use.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097939#4097939
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097939
From do-not-reply at jboss.com Tue Oct 23 11:49:37 2007
From: do-not-reply at jboss.com (bcowan)
Date: Tue, 23 Oct 2007 11:49:37 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Concurrency issue in request handler
chain
Message-ID: <9177166.1193154577348.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have entered bug report JBWS-1859 to describe a bug we experienced when JBoss is restarted. If client applications are still actively making web service requests during the restart, the handler chain was usually populated with too many copies of the handlers. This doesn't seem to cause a major problem unless WS Security is active. In this case, the first WS Security handler removes the wsse header, so any subsequent WS Security handler throws an exception. As a result, the client receives the message "This service requires , which is missing" even though the header was included. Once this error starts to happen, the server will not recover until it's restarted.
Sample client and server code is attached to the bug report, and I've also included patch information on how to fix it.
Bruce
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097960#4097960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097960
From do-not-reply at jboss.com Tue Oct 23 14:56:40 2007
From: do-not-reply at jboss.com (nickarls)
Date: Tue, 23 Oct 2007 14:56:40 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <32925329.1193165800492.JavaMail.jboss@colo-br-02.atl.jboss.com>
OK, what would be a better place to ask? The Sun forums?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098020#4098020
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098020
From do-not-reply at jboss.com Tue Oct 23 15:24:48 2007
From: do-not-reply at jboss.com (iner)
Date: Tue, 23 Oct 2007 15:24:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Problem to install
jbossws-native-2.0.1.GA, build.xml !?
Message-ID: <17933727.1193167488907.JavaMail.jboss@colo-br-02.atl.jboss.com>
thanx.
-i
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098031#4098031
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098031
From do-not-reply at jboss.com Tue Oct 23 18:07:21 2007
From: do-not-reply at jboss.com (happyspace)
Date: Tue, 23 Oct 2007 18:07:21 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Raw Style webservices
Message-ID: <6858167.1193177241454.JavaMail.jboss@colo-br-02.atl.jboss.com>
I had the same problem with the web service provider style of web service. I am using jbossas 5 beta two with jbossws 1.2.1. It appears that jboss beta two uses xerces-2.7.1. After assembling all of the sources I found the ?real? cause of the NAMESPACE_ERR exception to be of mixing DOM 1 vs DOM 2 APIs.
When a document is set for the SOAP body the dom tree for that document is copied into the soap body. If that document is made up of ElementImpl nodes rather than ElementNSImpl the call into Xerces fails with the now familiar NAMESPACE_ERR. To work around this issue change your code to use ?createElementNS?.
I happen to be using Castor, which creates documents composed of ElementImpl nodes. I have a work around using the TransformerFactory of Xalan to create a new doc tree but would rather not have to copy the document twice.
The details:
SOAPBodyImpl
SOAPBodyElement addDocument(Document doc)
creates a soapFactory and begins the copy of elements from the document into the soapBody with the default as deep through soapFactory.createElement(rootElement). In SOAPFactoryImpl createElement(Element domElement, boolean deep) an assumption is made that the element passed in is an ElementNSImpl (has a localName).
SOAPFactoryImpl
?
| public SOAPElement createElement(Element domElement, boolean deep) throws SOAPException
| {
| if (domElement == null)
| throw new IllegalArgumentException("Source node cannot be null");
|
| if (domElement instanceof SOAPElement)
| return (SOAPElement)domElement;
|
| String localName = domElement.getLocalName();
| String prefix = domElement.getPrefix() != null ? domElement.getPrefix() : "";
| String nsURI = domElement.getNamespaceURI() != null ? domElement.getNamespaceURI() : "";
| ?
In the case of an ElementImpl the localName is null as well as the prefix, ElementImpl will have the field name set. Thus when DOMUtils createElement(String localPart, String prefix, String url) is called the localPart == null but the prefix is an empty string.
DOMUtils
public static Element createElement(String localPart, String prefix, String uri)
| {
| Document doc = getOwnerDocument();
| if (prefix == null || prefix.length() == 0)
| {
| log.trace("createElement {" + uri + "}" + localPart);
| return doc.createElementNS(uri, localPart);
| }
| else
| {
| log.trace("createElement {" + uri + "}" + prefix + ":" + localPart);
| return doc.createElementNS(uri, prefix + ":" + localPart);
| }
| }
?
So the call into Xerces for createElementNS fails on setName(String namespaceURI, String qname) in ElementNSImpl as noted in the comment in the Xerces code:
anonymous wrote : //NAMESPACE_ERR:
| //1. if the qualified name is 'null' it is malformed.
| //2. or if the qualifiedName is null and the namespaceURI is different from null,
| // We dont need to check for namespaceURI != null, if qualified name is null throw DOMException.
ElementNSImpl.java
private void setName(String namespaceURI, String qname) {
|
| String prefix;
| // DOM Level 3: namespace URI is never empty string.
| this.namespaceURI = namespaceURI;
| if (namespaceURI != null) {
| //convert the empty string to 'null'
| this.namespaceURI = (namespaceURI.length() == 0) ? null : namespaceURI;
| }
|
| int colon1, colon2 ;
|
| //NAMESPACE_ERR:
| //1. if the qualified name is 'null' it is malformed.
| //2. or if the qualifiedName is null and the namespaceURI is different from null,
| // We dont need to check for namespaceURI != null, if qualified name is null throw DOMException.
| if(qname == null){
| String msg =
| DOMMessageFormatter.formatMessage(
| DOMMessageFormatter.DOM_DOMAIN,
| "NAMESPACE_ERR",
| null);
| throw new DOMException(DOMException.NAMESPACE_ERR, msg);
| }
Test Code:
The following snippet shows the exception.
boolean createNS = false;
| DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
| documentBuilderFactory.setNamespaceAware(true);
| DocumentBuilder builder = documentBuilderFactory.newDocumentBuilder();
| document = builder.newDocument();
|
| if(createNS){
| Element element = document.createElementNS(null, "Moo");
| document.appendChild(element);
| }
| else
| {
| // Causes the NAMESPACE_ERR to be thrown
| Element element = document.createElement("Moo");
| element.appendChild(document.createTextNode(messageType));
| }
|
|
| MessageFactory messageFactory = MessageFactory.newInstance(SOAPConstants.SOAP_1_1_PROTOCOL);
| message = messageFactory.createMessage();
|
| SOAPEnvelope envelope = message.getSOAPPart().getEnvelope();
| SOAPBody body = envelope.getBody();
|
| body.addDocument(document);
Documentation:
http://xerces.apache.org/xerces-j/apiDocs/org/apache/xerces/dom/ElementNSImpl.html
vs
http://xerces.apache.org/xerces-j/apiDocs/org/apache/xerces/dom/ElementImpl.html
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098072#4098072
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098072
From do-not-reply at jboss.com Wed Oct 24 01:39:45 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Wed, 24 Oct 2007 01:39:45 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying the
webservice using jax-ws
Message-ID: <19790220.1193204385200.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi All,
I have resolved ClassCastException issue.
Now i am getting this exception
org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nested throwable: (java.lang.annotation.AnnotationTypeMismatchException: Incorrectly
typed data found for annotation element public abstract javax.xml.bind.annotati
on.XmlAccessType javax.xml.bind.annotation.XmlAccessorType.value() (Found data o
f type Ljavax/xml/bind/annotation/AccessType;.FIELD))
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException
(DeploymentException.java:53)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerI
nterceptor.java:83)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
create(SubDeployerInterceptorSupport.java:180)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:91)
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 $Proxy46.create(Unknown Source)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
I have created Schema classes by using JAXB 2.0 and i have deployed on JBoss 4.2.1.
Please any one suggest on this.
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098115#4098115
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098115
From do-not-reply at jboss.com Wed Oct 24 02:25:18 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 02:25:18 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying the
webservice using jax-ws
Message-ID: <2348605.1193207118807.JavaMail.jboss@colo-br-02.atl.jboss.com>
Could you please post the code where you're using the XmlAccessorType annotation?
I mean, are you using this
@XmlAccessorType(XmlAccessType.FIELD)
or something different? (like an array of AccessType.FIELD)
You might also start from the classes generated by wsconsume.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098130#4098130
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098130
From do-not-reply at jboss.com Wed Oct 24 02:35:48 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 02:35:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <24266552.1193207748855.JavaMail.jboss@colo-br-02.atl.jboss.com>
Could you please post the source code of your jaxb annotated classes?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098137#4098137
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098137
From do-not-reply at jboss.com Wed Oct 24 03:06:18 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 03:06:18 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <1324859.1193209578896.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi abdujaparov,
what Oskar is telling you is that instead of using JMX to access the managed endpoint MBean, you might leverage our spi to get the metrics you're looking for.
As a matter of fact, once you get the org.jboss.wsf.spi.deployment.Endpoint with the code Okar gave you, you can do
EndpointMetrics epm = endpoint.getEndpointMetrics();
| epm.getAverageProcessingTime();
| epm.getRequestCount();
| ...
This is another solution, with its own advantages and disadvantages. I still think it might be interesting to take a look at the jmx way.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098140#4098140
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098140
From do-not-reply at jboss.com Wed Oct 24 03:18:35 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 03:18:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBoss and Apache Axis compatibility
Message-ID: <24466033.1193210315306.JavaMail.jboss@colo-br-02.atl.jboss.com>
You may have compatibility issues if your axis ws uses rpc/encoded style, since jbossws does not support it because WS-I Basic Profile disallowed it. Rpc/literal and document/literal instead are supported by JBossWS.
Take a look at http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ for further informations about wsdl styles.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098143#4098143
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098143
From do-not-reply at jboss.com Wed Oct 24 03:23:47 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 03:23:47 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: web service not found
Message-ID: <19844030.1193210627625.JavaMail.jboss@colo-br-02.atl.jboss.com>
Did jboss deploy your package once you dropped it in the deploy dir? (btw, is it a war?)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098145#4098145
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098145
From do-not-reply at jboss.com Wed Oct 24 03:29:47 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 03:29:47 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: Cannot
find java method
Message-ID: <31035046.1193210987960.JavaMail.jboss@colo-br-02.atl.jboss.com>
Yes, that could be the problem.Generally speaking, In future I would also suggest you to evaluate switching to JAX-WS.
Bye
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098147#4098147
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098147
From do-not-reply at jboss.com Wed Oct 24 03:42:44 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 03:42:44 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Multiple SOAP attachments via MTOM
document/literal?
Message-ID: <32569802.1193211764393.JavaMail.jboss@colo-br-02.atl.jboss.com>
It never happened to me to try with multiple attachments, however I think it should be doable.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098150#4098150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098150
From do-not-reply at jboss.com Wed Oct 24 04:04:32 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 04:04:32 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Newbie with JbossWS
Message-ID: <26601091.1193213072971.JavaMail.jboss@colo-br-02.atl.jboss.com>
As you can see here http://docs.jboss.com/seam/2.0.0.CR2/reference/en/html/webservices.html, Seam allows you to add a JAX-WS handler to the invocation chain so that you can work on its conversations through ws request.
This means you have to use JAX-WS webservices; WSTools does not support jax-ws, you need to use wsconsume/wsprovide tools. Thus you need to upgrade jbossws to 2.0.x (I guess you have jbossws 1.2.1.GA)
Finally, if you're simply looking for a way to get a ws to use as a facade to your Seam component, I would suggest you to take a look at our quick start documentation, it's really easy: http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098153#4098153
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098153
From do-not-reply at jboss.com Wed Oct 24 05:04:37 2007
From: do-not-reply at jboss.com (nickarls)
Date: Wed, 24 Oct 2007 05:04:37 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <8551860.1193216677430.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have an interface
| @Remote
| @WebService
| public interface ServerInterface {
| ...
and an implementation
| @Stateless
| @WebService
| @WebContext(contextRoot="/services)
| @EndpointConfig(configName="Standard WSSecurity Endpoint")
| @Name("serverWebService")
| public class ServerWebService implements ServerInterface {
| ...
(deployed in a Seam 2.0.0CR2 app to JBoss 4.2.1GA)
and I call it like
| Service service = Service.create(new URL(...), new QName(...));
| ((ServiceExt)service).setSecurityConfig(new File("META-INF/jboss-wsse-client.xml").toURI().toURL().toExternalForm());
| port = service.getPort(ServerInterface.class);
| ((StubExt)port).setConfigName("Standard WSSecurity Client");
| ...
|
Thanks for your time,
-Nik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098183#4098183
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098183
From do-not-reply at jboss.com Wed Oct 24 07:23:34 2007
From: do-not-reply at jboss.com (ejb3workshop)
Date: Wed, 24 Oct 2007 07:23:34 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Basic Authentication with
WSSecureEndpoint on JBoss 4.2.2GA
Message-ID: <12895264.1193225014374.JavaMail.jboss@colo-br-02.atl.jboss.com>
I want to use Username Tokens to authenticate with a webservice provided by a Session Bean as shows:
@Stateless
| @WebService
| @EndpointConfig(configName="Standard WSSecurity Endpoint")
| @SecurityDomain("java:/jaas/THZone")
| @RolesAllowed("friend")
| @SOAPBinding(style=SOAPBinding.Style.DOCUMENT,
| use=SOAPBinding.Use.LITERAL,
| parameterStyle=SOAPBinding.ParameterStyle.BARE)
I searched the forum and found several references to :
http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecureEndpoint
which points to the user guide.
I configured the login module in conf/login-config.xml to use a properties file to test the configuration. However when I try to access the principal I get a null back. Since added the RolesAllowed annotation the service fails with :
anonymous wrote :
| 11:46:07,984 ERROR [RoleBasedAuthorizationInterceptor] Insufficient permissions, principal=null, requiredRoles=[friend], principalRoles=[]
| 11:46:07,984 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| javax.ejb.EJBAccessException: Authorization failure
| at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:120)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
| at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:103)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122)
| at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
| at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
| at java.lang.Thread.run(Thread.java:619)
|
It seems that I am just missing the right configuration. Any pointers on what to configure would help me a great deal.
Tx
Alex
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098251#4098251
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098251
From do-not-reply at jboss.com Wed Oct 24 07:31:43 2007
From: do-not-reply at jboss.com (ejb3workshop)
Date: Wed, 24 Oct 2007 07:31:43 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSSecurity Username token
Message-ID: <25385041.1193225503590.JavaMail.jboss@colo-br-02.atl.jboss.com>
Did you ever this the resolved. I am having the same problem using JBoss 4.2.2 wich included a new build of JBossWS.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098254#4098254
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098254
From do-not-reply at jboss.com Wed Oct 24 09:04:34 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Wed, 24 Oct 2007 09:04:34 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying the
webservice using jax-ws
Message-ID: <9591698.1193231074481.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
This issue has been resolved by moving to Jbossws 2.0.1 GA.
Now i am getting different exception
java.lang.IllegalStateException: Cannot find endpoint meta data for: MacafeeAdapter
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
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 $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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:508)
at java.lang.Thread.run(Thread.java:595)
18:29:00,849 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- Incompletely deployed packages ---
org.jboss.deployment.DeploymentInfo at f00a09d9 { url=file:/D:/jboss-4.2.1.GA/serve
r/default/deploy/mcafeeAdapter.war }
deployer: MBeanProxyExt[jboss.web:service=WebServer]
status: Deployment FAILED reason: Cannot find endpoint meta data for: MacafeeA
dapter
state: FAILED
watch: file:/D:/jboss-4.2.1.GA/server/default/deploy/mcafeeAdapter.war
altDD: null
lastDeployed: 1193230739941
lastModified: 1193230739925
mbeans:
jboss.web:j2eeType=Servlet,name=default,WebModule=//localhost/mcafeeAdapter,
J2EEApplication=none,J2EEServer=none (state not available)
jboss.web:j2eeType=Servlet,name=MacafeeAdapter,WebModule=//localhost/mcafeeA
dapter,J2EEApplication=none,J2EEServer=none (state not available)
jboss.web:j2eeType=Servlet,name=jsp,WebModule=//localhost/mcafeeAdapter,J2EE
Application=none,J2EEServer=none (state not available)
This is my remote interface
import javax.xml.ws.ResponseWrapper;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* JBossWS Generated Source
*
* Generation Date: Tue Oct 23 09:29:51 IST 2007
*
* This generated source code represents a derivative work of the input to
* the generator that produced it. Consult the input for the copyright and
* terms of use that apply to this source code.
*
* JAX-WS Version: 2.0
*
*/
@WebService(name = "VendorOrderPort", targetNamespace = "http://smo.xsd.covad.com/vendororder")
public interface VendorOrderPort extends Remote{
/**
*
* @param vendorOrder
* @return
* returns com.covad.xsd.smo.vendororder.VendorOrder
* @throws RemoteException
*/
@WebMethod
@WebResult(targetNamespace = "http://smo.xsd.covad.com/vendororder")
@RequestWrapper(localName = "processVendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrder")
@ResponseWrapper(localName = "processVendorOrderResponse", targetNamespace = "http://smo.xsd.covad.com/vendororder", className = "com.covad.xsd.smo.vendororder.ProcessVendorOrderResponse")
public VendorOrder processVendorOrder(
@WebParam(name = "vendorOrder", targetNamespace = "http://smo.xsd.covad.com/vendororder")
VendorOrder vendorOrder)
throws RemoteException
;
}
This is Web service implementation class
package com.covad.mcafee.adapter.webservice;
import com.covad.mcafee.service.McAfeeProxy;
import com.covad.xsd.smo.vendororder.VendorOrder;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.covad.xsd.smo.vendororder.VendorOrderPort;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
@WebService(endpointInterface="com.covad.xsd.smo.vendororder.VendorOrderPort")
public class macafeeAdapter implements VendorOrderPort {
private static Log logger = LogFactory.getLog("com.covad.mcafee.adapter");
@WebMethod(operationName = "ProcessVendorOrder")
public VendorOrder processVendorOrder(VendorOrder vendorOrder) {
// logger.info("Entering mcafeeadapter.processVendorOrder() with "+vendorOrder.xmlText());
logger.info("Entering mcafeeadapter.processVendorOrder() with ");
McAfeeProxy mcAfeeProxy = new McAfeeProxy();
VendorOrder res = mcAfeeProxy.processVendorOrder(vendorOrder);
logger.info("COMPLETE");
return res;
}
}
Please help me.
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098293#4098293
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098293
From do-not-reply at jboss.com Wed Oct 24 10:14:19 2007
From: do-not-reply at jboss.com (FabianW)
Date: Wed, 24 Oct 2007 10:14:19 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Errors in AS after updating JBossWS -
plz help
Message-ID: <26724238.1193235259108.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi there
I wanted to run the Web Service example which belongs to the JBossESB quickstarts. I tried to deploy it, but i got the error message, that I have to update JBossWS according to the AdministrationGuide.pdf. In this guide two steps are mentioned. First I downloaded and deployed JBossWS 2.0.1. Then I executed 'ant patch-jbossws' from the ESB 'install' directory which was also successful.
Everything seemed fine so far. But everytime I start the JBoss AS I get some huge errors:
15:44:57,421 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbossws.sar#jbossws.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelDeployment at 87cd5c{name=file:/C:/JBoss_AS_4.2.1/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaData at 1bb8694{name=WSEndpointJAXBIntrosCustomizationsDeployer bean=org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer properties= constructor=null}, AbstractBeanMetaData at 80669d{name=WSServerConfig bean=org.jboss.wsf.stack.jbws.NativeServerConfig properties=[mbeanServer, modifySOAPAddress, webServiceHost] constructor=null}, AbstractBeanMetaData at 1d0feea{name=WSEndpointRegistry bean=org.jboss.wsf.framework.management.ManagedEndpointRegistry properties=[mbeanServer] constructor=null}, AbstractBeanMetaData at fbbbc{name=WSSubscriptionManager bean=org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager properties=[bindAddress] constructor=null}, AbstractBeanMetaData at ee3dee{name=WSNativeContextPropertiesDeploymentAspect bean=org.jboss.wsf.framework.deployment.ContextPropertiesDeploymentAspect properties=[provides, contextProperties] constructor=null}, AbstractBeanMetaData at 123defe{name=WSNativeEagerInitializeDeploymentAspect bean=org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 508be{name=WSNativeEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 811e10{name=WSNativeEventingDeploymentAspect bean=org.jboss.wsf.stack.jbws.EventingDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData at dcdffc{name=WSNativePublishContractDeploymentAspect bean=org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at f546f8{name=WSNativeServiceEndpointInvokerDeploymentAspect bean=org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData at 1064a6d{name=WSNativeUnifiedMetaDataDeploymentAspect bean=org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 5861{name=WSNativeDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData at aa559d{name=WSNativeDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerPostJSE]}, AbstractBeanMetaData at dabcea{name=WSNativeDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerEJB]}, AbstractBeanMetaData at a8a81c{name=WSNativeDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerEndpointAPI]}, AbstractBeanMetaData at b4faeb{name=WSKernelLocator bean=org.jboss.wsf.spi.util.KernelLocator properties=[kernel] constructor=null}, AbstractBeanMetaData at 1c5809e{name=WSMBeanServerLocator bean=org.jboss.wsf.framework.management.MBeanServerLocator properties= constructor=null}, AbstractBeanMetaData at 17f1d92{name=WSHTTPServer bean=org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer properties= constructor=null}, AbstractBeanMetaData at 6e8504{name=WSServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData at 1dedb45{name=ServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData at d9205{name=WSDeployerHook_JAXRPC_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPreJSE properties=[deploymentManagerName, phaseOneInterceptors] constructor=null}, AbstractBeanMetaData at edbca8{name=WSDeployerHook_JAXRPC_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData at 1fcca7b{name=WSDeployerHook_JAXRPC_EJB21 bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookEJB21 properties=[phaseTwoInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData at 1517e5e{name=WSDeployerHook_JAXWS_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE properties=[phaseOneInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData at 13f5841{name=WSDeployerHook_JAXWS_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData at 1bb205a{name=WSDeployerHook_JAXWS_EJB3 bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookEJB3 properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData at 48fbc0{name=WSDeploymentAspectManagerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData at 18837f1{name=WSDeploymentAspectManagerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[parent, name] constructor=null}, AbstractBeanMetaData at 10f0a0{name=WSDeploymentAspectManagerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData at 25bd56{name=WSDeploymentAspectManagerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData at 1b18235{name=WSContainerMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ContainerMetaDataDeploymentAspect properties=[provides, metaDataAdapter] constructor=null}, AbstractBeanMetaData at db95a1{name=WSContextRootDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleContextRootDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at 3c9616{name=WSEndpointAPIDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAPIDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData at 1a18ee2{name=WSEndpointAddressDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAddressDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 1abcd9b{name=WSEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 47b35d{name=WSEndpointLifecycleDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData at 150b45a{name=WSEndpointMetricsDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointMetricsDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData at 170a650{name=WSEndpointNameDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointNameDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at b6f7f5{name=WSEndpointRegistryDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 5113f0{name=WSModifyWebMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData at f41393{name=WSRuntimeLoaderDeploymentAspect bean=org.jboss.wsf.container.jboss42.RuntimeLoaderDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at 314585{name=WSURLPatternDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleURLPatternDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at cb1edc{name=WSWebAppDeploymentAspect bean=org.jboss.wsf.container.jboss42.WebAppDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData at 1570f5c{name=WSWebAppGeneratorDeploymentAspect bean=org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect properties=[securityHandlerEJB21, requires, securityHandlerEJB3, provides] constructor=null}, AbstractBeanMetaData at b18494{name=WSApplicationMetaDataAdapterEJB21 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB21 properties= constructor=null}, AbstractBeanMetaData at 773d03{name=WSApplicationMetaDataAdapterEJB3 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB3 properties= constructor=null}, AbstractBeanMetaData at 46a09b{name=WSContainerMetaDataAdapter bean=org.jboss.wsf.container.jboss42.ContainerMetaDataAdapter properties=[webMetaDataAdapter, applicationMetaDataAdapterEJB3, applicationMetaDataAdapterEJB21] constructor=null}, AbstractBeanMetaData at da5bc0{name=WSSecurityHandlerEJB21 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB21 properties= constructor=null}, AbstractBeanMetaData at 1bdbf9d{name=WSSecurityHandlerEJB3 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB3 properties= constructor=null}, AbstractBeanMetaData at 6f19d5{name=WSWebAppDesciptorModifier bean=org.jboss.wsf.container.jboss42.DefaultWebAppDesciptorModifierImpl properties= constructor=null}, AbstractBeanMetaData at 91520{name=WSWebMetaDataAdapter bean=org.jboss.soa.esb.jbossws.ESBWebMetaDataAdapter properties= constructor=null}, AbstractBeanMetaData at 4a0ac5{name=WSWebXMLRewriter bean=org.jboss.wsf.container.jboss42.WebXMLRewriterImpl properties=[desciptorModifier] constructor=null}, AbstractBeanMetaData at 1092447{name=WSDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[manager, aspects, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData at 12cd8d4{name=WSDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, sortAspectsOnCreate, manager] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData at 14f5021{name=WSDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData at 15da7d{name=WSDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS IN ERROR:
| WSWebMetaDataAdapter -> java.lang.NoClassDefFoundError: org/jboss/wsf/container/jboss42/WebMetaDataAdapter
| WSEndpointJAXBIntrosCustomizationsDeployer -> java.lang.NoClassDefFoundError: org/jboss/wsf/spi/deployment/AbstractDeployer
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| WSNativeDeploymentAspectInstallerPostJSE -> WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPostJSE{Create:Configured}, WSDeploymentAspectInstallerPostJSE{Start:Configured}
| WSDeploymentAspectInstallerEJB -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WSWebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}
| WSContainerMetaDataDeploymentAspect -> WSContainerMetaDataAdapter{Configured:Instantiated}
| WSDeploymentAspectInstallerPreJSE -> WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSModifyWebMetaDataDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}
| WSNativeDeploymentAspectInstallerPreJSE -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSNativeDeploymentAspectInstallerEJB -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}, WSDeploymentAspectInstallerEJB{Create:Instantiated}, WSDeploymentAspectInstallerEJB{Start:Instantiated}
| WSDeploymentAspectInstallerPostJSE -> WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSContainerMetaDataAdapter -> WSWebMetaDataAdapter{Configured:**ERROR**}, WSApplicationMetaDataAdapterEJB3{Configured:Installed}, WSApplicationMetaDataAdapterEJB21{Configured:Installed}
| )
|
| --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.beans:service=JBossBeanDeployment,name='jbossws.sar#jbossws.beans'
| State: FAILED
| Reason: org.jboss.deployment.DeploymentException: Cannot start AbstractKernelDeployment at 87cd5c{name=file:/C:/JBoss_AS_4.2.1/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml installed=true beans=[AbstractBeanMetaData at 1bb8694{name=WSEndpointJAXBIntrosCustomizationsDeployer bean=org.jboss.wsf.spi.deployment.JAXBIntrosCustomizationsDeployer properties= constructor=null}, AbstractBeanMetaData at 80669d{name=WSServerConfig bean=org.jboss.wsf.stack.jbws.NativeServerConfig properties=[mbeanServer, modifySOAPAddress, webServiceHost] constructor=null}, AbstractBeanMetaData at 1d0feea{name=WSEndpointRegistry bean=org.jboss.wsf.framework.management.ManagedEndpointRegistry properties=[mbeanServer] constructor=null}, AbstractBeanMetaData at fbbbc{name=WSSubscriptionManager bean=org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager properties=[bindAddress] constructor=null}, AbstractBeanMetaData at ee3dee{name=WSNativeContextPropertiesDeploymentAspect bean=org.jboss.wsf.framework.deployment.ContextPropertiesDeploymentAspect properties=[provides, contextProperties] constructor=null}, AbstractBeanMetaData at 123defe{name=WSNativeEagerInitializeDeploymentAspect bean=org.jboss.wsf.stack.jbws.EagerInitializeDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 508be{name=WSNativeEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 811e10{name=WSNativeEventingDeploymentAspect bean=org.jboss.wsf.stack.jbws.EventingDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData at dcdffc{name=WSNativePublishContractDeploymentAspect bean=org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at f546f8{name=WSNativeServiceEndpointInvokerDeploymentAspect bean=org.jboss.wsf.stack.jbws.ServiceEndpointInvokerDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData at 1064a6d{name=WSNativeUnifiedMetaDataDeploymentAspect bean=org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 5861{name=WSNativeDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData at aa559d{name=WSNativeDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerPostJSE]}, AbstractBeanMetaData at dabcea{name=WSNativeDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null demands=[WSDeploymentAspectInstallerEJB]}, AbstractBeanMetaData at a8a81c{name=WSNativeDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null demands=[WSDeploymentAspectInstallerEndpointAPI]}, AbstractBeanMetaData at b4faeb{name=WSKernelLocator bean=org.jboss.wsf.spi.util.KernelLocator properties=[kernel] constructor=null}, AbstractBeanMetaData at 1c5809e{name=WSMBeanServerLocator bean=org.jboss.wsf.framework.management.MBeanServerLocator properties= constructor=null}, AbstractBeanMetaData at 17f1d92{name=WSHTTPServer bean=org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer properties= constructor=null}, AbstractBeanMetaData at 6e8504{name=WSServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData at 1dedb45{name=ServiceRefHandler bean=org.jboss.wsf.container.jboss42.serviceref.ServiceRefHandlerImpl properties= constructor=null}, AbstractBeanMetaData at d9205{name=WSDeployerHook_JAXRPC_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPreJSE properties=[deploymentManagerName, phaseOneInterceptors] constructor=null}, AbstractBeanMetaData at edbca8{name=WSDeployerHook_JAXRPC_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData at 1fcca7b{name=WSDeployerHook_JAXRPC_EJB21 bean=org.jboss.wsf.container.jboss42.JAXRPCDeployerHookEJB21 properties=[phaseTwoInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData at 1517e5e{name=WSDeployerHook_JAXWS_PRE_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPreJSE properties=[phaseOneInterceptors, deploymentManagerName] constructor=null}, AbstractBeanMetaData at 13f5841{name=WSDeployerHook_JAXWS_POST_JSE bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookPostJSE properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData at 1bb205a{name=WSDeployerHook_JAXWS_EJB3 bean=org.jboss.wsf.container.jboss42.JAXWSDeployerHookEJB3 properties=[deploymentManagerName, phaseTwoInterceptors] constructor=null}, AbstractBeanMetaData at 48fbc0{name=WSDeploymentAspectManagerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData at 18837f1{name=WSDeploymentAspectManagerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[parent, name] constructor=null}, AbstractBeanMetaData at 10f0a0{name=WSDeploymentAspectManagerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData at 25bd56{name=WSDeploymentAspectManagerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl properties=[name] constructor=null}, AbstractBeanMetaData at 1b18235{name=WSContainerMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ContainerMetaDataDeploymentAspect properties=[provides, metaDataAdapter] constructor=null}, AbstractBeanMetaData at db95a1{name=WSContextRootDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleContextRootDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at 3c9616{name=WSEndpointAPIDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAPIDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData at 1a18ee2{name=WSEndpointAddressDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointAddressDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 1abcd9b{name=WSEndpointHandlerDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointHandlerDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 47b35d{name=WSEndpointLifecycleDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointLifecycleDeploymentAspect properties=[requires] constructor=null}, AbstractBeanMetaData at 150b45a{name=WSEndpointMetricsDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointMetricsDeploymentAspect properties=[provides] constructor=null}, AbstractBeanMetaData at 170a650{name=WSEndpointNameDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointNameDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at b6f7f5{name=WSEndpointRegistryDeploymentAspect bean=org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at 5113f0{name=WSModifyWebMetaDataDeploymentAspect bean=org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData at f41393{name=WSRuntimeLoaderDeploymentAspect bean=org.jboss.wsf.container.jboss42.RuntimeLoaderDeploymentAspect properties=[requires, provides] constructor=null}, AbstractBeanMetaData at 314585{name=WSURLPatternDeploymentAspect bean=org.jboss.wsf.framework.deployment.BackwardCompatibleURLPatternDeploymentAspect properties=[provides, requires] constructor=null}, AbstractBeanMetaData at cb1edc{name=WSWebAppDeploymentAspect bean=org.jboss.wsf.container.jboss42.WebAppDeploymentAspect properties=[requires, webXMLRewriter] constructor=null}, AbstractBeanMetaData at 1570f5c{name=WSWebAppGeneratorDeploymentAspect bean=org.jboss.wsf.framework.deployment.WebAppGeneratorDeploymentAspect properties=[securityHandlerEJB21, requires, securityHandlerEJB3, provides] constructor=null}, AbstractBeanMetaData at b18494{name=WSApplicationMetaDataAdapterEJB21 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB21 properties= constructor=null}, AbstractBeanMetaData at 773d03{name=WSApplicationMetaDataAdapterEJB3 bean=org.jboss.wsf.container.jboss42.EJBArchiveMetaDataAdapterEJB3 properties= constructor=null}, AbstractBeanMetaData at 46a09b{name=WSContainerMetaDataAdapter bean=org.jboss.wsf.container.jboss42.ContainerMetaDataAdapter properties=[webMetaDataAdapter, applicationMetaDataAdapterEJB3, applicationMetaDataAdapterEJB21] constructor=null}, AbstractBeanMetaData at da5bc0{name=WSSecurityHandlerEJB21 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB21 properties= constructor=null}, AbstractBeanMetaData at 1bdbf9d{name=WSSecurityHandlerEJB3 bean=org.jboss.wsf.container.jboss42.SecurityHandlerEJB3 properties= constructor=null}, AbstractBeanMetaData at 6f19d5{name=WSWebAppDesciptorModifier bean=org.jboss.wsf.container.jboss42.DefaultWebAppDesciptorModifierImpl properties= constructor=null}, AbstractBeanMetaData at 91520{name=WSWebMetaDataAdapter bean=org.jboss.soa.esb.jbossws.ESBWebMetaDataAdapter properties= constructor=null}, AbstractBeanMetaData at 4a0ac5{name=WSWebXMLRewriter bean=org.jboss.wsf.container.jboss42.WebXMLRewriterImpl properties=[desciptorModifier] constructor=null}, AbstractBeanMetaData at 1092447{name=WSDeploymentAspectInstallerPreJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[manager, aspects, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData at 12cd8d4{name=WSDeploymentAspectInstallerPostJSE bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, sortAspectsOnCreate, manager] constructor=null demands=[WSDeploymentAspectInstallerPreJSE]}, AbstractBeanMetaData at 14f5021{name=WSDeploymentAspectInstallerEJB bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[aspects, manager, sortAspectsOnCreate] constructor=null}, AbstractBeanMetaData at 15da7d{name=WSDeploymentAspectInstallerEndpointAPI bean=org.jboss.wsf.framework.deployment.DeploymentAspectInstaller properties=[sortAspectsOnCreate, aspects, manager] constructor=null}]}; - nested throwable: (java.lang.IllegalStateException: Incompletely deployed:
|
| *** DEPLOYMENTS IN ERROR:
| WSWebMetaDataAdapter -> java.lang.NoClassDefFoundError: org/jboss/wsf/container/jboss42/WebMetaDataAdapter
| WSEndpointJAXBIntrosCustomizationsDeployer -> java.lang.NoClassDefFoundError: org/jboss/wsf/spi/deployment/AbstractDeployer
|
| *** DEPLOYMENTS MISSING DEPENDENCIES:
| WSNativeDeploymentAspectInstallerPostJSE -> WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPostJSE{Create:Configured}, WSDeploymentAspectInstallerPostJSE{Start:Configured}
| WSDeploymentAspectInstallerEJB -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WSWebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}
| WSContainerMetaDataDeploymentAspect -> WSContainerMetaDataAdapter{Configured:Instantiated}
| WSDeploymentAspectInstallerPreJSE -> WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSModifyWebMetaDataDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}
| WSNativeDeploymentAspectInstallerPreJSE -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSNativeDeploymentAspectInstallerEJB -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}, WSDeploymentAspectInstallerEJB{Create:Instantiated}, WSDeploymentAspectInstallerEJB{Start:Instantiated}
| WSDeploymentAspectInstallerPostJSE -> WSEndpointLifecycleDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated}
| WSContainerMetaDataAdapter -> WSWebMetaDataAdapter{Configured:**ERROR**}, WSApplicationMetaDataAdapterEJB3{Configured:Installed}, WSApplicationMetaDataAdapterEJB21{Configured:Installed}
| )
I really have no clue what happened or how I can reverse it without installing everything from scratch.
By the way: I can deploy the example successfully but http://localhost:8080/jbossws/ shows no deployed service.
Every advice is appreciated!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098331#4098331
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098331
From do-not-reply at jboss.com Wed Oct 24 10:42:26 2007
From: do-not-reply at jboss.com (thomas.diesler@jboss.com)
Date: Wed, 24 Oct 2007 10:42:26 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WebServiceContext injection. Was it
fixed or not?
Message-ID: <3419162.1193236948760.JavaMail.jboss@colo-br-02.atl.jboss.com>
Your field cannot be private, use
| @Resource
| WebServiceContext context;
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098345#4098345
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098345
From do-not-reply at jboss.com Wed Oct 24 11:00:39 2007
From: do-not-reply at jboss.com (ejb3workshop)
Date: Wed, 24 Oct 2007 11:00:39 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: UsernameToken and Basic Auth
Message-ID: <17019764.1193238039986.JavaMail.jboss@colo-br-02.atl.jboss.com>
Could you please explain how you set up Username Token Authentication. In which file does this XML go ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098363#4098363
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098363
From do-not-reply at jboss.com Wed Oct 24 11:24:18 2007
From: do-not-reply at jboss.com (ejb3workshop)
Date: Wed, 24 Oct 2007 11:24:18 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <9895298.1193239459118.JavaMail.jboss@colo-br-02.atl.jboss.com>
where can one find those examples I looked in jbossws-native-2.0.1.GA, jbossws-src-2.0.1.GA as well as JBoss4.2.2GA.
I am looking for a basic example on Username Token authentication.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098379#4098379
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098379
From do-not-reply at jboss.com Wed Oct 24 11:40:44 2007
From: do-not-reply at jboss.com (ejb3workshop)
Date: Wed, 24 Oct 2007 11:40:44 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Basic Authentication with
WSSecureEndpoint on JBoss 4.2.
Message-ID: <23886214.1193240444059.JavaMail.jboss@colo-br-02.atl.jboss.com>
I added a custom login module to debug this problem. It seems that the user and password are never passed to the login module.
| public boolean login() throws LoginException {
| logger.info("Login");
| NameCallback nameCallback = new NameCallback("User Name");
| PasswordCallback passwordCallback = new PasswordCallback("User Password", false);
| Callback[] callbacks = new Callback[2];
| callbacks[0] = nameCallback;
| callbacks[1] = passwordCallback;
| logger.info("Configured callbacks");
| try {
| logger.info("Handling callbacks");
| callbackHandler.handle(callbacks);
| logger.info("Handled callbacks");
| } catch (UnsupportedCallbackException ex) {
| ex.printStackTrace();
| } catch (IOException ex) {
| ex.printStackTrace();
| }
| String userid = "default";
| String password = "default";
| userid = nameCallback.getName();
| password = new String(passwordCallback.getPassword());
| logger.info("Processed callbacks");
| passwordCallback.clearPassword();
| logger.info("Attempt to login with :"+userid+" and "+password);
| JAASUser user = new JAASUser(1,userid);
| JAASRole role = new JAASRole("friends");
| subject.getPrincipals().add(user);
| subject.getPrincipals().add(role);
| return true;
| }
|
I am still a little confused on where I am supposed to configure which Principal implementation is a User or a Role.
I also tried adding a WebContext, but this resulted in a The request failed with HTTP status 401: Unauthorized. error without invoking the Login Module. Removing the WebContext annocation resulted in the Login Module being called, but without User / Password.
@WebContext(authMethod = "BASIC", transportGuarantee="NONE", secureWSDLAccess = false)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098385#4098385
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098385
From do-not-reply at jboss.com Wed Oct 24 13:55:24 2007
From: do-not-reply at jboss.com (JBoss_82)
Date: Wed, 24 Oct 2007 13:55:24 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Help, JAX-WS in JBoss 4.2.1.GA
Message-ID: <7555194.1193248524348.JavaMail.jboss@colo-br-02.atl.jboss.com>
Is it true that JBoss 4.2.1 GA out of the box ships with jbossws-1.2.1.GA and NOT jbossws2.0.1 GA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098464#4098464
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098464
From do-not-reply at jboss.com Wed Oct 24 14:03:17 2007
From: do-not-reply at jboss.com (sursha)
Date: Wed, 24 Oct 2007 14:03:17 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Help, JAX-WS in JBoss 4.2.1.GA
Message-ID: <8304819.1193248997561.JavaMail.jboss@colo-br-02.atl.jboss.com>
Yes. JBoss 4.2.1 GA comes with jbossws-1.2.1.GA.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098469#4098469
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098469
From do-not-reply at jboss.com Wed Oct 24 14:04:43 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Wed, 24 Oct 2007 14:04:43 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <8278972.1193249083543.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi Alessio,
Let's see if I understand:
Could I write a web service method like this?
| @WebMethod
| public java.util.Date getStartDate(){
| // get SPI provider and endpoint registry
| SPIProvider spiProvider = SPIProviderResolver.getInstance()
| .getProvider();
| EndpointRegistry epRegistry = spiProvider.getSPI(
| EndpointRegistryFactory.class).getEndpointRegistry();
|
| // loop over all endpoints
| Set objectNames = epRegistry.getEndpoints();
| for (ObjectName objectName : objectNames) {
|
| // get the endpoint by using its name
| Endpoint endpoint = epRegistry.getEndpoint(objectName);
|
|
| EndpointMetrics epm = endpoint.getEndpointMetrics();
| return epm.getStartTime();
| }
|
In this simple way?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098470#4098470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098470
From do-not-reply at jboss.com Wed Oct 24 14:26:47 2007
From: do-not-reply at jboss.com (robert_trudel)
Date: Wed, 24 Oct 2007 14:26:47 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: web service not found
Message-ID: <28781849.1193250407032.JavaMail.jboss@colo-br-02.atl.jboss.com>
yes it's a war
i put the file in the deploy folder.. and jboss don't see it
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098478#4098478
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098478
From do-not-reply at jboss.com Wed Oct 24 17:39:57 2007
From: do-not-reply at jboss.com (jgilbert)
Date: Wed, 24 Oct 2007 17:39:57 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: UsernameToken and Basic Auth
Message-ID: <29677013.1193261997226.JavaMail.jboss@colo-br-02.atl.jboss.com>
jboss-wsse-server.xml
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098589#4098589
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098589
From do-not-reply at jboss.com Wed Oct 24 18:19:06 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 18:19:06 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: web service not found
Message-ID: <22777895.1193264346220.JavaMail.jboss@colo-br-02.atl.jboss.com>
OK, so it's a matter of making the deployer see your app.
I would check some simple things, like what exactly the war contains (i.e. it has WEB-INF/web.xml) and so on. Moreover you might enable some more logs (conf/log4j.xml) to better understand what's happening.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098594#4098594
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098594
From do-not-reply at jboss.com Wed Oct 24 18:24:15 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 24 Oct 2007 18:24:15 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: SoapFaultException using anyType
Message-ID: <16135526.1193264655107.JavaMail.jboss@colo-br-02.atl.jboss.com>
Not so sure... Still can't get it to work...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098595#4098595
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098595
From do-not-reply at jboss.com Wed Oct 24 18:30:35 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Wed, 24 Oct 2007 18:30:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web seervice with authentication
and wsconsume
Message-ID: <23711474.1193265035846.JavaMail.jboss@colo-br-02.atl.jboss.com>
The context tests I was talking are in both jbossws-native-2.0.1.GA and jbossws-src-2.0.1.GA.
You can find a basic example of Username Token authentication in the org.jboss.test.ws.jaxws.samples.wssecurity package in the jbossws-src archive.
If you have further questions about Username Token authentication please start another thread.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098596#4098596
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098596
From do-not-reply at jboss.com Wed Oct 24 19:16:15 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 24 Oct 2007 19:16:15 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - WSTools to generate jaxrpc-mapping.xml
file?
Message-ID: <21929434.1193267775952.JavaMail.jboss@colo-br-02.atl.jboss.com>
I am trying to connect to a microsoft ws using JBoss-4.0.5.GA and JBossWS-2.0.0.GA.
I executed wsconsume to generate the classes, but, was not able to use wstools to generate the artifacts, i.e., jaxrpc-mapping.xml. I get the following error when executing the command:
| Exception in thread "main" java.lang.NoSuchMethodError: javax.wsdl.xml.WSDLLocator.close()V
| at org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2367)
| at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:127)
| at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:119)
| at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:298)
| at org.jboss.ws.tools.WSTools.process(WSTools.java:147)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:69)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:123)
| at org.jboss.ws.tools.WSTools.main(WSTools.java:58)
|
Any help on which version of the jar file that it's requesting? I've tried wsdl4j.jar that ships with JBossWS, wsdl4j-1.5.2.jar and wsdl4j-1.6.1.jar with no success.
Deploying without the mapping file I believe confuses JBoss and it throws the following error:
| 2007-10-24 16:03:55,015 ERROR [STDERR] javax.xml.ws.soap.SOAPFaultException: WSDLReader:None of the matching operations for soapAction http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData could successfully load the incoming request. Potential typemapper problem
| 2007-10-24 16:03:55,015 ERROR [STDERR] at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:69)
| 2007-10-24 16:03:55,015 ERROR [STDERR] at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
| 2007-10-24 16:03:55,015 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:553)
| 2007-10-24 16:03:55,015 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:371)
| 2007-10-24 16:03:55,015 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
| 2007-10-24 16:03:55,015 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| 2007-10-24 16:03:55,015 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| 2007-10-24 16:03:55,015 ERROR [STDERR] at $Proxy63.getCandidateScheduleData(Unknown Source)
|
Any help is appreciated.
Graham
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098607#4098607
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098607
From do-not-reply at jboss.com Wed Oct 24 20:37:41 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 24 Oct 2007 20:37:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSTools to generate
jaxrpc-mapping.xml file?
Message-ID: <6462180.1193272661237.JavaMail.jboss@colo-br-02.atl.jboss.com>
the conflict is between jwsdl4j.jar and jbossall-client.jar. the jbossall-client.jar doesn't have the close method.
added the jwsdl4j.jar higher in the import scheme.
It executes but now I get:
| log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory).
| log4j:WARN Please initialize the log4j system properly.
| Exception in thread "main" org.apache.xerces.xni.XNIException: Parser should stop: [domain:http://ww
| w.w3.org/TR/1998/REC-xml-19980210]::[key=ContentIllegalInProlog]::Message=Content is not allowed in
| prolog.
| at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler.fatalError(JBossXSErrorHandler.j
| ava:78)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
| at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
| at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
| at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
| at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
| at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
| at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:182)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:391)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:172)
| at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
| at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:119)
| at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:298)
| at org.jboss.ws.tools.WSTools.process(WSTools.java:147)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:69)
| at org.jboss.ws.tools.WSTools.generate(WSTools.java:123)
| at org.jboss.ws.tools.WSTools.main(WSTools.java:58)
| C:\projects-cal-ws\act-ws-scheduler\client>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098622#4098622
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098622
From do-not-reply at jboss.com Wed Oct 24 20:41:48 2007
From: do-not-reply at jboss.com (JBoss_82)
Date: Wed, 24 Oct 2007 20:41:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - JBoss equivalent of clientGen of WL
Message-ID: <5482912.1193272908983.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
I am using the top-down approach by starting with the WSDL. I am trying to figure out a mechanism in JBoss 4.2.1 with jbossws-native2.0.1 which is equivalent of WL's clientgen. Objective is to generate a client-jar which can be used by the client program to consume the web service.
Sample WL clietgen task:
|
|
|
|
|
|
|
|
Quote:
I know there is a crude way of using the client artifacts generated by "wsconsume", zip those class files and create a client-jar, but I want to know if there's a better way to do this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098623#4098623
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098623
From do-not-reply at jboss.com Thu Oct 25 03:24:26 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 25 Oct 2007 03:24:26 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBoss equivalent of clientGen of WL
Message-ID: <29775831.1193297066960.JavaMail.jboss@colo-br-02.atl.jboss.com>
May be I'm missing something, it shouldn't be very hard to create a custom Ant task leveraging the wsconsume Ant task (http://jbws.dyndns.org/mediawiki/index.php?title=Wsconsume) that creates a jar with the obtained classes. Is this what WL's clientgen gives you or is there something else?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098681#4098681
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098681
From do-not-reply at jboss.com Thu Oct 25 03:34:56 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 25 Oct 2007 03:34:56 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSTools to generate
jaxrpc-mapping.xml file?
Message-ID: <6095686.1193297696292.JavaMail.jboss@colo-br-02.atl.jboss.com>
Considering you have jboss 4.0.5 and jbossws 2.0.0.GA, I would try using the JAX-WS tools (wsconsume) that are currently supported and should have less compatibility issues with thirdparty wsdls.
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Top-Down_.28Using_wsconsume.29
I guess your problem somehow depends on what is actually in the wsdl file, I would take a look at it searching for something wrong in the xml prolog. May be this could help: http://forum.java.sun.com/thread.jspa?threadID=567285
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098684#4098684
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098684
From do-not-reply at jboss.com Thu Oct 25 03:38:25 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 25 Oct 2007 03:38:25 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: UsernameToken and Basic Auth
Message-ID: <485125.1193297905088.JavaMail.jboss@colo-br-02.atl.jboss.com>
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_User_Guide#Server_side_WSSE_declaration_.28jboss-wsse-server.xml.29
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098685#4098685
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098685
From do-not-reply at jboss.com Thu Oct 25 03:42:21 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 25 Oct 2007 03:42:21 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <2915314.1193298141439.JavaMail.jboss@colo-br-02.atl.jboss.com>
Why don't you try? Yeah, you can, this should give you the start time of one (probably the first) of your deployed endpoint.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098687#4098687
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098687
From do-not-reply at jboss.com Thu Oct 25 03:49:41 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 25 Oct 2007 03:49:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSSecurity Username token
Message-ID: <15655958.1193298581775.JavaMail.jboss@colo-br-02.atl.jboss.com>
You can find a basic example of Username Token authentication in the org.jboss.test.ws.jaxws.samples.wssecurity package in the jbossws-src archive.
Also take a look at this: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=95321
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098690#4098690
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098690
From do-not-reply at jboss.com Thu Oct 25 03:53:04 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Thu, 25 Oct 2007 03:53:04 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <23476779.1193298784829.JavaMail.jboss@colo-br-02.atl.jboss.com>
I suspect this is somehow related to your jaxb annotated classes... I mean, how are foo.Bar and other classes of its hierarchy annotated and used?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098692#4098692
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098692
From do-not-reply at jboss.com Thu Oct 25 04:36:02 2007
From: do-not-reply at jboss.com (nickarls)
Date: Thu, 25 Oct 2007 04:36:02 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <14960152.1193301362069.JavaMail.jboss@colo-br-02.atl.jboss.com>
The strange thing is that I see the called WS being called and it looks like the problem would emerge on the reponse:
| 11:30:01,672 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator_4] TwoPhaseCoordinator.afterCompletion - returned failure for com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple at 2f2075
| 11:30:01,722 ERROR [HandlerChainExecutor] Exception during handler processing
| javax.xml.ws.WebServiceException: javax.xml.bind.MarshalException
| - with linked exception:
| [javax.xml.bind.JAXBException: foo.Bar nor any of its super class is known to this context.
|
foo.Bar has a
| @XmlType
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098708#4098708
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098708
From do-not-reply at jboss.com Thu Oct 25 04:44:58 2007
From: do-not-reply at jboss.com (ejb3workshop)
Date: Thu, 25 Oct 2007 04:44:58 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: UsernameToken and Basic Auth
Message-ID: <33142743.1193301899023.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks this worked. Added the xml file below to my EJB3 jar file resolved my problem.
|
|
|
|
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098710#4098710
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098710
From do-not-reply at jboss.com Thu Oct 25 04:55:04 2007
From: do-not-reply at jboss.com (ejb3workshop)
Date: Thu, 25 Oct 2007 04:55:04 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: UsernameToken and Basic Auth
Message-ID: <12418386.1193302504557.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have specified the loginModule to use via @SecurityDomain(value="THZone") in my bean. I have also configured the login module in login-config.xml as shown below. I am not able to log in and authenticate, but the roles are not passed through. Where can I configure how the roles are obtained.
@RolesAllowed("friends")
or
System.out.println("Principal is a friend :"+context.isUserInRole("friends"));
Currently don't seem to work. I also tried to implement my own login module return my own implementations of Principal and had the same problem as using the org.jboss.security.auth.spi.UsersRolesLoginModule on. The results are that the principal is passed through and accessible through the context, but the roles are not.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098717#4098717
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098717
From do-not-reply at jboss.com Thu Oct 25 05:08:26 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Thu, 25 Oct 2007 05:08:26 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <15762382.1193303307036.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi Alesso,thanks, now it works!
Another question is it possible to get the statistics of each operation of each endpoint?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098724#4098724
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098724
From do-not-reply at jboss.com Thu Oct 25 05:27:26 2007
From: do-not-reply at jboss.com (ZazzaZ)
Date: Thu, 25 Oct 2007 05:27:26 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - NPE @
org.jboss.ws.soap.SOAPConnectionImpl.getRemotingMetaDa
Message-ID: <11303169.1193304446797.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
I got the following exception calling a web service.
|
| java.lang.NullPointerException
|
| at org.jboss.ws.soap.SOAPConnectionImpl.getRemotingMetaData(SOAPConnectionImpl.java:236)
| at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:156)
| at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:99)
|
|
What caused this exception? Ok, something is null but what?
Thanks! bye
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098737#4098737
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098737
From do-not-reply at jboss.com Thu Oct 25 07:04:23 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Thu, 25 Oct 2007 07:04:23 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Cannot find endpoint meta data for
Message-ID: <29273221.1193310263510.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
I am trying to deploy sample webservice by using Jax-ws.
I am using JBOSS 4.2.1GA application server and Jbossws 2.0.1GA.
The code for Remote interface is
package com.covad.Inter;
import java.rmi.Remote;
import java.rmi.RemoteException;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@WebService(name="Hello",targetNamespace = "http://Inter.covad.com/")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public interface Hello extends Remote {
String echo(String value) throws RemoteException;
}
and this is my [B]implementation[/B] class
package com.covad.impl;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
@WebService(endpointInterface = "com.covad.Inter.Hello", name="Hello")
@SOAPBinding(style = SOAPBinding.Style.RPC)
public class HelloImpl {
public String echo(String value)
{
return "Hello"+value;
}
}
and this my [B]WSDL[/B] file which i generated by wsprovide tool
and this is my [B]Web.xml[/B] file
JWeb
com.covad.impl.HelloImpl
JWeb
/*
then i created war file with following directory
warfilename/WEB-INF/classes
warfilename/WEB-INF/lib
warfilename/WEB-INF/web.xml
warfilename/META-INF/wsdl/HelloService.wsdl
and tried to deploy and following is the exception i am getting
16:06:34,537 ERROR [MainDeployer] Could not start deployment: file:/D:/jboss-4.2
.1.GA/server/default/deploy/JbossWebService.war
java.lang.IllegalStateException: Cannot find endpoint meta data for: JWeb
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
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 $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
loop(AbstractDeploymentScanner.java:274)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
run(AbstractDeploymentScanner.java:225)
Please let me if i am missing something?
Please help me.
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098773#4098773
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098773
From do-not-reply at jboss.com Thu Oct 25 07:58:27 2007
From: do-not-reply at jboss.com (rukus)
Date: Thu, 25 Oct 2007 07:58:27 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <32707455.1193313507639.JavaMail.jboss@colo-br-02.atl.jboss.com>
Can you provide full sources of classes in hierarchy with foo.Bar?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098787#4098787
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098787
From do-not-reply at jboss.com Thu Oct 25 09:10:25 2007
From: do-not-reply at jboss.com (mazz@jboss.com)
Date: Thu, 25 Oct 2007 09:10:25 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: avoid lazy-initialization exceptions
Message-ID: <6881798.1193317825946.JavaMail.jboss@colo-br-02.atl.jboss.com>
The SLSB and entity is very simple. I've included the relevant SLSB interface definition and entity code below. The specific issue here is our login() method returns a Subject - and the Subject, although it has a Role relationship, we do not eagerly load it. The caller to login() never needs to know the role relationship data, and because of that, we increase performance by never asking the persistence layer to load that data before returning the Subject. While this is a very specific example, this design paradigm is all through our code. In fact, I have to believe this is a general problem everyone will have (since this is a big reason behind using LAZY vs. EAGER loading).
Not sure how to annotate the entity, because would that mean we can either ALWAYS or NEVER the data? But we know will we need it sometimes, but not always (i.e. sometimes a caller will call a different method that returns a Subject and that Subject WILL have the role information loaded and we thus WILL want that data go through the JAXB engine and returned to the web client).
I think we need some way to customize the way JAXB processes the returned entity or we need some annotation on a per-SLSB method. We are looking at @XMLJavaTypeAdapter as a possible way to do something, but we aren't sure yet until we try it out.
@WebService
| @SOAPBinding(style = SOAPBinding.Style.DOCUMENT)
| public interface SubjectManagerRemote {
| @WebMethod
| Subject login(String user, String password);
@Entity
| @Table(name = "ON_SUBJECT")
| public class Subject implements Externalizable {
| ...
| @ManyToMany
| @JoinTable(name="ON_SUBJECT_ROLE_MAP",
| joinColumns={@JoinColumn(name="SUBJECT_ID")},
| inverseJoinColumns={@JoinColumn(name="ROLE_ID")})
| private java.util.Set roles;
| ...
| public java.util.Set getRoles() {
| return this.roles;
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098807#4098807
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098807
From do-not-reply at jboss.com Thu Oct 25 09:30:49 2007
From: do-not-reply at jboss.com (jalla)
Date: Thu, 25 Oct 2007 09:30:49 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address
location from WSDL at r
Message-ID: <19040813.1193319049463.JavaMail.jboss@colo-br-02.atl.jboss.com>
I am using Flex and the want to consume a login web service written in java running jboss. The flex needs the wsdl location and figures out the endpoint on the fly based on wsdl. However, the endpoint address is the local hostname of the server running web service. In my flex app I get the error message that says it can't connect to http://utv/LoginWS where utv is the hostname of the server running WS on jboss.
Is there any way I can fix it? Is it possible that endpoint url is dynamically generated based on current request?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098814#4098814
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098814
From do-not-reply at jboss.com Thu Oct 25 11:47:26 2007
From: do-not-reply at jboss.com (dode)
Date: Thu, 25 Oct 2007 11:47:26 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - How to do cleanup when undeploying
webservice
Message-ID: <8998234.1193327246617.JavaMail.jboss@colo-br-02.atl.jboss.com>
I'd like to do some cleanup in my SEI class when the webservice WAR is undeployed, but I can't figure out how this could be done.
Could someone please help me out?
Torsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098893#4098893
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098893
From do-not-reply at jboss.com Thu Oct 25 13:37:35 2007
From: do-not-reply at jboss.com (JBoss_82)
Date: Thu, 25 Oct 2007 13:37:35 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBoss equivalent of clientGen of WL
Message-ID: <9421566.1193333855460.JavaMail.jboss@colo-br-02.atl.jboss.com>
Yes, I realized that. I will soon have a design question for you as well :). This is my first week into the magical world of JBoss :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098943#4098943
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098943
From do-not-reply at jboss.com Thu Oct 25 13:45:40 2007
From: do-not-reply at jboss.com (JBoss_82)
Date: Thu, 25 Oct 2007 13:45:40 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBoss equivalent of clientGen of WL
Message-ID: <19447284.1193334340963.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi Alessio,
You are dead-on accurate. WL's clientgen provides a similar functionality. Can you send me a sample build.xml which leverages wsconsume Ant Task by taking the wsdl file as a parameter and creating a client-jar. My email is vatsa82 at gmail.com
Thanks
Sri
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098948#4098948
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098948
From do-not-reply at jboss.com Thu Oct 25 15:53:27 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Thu, 25 Oct 2007 15:53:27 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSTools to generate
jaxrpc-mapping.xml file?
Message-ID: <14941666.1193342007426.JavaMail.jboss@colo-br-02.atl.jboss.com>
So, the call to WSTools is not necessary? That's what I was hoping to find out.
Does this also mean that we no longer need a mapping file? If not, how is the mapping file generated? WSTools?
The reason I even tried to generate artifacts with the WSTools is to solve this error:
| 2007-10-25 11:42:57,765 ERROR [STDERR] javax.xml.ws.soap.SOAPFaultException: WSDLReader:None of the matching operations for soapAction http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData could successfully load the incoming request. Potential typemapper problem
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:69)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:109)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:553)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:371)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:243)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150)
| 2007-10-25 11:42:57,765 ERROR [STDERR] at $Proxy60.getCandidateScheduleData(Unknown Source)
|
which is called via:
| public Event perform(HttpServletRequest request) throws HTMLActionException {
| logger.info("entering perform");
| String sEnrollId = "11110",
| sSSN = "-00004069",
| sClientPWD ="123",
| sClientId = "042";
|
| String req = ""+
| " "+
| "" + sEnrollId + " "+
| "" + sSSN + " " +
| " ";
|
| ALMVTC alm = new ALMVTC();
| ScheduleSoapPort ssp = alm.getScheduleSoapPort();
|
| Object resp = null;
|
| try {
| resp = ssp.getCandidateScheduleData((Object)req);
| //resp = ssp.serviceCheck(req);
| logger.info("the response for the candidates:"+resp);
| } catch (Exception e) {
| // TODO Auto-generated catch block
| e.printStackTrace();
| }
|
| logger.info("leaving perform");
| return null;
| }
|
Not sure if this will help but the full stack trace can be found here:
http://graham-king.blogspot.com/2007/10/full-stack-trace-for-jboss-mssql.html
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098990#4098990
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098990
From do-not-reply at jboss.com Fri Oct 26 02:29:56 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Fri, 26 Oct 2007 02:29:56 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying the
webservice using jax-ws
Message-ID: <18041908.1193380196937.JavaMail.jboss@colo-br-02.atl.jboss.com>
alessio.soldano wrote:
anonymous wrote : Could you please post the code where you're using the XmlAccessorType annotation?
| I mean, are you using this
| Code:
|
| @XmlAccessorType(XmlAccessType.FIELD)
|
|
| or something different? (like an array of AccessType.FIELD)
|
| You might also start from the classes generated by wsconsume.
I have generated the classes from JAXB 2.0 . these classes are using this
@XmlAccessorType(XmlAccessType.FIELD)
and sample code for this
| //
| // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
| // See http://java.sun.com/xml/jaxb
| // Any modifications to this file will be lost upon recompilation of the source schema.
| // Generated on: 2007.10.22 at 10:28:58 AM IST
| //
|
|
| package com.covad.xsd.smo.vendororder;
|
| import java.util.ArrayList;
| import java.util.List;
| import javax.xml.bind.annotation.AccessType;
| import javax.xml.bind.annotation.XmlAccessorType;
| import javax.xml.bind.annotation.XmlElement;
| import javax.xml.bind.annotation.XmlType;
| import javax.xml.datatype.XMLGregorianCalendar;
| import com.covad.xsd.smo.vendororder.Client;
| import com.covad.xsd.smo.vendororder.LineItem;
| import com.covad.xsd.smo.vendororder.VendorOrder;
|
|
| /**
| * Java class for VendorOrder complex type.
| *
| *
The following schema fragment specifies the expected content contained within this class.
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| *
| */
| @XmlAccessorType(AccessType.FIELD)
| @XmlType(name = "VendorOrder", propOrder = {
| "orderID",
| "vendorID",
| "vendorOrderID",
| "orderReceivedDate",
| "contractAcceptedFlag",
| "contractAcceptedDate",
| "productLanguageCode",
| "client",
| "lineItem"
| })
| public class VendorOrder {
|
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder", type = Integer.class)
| protected int orderID;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder", type = Integer.class)
| protected int vendorID;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder")
| protected String vendorOrderID;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder")
| protected XMLGregorianCalendar orderReceivedDate;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder")
| protected Boolean contractAcceptedFlag;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder")
| protected XMLGregorianCalendar contractAcceptedDate;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder")
| protected String productLanguageCode;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder")
| protected Client client;
| @XmlElement(namespace = "http://smo.xsd.covad.com/vendororder")
| protected List lineItem;
|
| /**
| * Gets the value of the orderID property.
| *
| */
| public int getOrderID() {
| return orderID;
| }
|
| /**
| * Sets the value of the orderID property.
| *
| */
| public void setOrderID(int value) {
| this.orderID = value;
| }
|
| /**
| * Gets the value of the vendorID property.
| *
| */
| public int getVendorID() {
| return vendorID;
| }
|
| /**
| * Sets the value of the vendorID property.
| *
| */
| public void setVendorID(int value) {
| this.vendorID = value;
| }
|
| /**
| * Gets the value of the vendorOrderID property.
| *
| * @return
| * possible object is
| * {@link String }
| *
| */
| public String getVendorOrderID() {
| return vendorOrderID;
| }
|
| /**
| * Sets the value of the vendorOrderID property.
| *
| * @param value
| * allowed object is
| * {@link String }
| *
| */
| public void setVendorOrderID(String value) {
| this.vendorOrderID = value;
| }
|
| /**
| * Gets the value of the orderReceivedDate property.
| *
| * @return
| * possible object is
| * {@link XMLGregorianCalendar }
| *
| */
| public XMLGregorianCalendar getOrderReceivedDate() {
| return orderReceivedDate;
| }
|
| /**
| * Sets the value of the orderReceivedDate property.
| *
| * @param value
| * allowed object is
| * {@link XMLGregorianCalendar }
| *
| */
| public void setOrderReceivedDate(XMLGregorianCalendar value) {
| this.orderReceivedDate = value;
| }
|
| /**
| * Gets the value of the contractAcceptedFlag property.
| *
| * @return
| * possible object is
| * {@link Boolean }
| *
| */
| public Boolean isContractAcceptedFlag() {
| return contractAcceptedFlag;
| }
|
| /**
| * Sets the value of the contractAcceptedFlag property.
| *
| * @param value
| * allowed object is
| * {@link Boolean }
| *
| */
| public void setContractAcceptedFlag(Boolean value) {
| this.contractAcceptedFlag = value;
| }
|
| /**
| * Gets the value of the contractAcceptedDate property.
| *
| * @return
| * possible object is
| * {@link XMLGregorianCalendar }
| *
| */
| public XMLGregorianCalendar getContractAcceptedDate() {
| return contractAcceptedDate;
| }
|
| /**
| * Sets the value of the contractAcceptedDate property.
| *
| * @param value
| * allowed object is
| * {@link XMLGregorianCalendar }
| *
| */
| public void setContractAcceptedDate(XMLGregorianCalendar value) {
| this.contractAcceptedDate = value;
| }
|
| /**
| * Gets the value of the productLanguageCode property.
| *
| * @return
| * possible object is
| * {@link String }
| *
| */
| public String getProductLanguageCode() {
| return productLanguageCode;
| }
|
| /**
| * Sets the value of the productLanguageCode property.
| *
| * @param value
| * allowed object is
| * {@link String }
| *
| */
| public void setProductLanguageCode(String value) {
| this.productLanguageCode = value;
| }
|
| /**
| * Gets the value of the client property.
| *
| * @return
| * possible object is
| * {@link Client }
| *
| */
| public Client getClient() {
| return client;
| }
|
| /**
| * Sets the value of the client property.
| *
| * @param value
| * allowed object is
| * {@link Client }
| *
| */
| public void setClient(Client value) {
| this.client = value;
| }
|
| /**
| * Gets the value of the lineItem property.
| *
| *
| * This accessor method returns a reference to the live list,
| * not a snapshot. Therefore any modification you make to the
| * returned list will be present inside the JAXB object.
| * This is why there is not a set
method for the lineItem property.
| *
| *
| * For example, to add a new item, do as follows:
| *
| * getLineItem().add(newItem);
| *
| *
| *
| *
| * Objects of the following type(s) are allowed in the list
| * {@link LineItem }
| *
| *
| */
| public List getLineItem() {
| if (lineItem == null) {
| lineItem = new ArrayList();
| }
| return this.lineItem;
| }
|
| }
|
Please suggest on this.
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099124#4099124
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099124
From do-not-reply at jboss.com Fri Oct 26 08:25:41 2007
From: do-not-reply at jboss.com (BigHeartedTone)
Date: Fri, 26 Oct 2007 08:25:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Using Jbossws for username token secure
communication outsid
Message-ID: <21066624.1193401541574.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi
Can anybody help me? I have been unable to find anything that points me in the right direction those these two posts are the closest.
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040908#4040908
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067456#4067456
I am trying to communicate with a webservice that use username token based security, using the jbossws implementation. I am doing this outside of the container for a test. Reading these forums, it looks like I should be doing the following once I got the username token (which I can do fine)
| BlahService service = new BlahService (); //Generated Service class using wsconsume
| BlahServicePortType psp = service.getBlahServiceHttpPort();
| ((StubExt) psp).setConfigName("Standard WSSecurity Client");
| Map reqContext = ((BindingProvider)psp).getRequestContext();
| reqContext.put(Stub.USERNAME_PROPERTY, loginService.getToken());
|
| try {
| ArrayOfModelSummary summary = psp.listAvailableModels();
| return summary.getModelSummary();
| } catch (BlahWSFault e) {
| e.printStackTrace();
| throw new BlahException(e);
| }
|
I am using the jbossws 2.0.1 implementation. Should I be doing it this way? What classes do I use to get the key value into the context. Any help gratefully recieved.
Tony
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099261#4099261
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099261
From do-not-reply at jboss.com Fri Oct 26 10:24:11 2007
From: do-not-reply at jboss.com (ZazzaZ)
Date: Fri, 26 Oct 2007 10:24:11 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: NPE @
org.jboss.ws.soap.SOAPConnectionImpl.getRemotingMe
Message-ID: <935202.1193408651677.JavaMail.jboss@colo-br-02.atl.jboss.com>
It looks like there's an error getting the locator for the web service. It's strange because testing it via a client the services workd and responds.
Any clues?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099328#4099328
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099328
From do-not-reply at jboss.com Fri Oct 26 10:26:43 2007
From: do-not-reply at jboss.com (jones123)
Date: Fri, 26 Oct 2007 10:26:43 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - jboss 4.0.2 Webservices dynamic proxy
client issue : could
Message-ID: <25432109.1193408803173.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hello,
I'm in a bit of a bind.
I'm working with webservices in jboss 4.0.2.
Trying a simple test at first.
I've successfully deployed a webservice.
However I have a problem when trying to access it using the a Dynamic Proxy Client. The problem
happens when I use a complex type.
I get the following exception:
java.rmi.RemoteException: null; nested exception is:
java.lang.reflect.UndeclaredThrowableException
at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:176)
at $Proxy1.createPerson(Unknown Source)
at com.mine.ws.client.WSEchoClient.main(WSEchoClient.java:65)
Caused by: java.lang.reflect.UndeclaredThrowableException
at $Proxy0.createPerson(Unknown Source)
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:324)
at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105)
... 2 more
Caused by: org.xml.sax.SAXException: Deserializing parameter 'result': could not find deserializer for type {http://trials.ws.mine.com}Person
at org.jboss.axis.message.RPCHandler.onStartChild(RPCHandler.java:326)
at org.jboss.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1168)
at org.jboss.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:244)
at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(SOAPElementAxisImpl.java:1386)
at org.jboss.axis.message.RPCElement.deserialize(RPCElement.java:262)
at org.jboss.axis.message.RPCElement.getParams(RPCElement.java:396)
at org.jboss.axis.client.Call.invoke(Call.java:2662)
at org.jboss.axis.client.Call.invoke(Call.java:2538)
at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
at org.jboss.axis.client.Call.invoke(Call.java:1914)
at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
at org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381)
... 8 more
/**********************************************************************************************/
/* running in eclipse ide with the following jars in classpath: */
/**********************************************************************************************/
axis-ws4ee.jar
jboss-w4ee-client.jar
wsdl4.jar
activation.jar
commons-discovery.jar
jbossall-client.jar
/**********************************************************************************************/
/* Simple Serializable bean containing just two strings */
/**********************************************************************************************/
package com.mine.ws.model;
public class Person implements java.io.Serializable {
private String firstname;
private String lastname;
/**
*
*/
public Person() {
}
/**
* @param firstname
* @param lastname
*/
public Person(String firstname, String lastname) {
super();
this.firstname = firstname;
this.lastname = lastname;
}
/**
* @return the firstname
*/
public String getFirstname() {
return firstname;
}
/**
* @param firstname the firstname to set
*/
public void setFirstname(String firstname) {
this.firstname = firstname;
}
/**
* @return the lastname
*/
public String getLastname() {
return lastname;
}
/**
* @param lastname the lastname to set
*/
public void setLastname(String lastname) {
this.lastname = lastname;
}
}
/**********************************************************************************************/
WS CLIENT CODE
/**********************************************************************************************/
package com.mine.ws.client;
import java.net.MalformedURLException;
import java.net.URL;
import java.rmi.RemoteException;
import java.util.HashMap;
import java.util.Map;
import javax.xml.namespace.QName;
import javax.xml.rpc.Service;
import javax.xml.rpc.ServiceException;
import javax.xml.rpc.ServiceFactory;
import com.mine.ws.model.Person;
import com.mine.ws.trials.IEchoService;
public class WSEchoClient {
public static void main(String[] args) {
try {
String url ="http://localhost:8080/ejb-trials-j2ee/ws-trials-j2ee/EchoService?wsdl";
String namespace = "http://trials.ws.mine.com";
String servicename = "EchoService";
URL wsdlUrl = new URL(url);
QName qname = new QName(namespace,servicename);
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService(wsdlUrl,qname);
IEchoService echoService = (IEchoService) service.getPort(IEchoService.class);
String firstname ="Clark";
String lastname = "Kent";
Person person = echoService.createPerson(firstname, lastname);
} catch (MalformedURLException e) {
e.printStackTrace();
} catch (RemoteException e) {
e.printStackTrace();
} catch (ServiceException e) {
e.printStackTrace();
}
}
}
/**********************************************************************************************/
Generated WSDL using wscompile as noted in jboss docs
/**********************************************************************************************/
/**********************************************************************************************/
mapping.xml generated from wscompile
/**********************************************************************************************/
com.mine.ws.trials
http://trials.ws.mine.com
com.mine.ws.trials
http://trials.ws.mine.com
com.mine.ws.model.Person
typeNS:Person
complexType
firstname
firstname
lastname
lastname
com.mine.ws.trials.EchoService
serviceNS:EchoService
IEchoServicePort
IEchoServicePort
com.mine.ws.trials.IEchoService
portTypeNS:IEchoService
bindingNS:IEchoServiceBinding
createPerson
createPerson
0
java.lang.String
wsdlMsgNS:IEchoService_createPerson
String_1
IN
1
java.lang.String
wsdlMsgNS:IEchoService_createPerson
String_2
IN
com.mine.ws.model.Person
wsdlMsgNS:IEchoService_createPersonResponse
result
/**********************************************************************************************/
config file used as parameter to wscompile
/**********************************************************************************************/
/**********************************************************************************************/
webservices file
/**********************************************************************************************/
EchoService
META-INF/wsdl/EchoService.wsdl
META-INF/mapping.xml
EchoService
pfx:IEchoServicePort
com.mine.ws.trials.IEchoService
EchoServiceBean
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099330#4099330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099330
From do-not-reply at jboss.com Fri Oct 26 11:41:22 2007
From: do-not-reply at jboss.com (ZazzaZ)
Date: Fri, 26 Oct 2007 11:41:22 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: NPE @
org.jboss.ws.soap.SOAPConnectionImpl.getRemotingMe
Message-ID: <12158275.1193413282068.JavaMail.jboss@colo-br-02.atl.jboss.com>
Got it.
soapAction was missing. Added, reployed, test --> OK
I hope this helps someone!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099369#4099369
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099369
From do-not-reply at jboss.com Fri Oct 26 13:11:51 2007
From: do-not-reply at jboss.com (bblasko)
Date: Fri, 26 Oct 2007 13:11:51 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Large File transfer from WS Client
Message-ID: <31283401.1193418711840.JavaMail.jboss@colo-br-02.atl.jboss.com>
I have a simple WS that uses MTOM/XOP. I'm using JBossAS 4.0.5 and JBossWS 2.0.1 GA.
I have the following annotations on the service class
@WebService(name="E2PIService", serviceName="E2PIService")
| @BindingType(value=javax.xml.ws.soap.SOAPBinding.SOAP12HTTP_MTOM_BINDING)
| @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
|
and this is the simple WebMethod signature
@WebMethod(operationName="transferFile", action="transferFile")
| @XmlMimeType("application/octet-stream")
| public long transferFile(@XmlMimeType("application/octet-stream")javax.activation.DataHandler data)
|
When I invoke this service using a client, it works OK with small files but I get OutOfMemory exceptions on large files.
I do call setMTOMEnabled(true) on the client side and verified the data is being encoded correctly.
| SOAPBinding binding = (SOAPBinding)((BindingProvider)service).getBinding();
| binding.setMTOMEnabled(true);
|
| FileDataSource fds = new FileDataSource(new File("/bigData.dat"));
| long d = service.transferFile(new DataHandler(fds));
|
It appears that the client is not streaming the data. If I do the reverse where I send a file from the server to client, it does appear to correctly stream the data.
How can I enable the client to perform streaming of DataHandler type parameters?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099434#4099434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099434
From do-not-reply at jboss.com Fri Oct 26 14:06:41 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Fri, 26 Oct 2007 14:06:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: WSTools to generate
jaxrpc-mapping.xml file?
Message-ID: <18254222.1193422001945.JavaMail.jboss@colo-br-02.atl.jboss.com>
Can anyone help me solve this problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099462#4099462
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099462
From do-not-reply at jboss.com Sat Oct 27 10:29:28 2007
From: do-not-reply at jboss.com (kgoral)
Date: Sat, 27 Oct 2007 10:29:28 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - jbossws tutorial
Message-ID: <29148568.1193495368235.JavaMail.jboss@colo-br-02.atl.jboss.com>
I need some good tutorial showing in details how to create and deploy jax-rpc web serwices on jboss 4.2 ga with jbossws. Thank you for any kind of help...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099588#4099588
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099588
From do-not-reply at jboss.com Sun Oct 28 06:24:48 2007
From: do-not-reply at jboss.com (egelke)
Date: Sun, 28 Oct 2007 06:24:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - WebServiceRef & HandlerChain annotations
Message-ID: <16734960.1193567088494.JavaMail.jboss@colo-br-02.atl.jboss.com>
I think I found a bug with the way the HandlerChain annotation is implemented in JBossWS 2.0.1.SP2 on JBoss 4.2.2
It happends when I use @HandlerChain in the following condition:
1) A field in a Stateless Session Bean
2) The type of the field is the port type
3) The field is annotated with @WebServiceRef
An example of the declaration:
| @HandlerChain(file = "MyWsClient_HandlerChains.xml")
| @WebServiceRef(name = "ws/MyWs", wsdlLocation = "META-INF/wsdl/MyWs.wsdl")
| private MyWsPort wsPort;
|
In that case I get the following errror:
| Caused by: org.jboss.ws.WSException: Cannot resolve handler file 'be/egelke/MyWsClient_HandlerChains.xml' on javax.xml.ws.Service
| at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.getHandlerChainsMetaData(JAXWSMetaDataBuilder.java:235)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:150)
| at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61)
| at javax.xml.ws.Service.(Service.java:83)
| at javax.xml.ws.Service.create(Service.java:721)
| at org.jboss.ws.core.jaxws.client.ServiceObjectFactoryJAXWS.getObjectInstance(ServiceObjectFactoryJAXWS.java:135)
| at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
| at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1273)
| at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1290)
| ... 143 more
|
I did check the code and found the following on the line specified in the above exception:
| // Try the filename relative to class
| if (fileURL == null)
| {
| String filepath = filename;
| String packagePath = wsClass.getPackage().getName().replace('.', '/');
| String resourcePath = packagePath + "/" + filepath;
| while (filepath.startsWith("../"))
| {
| packagePath = packagePath.substring(0, packagePath.lastIndexOf("/"));
| filepath = filepath.substring(3);
| resourcePath = packagePath + "/" + filepath;
| }
| fileURL = wsClass.getClassLoader().getResource(resourcePath);
| }
|
| if (fileURL == null)
| throw new WSException("Cannot resolve handler file '" + filename + "' on " + wsClass.getName());
|
As you can see, the above tries the load my handler file with the classloader from the javax.xml.ws.Service class. Obviously, my handler file can't be found.
Is there a way that I can make it work or is this a bug or limitation?
I did find some ways to get arround the problem, but all have there disadvantages:
| 1) Replace the Port class of the field by the Service Client class: requires extra code which complicates unit testing.
| 2) Specify the correct service implementation class: only available in JBoss 5.0
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099646#4099646
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099646
From do-not-reply at jboss.com Sun Oct 28 12:25:15 2007
From: do-not-reply at jboss.com (kyriakost)
Date: Sun, 28 Oct 2007 12:25:15 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Necessary artifacts/descriptors for
JAX-WS web service
Message-ID: <213196.1193588715144.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi all,
I am coming back to this topic because it seems that I have the same problem and I cannot overpass it.
I have successfully deployed a POJO. Very easy.
I am now trying to deploy a WebServiceProvider but I am getting :
Cannot obtain wsdl location
This is my web.xml :
|
|
|
| Test
| test.ws.Test
|
|
| Test
| /Test
|
|
|
|
| my jboss-web.xml :
|
| |
| |
| |
| |
| | ws
| |
| |
|
| and this is the code :
|
| | package test.ws;
| |
| |
| | import java.io.ByteArrayInputStream;
| |
| | import javassist.tools.rmi.RemoteException;
| |
| | import javax.jws.WebMethod;
| | import javax.jws.WebParam;
| | import javax.jws.WebResult;
| | import javax.jws.WebService;
| | import javax.jws.soap.SOAPBinding;
| | import javax.xml.transform.Source;
| | import javax.xml.transform.Transformer;
| | import javax.xml.transform.TransformerFactory;
| | import javax.xml.transform.dom.DOMResult;
| | import javax.xml.transform.stream.StreamSource;
| | import javax.xml.ws.Provider;
| | import javax.xml.ws.Service;
| | import javax.xml.ws.ServiceMode;
| | import javax.xml.ws.WebServiceProvider;
| |
| | import org.w3c.dom.Node;
| |
| | @WebServiceProvider
| | @ServiceMode(value = Service.Mode.PAYLOAD)
| | public class Test implements Provider
| | {
| |
| | public Source invoke(Source source) throws RemoteException {
| | try {
| | DOMResult dom = new DOMResult();
| | Transformer trans = TransformerFactory.newInstance().newTransformer();
| | trans.transform(source, dom);
| | Node node = dom.getNode();
| | Node root = node.getFirstChild();
| | Node first = root.getFirstChild();
| | int number1 = Integer.decode(first.getFirstChild().getNodeValue());
| | Node second = first.getNextSibling();
| | int number2 = Integer.decode(second.getFirstChild().getNodeValue());
| |
| | return sendSource(number1, number2);
| |
| | } catch(Exception e) {
| | e.printStackTrace();
| | throw new RemoteException("Error in provider endpoint");
| | }
| | }
| |
| | private Source sendSource(int number1, int number2) {
| | int sum = number1+number2;
| | String body =
| | ""
| | +sum
| | +" ";
| | Source source = new StreamSource(
| | new ByteArrayInputStream(body.getBytes()));
| | return source;
| | }
| | }
| |
|
| I even tried putting a wsdl inside at
| WEB-INF/wsdl/TestService.wsdl
|
| Where should I put the wsdl so that the deployer can find it ?
| What other artifacts/deployer-descriptors do I need to make it work ?
|
| Thank you in advance !
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099673#4099673
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099673
From do-not-reply at jboss.com Sun Oct 28 17:54:22 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 28 Oct 2007 17:54:22 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Errors in AS after updating JBossWS
- plz help
Message-ID: <6897675.1193608463454.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
which version of JBoss (4.2.0.GA, 4.2.1.GA, ... ?) and JBossESB are you using?
Perhaps this might be related to this http://www.jboss.com/index.html?module=bb&op=viewtopic&t=122212 that is going to be fixed soon.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099687#4099687
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099687
From do-not-reply at jboss.com Sun Oct 28 17:58:59 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Sun, 28 Oct 2007 17:58:59 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <10940397.1193608739132.JavaMail.jboss@colo-br-02.atl.jboss.com>
"abdujaparov" wrote : Hi Alesso,thanks, now it works!
| Another question is it possible to get the statistics of each operation of each endpoint?
| Thanks, bye bye.
No, not right now. But, as I said, we are thinking of features like this in the productivity thread I mentioned above, feel free to suggest your ideas.
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121473
Thank you
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099688#4099688
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099688
From do-not-reply at jboss.com Sun Oct 28 18:04:50 2007
From: do-not-reply at jboss.com (raster69)
Date: Sun, 28 Oct 2007 18:04:50 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: soap:address location not fully
qualified (JSR-181)
Message-ID: <26593505.1193609090580.JavaMail.jboss@colo-br-02.atl.jboss.com>
Edit jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
Here you will find information http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQURLRewriting
Good luck !
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099689#4099689
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099689
From do-not-reply at jboss.com Mon Oct 29 02:05:09 2007
From: do-not-reply at jboss.com (SameerGijare)
Date: Mon, 29 Oct 2007 02:05:09 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Exception when deploying a web service
on jboss 4.2.1.GA
Message-ID: <22802447.1193637909662.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi
I have a web service with wsdl ready from weblogic.I am porting it to Jboss 4.2.1.GA.It uses jbossws1.2.1.GA I am also using JAXB 2.1.5 to genarate schema.jar, from XSD using xjc command and then compiling the classes and putting them in schema.jar.But when I deploy the bundled web application on Jboss 4.2.1 i get the following exception
:02,694 ERROR [MainDeployer] Could not start deployment: file:/E:/jboss-4.2.1.GA/server/default/deploy/mcafeeAdapter.war
boss.deployment.DeploymentException: Cannot start service endpoint; - nested throwable: (org.jboss.ws.WSException: {http://smo.xsd.covad.com/vendororder}vendorOrder is not a valid property on class com.covad.xsd.smo.vendororder.ProcessVendorOrder)
at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:101)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
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 $Proxy46.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor18.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 $Proxy9.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.GeneratedMethodAccessor3.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.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.GeneratedMethodAccessor9.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.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:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
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:508)
at java.lang.Thread.run(Thread.java:595)
d by: org.jboss.ws.WSException: {http://smo.xsd.covad.com/vendororder}vendorOrder is not a valid property on class com.covad.xsd.smo.vendororder.ProcessVendorOrder
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:816)
at org.jboss.ws.metadata.acessor.JAXBAccessor$1$1.create(JAXBAccessor.java:84)
at org.jboss.ws.metadata.umdm.ParameterMetaData.eagerInitialize(ParameterMetaData.java:472)
at org.jboss.ws.metadata.umdm.OperationMetaData.eagerInitialize(OperationMetaData.java:466)
at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitializeOperations(EndpointMetaData.java:516)
at org.jboss.ws.metadata.umdm.EndpointMetaData.initializeInternal(EndpointMetaData.java:502)
at org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitialize(EndpointMetaData.java:490)
at org.jboss.ws.metadata.umdm.ServiceMetaData.eagerInitialize(ServiceMetaData.java:429)
at org.jboss.ws.metadata.umdm.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:192)
at org.jboss.ws.core.server.ServiceEndpoint.start(ServiceEndpoint.java:112)
at org.jboss.ws.core.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:646)
at org.jboss.ws.core.server.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:140)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.startServiceEndpoint(DeployerInterceptor.java:144)
at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:96)
... 74 more
Can anyone help me to resolve this exception ?
Thank in advance..
-Sameer Gijare
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099728#4099728
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099728
From do-not-reply at jboss.com Mon Oct 29 03:19:14 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Mon, 29 Oct 2007 03:19:14 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Deployed service statistics
Message-ID: <30867091.1193642354424.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks Alessio, the last question how can I get the statistics of each operation of the web service?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099738#4099738
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099738
From do-not-reply at jboss.com Mon Oct 29 04:53:27 2007
From: do-not-reply at jboss.com (tpawankumar)
Date: Mon, 29 Oct 2007 04:53:27 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Deploying on Jboss 4.2.1,
jbossws 1.2.1 success, same applicat
Message-ID: <17832641.1193648007216.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi All,
I have created small sample HelloWorld WebService and tried to deploy on Jboss 4.2.1 GA and Jbossws 1.2.1 GA.It got deployed.
I am using Jax-WS for creating the web service.
Then i upgraded to jbossws to 2.0.1 GA and tried to deploy the same application.
It it throwing the following exception
java.lang.IllegalStateException: Cannot find endpoint meta data for: JWeb
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
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 $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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 $Proxy9.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
tScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
canner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
bstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
upport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
eanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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(ServiceControl
ler.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.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:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
er.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
or.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
BeanOperationInterceptor.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:508)
at java.lang.Thread.run(Thread.java:595)
What could be the reason?
My Remote Interface
package com.covad.inter;
|
| import java.rmi.Remote;
| import java.rmi.RemoteException;
|
| import javax.jws.WebMethod;
| import javax.jws.WebParam;
| import javax.jws.WebResult;
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
|
| @WebService(name="Hello",targetNamespace = "http://Inter.covad.com/")
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public interface Hello extends Remote {
|
| String echo(
| String value) throws RemoteException;
|
| }
My Implementation class
package com.covad.impl;
|
| import javax.jws.WebService;
| import javax.jws.soap.SOAPBinding;
|
|
| @WebService(endpointInterface = "com.covad.inter.Hello", name="Hello")
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| public class HelloImpl {
|
| public String echo(String value)
| {
| return "Hello"+value;
| }
|
| }
|
|
My WSDL file
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
My web.xml file
|
|
|
| JWeb
| com.covad.impl.HelloImpl
|
|
|
| JWeb
| /*
|
|
|
Please let me know if there are any problems in the code or there any changes in the annotation from jbossws 1.2.1GA to jbossws 2.0.1GA.
Thanks in Advance.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099752#4099752
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099752
From do-not-reply at jboss.com Mon Oct 29 07:36:17 2007
From: do-not-reply at jboss.com (FabianW)
Date: Mon, 29 Oct 2007 07:36:17 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Errors in AS after updating JBossWS
- plz help
Message-ID: <10164002.1193657777428.JavaMail.jboss@colo-br-02.atl.jboss.com>
Yeah, thanks for your answer. I've already opened a new thread about my problem: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098749
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099799#4099799
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099799
From do-not-reply at jboss.com Mon Oct 29 09:49:20 2007
From: do-not-reply at jboss.com (01012003)
Date: Mon, 29 Oct 2007 09:49:20 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: How do you override soap:address
location from WSDL at r
Message-ID: <29257972.1193665760464.JavaMail.jboss@colo-br-02.atl.jboss.com>
having the same problem? anyone?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099840#4099840
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099840
From jjoo at ECNext.com Mon Oct 29 13:54:49 2007
From: jjoo at ECNext.com (Jae Joo)
Date: Mon, 29 Oct 2007 13:54:49 -0400
Subject: [jbossws-users] virtual IP address
Message-ID:
HI,
I am running jboss AS 4.2.1 and would like to add the virtual IP address
(from outside of server) which is pointing the jboss server.
When I start the jboss AS, I set 0.0.0.0 for IP address using -b option.
I am wondering the virtual ip address I am adding during the runningf
jboss still can point the jboss.
Thanks,
Jae Joo
Application Architect
ECNext, Inc.
614-682-5134 (office)
614-682-5104 (fax)
www.ecnext.com
Making e-Content Work for You(tm)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jbossws-users/attachments/20071029/a71ef72c/attachment.html
From do-not-reply at jboss.com Mon Oct 29 16:31:18 2007
From: do-not-reply at jboss.com (Batigoal)
Date: Mon, 29 Oct 2007 16:31:18 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - WS Security and multiple signatures
Message-ID: <6568877.1193689878942.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi!
Is it possible in JBoss WS to create multiple signatures and to get them after service has been called.
In WS-Security Specification (http://www.verisign.com/wss/wss.pdf) look at Chapter 4.5 "ds:Signature".
Can I realize attaching multiple signatures on the same document in JBoss-WS?
Where can i found docu or API about that?
Thanks in advance for every answer and tip!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100000#4100000
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100000
From do-not-reply at jboss.com Mon Oct 29 17:15:32 2007
From: do-not-reply at jboss.com (chris.laprun@jboss.com)
Date: Mon, 29 Oct 2007 17:15:32 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Warning with ServiceObjectFactory with
jbossws-native-2.0.1.
Message-ID: <8752583.1193692532326.JavaMail.jboss@colo-br-02.atl.jboss.com>
WARN [org.jboss.ws.core.client.ServiceObjectFactory] Unable to narrow port selection for
| UnifiedPortComponentRef
| serviceEndpointInterface=org.jboss.portal.wsrp.core.WSRP_v1_Registration_PortType
| portQName=null
| enableMTOM=false
| portComponentLink=null
| callProperties=[]
| stubProperties=[]
| configName=null
| configFile=null
what does that mean and how can I fix it?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100007#4100007
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100007
From do-not-reply at jboss.com Mon Oct 29 17:16:30 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Mon, 29 Oct 2007 17:16:30 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Exception when deploying a web
service on jboss 4.2.1.GA
Message-ID: <7022086.1193692590437.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
take a look here:
http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#Why_I.27m_getting_.22propertyname_is_not_valid_property_on_class_mypackage.jaxws.Propertyname.22.3F
and here:
http://jira.jboss.org/jira/browse/JBWS-1799
This should help you ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100008#4100008
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100008
From do-not-reply at jboss.com Mon Oct 29 18:05:00 2007
From: do-not-reply at jboss.com (szaccaria)
Date: Mon, 29 Oct 2007 18:05:00 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - restrict access to one ip
Message-ID: <27161869.1193695500217.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi to all,
How I can restric my web service only to restrict range of ip ?
i've read about in http://wiki.jboss.org/wiki/Wiki.jsp?page=RMIClassLoadingService
where be spoken about secure... is the right way?
thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100017#4100017
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100017
From do-not-reply at jboss.com Tue Oct 30 04:46:55 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Tue, 30 Oct 2007 04:46:55 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: restrict access to one ip
Message-ID: <14510631.1193734015764.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
you could implement JBossWS server side handler.
This handler have method handleMessage(MessageContext).
The MessageContext object has property SERVLET_REQUEST,
through which you can obtain the underlying ServletRequest object.
And on ServletRequest object there are a methods like:
* getRemoteAddr()
* getRemoteHost()
which you can use for IP filtering purposes ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100105#4100105
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100105
From do-not-reply at jboss.com Tue Oct 30 05:15:59 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Tue, 30 Oct 2007 05:15:59 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws tutorial
Message-ID: <933363.1193735759830.JavaMail.jboss@colo-br-02.atl.jboss.com>
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100116#4100116
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100116
From do-not-reply at jboss.com Tue Oct 30 05:26:52 2007
From: do-not-reply at jboss.com (BigHeartedTone)
Date: Tue, 30 Oct 2007 05:26:52 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Using Jbossws for username token
secure communication ou
Message-ID: <26503372.1193736412115.JavaMail.jboss@colo-br-02.atl.jboss.com>
ANY BODY??
I am now using xfire to do the username token (because I have an example that works) but this conflicts with my existing jbossws code. Arrghh!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100120#4100120
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100120
From do-not-reply at jboss.com Tue Oct 30 09:22:20 2007
From: do-not-reply at jboss.com (alessio.soldano@jboss.com)
Date: Tue, 30 Oct 2007 09:22:20 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Using Jbossws for username token
secure communication ou
Message-ID: <5036818.1193750540195.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
take a look at the jbossws samples; download the src archive from the project download page, then see class org.jboss.test.ws.jaxws.samples.wssecurity.SimpleUsernameTestCase. It's a working sample using the Username Token.
You may also find an example in the interop test package.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100243#4100243
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100243
From do-not-reply at jboss.com Tue Oct 30 10:27:21 2007
From: do-not-reply at jboss.com (krithi)
Date: Tue, 30 Oct 2007 10:27:21 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Stopping Web Service
Message-ID: <30307952.1193754441871.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi
How to start and stop the Jboss web service programatically?
I would like to get ' Server Not found ' page after stopping the jboss Web Service but jboss should remain running. On a particular event I would like to restart the web service.
Is it possible to achieve this, How?
Please Help
Thanks
Krithi
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100284#4100284
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100284
From do-not-reply at jboss.com Tue Oct 30 10:29:48 2007
From: do-not-reply at jboss.com (krithi)
Date: Tue, 30 Oct 2007 10:29:48 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Stopping Web Service
Message-ID: <20616504.1193754588856.JavaMail.jboss@colo-br-02.atl.jboss.com>
Sorry to have missed this, I am using Jboss.4.0.5 GA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100286#4100286
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100286
From do-not-reply at jboss.com Tue Oct 30 12:20:22 2007
From: do-not-reply at jboss.com (kellenheller)
Date: Tue, 30 Oct 2007 12:20:22 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: jbossws-2.0.0.GA released
Message-ID: <21482539.1193761222653.JavaMail.jboss@colo-br-02.atl.jboss.com>
>2. installed jbossws-1.2 into jboss-4.0.5.GA and now wsconsume fails to work, it throws a NoClassDefFound on org.jboss.ws.tools.jaxws.impl.SunRIConsumerFactoryImpl ?
I'm able to run web services using the dynamic proxy, but when I try to pre-gen the client classes with wsconsume, I get this exception as well.
I'm on jboss-4.0.5GA and jbossws-1.2.1.GA.
I had previously installed 2.0.1GA, but couldn't get it to install, so I installed jbossws-1.2.1.GA instead.
Anybody who has had this problem get past it?
-Tracey
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100345#4100345
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100345
From do-not-reply at jboss.com Tue Oct 30 15:32:55 2007
From: do-not-reply at jboss.com (ghinkle)
Date: Tue, 30 Oct 2007 15:32:55 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: avoid lazy-initialization exceptions
Message-ID: <24636689.1193772775930.JavaMail.jboss@colo-br-02.atl.jboss.com>
So I went and tried a few different ways to solve this. I implemented a XmlAdapter thinking I could inject some code into the marshalling process to null out the relationships before jaxb tries to do its thing.
| @javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter(org.jboss.on.domain.util.EJBXMLTypeAdaptor.class)
|
Doing this on the entity class and having the adapter just returned the cleaned-up object results in:
| javax.xml.bind.JAXBException: org.jboss.on.domain.auth.Subject nor any of its super class is known to this context
|
It doesn't look like many people understand XmlAdapters given what I've been able to find on Google. Any ideas how to just get access to the object, but still have JAXB do the marshalling?
I also tried putting the adapter on the relationship collection field that is lazy (and set the accessor type to FIELD), but it never ran my adapter in that case. Putting the adapter on the accessors didn't seem to get picked up.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100420#4100420
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100420
From do-not-reply at jboss.com Tue Oct 30 17:06:41 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Tue, 30 Oct 2007 17:06:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - JBoss-4.0.5.GA with
JBossWS-native-2.0.0.GA to IIS
Message-ID: <26245145.1193778401692.JavaMail.jboss@colo-br-02.atl.jboss.com>
I'm attempting to access a webservice on our clients machine who is running an IIS server. I've run wsconsume to generate the artifacts. I registered the web service in the web.xml. I am not generating any other files. Are there files that I'm missing which need to be in the .war file in order to get it to work?
Is this a possible solution to the problem:
http://support.microsoft.com/kb/894550
or this:
http://www.tek-tips.com/viewthread.cfm?qid=517155&page=2
I am unsuccessful and receive the following error:
| 2007-10-25 11:42:54,437 INFO [com.comira.act.actions.GetCandidateScheduleData] entering perform
| 2007-10-25 11:42:54,515 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] START buildMetaData: [service={http://actcenters.com/ALMVTC/wsdl/}ALMVTC]
| 2007-10-25 11:42:54,515 DEBUG [org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory] parse: http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| 2007-10-25 11:42:55,687 DEBUG [org.jboss.ws.tools.JavaToXSD] Load schema: http://actcenters.com/ALMVTC/type/=file:/C:/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_actcenters.com_ALMVTC_type_28452.xsd
| 2007-10-25 11:42:55,703 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=null,sysid=file:/C:/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_actcenters.com_ALMVTC_type_28452.xsd]
| 2007-10-25 11:42:55,703 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/soap/encoding/,sysid=null]
| 2007-10-25 11:42:55,703 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/wsdl/,sysid=null]
| 2007-10-25 11:42:55,703 DEBUG [org.jboss.util.xml.JBossEntityResolver] Cannot resolve [publicID=http://schemas.xmlsoap.org/wsdl/,systemID=null]
| 2007-10-25 11:42:55,703 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] Cannot resolve entity: [pub=http://schemas.xmlsoap.org/wsdl/,sysid=null]
| 2007-10-25 11:42:55,703 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=null,sysid=http://schemas.xmlsoap.org/wsdl/]
| 2007-10-25 11:42:55,703 DEBUG [org.jboss.util.xml.JBossEntityResolver] Failed to open url stream
| java.io.FileNotFoundException: C:\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp28450act-client-ws-exp.war\WEB-INF\classes (Access is denied)
| at java.io.FileInputStream.open(Native Method)
| at java.io.FileInputStream.(FileInputStream.java:106)
| at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:105)
| at java.net.URL.openStream(URL.java:1007)
| at org.jboss.util.xml.JBossEntityResolver.loadClasspathResource(JBossEntityResolver.java:514)
| at org.jboss.util.xml.JBossEntityResolver.resolveClasspathName(JBossEntityResolver.java:471)
| at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:252)
| at org.jboss.ws.core.utils.JBossWSEntityResolver.resolveEntity(JBossWSEntityResolver.java:65)
| at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.resolveEntity(JBossXSEntityResolver.java:135)
| at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
| at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:182)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:391)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:172)
| at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
| at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:85)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:131)
| at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61)
| at javax.xml.ws.Service.(Service.java:83)
| at com.comira.ALMVTC.(Unknown Source)
| at com.comira.act.actions.GetCandidateScheduleData.perform(Unknown Source)
| at com.comira.waf.web.RequestProcessor.processRequest(Unknown Source)
| at com.comira.waf.web.FrontController.processRequest(Unknown Source)
| at com.comira.waf.web.FrontController.doGet(Unknown Source)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| 2007-10-25 11:42:55,812 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/ws/2002/04/reference/,sysid=null]
| 2007-10-25 11:42:55,812 DEBUG [org.jboss.util.xml.JBossEntityResolver] Cannot resolve [publicID=http://schemas.xmlsoap.org/ws/2002/04/reference/,systemID=null]
| 2007-10-25 11:42:55,812 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] Cannot resolve entity: [pub=http://schemas.xmlsoap.org/ws/2002/04/reference/,sysid=null]
| 2007-10-25 11:42:55,812 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=null,sysid=http://schemas.xmlsoap.org/ws/2002/04/reference/]
| 2007-10-25 11:42:55,812 DEBUG [org.jboss.util.xml.JBossEntityResolver] Failed to open url stream
| java.io.FileNotFoundException: C:\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp28450act-client-ws-exp.war\WEB-INF\classes (Access is denied)
| at java.io.FileInputStream.open(Native Method)
| at java.io.FileInputStream.(FileInputStream.java:106)
| at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:105)
| at java.net.URL.openStream(URL.java:1007)
| at org.jboss.util.xml.JBossEntityResolver.loadClasspathResource(JBossEntityResolver.java:514)
| at org.jboss.util.xml.JBossEntityResolver.resolveClasspathName(JBossEntityResolver.java:471)
| at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:252)
| at org.jboss.ws.core.utils.JBossWSEntityResolver.resolveEntity(JBossWSEntityResolver.java:65)
| at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.resolveEntity(JBossXSEntityResolver.java:135)
| at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
| at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:182)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:391)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:172)
| at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
| at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:85)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:131)
| at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61)
| at javax.xml.ws.Service.(Service.java:83)
| at com.comira.ALMVTC.(Unknown Source)
| at com.comira.act.actions.GetCandidateScheduleData.perform(Unknown Source)
| at com.comira.waf.web.RequestProcessor.processRequest(Unknown Source)
| at com.comira.waf.web.FrontController.processRequest(Unknown Source)
| at com.comira.waf.web.FrontController.doGet(Unknown Source)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| 2007-10-25 11:42:55,875 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/ws/2002/04/content-type/,sysid=null]
| 2007-10-25 11:42:55,875 DEBUG [org.jboss.util.xml.JBossEntityResolver] Cannot resolve [publicID=http://schemas.xmlsoap.org/ws/2002/04/content-type/,systemID=null]
| 2007-10-25 11:42:55,875 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] Cannot resolve entity: [pub=http://schemas.xmlsoap.org/ws/2002/04/content-type/,sysid=null]
| 2007-10-25 11:42:55,875 DEBUG [org.jboss.ws.core.utils.JBossWSEntityResolver] resolveEntity: [pub=null,sysid=http://schemas.xmlsoap.org/ws/2002/04/content-type/]
| 2007-10-25 11:42:55,875 DEBUG [org.jboss.util.xml.JBossEntityResolver] Failed to open url stream
| java.io.FileNotFoundException: C:\jboss-4.0.5.GA\server\default\.\tmp\deploy\tmp28450act-client-ws-exp.war\WEB-INF\classes (Access is denied)
| at java.io.FileInputStream.open(Native Method)
| at java.io.FileInputStream.(FileInputStream.java:106)
| at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:105)
| at java.net.URL.openStream(URL.java:1007)
| at org.jboss.util.xml.JBossEntityResolver.loadClasspathResource(JBossEntityResolver.java:514)
| at org.jboss.util.xml.JBossEntityResolver.resolveClasspathName(JBossEntityResolver.java:471)
| at org.jboss.util.xml.JBossEntityResolver.resolveEntity(JBossEntityResolver.java:252)
| at org.jboss.ws.core.utils.JBossWSEntityResolver.resolveEntity(JBossWSEntityResolver.java:65)
| at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.resolveEntity(JBossXSEntityResolver.java:135)
| at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.resolveDocument(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(Unknown Source)
| at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
| at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
| at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:182)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:391)
| at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:172)
| at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:128)
| at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321)
| at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:85)
| at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:131)
| at org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:61)
| at javax.xml.ws.Service.(Service.java:83)
| at com.comira.ALMVTC.(Unknown Source)
| at com.comira.act.actions.GetCandidateScheduleData.perform(Unknown Source)
| at com.comira.waf.web.RequestProcessor.processRequest(Unknown Source)
| at com.comira.waf.web.FrontController.processRequest(Unknown Source)
| at com.comira.waf.web.FrontController.doGet(Unknown Source)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
| at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
| at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
| at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
| at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
| at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
| at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
| at java.lang.Thread.run(Thread.java:595)
| 2007-10-25 11:42:57,265 WARN [org.jboss.ws.tools.wsdl.WSDL11Reader] Unsupported binding: {http://schemas.microsoft.com/soap-toolkit/wsdl-extension}binding
| 2007-10-25 11:42:57,265 WARN [org.jboss.ws.tools.wsdl.WSDL11Reader] Unsupported binding: {http://schemas.microsoft.com/soap-toolkit/wsdl-extension}binding
| 2007-10-25 11:42:57,265 WARN [org.jboss.ws.tools.wsdl.WSDL11Reader] Unsupported binding: {http://schemas.microsoft.com/soap-toolkit/wsdl-extension}binding
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] END buildMetaData:
| UnifiedMetaData:
| implementation: jbossws-native-2.0.0.GA (build=200707051029)
| deploymentName: null
| securityDomain: null
|
| ServiceMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}ALMVTC
| refName=null
| wsdName=null
| wsdlFile=null
| wsdlLocation=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| jaxrpcMapping=null
| publishLocation=null
| securityConfig=null
| properties=null
|
| TypesMetaData:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://actcenters.com/ALMVTC/wsdl/}ScheduleSoapPort
| address=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getVersion
| javaName={http://actcenters.com/ALMVTC/wsdl/}getVersion
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getVersion
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getSiteTitleList
| javaName={http://actcenters.com/ALMVTC/wsdl/}getSiteTitleList
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getSiteTitleList
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}setInactiveFlag
| javaName={http://actcenters.com/ALMVTC/wsdl/}setInactiveFlag
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.setInactiveFlag
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getSiteName
| javaName={http://actcenters.com/ALMVTC/wsdl/}getSiteName
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getSiteName
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}setSitesTitleFlag
| javaName={http://actcenters.com/ALMVTC/wsdl/}setSitesTitleFlag
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.setSitesTitleFlag
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getStatesByTitleId
| javaName={http://actcenters.com/ALMVTC/wsdl/}getStatesByTitleId
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getStatesByTitleId
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getSitesBySiteNameTitleId
| javaName={http://actcenters.com/ALMVTC/wsdl/}getSitesBySiteNameTitleId
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getSitesBySiteNameTitleId
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getProctorStationIdsByStateTitle
| javaName={http://actcenters.com/ALMVTC/wsdl/}getProctorStationIdsByStateTitle
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getProctorStationIdsByStateTitle
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getProctorStationInfo
| javaName={http://actcenters.com/ALMVTC/wsdl/}getProctorStationInfo
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getProctorStationInfo
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getTestCenters
| javaName={http://actcenters.com/ALMVTC/wsdl/}getTestCenters
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getTestCenters
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getAvailableDays
| javaName={http://actcenters.com/ALMVTC/wsdl/}getAvailableDays
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getAvailableDays
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getAvailableAppointments
| javaName={http://actcenters.com/ALMVTC/wsdl/}getAvailableAppointments
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getAvailableAppointments
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}scheduleAppointment
| javaName={http://actcenters.com/ALMVTC/wsdl/}scheduleAppointment
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.scheduleAppointment
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}cancelAppointment
| javaName={http://actcenters.com/ALMVTC/wsdl/}cancelAppointment
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.cancelAppointment
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}serviceCheck
| javaName={http://actcenters.com/ALMVTC/wsdl/}serviceCheck
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.serviceCheck
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getCandidateScheduleData
| javaName={http://actcenters.com/ALMVTC/wsdl/}getCandidateScheduleData
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://actcenters.com/ALMVTC/wsdl/}ScheduleDataSoapPort
| address=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getScheduleData
| javaName={http://actcenters.com/ALMVTC/wsdl/}getScheduleData
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/ScheduleData.getScheduleData
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://actcenters.com/ALMVTC/wsdl/}RegistrationSoapPort
| address=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}register
| javaName={http://actcenters.com/ALMVTC/wsdl/}register
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Registration.register
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] START: rebuildMetaData
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] setParameterStyle: null
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] processSOAPBinding on: com.comira.ScheduleSoapPort
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] setParameterStyle: WRAPPED
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Create new config [name=Standard Client,file=META-INF/standard-jaxws-client-config.xml]
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] getConfig: [name=Standard Client,url=META-INF/standard-jaxws-client-config.xml]
| 2007-10-25 11:42:57,468 DEBUG [org.jboss.ws.metadata.config.JBossWSConfigFactory] parse: file:/C:/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml
| 2007-10-25 11:42:57,515 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure EndpointMetaData
| 2007-10-25 11:42:57,515 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 PRE handlers
| 2007-10-25 11:42:57,515 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 ENDPOINT handlers
| 2007-10-25 11:42:57,515 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Added 0 POST handlers
| 2007-10-25 11:42:57,531 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] JAXBContext [types=[class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, boolean, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, boolean, class java.lang.Object, class java.lang.Object, boolean, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object, class java.lang.Object],tns=http://actcenters.com/ALMVTC/wsdl/]
| 2007-10-25 11:42:57,531 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getVersion()
| 2007-10-25 11:42:57,531 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getCandidateScheduleData(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract boolean com.comira.ScheduleSoapPort.getSiteTitleList(javax.xml.ws.Holder,java.lang.Object,java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract boolean com.comira.ScheduleSoapPort.setInactiveFlag(java.lang.Object,java.lang.Object,java.lang.Object,javax.xml.ws.Holder)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract boolean com.comira.ScheduleSoapPort.getSiteName(java.lang.Object,javax.xml.ws.Holder)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.setSitesTitleFlag(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getStatesByTitleId(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getSitesBySiteNameTitleId(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getProctorStationIdsByStateTitle(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getProctorStationInfo(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getTestCenters(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getAvailableDays(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.getAvailableAppointments(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.scheduleAppointment(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.cancelAppointment(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.OperationMetaData] Found best matching java method: public abstract java.lang.Object com.comira.ScheduleSoapPort.serviceCheck(java.lang.Object)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder] END: rebuildMetaData
|
| ServiceMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}ALMVTC
| refName=null
| wsdName=null
| wsdlFile=null
| wsdlLocation=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| jaxrpcMapping=null
| publishLocation=null
| securityConfig=null
| properties=null
|
| TypesMetaData:
| [complexType={http://www.w3.org/2001/XMLSchema}anyType,javaType=java.lang.Object]
| [complexType={http://www.w3.org/2001/XMLSchema}boolean,javaType=boolean]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://actcenters.com/ALMVTC/wsdl/}ScheduleSoapPort
| address=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| seiName=com.comira.ScheduleSoapPort
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getVersion
| javaName=getVersion
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getVersion
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getCandidateScheduleData
| javaName=getCandidateScheduleData
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getSiteTitleList
| javaName=getSiteTitleList
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getSiteTitleList
| ParameterMetaData:
| xmlName=SiteTitleList
| partName=SiteTitleList
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=INOUT
| inHeader=false
| index=0
| ParameterMetaData:
| xmlName=sTitleId
| partName=sTitleId
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=1
| ParameterMetaData:
| xmlName=sSiteName
| partName=sSiteName
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=2
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}boolean
| javaType=boolean
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}setInactiveFlag
| javaName=setInactiveFlag
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.setInactiveFlag
| ParameterMetaData:
| xmlName=sTitleId
| partName=sTitleId
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ParameterMetaData:
| xmlName=sSiteID
| partName=sSiteID
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=1
| ParameterMetaData:
| xmlName=sInactive
| partName=sInactive
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=2
| ParameterMetaData:
| xmlName=sErr
| partName=sErr
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=INOUT
| inHeader=false
| index=3
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}boolean
| javaType=boolean
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getSiteName
| javaName=getSiteName
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getSiteName
| ParameterMetaData:
| xmlName=sSiteID
| partName=sSiteID
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ParameterMetaData:
| xmlName=sSiteName
| partName=sSiteName
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=INOUT
| inHeader=false
| index=1
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}boolean
| javaType=boolean
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}setSitesTitleFlag
| javaName=setSitesTitleFlag
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.setSitesTitleFlag
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getStatesByTitleId
| javaName=getStatesByTitleId
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getStatesByTitleId
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getSitesBySiteNameTitleId
| javaName=getSitesBySiteNameTitleId
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getSitesBySiteNameTitleId
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getProctorStationIdsByStateTitle
| javaName=getProctorStationIdsByStateTitle
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getProctorStationIdsByStateTitle
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getProctorStationInfo
| javaName=getProctorStationInfo
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getProctorStationInfo
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getTestCenters
| javaName=getTestCenters
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getTestCenters
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getAvailableDays
| javaName=getAvailableDays
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getAvailableDays
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getAvailableAppointments
| javaName=getAvailableAppointments
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.getAvailableAppointments
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}scheduleAppointment
| javaName=scheduleAppointment
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.scheduleAppointment
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}cancelAppointment
| javaName=cancelAppointment
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.cancelAppointment
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}serviceCheck
| javaName=serviceCheck
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Schedule.serviceCheck
| ParameterMetaData:
| xmlName=sRequest
| partName=sRequest
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=IN
| inHeader=false
| index=0
| ReturnMetaData:
| xmlName=Result
| partName=Result
| xmlType={http://www.w3.org/2001/XMLSchema}anyType
| javaType=java.lang.Object
| mode=OUT
| inHeader=false
| index=-1
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://actcenters.com/ALMVTC/wsdl/}ScheduleDataSoapPort
| address=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}getScheduleData
| javaName={http://actcenters.com/ALMVTC/wsdl/}getScheduleData
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/ScheduleData.getScheduleData
| ClientEndpointMetaData:
| type=JAXWS
| qname={http://actcenters.com/ALMVTC/wsdl/}RegistrationSoapPort
| address=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL
| binding=http://schemas.xmlsoap.org/wsdl/soap/http
| seiName=null
| configFile=META-INF/standard-jaxws-client-config.xml
| configName=Standard Client
| authMethod=null
| properties={}
|
| OperationMetaData:
| qname={http://actcenters.com/ALMVTC/wsdl/}register
| javaName={http://actcenters.com/ALMVTC/wsdl/}register
| style=rpc/literal
| oneWay=false
| soapAction=http://actcenters.com/ALMVTC/action/Registration.register
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure SOAPBinding
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: PRE
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: ENDPOINT
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: POST
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=PRE,info=[service={http://actcenters.com/ALMVTC/wsdl/}ALMVTC,port={http://actcenters.com/ALMVTC/wsdl/}ScheduleSoapPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]]
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=POST,info=[service={http://actcenters.com/ALMVTC/wsdl/}ALMVTC,port={http://actcenters.com/ALMVTC/wsdl/}ScheduleSoapPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]]
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=ENDPOINT,info=[service={http://actcenters.com/ALMVTC/wsdl/}ALMVTC,port={http://actcenters.com/ALMVTC/wsdl/}ScheduleSoapPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http]]
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.binding.BindingImpl] setHandlerChain: []
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] No port configuration for: {http://actcenters.com/ALMVTC/wsdl/}ScheduleSoapPort
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 8edd79 (Thread http-0.0.0.0-8080-2)
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.EndpointInvocation] setRequestParamValue: [name=sRequest,value=java.lang.String]
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] bindRequestMessage: {http://actcenters.com/ALMVTC/wsdl/}getCandidateScheduleData
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] Create RPC body element: {http://actcenters.com/ALMVTC/wsdl/}getCandidateScheduleData
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.EndpointInvocation] getRequestParamValue: sRequest
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.EndpointInvocation] transformPayloadValue: java.lang.String -> java.lang.String
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: []
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: []
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: []
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Get locator for: [addr=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL,props={javax.xml.ws.service.endpoint.address=http://cwcdev.corporate.act.org/schedule/ALMVTC.WSDL}]
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] connect called for: org.jboss.remoting.transport.http.HTTPClientInvoker at 16e3f87
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.client.RemotingConnectionImpl] Remoting metadata: {HEADER={SOAPAction="http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true}
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : "http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData"
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from OBJECT_VALID to XML_VALID
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.soap.ObjectContent] getXMLFragment from Object [xmlType={http://www.w3.org/2001/XMLSchema}anyType,javaType=class java.lang.Object]
| 2007-10-25 11:42:57,546 DEBUG [org.jboss.ws.core.jaxws.JAXBSerializer] serialize: [xmlName=sRequest,xmlType={http://www.w3.org/2001/XMLSchema}anyType]
| 2007-10-25 11:42:57,562 DEBUG [org.jboss.ws.core.jaxws.JAXBSerializer] serialized: 11110 -00004069
| 2007-10-25 11:42:57,562 DEBUG [org.jboss.ws.core.soap.ObjectContent] xmlFragment: [source=11110 -00004069 ]
| 2007-10-25 11:42:57,562 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
| 2007-10-25 11:42:57,765 DEBUG [org.jboss.ws.core.soap.SOAPMessageUnMarshaller] getMimeHeaders from: {Content-Length=[2132], Expires=[-1;], ResponseCodeMessage=Internal Server Error, Date=[Thu, 25 Oct 2007 18:40:03 GMT], null=[HTTP/1.1 500 Internal Server Error], Content-Type=[text/xml; charset="UTF-8"], Server=[Microsoft-IIS/5.0], HEADER={SOAPAction="http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true, ResponseCode=500}
| 2007-10-25 11:42:57,765 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=UTF-8]
| 2007-10-25 11:42:57,765 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
| 2007-10-25 11:42:57,765 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from XML_VALID to DOM_VALID
| 2007-10-25 11:42:57,765 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
| 2007-10-25 11:42:57,765 DEBUG [org.jboss.ws.core.soap.HRefInlineHandler] Begin processHRefs:
|
|
| SOAP-ENV:Server
| WSDLReader:None of the matching operations for soapAction http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData could successfully load the incoming request. Potential typemapper problem
|
|
| -2147024809 : The parameter is incorrect.
|
|
| WSDLReader:None of the matching operations for soapAction http://actcenters.com/ALMVTC/action/Schedule.getCandidateScheduleData could successfully load the incoming request. Potential typemapper problem HRESULT=0x80070057: The pa
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100440#4100440
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100440
From do-not-reply at jboss.com Tue Oct 30 18:24:43 2007
From: do-not-reply at jboss.com (szaccaria)
Date: Tue, 30 Oct 2007 18:24:43 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: restrict access to one ip
Message-ID: <19802361.1193783083821.JavaMail.jboss@colo-br-02.atl.jboss.com>
Thanks Richard,
your suggest it be a good choice but have you got some example? I made the ws with seam and annotation, and deploy to jbossAS, now how can implement the JBossWS server side handler in this case?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100462#4100462
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100462
From do-not-reply at jboss.com Tue Oct 30 18:42:01 2007
From: do-not-reply at jboss.com (fmeystre)
Date: Tue, 30 Oct 2007 18:42:01 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - contextRoot with multiple webservices
Message-ID: <19610863.1193784121931.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
I have some problem with the contextRoot with multiple WebService (in different apps) with same name on same server.
I'm running JBoss AS 4.2.1.GA with jbossws-native-2.0.1.GA.
I have 2 deployed web applications (same java source code)
First application is deployed at http://host/myApp1
Second application is deployed at http://host/myApp2
context root is set in the web.xml.
for myApp1:
|
|
| myApp1.war
| /myApp1
|
|
|
for myApp2:
|
|
| myApp2.war
| /myApp2
|
|
|
Everything is working fine with the web application (using Seam 1.2.1 GA).
The problem is with the WebService :
The 2 WebServices are deployed under default context root :
http://host/myApp1-myApp1/WSTest
http://host/myApp2-myApp2/WSTest
When I try to invoke the WebService WSTest from one client on
http://host/myApp2-myApp2/WSTest
it invokes the wrong service on the other app:
http://host/myApp1-myApp1/WSTest
Why is the wrong service invoked?
I tried to change the context root like this : @WebContext(authMethod = "BASIC", contextRoot="/myApp1" ) but then I can't open the Webservice on http://host/myApp1/WSTest, Error 404
By the way @WebContext and contextRoot="myApp1" is not a good solution for me, Because 2 apps share the same java source. I need a more dynamic way to change this. I see that we can change the context-root in jboss.xml, but regarding this post it is
not working : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4078878#4078878
here is my WebService, it use the EJB annotation
| @Stateless
| @WebService
| @SOAPBinding(style = SOAPBinding.Style.RPC)
| @WebContext(authMethod = "BASIC", transportGuarantee = "NONE", secureWSDLAccess = false)
| @SecurityDomain("JBossWS")
| @RolesAllowed("friend")
|
| public class WSTestBean implements WSTest{
|
| ...
|
| @WebMethod
| public void test(byte[] order) {
| ...
| }
| }
|
For information I have user Seam-Gen to generate the project
Thanks in advance for any help
Fabian
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100463#4100463
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100463
From do-not-reply at jboss.com Tue Oct 30 22:53:44 2007
From: do-not-reply at jboss.com (ghinkle)
Date: Tue, 30 Oct 2007 22:53:44 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: avoid lazy-initialization exceptions
Message-ID: <843985.1193799224117.JavaMail.jboss@colo-br-02.atl.jboss.com>
I've now introduced an extended ServiceEndpointInvoker for the ejb3 calls. It's not perfect, but it allows me to get rid of all the PersistentCollections before soap and jaxb get their hands on my result objects. I'd still be interested if there's a better way though.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100484#4100484
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100484
From do-not-reply at jboss.com Wed Oct 31 02:40:09 2007
From: do-not-reply at jboss.com (nickarls)
Date: Wed, 31 Oct 2007 02:40:09 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: nor any of its super class is
known...
Message-ID: <25688511.1193812809433.JavaMail.jboss@colo-br-02.atl.jboss.com>
Well, got around it. The issue went like this:
I wanted to return a Map from the WS. Interfaces weren't allowed so I returned a HashMap which worked perfectly if you disregard the fact that the map was always empty. So I returned a MapWrapper object, which complained that the Query class couldn't be found when it was constructing the result.
The strange thing is that returning a List was fine, so I got around it by adding a place for the return value inside the Query class...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100505#4100505
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100505
From do-not-reply at jboss.com Wed Oct 31 05:30:33 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 31 Oct 2007 05:30:33 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: restrict access to one ip
Message-ID: <33084910.1193823033490.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
you can download JBossWS sources and take a look to org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler.
It could be a good starting point for you ;-)
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100551#4100551
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100551
From do-not-reply at jboss.com Wed Oct 31 05:44:28 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 31 Oct 2007 05:44:28 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: contextRoot with multiple
webservices
Message-ID: <21921295.1193823868255.JavaMail.jboss@colo-br-02.atl.jboss.com>
http://jira.jboss.org/jira/browse/JBWS-1877
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100559#4100559
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100559
From do-not-reply at jboss.com Wed Oct 31 07:42:52 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Wed, 31 Oct 2007 07:42:52 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Web Service client side
Message-ID: <23204130.1193830972493.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi, I'd like making a web service client that invokes a web service deployed in jbossws.
For this client web service I must not use the stub classes generated with wsconsume, where can I get a tutorial?
Where can I find a client example created without the stub classes?
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100592#4100592
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100592
From do-not-reply at jboss.com Wed Oct 31 07:56:41 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 31 Oct 2007 07:56:41 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web Service client side
Message-ID: <31027099.1193831801296.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
you can use javax.xml.ws.Dispatch to invoke webservices dynamically without creating stubs. Good starting point for you could be JAX-WS JSR specification document.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100600#4100600
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100600
From do-not-reply at jboss.com Wed Oct 31 09:04:59 2007
From: do-not-reply at jboss.com (adinarayana.gunnam)
Date: Wed, 31 Oct 2007 09:04:59 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Hold the client ip from the client
calls made to the web se
Message-ID: <2711848.1193835899806.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi
I am working on Ejb3 web services.I want to hold the client ip from the client calls made
to the web service.I deployed this service in jboss AS 4.2.1
In the service implementation i started using
@Resource
SessionContext sessionCtx;
My idea is to get the MessageContext from this SessionContext and finally to
get the HttpServletRequest.
I got the sessionCtx(BaseSessionContext) object.When i am trying to access the
MessageContect using the below syntax
System.out.println(sessionCtx.getMessageContext());
I got ---ERROR [SOAPFaultHelperJAXWS] SOAP request exception
javax.ejb.EJBException: java.lang.IllegalStateException: No message context found
Please provide me with correct solution to this problem.Please also suggest if there is any
alternate approach to get the client ip in the service implementation.
Thanks
Adinarayana
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100639#4100639
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100639
From do-not-reply at jboss.com Wed Oct 31 12:20:34 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 31 Oct 2007 12:20:34 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: JBoss-4.0.5.GA with
JBossWS-native-2.0.0.GA to IIS
Message-ID: <30582674.1193847634940.JavaMail.jboss@colo-br-02.atl.jboss.com>
Is JBOSS the problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100747#4100747
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100747
From do-not-reply at jboss.com Wed Oct 31 12:23:09 2007
From: do-not-reply at jboss.com (mleite)
Date: Wed, 31 Oct 2007 12:23:09 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Stack Overflow while deploing
JBossWS 2.0 web services
Message-ID: <16245887.1193847789982.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi, i have the same problem.
Anyone has just solved it?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100749#4100749
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100749
From do-not-reply at jboss.com Wed Oct 31 12:30:04 2007
From: do-not-reply at jboss.com (abdujaparov)
Date: Wed, 31 Oct 2007 12:30:04 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Web Service client side
Message-ID: <4026961.1193848204388.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi, I've searched but I don't uderstand much. I have the service name, the operation name and parameters of the operation and I want invoke the operation.
I've found this code of an axis dynamic client, I've created it but when I meke the call to web service I receive this error:
| Exception in thread "main" AxisFault
| faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
| faultSubcode:
| faultString: For input string: ""
| faultActor:
| faultNode:
| faultDetail:
| {http://xml.apache.org/axis/}stackTrace:For input string: ""
| .....
| .....
|
in the client while jboss give me this error:
| 17:13:27,275 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
| org.jboss.ws.core.CommonSOAPFaultException: Endpoint {http://tesi/}TesiPort does
| not contain operation meta data for: fattoriale
| at org.jboss.ws.core.server.ServiceEndpointInvoker.getDispatchDestinatio
| n(ServiceEndpointInvoker.java:457)
| at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpoin
| tInvoker.java:176)
| at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHan
| dlerImpl.java:408)
| ....
| ....
| ....
My client code is the following:
| String endpoint = "http://127.0.0.1:8080/Tesi";
| Service service = new Service();
| Call call = (Call) service.createCall();
| call.setTargetEndpointAddress(new java.net.URL(endpoint));
| call.setOperationName("fattoriale");
| call.addParameter("arg0", XMLType.XSD_INT, ParameterMode.IN);
| call.setReturnType(XMLType.XSD_DOUBLE);
| Object[] param = new Object[] {new Integer(6)};
| Double risultato = (Double)call.invoke(param);
| System.out.println(risultato);
|
How do I have to modify in this code?
I've looked for jax-ws but I don't understand anything.
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100754#4100754
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100754
From do-not-reply at jboss.com Wed Oct 31 12:36:13 2007
From: do-not-reply at jboss.com (Pires da Silva)
Date: Wed, 31 Oct 2007 12:36:13 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - problem on jboss-4.2.0.GA not if
upgraded with jbossws1.2.0.
Message-ID: <29966291.1193848573462.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hello,
Executing my web service under jboss4.2.0-GA on Linux, I get:
(meaning jboss-4.2.0.GA is just unzipped, all required war etc copied under appropriate directories)
but when using jboss-4.2.0.GA + upgrading it from jbossws1.2.0.SP1 it is working.
java.lang.NoSuchMethodError: javax.xml.soap.SOAPElement.getElementQName()Ljavax/xml/namespace/QName;
at org.jboss.ws.core.soap.SOAPElementImpl.getChildElements(SOAPElementImpl.java:504)
at org.jboss.ws.core.soap.SOAPBodyImpl.faultIterator(SOAPBodyImpl.java:181)
at org.jboss.ws.core.soap.SOAPBodyImpl.getFault(SOAPBodyImpl.java:168)
at org.jboss.ws.core.soap.SOAPMessageImpl.isFaultMessage(SOAPMessageImpl.java:326)
at org.jboss.ws.core.server.ServiceEndpoint.processRequest(ServiceEndpoint.java:244)
at org.jboss.ws.core.server.ServiceEndpointManager.processRequest(ServiceEndpointManager.java:448)
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Catherine Pires da Silva
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100762#4100762
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100762
From do-not-reply at jboss.com Wed Oct 31 13:43:16 2007
From: do-not-reply at jboss.com (richard.opalka@jboss.com)
Date: Wed, 31 Oct 2007 13:43:16 -0400 (EDT)
Subject: [jbossws-users] [JBossWS] - Re: Stack Overflow while deploing
JBossWS 2.0 web services
Message-ID: <30859833.1193852596763.JavaMail.jboss@colo-br-02.atl.jboss.com>
Hi,
yes this is fixed and fix will be available in next JBossWS 2.0.2 version which is comming out soon.
Richard
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100800#4100800
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100800
From do-not-reply at jboss.com Wed Oct 31 13:48:28 2007
From: do-not-reply at jboss.com (wcydaip)
Date: Wed, 31 Oct 2007 13:48:28 -0400 (EDT)
Subject: [jbossws-users]
[JBossWS] - JBoss, WebServices and Microsoft SOAP3.0
Message-ID: <27513468.1193852908921.JavaMail.jboss@colo-br-02.atl.jboss.com>
Is there a specific version of JBoss and the jwsdp that must be used to be compatible with Microsoft's SOAP Toolkit 3.0?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100801#4100801
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100801