From do-not-reply at jboss.com Thu May 1 02:52:42 2008 From: do-not-reply at jboss.com (thoste) Date: Thu, 1 May 2008 02:52:42 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JBoss Bug: Missing pictures in JBossWS User Guide Message-ID: <11393699.1209624762546.JavaMail.jboss@colo-br-02.atl.jboss.com> When I open the web page: http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Bottom-Up_.28Using_wsprovide.29 and scroll down approx a third of the full page then a couple of pictures are missing (only placeholder is shown). E.g. under the topic "Asynchronous Invocations" I guess the picture sources are somehow removed. Could someone verify this and provide the missing images? Thank you Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148057#4148057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148057 From do-not-reply at jboss.com Thu May 1 06:41:57 2008 From: do-not-reply at jboss.com (jibrilg) Date: Thu, 1 May 2008 06:41:57 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Using compression & fastinfoset Message-ID: <2383603.1209638517967.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using AS 4.2.2 [SVNTag=JBoss_4_2_2_GA date=200710221139] and jbossws-3.0.1-metro-1.0.1.GA (build=200803250907). How do i use the @fastinfoset in IDE (eclipse)? Also, is there a way to compress (on top of transport compression GZIP) the whole soap message body ? regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148087#4148087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148087 From do-not-reply at jboss.com Thu May 1 07:59:31 2008 From: do-not-reply at jboss.com (xinhua) Date: Thu, 1 May 2008 07:59:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Need help : JBossWS Security! Message-ID: <24623745.1209643171872.JavaMail.jboss@colo-br-02.atl.jboss.com> ok, i see, maybe jboss-wsse-client.xml or standard-jaxws-client-config.xml not loaded ,so i copied the both xml into META-INF and also changed the client code like this: | | Service s = Service.create(url, qn); | Test port = s.getPort(Test.class); | | URL securityURL = new File("META-INF/jboss-wsse-client.xml").toURL(); | URL securityConfig= new File("META-INF/standard-jaxws-client-config.xml").toURL(); | ((StubExt) port).setSecurityConfig(securityURL.toExternalForm()); | ((StubExt) port).setConfigName("Standard WSSecurity Client",securityConfig.toExternalForm()); | | | ((BindingProvider) port).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, "kermit"); | ((BindingProvider) port).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, "thefrog"); | ((BindingProvider) port).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:4040/miguoWS/TestBean"); but in soap monitor i found is still missing in request. (jboss4.2.1GA, jbossws-3.0.1-native-2.0.4.GA, jdk1.5 update 15) Really nobody can help me out here ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148096#4148096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148096 From do-not-reply at jboss.com Thu May 1 11:40:29 2008 From: do-not-reply at jboss.com (peiguo) Date: Thu, 1 May 2008 11:40:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Urgent!! Web service return object - JBopss 4.2.2.GA Message-ID: <4863923.1209656429913.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We are doing some prototyping, JBoss for web service and C# for client. One of the key thing is to return an object from web service. But it did n't seem to work (some kind of limitation???). After some investigation, the problem seems reside on JBoss side, since the WSDL seems missing information. Interface: | package org.jboss.tutorial.webservice.bean; | | import javax.jws.WebService; | import javax.jws.WebMethod; | import java.rmi.Remote; | import java.rmi.RemoteException; | import javax.jws.soap.SOAPBinding; | import javax.jws.soap.SOAPBinding.Style; | | | @WebService | @SOAPBinding(style=Style.DOCUMENT) | public interface Calculator extends Remote | { | @WebMethod int add(int x, int y); | | @WebMethod int subtract(int x, int y); | @WebMethod Something dump(); | | } | Implementation: | package org.jboss.tutorial.webservice.bean; | | import javax.ejb.*; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | import javax.jws.soap.SOAPBinding.Style; | import javax.naming.*; | import javax.persistence.*; | | import java.sql.*; | import javax.sql.*; | | import javax.annotation.Resource; | | @Stateless | @WebService | @SOAPBinding(style=Style.DOCUMENT) | public class CalculatorBean | { | | public int add(int x, int y) { | return x + y; | } | | public int subtract(int x, int y) | { | return x - y; | } | | public Something dump() { | System.out.println("called"); | return new Something(); | } | } | | Definition of Something: | package org.jboss.tutorial.webservice.bean; | | import java.util.*; | | public class Something { | private int a; | private double b; | private HashMap> c; | | public Something() { | a = 1; | b = 2.0; | c = new HashMap>(); | { | ArrayList arr = new ArrayList(); | arr.add("This is fun"); | arr.add("Interesting"); | arr.add("What is this?"); | c.put("first set", arr); | } | { | ArrayList arr = new ArrayList(); | arr.add("Kaveh"); | arr.add("David"); | arr.add("Costa"); | c.put("second set", arr); | } | { | ArrayList arr = new ArrayList(); | arr.add("green apple"); | arr.add("orange orange"); | arr.add("yellow mango"); | c.put("third set", arr); | } | { | ArrayList arr = new ArrayList(); | arr.add("they shoot horse"); | arr.add("sleppless in seattle"); | arr.add("thank you for smoking"); | c.put("bunch of movies", arr); | } | } | } | | WSDL generated (does not seem to define Something!!!): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148127#4148127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148127 From do-not-reply at jboss.com Thu May 1 19:43:05 2008 From: do-not-reply at jboss.com (peiguo) Date: Thu, 1 May 2008 19:43:05 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Urgent!! Web service return object - JBopss 4.2.2.GA Message-ID: <28328262.1209685385367.JavaMail.jboss@colo-br-02.atl.jboss.com> getter/setter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148232#4148232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148232 From do-not-reply at jboss.com Thu May 1 19:59:20 2008 From: do-not-reply at jboss.com (peiguo) Date: Thu, 1 May 2008 19:59:20 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - send HaspMap> over WS Message-ID: <10961544.1209686360932.JavaMail.jboss@colo-br-02.atl.jboss.com> I have getter/setter defined for properties, but still cannot send object of this class through WS, because the JBOSS generated WSDL doesn't include correct information for ArrayList. How can I correct this? | package org.jboss.tutorial.webservice.bean; | | import java.util.*; | import java.io.*; | | public class Something { | private int a; | private double b; | | | private HashMap> c; | | public Something() { | a = 1; | b = 2.0; | c = new HashMap>(); | { | ArrayList arr = new ArrayList(); | arr.add("This is fun"); | arr.add("Interesting"); | arr.add("What is this?"); | c.put("thought", arr); | } | { | ArrayList arr = new ArrayList(); | arr.add("Kaveh"); | arr.add("David"); | arr.add("Costa"); | c.put("name", arr); | } | { | ArrayList arr = new ArrayList(); | arr.add("green apple"); | arr.add("orange orange"); | arr.add("yellow mango"); | c.put("fruit", arr); | } | { | ArrayList arr = new ArrayList(); | arr.add("they shoot horse"); | arr.add("sleppless in seattle"); | arr.add("thank you for smoking"); | c.put("movie", arr); | } | } | | public int getA() { | return a; | } | | public void setA(int a) { | this.a = a; | } | | public double getB() { | return b; | } | | public void setB(double b) { | this.b = b; | } | | public HashMap> getC() { | return c; | } | | public void setC(HashMap> c) { | this.c = c; | } | | public ArrayList getC(String i) { | return c.get(i); | } | | public void setC(String i, ArrayList c) { | this.c.put(i, c); | } | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148233#4148233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148233 From do-not-reply at jboss.com Fri May 2 05:56:24 2008 From: do-not-reply at jboss.com (xinhua) Date: Fri, 2 May 2008 05:56:24 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna Message-ID: <298580.1209722185194.JavaMail.jboss@colo-br-02.atl.jboss.com> i tried it in JBoss4.2.2GA+Jbossws-3.0.1-native-2.0.4.GA, Server works fine but still the client error: , which is missing. I use all the jar under /deploy/jbossws.sar/ as my runtime lib for my client program. And i also have copied standard-jaxws-client-config.xml from /deploy/jbossws.sar/META-INF into my own META-INF, and putted a new created jboss-wsse-client.xml in META-INF. i also putted bp.getRequestContext().put(StubExt.PROPERTY_AUTH_TYPE, StubExt.PROPERTY_AUTH_TYPE_WSSE) to prevent basic auth. but everytime i run my client, exception ", which is missing" start to fly. I checked the request , found that there is no at all.... Please help me.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148297#4148297 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148297 From do-not-reply at jboss.com Fri May 2 09:51:00 2008 From: do-not-reply at jboss.com (jimpo991) Date: Fri, 2 May 2008 09:51:00 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Cannot find endpoint meta data with super-simple WS Message-ID: <33242233.1209736260972.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to deploy a very very simple helloworld WS using JBossAS 4.2.1-GA JBossWS jbossws-3.0.1-native-2.0.4.GA both out-of-the-box installations. I have installed JbossWS and run the tests, it should be ok. I basically have class com.foo.Banana: | package com.foo; | | import javax.jws.WebMethod; | import javax.jws.WebService; | | @WebService | public class Banana { | | @WebMethod | public int foo(int bar) { | return 7; | } | } | and web.xml: | | | | Archetype Created Web Application | | | Banana | com.foo.Banana | | | | Banana | /banaaninpoimija | | | Nothing else. AFAIK I should be able to just package this in standard WAR and deploy to JBoss. No need for any wscompile / etc tools, right? When I deploy I get the error: | 16:45:38,734 ERROR [[HtmlAdaptor]] Servlet.service() for servlet HtmlAdaptor threw exception | java.lang.IllegalStateException: Cannot find endpoint meta data for: Banana | at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointMetaData(UnifiedMetaDataDeploymentAspect.java:117) | at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:86) | at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118) | 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 $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(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) I see other people have reported this as well: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=132729 There was no solution there though, he just gave up on the approach and implemented an EJB endpoint instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148336#4148336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148336 From do-not-reply at jboss.com Sat May 3 03:45:47 2008 From: do-not-reply at jboss.com (nominesanctamaria) Date: Sat, 3 May 2008 03:45:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBOSS 4 HelloWorld Sample Deploy Error Message-ID: <10604278.1209800747586.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you explain axis? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148487#4148487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148487 From do-not-reply at jboss.com Sat May 3 10:06:03 2008 From: do-not-reply at jboss.com (palmand) Date: Sat, 3 May 2008 10:06:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot find endpoint meta data for Message-ID: <26289172.1209823563458.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you succeed in solving your prolem ? I had the problem !!! please help ! ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148508#4148508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148508 From do-not-reply at jboss.com Sat May 3 10:15:30 2008 From: do-not-reply at jboss.com (palmand) Date: Sat, 3 May 2008 10:15:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying the webservice using jax-ws Message-ID: <10860943.1209824130471.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you succeed in solving your problem ? I had the same exception: java.lang.IllegalStateException: Cannot find endpoint meta data for please help thanks in advance Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148509#4148509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148509 From do-not-reply at jboss.com Sat May 3 10:18:18 2008 From: do-not-reply at jboss.com (palmand) Date: Sat, 3 May 2008 10:18:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Deploying on Jboss 4.2.1, jbossws 1.2.1 success, same appl Message-ID: <19229742.1209824298472.JavaMail.jboss@colo-br-02.atl.jboss.com> did you succees in solving your problem ? I had the same exception: java.lang.IllegalStateException: Cannot find endpoint meta data for ... please help thanks in advance Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148510#4148510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148510 From do-not-reply at jboss.com Mon May 5 03:51:16 2008 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Mon, 5 May 2008 03:51:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Urgent!! Web service return object - JBopss 4.2.2.GA Message-ID: <8663615.1209973876489.JavaMail.jboss@colo-br-02.atl.jboss.com> See: http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#Customizing_WSDL_Schema_Generation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148579#4148579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148579 From do-not-reply at jboss.com Mon May 5 04:47:10 2008 From: do-not-reply at jboss.com (jimpo991) Date: Mon, 5 May 2008 04:47:10 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Deploying on Jboss 4.2.1, jbossws 1.2.1 success, same appl Message-ID: <460555.1209977230519.JavaMail.jboss@colo-br-02.atl.jboss.com> "palmand" wrote : did you succees in solving your problem ? | I had the same exception: | java.lang.IllegalStateException: Cannot find endpoint meta data for ... | | please help | thanks in advance | Andrea Join the club ;) I have the same problem with a dead-simple helloworld as well: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134860 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148587#4148587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148587 From do-not-reply at jboss.com Tue May 6 04:40:31 2008 From: do-not-reply at jboss.com (ljgp) Date: Tue, 6 May 2008 04:40:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: No tests for @SchemaValidation annotation in 3.0.1 ? Message-ID: <16934526.1210063231526.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am still hoping someone can answer this question for me. Is there a testcase for the @SchemaValidation annotation ? Cheers, Luc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148752#4148752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148752 From do-not-reply at jboss.com Tue May 6 04:48:19 2008 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Tue, 6 May 2008 04:48:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: No tests for @SchemaValidation annotation in 3.0.1 ? Message-ID: <26231569.1210063699479.JavaMail.jboss@colo-br-02.atl.jboss.com> See org/jboss/test/ws/jaxws/jbws1172/* test. You can find it in jbossws-3.0.1-native-2.0.4.GA-src.zip archive View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148755#4148755 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148755 From do-not-reply at jboss.com Tue May 6 06:28:30 2008 From: do-not-reply at jboss.com (mxs) Date: Tue, 6 May 2008 06:28:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException from JBossXSEntityResolver Message-ID: <14905419.1210069710176.JavaMail.jboss@colo-br-02.atl.jboss.com> Running jboss-4.2.2GA with debug messages, produces the following: anonymous wrote : | DEBUG [WebModule] Started jboss.web.deployment:war=TestJBossWS.war,id=-1506356400 | DEBUG [ServiceController] Starting dependent components for: jboss.web.deployment:war=TestJBossWS.war,id=-1506356400 dependent components: [] | DEBUG [JAXWSDeployerHookPostJSE] deploy: TestJBossWS.war | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.deployment.DeploymentAspectManagerFactory Implementation: org.jboss.wsf.framework.deployment.DefaultDeploymentAspectManagerFactory at dc5733 | DEBUG [DefaultDeploymentAspectManagerFactory] DeploymentAspectManager for: WSDeploymentAspectManagerPostJSE | DEBUG [DeploymentAspectManagerImpl] RuntimeLoaderDeploymentAspect:Create | DEBUG [DeploymentAspectManagerImpl] EndpointHandlerDeploymentAspect:Create | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.invocation.RequestHandlerFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.invocation.RequestHandlerFactory Implementation: org.jboss.wsf.stack.jbws.RequestHandlerFactoryImpl at 1e0f790 | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 9d1714 | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.deployment.LifecycleHandlerFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.deployment.LifecycleHandlerFactory Implementation: org.jboss.wsf.framework.deployment.DefaultLifecycleHandlerFactory at 15660ef | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.invocation.InvocationHandlerFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.invocation.InvocationHandlerFactory Implementation: org.jboss.wsf.container.jboss42.InvocationHandlerFactoryImpl at 1f61bcf | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.invocation.ResourceInjectorFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.invocation.ResourceInjectorFactory Implementation: org.jboss.wsf.framework.invocation.DefaultResourceInjectorFactory at 9bc36d | DEBUG [DeploymentAspectManagerImpl] EndpointRecordProcessorDeploymentAspect:Create | DEBUG [EndpointRecordProcessorDeploymentAspect] Cannot register endpoint with JMX server, trying with the default ManagedRecordProcessor: Class does not expose a management interface: java.lang.Object | DEBUG [DeploymentAspectManagerImpl] JAXBIntroDeploymentAspect:Create | DEBUG [DeploymentAspectManagerImpl] UnifiedMetaDataDeploymentAspect:Create | DEBUG [JAXWSMetaDataBuilderJSE] START buildMetaData: [name=TestJBossWS.war] | DEBUG [WebappClassLoader] loadClass(de.fraunhofer.elan.testing.ws.TestServiceWS, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(de.fraunhofer.elan.testing.ws.TestServiceWS) | DEBUG [WebappClassLoader] loadClass(org.sweb.adaptationlayer.ws.IM2SService, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb.adaptationlayer.ws.IM2SService) | DEBUG [WebappClassLoader] loadClass(java.lang.Object, false) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.jws.WebService, false) | DEBUG [WebappClassLoader] loadClass(org.sweb.adaptationlayer.ws.IM2SService, false) | DEBUG [WebappClassLoader] Returning class from cache | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.LegacyResponseType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.LegacyResponseType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.jws.WebMethod, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.ws.RequestWrapper, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.ws.ResponseWrapper, false) | DEBUG [WebappClassLoader] loadClass(javax.jws.WebParam, false) | DEBUG [EndpointMetaData] setParameterStyle: WRAPPED | DEBUG [EndpointMetaData] Using default style: document | DEBUG [EndpointMetaData] Create new config [name=Standard Endpoint,file=META-INF/standard-jaxws-endpoint-config.xml] | DEBUG [JBossWSConfigFactory] getConfig: [name=Standard Endpoint,url=META-INF/standard-jaxws-endpoint-config.xml] | DEBUG [JBossWSConfigFactory] parse: file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-endpoint-config.xml | DEBUG [EndpointMetaData] Configure EndpointMetaData | DEBUG [EndpointMetaData] Added 1 PRE handlers | DEBUG [EndpointMetaData] Added 0 ENDPOINT handlers | DEBUG [EndpointMetaData] Added 0 POST handlers | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponse, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.ReceiveResponse) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponse, false) | DEBUG [WebappClassLoader] Returning class from cache | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponseResponse, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.ReceiveResponseResponse) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponseResponse, false) | DEBUG [WebappClassLoader] Returning class from cache | DEBUG [JAXWSWebServiceMetaDataBuilder] JAXBContext [types=[class org.sweb_project.al.m2s.ReceiveResponse, class org.sweb_project.al.m2s.ReceiveResponseResponse],tns=http://www.sweb-project.org/al/m2s] | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlAccessorType, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlAccessType, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlType, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.package-info, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.package-info) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlSchema, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElement, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.package-info, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.package-info) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(java.lang.String, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.MunicipalityIDType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.MunicipalityIDType) | DEBUG [WebappClassLoader] loadClass(java.lang.Enum, false) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServiceDataType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServiceDataType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlEnum, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.package-info, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.package-info) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(java.lang.Throwable, false) | DEBUG [WebappClassLoader] loadClass(java.lang.IllegalArgumentException, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificateType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificateType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.InvoiceNotificationType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.InvoiceNotificationType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NegativeResponseType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NegativeResponseType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(java.util.List, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.AddressDetailsExtendedType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.AddressDetailsExtendedType) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.AddressDetailsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.AddressDetailsType) | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.CommentsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.CommentsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailsNameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailsNameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailIdentificationType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailIdentificationType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailBirthType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailBirthType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.PersonDetailSexType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.PersonDetailSexType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.MaritalStatusType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.al.m2s.MaritalStatusType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CityNameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CityNameType) | DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.NameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.NameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlSchemaType, false) | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.package-info, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.package-info) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.package-info, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.package-info) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlValue, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlAttribute, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.adapters.CollapsedStringAdapter, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.AddressDetailsValueType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.AddressDetailsValueType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.CountryType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.CountryType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IDType) | DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.IdentifierType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.IdentifierType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TimezoneOffsetType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.TimezoneOffsetType) | DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.TextType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.TextType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressTypeCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressTypeCodeType) | DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.CodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.CodeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressFormatCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AddressFormatCodeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostboxType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostboxType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FloorType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.FloorType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RoomType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RoomType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StreetNameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.StreetNameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AdditionalStreetNameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.AdditionalStreetNameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BlockNameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BlockNameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNumberType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.BuildingNumberType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InhouseMailType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.InhouseMailType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DepartmentType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DepartmentType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkAttentionType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkAttentionType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkCareType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.MarkCareType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PlotIdentificationType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PlotIdentificationType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CitySubdivisionNameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CitySubdivisionNameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostalZoneType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.PostalZoneType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CountrySubentityCodeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RegionType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.RegionType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DistrictType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.DistrictType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.LocationCoordinateType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.LocationCoordinateType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.package-info, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.package-info) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlNsForm, false) | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressLineType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonaggregatecomponents_2.AddressLineType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.adapters.NormalizedStringAdapter, false) | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LineType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IdentificationCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.IdentificationCodeType) | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.CountryIdentificationCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.CountryIdentificationCodeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NameType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.NameType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.package-info, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.package-info) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CoordinateSystemCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.CoordinateSystemCodeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDegreesMeasureType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDegreesMeasureType) | DEBUG [WebappClassLoader] loadClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.MeasureType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(un.unece.uncefact.data.specification.unqualifieddatatypesschemamodule._2.MeasureType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeMinutesMeasureType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeMinutesMeasureType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDirectionCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LatitudeDirectionCodeType) | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LatitudeDirectionCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LatitudeDirectionCodeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDegreesMeasureType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDegreesMeasureType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeMinutesMeasureType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeMinutesMeasureType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDirectionCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LongitudeDirectionCodeType) | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LongitudeDirectionCodeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.qualifieddatatypes_2.LongitudeDirectionCodeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(java.math.BigDecimal, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBRequestDocumentsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBRequestDocumentsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificationRequestType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificationRequestType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.LegacyRequestType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.LegacyRequestType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.InvoiceType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.InvoiceType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.RequesterDetailsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.RequesterDetailsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ConcernedPersonDetailsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ConcernedPersonDetailsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificationServiceDetailsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificationServiceDetailsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationDetailsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationDetailsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationRequestType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationRequestType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LanguageIDType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(oasis.names.specification.ubl.schema.xsd.commonbasiccomponents_2.LanguageIDType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationFrequencyType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationFrequencyType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationDetailLevelType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationDetailLevelType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.NotificationSecureLevelType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.NotificationSecureLevelType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServiceMessageType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServiceMessageType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebServiceIDType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebServiceIDType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebRoleType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebRoleType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerCollectionType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerCollectionType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerCollectionType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerCollectionType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBMessageContainerType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElements, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBMessageType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBMessageType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(java.lang.Integer, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebDocumentTypeType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebDocumentTypeType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebDocumentFormatType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebDocumentFormatType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.ForwardMessageType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.ForwardMessageType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificationResponseType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificationResponseType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.edocument_0.ResidenceCertificateCommentsType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.edocument_0.ResidenceCertificateCommentsType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBServicePointContainerType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElementRefs, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElementRef, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.JAXBElement, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.ObjectFactory, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.ObjectFactory) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.namespace.QName, false) | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBTaskType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBTaskType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NotificationSimpleMessageType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NotificationSimpleMessageType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NotificationMessageType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NotificationMessageType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.NotificationSOAPMessageType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.NotificationSOAPMessageType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBURIType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBURIType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterContainerType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SWEBTaskParameterContainerType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebTaskDocumentStatusType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebTaskDocumentStatusType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(org.sweb_project.serviceschemas_0.SwebTaskServiceStatusType, false) | DEBUG [WebappClassLoader] Searching local repositories | DEBUG [WebappClassLoader] findClass(org.sweb_project.serviceschemas_0.SwebTaskServiceStatusType) | DEBUG [WebappClassLoader] Loading class from local repository | DEBUG [WebappClassLoader] loadClass(javax.xml.datatype.XMLGregorianCalendar, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlElementDecl, false) | DEBUG [WebappClassLoader] loadClass(javax.xml.bind.annotation.XmlEnumValue, false) | DEBUG [WebappClassLoader] loadClass(com.sun.xml.bind.v2.runtime.reflect.Accessor, false) | DEBUG [WebappClassLoader] loadClass(com.sun.xml.bind.v2.runtime.reflect.Accessor, false) | DEBUG [WebappClassLoader] loadClass(java.lang.Long, false) | DEBUG [WebappClassLoader] loadClass(com.sun.xml.bind.v2.runtime.reflect.Accessor, false) | DEBUG [WebappClassLoader] Returning class from cache | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponse, false) | DEBUG [WebappClassLoader] Returning class from cache | DEBUG [WebappClassLoader] loadClass(org.sweb_project.al.m2s.ReceiveResponseResponse, false) | DEBUG [WebappClassLoader] Returning class from cache | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 3c58a9 | DEBUG [WSDLDefinitionsFactory] parse: file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/TestServiceWSService18289.wsdl | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/I_M2SService_PortType18290.wsdl,sysid=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/I_M2SService_PortType18290.wsdl] | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 3f0bc0 | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 11c7295 | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 1187984 | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 1d2052b | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 151574b | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 13a1324 | DEBUG [DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.management.ServerConfigFactory' | DEBUG [DefaultSPIProvider] class org.jboss.wsf.spi.management.ServerConfigFactory Implementation: org.jboss.wsf.framework.management.ServerConfigFactoryImpl at 1bed674 | DEBUG [JavaToXSD] Load schema: http://www.sweb-project.org/ServiceSchemas-0.1=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/JBossWS_www.sweb-project.org_ServiceSchemas-0.118296.xsd | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/tmp/jbossws/JBossWS_www.sweb-project.org_ServiceSchemas-0.118296.xsd] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/soap/encoding/,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://www.sweb-project.org/eDocument-0.1,sysid=null] | DEBUG [JBossEntityResolver] Cannot resolve [publicID=http://www.sweb-project.org/eDocument-0.1,systemID=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=http://www.sweb-project.org/eDocument-0.1,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=http://www.sweb-project.org/al/m2s,sysid=null] | DEBUG [JBossEntityResolver] Cannot resolve [publicID=http://www.sweb-project.org/al/m2s,systemID=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=http://www.sweb-project.org/al/m2s,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2,sysid=null] | DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2,systemID=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2,sysid=null] | DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2,systemID=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2,sysid=null] | DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2,systemID=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2,sysid=null] | DEBUG [JBossEntityResolver] Cannot resolve [publicID=urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2,systemID=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=null,sysid=null] | DEBUG [JBossWSEntityResolver] resolveEntity: [pub=null,sysid=null] | DEBUG [JBossWSEntityResolver] Cannot resolve entity: [pub=null,sysid=null] | ERROR [MainDeployer] Could not start deployment: file:/home/mxs/Apps/jboss-4.2.2.GA/server/default/deploy/TestJBossWS.war | java.lang.NullPointerException | org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.getXMLInputSource(JBossXSEntityResolver.java:167) | org.jboss.ws.metadata.wsdl.xmlschema.JBossXSEntityResolver.resolveEntity(JBossXSEntityResolver.java:135) | ... | So it seems like he generates all XSDs and a proper WSDL, but afterwards fails importing some namespaces. The generated WSDL contains some empty import statements, but according to the other entities that failed, I don't think this is the main problem here. Any idea what to try next? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148784#4148784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148784 From do-not-reply at jboss.com Tue May 6 10:06:03 2008 From: do-not-reply at jboss.com (felle82) Date: Tue, 6 May 2008 10:06:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Using the same Remote Interface for different services???? Message-ID: <23097117.1210082763122.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, Is it possible to use the same remote interface for different services within one application. I have two services with the same interface using JAX-WS. They are in two different jars but in one EAR. Of course there are different implementations for the beans. One is a publish-subscribe component and the other is a subscriber but they both should implement the same consumer interface. I use different namespaces and service names and when I deploy them, I get different endpoints. @WebService(name="ConsumerTest", targetNamespace="http://xyz.com/sii/testconsumer") | @Remote | public interface ConsumerRemote { | | @WebMethod(operationName="notify") | @WebResult(name = "result") | public String notify(@WebParam(name="topic") | String topic, at WebParam(name="message") | Object message); | | } @WebService(name="ConsumerService", targetNamespace="http://xyz.com/sii/pubsub/consumer") | @Remote | public interface ConsumerRemote { | | @WebMethod(operationName="notify") | @WebResult(name = "result") | public String notify(@WebParam(name="topic") | String topic, at WebParam(name="message") | Object message); | | } But behind that endpoint the wsdls for both are the same with the same namespace and service name. Hence the service invocation is done by the same bean implementation. I have to change the package or class name of one interface (and bean) to get different wsdls. Any solutions for that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148837#4148837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148837 From do-not-reply at jboss.com Tue May 6 16:26:51 2008 From: do-not-reply at jboss.com (ljgp) Date: Tue, 6 May 2008 16:26:51 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: No tests for @SchemaValidation annotation in 3.0.1 ? Message-ID: <19656493.1210105611602.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Richard, Thanks for the reply. As mentioned in the previous posts, I already got the source from jbossws-3.0.1-native-2.0.4.GA-src.zip and examined the org/jboss/test/ws/jaxws/jbws1172/* tests. This caused me to wonder if I missed something, because there I did _not_ find a test for the annotation. Quoting myself: "I am probably overlooking something, because I cannot find a proper test for the @SchemaValidation annotation. There are two endpoint classes, org.jboss.test.ws.jaxws.jbws1172.ValidatingEndpoint.java and NonValidatingEndpoint.java The annotation processor processes the @SchemaValidation annotation by adding the relevant feature to the endpoint. However, in JBWS1172TestCase.java, the testcases ignore the defined endpoints, and instead add the validating feature to endpoints defined in the testcode. So, to me it seems the handling of the @SchemaValidation annotation is not tested here. Is there another test for this maybe ? ". If the question is not clear please let me know and I will try to clarify. Cheers, Luc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148924#4148924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148924 From do-not-reply at jboss.com Tue May 6 17:50:27 2008 From: do-not-reply at jboss.com (ibrahim_theo) Date: Tue, 6 May 2008 17:50:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Failed to create a new SAX parser with JbossWS2.0.4 Message-ID: <29313905.1210110627219.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am testing my Webservices based on JAX-RPC (migrated from Jboss 403) under Jboss4.2.1 and Jbossws2.0.4. I am invoquing the Webservices using SoapUI. When I use the following request: user passwd 123 The response is as expected but when I use the following request: user pswd 1 yes txt I am getting the following exception which I thought was fixed with jbossws2.02: 2008-05-06 16:03:22,075 ERROR - SOAP request exception org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) at org.jboss.ws.core.jaxrpc.binding.jbossxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:54) at org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer.deserialize(JBossXBDeserializer.java:103) at org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer.deserialize(JBossXBDeserializer.java:62) at org.jboss.ws.core.binding.DeserializerSupport.deserialize(DeserializerSupport.java:60) at org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:180) at org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:97) at org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:141) at org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:173) at org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:263) at org.jboss.ws.core.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:115) at org.jboss.ws.core.EndpointInvocation.getRequestPayload(EndpointInvocation.java:135) at org.jboss.ws.core.server.DelegatingInvocation.getArgs(DelegatingInvocation.java:82) at org.jboss.wsf.container.jboss42.InvocationHandlerEJB21.getMBeanInvocation(InvocationHandlerEJB21.java:169) at org.jboss.wsf.container.jboss42.InvocationHandlerEJB21.invoke(InvocationHandlerEJB21.java:144) at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:221) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201) at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134) 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:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) 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: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(Unknown Source) Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:96) at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:55) at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96) ... 39 more Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized. at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92) ... 41 more Any idea? Thanks in advance, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148948#4148948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148948 From do-not-reply at jboss.com Tue May 6 18:55:34 2008 From: do-not-reply at jboss.com (amit.sfbay) Date: Tue, 6 May 2008 18:55:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - What controls the SOAP version used in JBoss Message-ID: <25482444.1210114534981.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss version 4.2.2 I am calling a webservice from a JBoss application. I am using the SOAP 1.1 binding from the stubs (generated from wsdl using wsconsume). Whatever I do, I always see this warning which tells me that somehow SOAP 1.2 is expected. 15:17:43,085 WARN [SOAP12BindingJAXWS] Expected SOAP-1.2 envelope, but got: http://schemas.xmlsoap.org/soap/envelope/ What soap version does JBossWS support/use and is there a way to change it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148960#4148960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148960 From do-not-reply at jboss.com Tue May 6 19:29:41 2008 From: do-not-reply at jboss.com (amit.sfbay) Date: Tue, 6 May 2008 19:29:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: What controls the SOAP version used in JBoss Message-ID: <17478657.1210116581744.JavaMail.jboss@colo-br-02.atl.jboss.com> The JbossWS version is jbossws-native-2.0.1.SP2 I hope it is possible to call SOAP 1.1 webservice from a web app in this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148970#4148970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148970 From do-not-reply at jboss.com Wed May 7 05:20:36 2008 From: do-not-reply at jboss.com (plutonium719) Date: Wed, 7 May 2008 05:20:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - [JBossWS] Use WS with a different Application Server Message-ID: <11549952.1210152036584.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Is it possible to use JBossWS with a different Application server than JBoss ? For example, can I use JonAS ? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149031#4149031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149031 From do-not-reply at jboss.com Wed May 7 05:59:09 2008 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Wed, 7 May 2008 05:59:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: [JBossWS] Use WS with a different Application Server Message-ID: <4547580.1210154350010.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately not without coding. You should implement our jbossws-spi integration layer to achieve that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149043#4149043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149043 From do-not-reply at jboss.com Wed May 7 08:47:30 2008 From: do-not-reply at jboss.com (bsisson) Date: Wed, 7 May 2008 08:47:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Endpoint already registered Message-ID: <14900217.1210164450173.JavaMail.jboss@colo-br-02.atl.jboss.com> I placed the following request for information in the JBoss Tools forum and they refered me to JBossws. I hope someone can help me with this issue. I am using Eclipse 3.3 and JBoss Tools Core 2.0.1.GA. I created a SEAM Web service (TestWs) which runs correctly. I start JBoss Server from the JBoss Server View. I check the console and I can find a reference to my TestWs Web service. I make some changes to my Web service and then right click on my moduel (within by JBoss Server view) and do a full publish of that service again. This time I do not see a reference to my web service. I'm using the Eclipse web service explorer to test my web service. When I try to use it again (after the changes and the redeploy) I get a could not create deployment - endpoint already registered error (see below). If I completely shutdown Eclipse, reopen and start JBoss Server again it works fine but after the first test (in debug mode) it will get the same message again and I will have to shut down and restart Eclipse again. This is very time consuming and any help would be greatly apprecaited. 11:46:59,969 ERROR [MainDeployer] Could not create deployment: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=PSDynamicWebProject,endpoint=TestWs at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89) at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59) at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:46) 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.create(DeployerInterceptor.java:79) 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 $Proxy54.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor29.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: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) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149088#4149088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149088 From do-not-reply at jboss.com Wed May 7 11:17:19 2008 From: do-not-reply at jboss.com (aroeder) Date: Wed, 7 May 2008 11:17:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Error deploying a war on metro Message-ID: <14251175.1210173439908.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you find a solution yet? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149175#4149175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149175 From do-not-reply at jboss.com Wed May 7 11:52:34 2008 From: do-not-reply at jboss.com (pdrummond) Date: Wed, 7 May 2008 11:52:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - @XmlMimeType( Message-ID: <28504924.1210175555065.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I am using Revision: jbossws-3.0.1-native-2.0.4.GA and trying to get attachments to work. I have no problems running the XOP test case but when I try to write my own service I always have the same problem. When I deploy my WAR the ns1:expectedContentTypes is always "application/octet-stream" even though I specify @XmlMimeType("text/plain") in the code. My end-point code is as follows: | package eas.attachment; | import java.io.IOException; | import javax.activation.DataHandler; | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.xml.bind.annotation.XmlMimeType; | import javax.xml.ws.BindingType; | import javax.xml.ws.WebServiceException; | | @WebService(name = "EASEndpoint", serviceName = "EASEndpointService") | @BindingType(value = "http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true") | public class EASEndpointImpl implements EASEndpoint { | | @WebMethod | @XmlMimeType("text/plain") | public DataHandler fileUpload(@XmlMimeType("text/plain") DataHandler data) { | try { | System.out.println("Recv " + data.getContentType()); | System.out.println("Content is " + data.getContent()); | return new DataHandler("Server data", "text/plain"); | } | catch (IOException e) { | throw new WebServiceException(e); | } | } | } | The code is almost identical to the WrappedEndpoint in the sample code - if I am missing something, I can't see it!!! I can confirm that the wsdl for the WrappedEndpoint does include what you'd expect - ns1:expectedContentTypes="text/plain" so why doesn't mine? Can anyone help? I am now stepping through the JBossWS source code to determine the source of this problem and will report any findings... Thanks, Paul Drummond View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149184#4149184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149184 From do-not-reply at jboss.com Wed May 7 14:29:18 2008 From: do-not-reply at jboss.com (skudzelia) Date: Wed, 7 May 2008 14:29:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Empty object is returned. Message-ID: <20044560.1210184958663.JavaMail.jboss@colo-br-02.atl.jboss.com> I try to user webservice client that is created using JBossWS with Axis1 server. The problem is that I cannot receive a complex type from the server even though it is properly returned. Judging by TCPMon U receive th following message: | Ron | As you see customerName has value "Ron". I user the following code to call the server method: | Service service = Service.create(wsdlLocation, serviceName); | BeanService beanS = (BeanService) service.getPort(BeanService.class); | Order o = beanS.findOrder(); | No exceptions are thrown. Order object is returned but it has all the properties values equal to null (as you can see from the result message from the server "customerName" has its value). Here is the wsdl: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case a string ibject is returned from the method than it's OK, I receive the value. An Order object is also properly send to the server as a method parameter. What is wrong? I've spend the whole day trying to find the cause of problem. Order class and BeanService are generated by using WSConsume tool. JBoss 4.2.2GA is used. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149210#4149210 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149210 From do-not-reply at jboss.com Wed May 7 14:32:53 2008 From: do-not-reply at jboss.com (skudzelia) Date: Wed, 7 May 2008 14:32:53 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Empty object is returned. Message-ID: <16242711.1210185173366.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is an Order class, may be it will be useful: | | package beanservice; | | import javax.xml.bind.annotation.XmlAccessType; | import javax.xml.bind.annotation.XmlAccessorType; | import javax.xml.bind.annotation.XmlElement; | import javax.xml.bind.annotation.XmlType; | import com.osmoticweb.purchase.ArrayOfXsdInt; | import com.osmoticweb.purchase.ArrayOfXsdString; | | | /** | *

Java class for Order complex type. | * | *

The following schema fragment specifies the expected content contained within this class. | * | *

  |  * <complexType name="Order">
  |  *   <complexContent>
  |  *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
  |  *       <sequence>
  |  *         <element name="customerName" type="{http://www.w3.org/2001/XMLSchema}string"/>
  |  *         <element name="itemCodes" type="{http://osmoticweb.com/Purchase}ArrayOf_xsd_string"/>
  |  *         <element name="quantities" type="{http://osmoticweb.com/Purchase}ArrayOf_xsd_int"/>
  |  *         <element name="shippingAddress" type="{http://www.w3.org/2001/XMLSchema}string"/>
  |  *       </sequence>
  |  *     </restriction>
  |  *   </complexContent>
  |  * </complexType>
  |  * 
| * | * | */ | @XmlAccessorType(XmlAccessType.FIELD) | @XmlType(name = "Order", propOrder = { | "customerName", | "itemCodes", | "quantities", | "shippingAddress" | }) | public class Order { | | @XmlElement(required = true, nillable = true) | protected String customerName; | @XmlElement(required = true, nillable = true) | protected ArrayOfXsdString itemCodes; | @XmlElement(required = true, nillable = true) | protected ArrayOfXsdInt quantities; | @XmlElement(required = true, nillable = true) | protected String shippingAddress; | | /** | * Gets the value of the customerName property. | * | * @return | * possible object is | * {@link String } | * | */ | public String getCustomerName() { | return customerName; | } | | /** | * Sets the value of the customerName property. | * | * @param value | * allowed object is | * {@link String } | * | */ | public void setCustomerName(String value) { | this.customerName = value; | } | | /** | * Gets the value of the itemCodes property. | * | * @return | * possible object is | * {@link ArrayOfXsdString } | * | */ | public ArrayOfXsdString getItemCodes() { | return itemCodes; | } | | /** | * Sets the value of the itemCodes property. | * | * @param value | * allowed object is | * {@link ArrayOfXsdString } | * | */ | public void setItemCodes(ArrayOfXsdString value) { | this.itemCodes = value; | } | | /** | * Gets the value of the quantities property. | * | * @return | * possible object is | * {@link ArrayOfXsdInt } | * | */ | public ArrayOfXsdInt getQuantities() { | return quantities; | } | | /** | * Sets the value of the quantities property. | * | * @param value | * allowed object is | * {@link ArrayOfXsdInt } | * | */ | public void setQuantities(ArrayOfXsdInt value) { | this.quantities = value; | } | | /** | * Gets the value of the shippingAddress property. | * | * @return | * possible object is | * {@link String } | * | */ | public String getShippingAddress() { | return shippingAddress; | } | | /** | * Sets the value of the shippingAddress property. | * | * @param value | * allowed object is | * {@link String } | * | */ | public void setShippingAddress(String value) { | this.shippingAddress = value; | } | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149211#4149211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149211 From do-not-reply at jboss.com Thu May 8 00:32:31 2008 From: do-not-reply at jboss.com (marie123) Date: Thu, 8 May 2008 00:32:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Webservice deployment failed Message-ID: <8280944.1210221151412.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using Jboss4.2.2GA with JBOssWS installed. I'm quite new to JbossWS. When i tried to deploy a webservice i'm getting an exception as shown below. java.lang.NoSuchMethodError: javax.wsdl.xml.WSDLLocator.close(). i dont know whatz going wrong.. Any help is appreciated. | 2008-05-08 09:41:36,703 ERROR [org.jboss.deployment.MainDeployer] Could not start deployment: file:/D:/jboss-4.2.2.GA/server/all/tmp/deploy/tmp19266rr-webservice.ear-contents/rr-webservice-ejb.jar | 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.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:321) | at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:166) | at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderEJB3.buildMetaData(JAXWSMetaDataBuilderEJB3.java:78) | at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:71) | 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 $Proxy34.start(Unknown Source) | 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.GeneratedMethodAccessor54.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$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149290#4149290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149290 From do-not-reply at jboss.com Thu May 8 08:11:03 2008 From: do-not-reply at jboss.com (regget) Date: Thu, 8 May 2008 08:11:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - namespace and unmarshalling issues Message-ID: <22255807.1210248663578.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a web service deployed using the top-down approach. The web service is running and i'm referencing my wsdl file. The problem occurs when I'm making web service calls. The web service is having trouble marshalling the input xml message to object. I will end up with an empty object. However, when I strip out the namespaces below the root element, the object is populated correctly. What is causing this? example of the problem: input/parameter object is populated with following xml - | |
1
| | | g | | |
| but the input object is empty with the following xml | | 1 | | | g | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149404#4149404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149404 From do-not-reply at jboss.com Thu May 8 10:13:30 2008 From: do-not-reply at jboss.com (bsisson) Date: Thu, 8 May 2008 10:13:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Endpoint already registered Message-ID: <15827668.1210256010611.JavaMail.jboss@colo-br-02.atl.jboss.com> I would like to provide additional information for this issue. Our whole team has looked at this issue and cannot find a work around or the cause of the issue but we have figured out the sequence that triggers the issue. 1) We created a web service using annotations (@WebService(name = "TestWs") and it runs fine. 2) We created a class (People) that is annotated for xml marshalling (@XmlRootElement). 3) In the web service a database is queried and the data is stored in the People class. 4) Using javax.xml.bind the class is marshalled into a xml string. 5) At this point, in debut mode, there are occasions (depending upon the class fields) the marshaller will either work fine or the it wil fail. If it works fine the xml string is returned to the Web Service Explorer (built into Eclipse) and if it fails the error message string is returned to the Web Service Explorer. 6) Then we make changes to the People class (add or delete fields) and we get a message asking us if we want to continue, stop or restart the server. If we select continue the server runs find but only picks up the old version of the People class and not the new changes. The issues begin when we chose stop or restart server. When the server is restarted there are two key issues: (1) If I search the console I cannot find a reference to my web service after the restart. The first time I start the server I see a reference that the web service was deplyed. (2) When I used the Web Service Explorer to find the web service I get an exception: javax.xml.ws.WebServiceException: Cannot obtain endpoint for: jboss.ws:context=/PSDynamicWebProject,endpoint=TestWs At this point nothing we do in Eclipse can eliminate this exception. We have tried restarting the JBoss server, clicking on the module and doing a full publish and nothing works. The only resolution to get around this at this point has been to shutdwon Eclipse completely and restart it. This works until we have to change the class again and we go through the same steps. We are in the start-up phase of re-writing our web applicaitons here and are evaluating JBoss and JBoss tools. We would really like to find a reslution to this since we are using Eclipse as our IDE and any help would be apprecaited. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149462#4149462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149462 From do-not-reply at jboss.com Thu May 8 12:57:30 2008 From: do-not-reply at jboss.com (rcarmichael) Date: Thu, 8 May 2008 12:57:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Annotation to specify WS url Message-ID: <7608448.1210265850256.JavaMail.jboss@colo-br-02.atl.jboss.com> So far I have been able to use web services in JBoss without having to modify my web.xml (or any xml files really) at all thanks to great annotations. However, I recently started adding version numbers to my wars/ears/jars and this has caused a number of problems. One of them is that JBoss uses Ear + Jar filename as the URL. So if I had A-0.3.2.ear containing EJB B-0.8.6.jar containing C.java which is a @WebService, the URL for the WSDL will be : http://localhost:8080/A-0.3.2-B-0.8.6/C?WSDL This is extremely inconvenient. Is there a way for me to specify in the annotations what the URL for the web service should be? Thanks, - Ryan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149525#4149525 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149525 From do-not-reply at jboss.com Thu May 8 13:08:47 2008 From: do-not-reply at jboss.com (rcarmichael) Date: Thu, 8 May 2008 13:08:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Annotation to specify WS url Message-ID: <18308297.1210266527112.JavaMail.jboss@colo-br-02.atl.jboss.com> Well I like answering my own questions.. indeed, there is an annotation for this: org.jboss.wsf.spi.annotation.WebContext Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149528#4149528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149528 From do-not-reply at jboss.com Thu May 8 13:22:50 2008 From: do-not-reply at jboss.com (bsisson) Date: Thu, 8 May 2008 13:22:50 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Cannot Rename web.xml Message-ID: <18653962.1210267370914.JavaMail.jboss@colo-br-02.atl.jboss.com> I created a web service using annotations and am deploying it to a JBoss Server in Eclipse. I have JBoss Tools deployed into Eclipse. I am running Eclipse 3.3 and JBoss 4.2.2GA. With my web service running I make a change to a class file (not the web service but a class in the same directory). I am then prompted to continue, stop or restart. I select continue and then I go to my JBoss Server view and right click on my web service module and select full deploy. I get the following error: Cannot rename web.xml. I'm curious how to prevent the error and in addition how to make live updates that will be propogated to JBoss without having to restart everytimg? 13:17:15,545 INFO [TomcatDeployer] undeploy, ctxPath=/PSDynamicWebProject, warUrl=.../deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ 13:17:15,670 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher 13:17:15,670 WARN [JmxKernelAbstraction] jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 is not registered 13:17:15,670 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations 13:17:15,670 WARN [JmxKernelAbstraction] jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 is not registered 13:17:15,670 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:17:15,686 INFO [SessionFactoryImpl] closing 13:17:15,686 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:17:15,701 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 13:17:15,701 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:17:15,701 WARN [JmxKernelAbstraction] persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject is not registered 13:17:15,717 ERROR [MainDeployer] Deployer destroy failed for: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ org.jboss.wsf.spi.deployment.WSFDeploymentException: javax.xml.ws.WebServiceException: Cannot rename web.xml: C:\Eclipse\Servers\jboss-4.2.2.GA\jboss-4.2.2.GA\server\all\deploy\PSDynamicWebProject-ear.ear\PSDynamicWebProject.war\WEB-INF\web.xml.org at org.jboss.wsf.spi.deployment.WSFDeploymentException.rethrow(WSFDeploymentException.java:54) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.failsafeDestroy(DeploymentAspectManagerImpl.java:190) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.undeploy(DeploymentAspectManagerImpl.java:162) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.undeploy(ArchiveDeployerHook.java:111) at org.jboss.wsf.container.jboss42.DeployerInterceptor.destroy(DeployerInterceptor.java:112) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.destroy(SubDeployerInterceptorSupport.java:204) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:103) 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 $Proxy54.destroy(Unknown Source) at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:704) at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:696) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:632) at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:615) 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 $Proxy9.undeploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.undeploy(URLDeploymentScanner.java:450) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:604) 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: javax.xml.ws.WebServiceException: Cannot rename web.xml: C:\Eclipse\Servers\jboss-4.2.2.GA\jboss-4.2.2.GA\server\all\deploy\PSDynamicWebProject-ear.ear\PSDynamicWebProject.war\WEB-INF\web.xml.org at org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect.destroy(ModifyWebMetaDataDeploymentAspect.java:90) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.failsafeDestroy(DeploymentAspectManagerImpl.java:186) ... 34 more 13:17:15,717 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/ 13:17:15,717 INFO [EARDeployer] Undeployed J2EE application: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/ 13:17:15,748 INFO [EARDeployer] Init J2EE application: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/ 13:17:16,326 WARN [MainDeployer] Found non-jar deployer for jboss-seam.jar: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer] 13:17:17,795 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: seam.jboss.org:loader=PSDynamicWebProject, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false) 13:17:18,529 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment 13:17:18,529 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject with dependencies: 13:17:18,529 INFO [JmxKernelAbstraction] jboss.jca:name=PSDynamicWebProjectDatasource,service=DataSourceBinding 13:17:18,529 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:17:18,561 INFO [Ejb3Configuration] found EJB3 Entity bean: org.domain.PSDynamicWebProject.entity.Employee 13:17:18,592 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml 13:17:18,592 INFO [Ejb3Configuration] [PersistenceUnit: PSDynamicWebProject] no META-INF/orm.xml found 13:17:18,592 INFO [AnnotationBinder] Binding entity from annotated class: org.domain.PSDynamicWebProject.entity.Employee 13:17:18,592 INFO [EntityBinder] Bind entity org.domain.PSDynamicWebProject.entity.Employee on table WBPSEMPL2 13:17:18,670 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider 13:17:18,670 INFO [InjectedDataSourceConnectionProvider] Using provided datasource 13:17:18,670 INFO [SettingsFactory] RDBMS: Oracle, version: Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production 13:17:18,670 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0XE 13:17:18,670 INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle10gDialect 13:17:18,670 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory 13:17:18,670 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 13:17:18,670 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 13:17:18,670 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled 13:17:18,670 INFO [SettingsFactory] Automatic session close at end of transaction: disabled 13:17:18,670 INFO [SettingsFactory] JDBC batch size: 15 13:17:18,670 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled 13:17:18,670 INFO [SettingsFactory] Scrollable result sets: enabled 13:17:18,670 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled 13:17:18,670 INFO [SettingsFactory] Connection release mode: auto 13:17:18,670 INFO [SettingsFactory] Default batch fetch size: 1 13:17:18,670 INFO [SettingsFactory] Generate SQL with comments: disabled 13:17:18,670 INFO [SettingsFactory] Order SQL updates by primary key: disabled 13:17:18,670 INFO [SettingsFactory] Order SQL inserts for batching: disabled 13:17:18,670 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 13:17:18,670 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 13:17:18,670 INFO [SettingsFactory] Query language substitutions: {} 13:17:18,670 INFO [SettingsFactory] JPA-QL strict compliance: enabled 13:17:18,670 INFO [SettingsFactory] Second-level cache: enabled 13:17:18,670 INFO [SettingsFactory] Query cache: disabled 13:17:18,670 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider 13:17:18,670 INFO [SettingsFactory] Optimize cache for minimal puts: disabled 13:17:18,670 INFO [SettingsFactory] Cache region prefix: PSDynamicWebProject-ear_ear,PSDynamicWebProject 13:17:18,670 INFO [SettingsFactory] Structured second-level cache entries: disabled 13:17:18,670 INFO [SettingsFactory] Echoing all SQL to stdout 13:17:18,670 INFO [SettingsFactory] Statistics: disabled 13:17:18,670 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled 13:17:18,670 INFO [SettingsFactory] Default entity-mode: pojo 13:17:18,670 INFO [SettingsFactory] Named query checking : enabled 13:17:18,686 INFO [SessionFactoryImpl] building session factory 13:17:18,733 INFO [SessionFactoryObjectFactory] Factory name: persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:17:18,733 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 13:17:18,733 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:17:18,733 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext 13:17:18,733 INFO [SchemaUpdate] Running hbm2ddl schema update 13:17:18,733 INFO [SchemaUpdate] fetching database metadata 13:17:18,748 INFO [SchemaUpdate] updating schema 13:17:18,826 INFO [TableMetadata] table found: SALARY.WBPSEMPL2 13:17:18,826 INFO [TableMetadata] columns: [phone, rehire_dt, support_flag, ccc_sub_ministry, empl_type, address1, supervisorname, statuscode, sex, cmpny_seniority_dt, activeflag, address2, mail_code, emailsecure, hiredate, zip, location, secure_employee, compsenioritydate, ccc_ministry, first_name, deptnameabbrv, pref_first_name, deptname, jobtitleabbrv, termination_dt, empltype, jobtitle, e_mail_addr, county, mailcode, reimbflag, reporting_date, socsecflag, deptname_abbrv, secureemployee, marstatusdate, preferred_name, firstname, supervisor_name, state, emplid, hire_dt, statusdescr, marstatus, cccsubministry, name_prefix, reportingdate, soc_sec_flag, e_mail_secure, fromdate, nameprefix, mar_status, birthdate, preffirstname, country_code, terminationdate, active_flag, orighiredate, empstatus, mar_status_dt, paygroup, supportflag, name, status_descr, jobtitle_abbrv, city, empl_status, email_addr, ssn, rehiredate, countrycode, address4, deptid, last_name, cccministry, spousename, lastname, status_code, country, orig_hire_dt, asofdate, preferredname, emailaddr, reimb_flag, address3, couple_title_descr, coupletitledescr, spouse_name] 13:17:18,842 INFO [TableMetadata] foreign keys: [] 13:17:18,842 INFO [TableMetadata] indexes: [wbpsempl2_pk] 13:17:18,842 INFO [SchemaUpdate] schema update complete 13:17:18,842 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 13:17:18,842 INFO [EJB3Deployer] Deployed: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject-ejb.jar/ 13:17:18,858 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 13:17:18,858 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 with dependencies: 13:17:18,904 INFO [EJBContainer] STARTED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher 13:17:18,951 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer 13:17:18,951 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 with dependencies: 13:17:18,998 INFO [EJBContainer] STARTED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations 13:17:19,014 INFO [EJB3Deployer] Deployed: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/jboss-seam.jar 13:17:19,014 INFO [TomcatDeployer] deploy, ctxPath=/PSDynamicWebProject, warUrl=.../deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ 13:17:19,748 WARN [config] Unable to process deployment descriptor for context 'null' 13:17:22,967 INFO [EARDeployer] Started J2EE application: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149530#4149530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149530 From do-not-reply at jboss.com Thu May 8 13:25:24 2008 From: do-not-reply at jboss.com (bsisson) Date: Thu, 8 May 2008 13:25:24 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot Rename web.xml Message-ID: <1836723.1210267524132.JavaMail.jboss@colo-br-02.atl.jboss.com> Additional information, if I attempt to do a full publish again it is during this second full publish that I get the "Endpoint already registered" exception for my web service. 13:23:08,646 INFO [TomcatDeployer] undeploy, ctxPath=/PSDynamicWebProject, warUrl=.../deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ 13:23:08,661 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.async.TimerServiceDispatcher ejbName: TimerServiceDispatcher 13:23:08,677 WARN [JmxKernelAbstraction] jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 is not registered 13:23:08,677 INFO [EJBContainer] STOPPED EJB: org.jboss.seam.transaction.EjbSynchronizations ejbName: EjbSynchronizations 13:23:08,677 WARN [JmxKernelAbstraction] jboss.j2ee:ear=PSDynamicWebProject-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 is not registered 13:23:08,677 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:23:08,677 INFO [SessionFactoryImpl] closing 13:23:08,677 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:23:08,677 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} 13:23:08,677 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject 13:23:08,677 WARN [JmxKernelAbstraction] persistence.units:ear=PSDynamicWebProject-ear.ear,unitName=PSDynamicWebProject is not registered 13:23:08,692 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/ 13:23:08,692 INFO [EARDeployer] Undeployed J2EE application: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/ 13:23:08,692 INFO [EARDeployer] Init J2EE application: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/ 13:23:09,239 WARN [MainDeployer] Found non-jar deployer for jboss-seam.jar: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer] 13:23:11,020 WARN [DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: seam.jboss.org:loader=PSDynamicWebProject, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false) 13:23:11,755 ERROR [MainDeployer] Could not create deployment: file:/C:/Eclipse/Servers/jboss-4.2.2.GA/jboss-4.2.2.GA/server/all/deploy/PSDynamicWebProject-ear.ear/PSDynamicWebProject.war/ java.lang.IllegalStateException: Endpoint already registered: jboss.ws:context=PSDynamicWebProject,endpoint=TestWs at org.jboss.wsf.framework.management.DefaultEndpointRegistry.register(DefaultEndpointRegistry.java:89) at org.jboss.wsf.framework.management.ManagedEndpointRegistry.register(ManagedEndpointRegistry.java:59) at org.jboss.wsf.framework.deployment.EndpointRegistryDeploymentAspect.create(EndpointRegistryDeploymentAspect.java:46) 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.create(DeployerInterceptor.java:79) 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 $Proxy54.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor29.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: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) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149531#4149531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149531 From do-not-reply at jboss.com Thu May 8 20:16:40 2008 From: do-not-reply at jboss.com (lent) Date: Thu, 8 May 2008 20:16:40 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Setting context-path in xml for ejb endpoint Message-ID: <15306089.1210292200070.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would like to set the context-path for the web service in xml file (jboss.xml?) rather than with WebContext annotation, for an ejb endpoint. I believe I read in some other post that this may be supported starting some version and I'm trying to figure out from which JBossWS version this is supported and which xml file you put this config info in. Regards, Len View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149621#4149621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149621 From do-not-reply at jboss.com Fri May 9 07:48:56 2008 From: do-not-reply at jboss.com (hermida) Date: Fri, 9 May 2008 07:48:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Error: ...Port does not contain operation meta data for: ... Message-ID: <21314251.1210333736085.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everyone, I have written a test web service with JBoss 4.2.2.GA and I have what seems to be an oversight error (on my part I am sure) that I cannot figure out :) I searched this forum and others have had the same problem but then there is no clear answer in the responses as to what is the real source of the problem and how to fix it. My code compiles and deploys into the application server properly but when I use a web service client to test a method call I get the following strange error about operation meta data not being there: anonymous wrote : 2008-05-08 16:48:46,996 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception | org.jboss.ws.core.CommonSOAPFaultException: Endpoint {http://wstest.fmi.ch/}UserServiceBeanPort does not contain operation meta data for: {http://wstest.fmi.ch/}GetUserByUsername | at org.jboss.ws.core.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:457) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:176) | 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) Here is the POSTed SOAP body: | | hermida | | Here are the important web service code (and where a possible error could be): UserServiceWSInterface.java //package ch.fmi.wstest; | | /** | * Web service interface for the UserServiceBean session bean. | * | */ | @javax.jws.WebService(targetNamespace = "http://ch.fmi/wstest", name = "UserService") | @javax.jws.soap.SOAPBinding(style = javax.jws.soap.SOAPBinding.Style.RPC, use = javax.jws.soap.SOAPBinding.Use.LITERAL, parameterStyle = javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED) | public interface UserServiceWSInterface | extends java.rmi.Remote | { | @javax.jws.WebMethod(operationName = "GetUserByUsername") | public ch.fmi.wstest.User getUserByUsername( | @javax.jws.WebParam(name = "Username") java.lang.String username | ) throws java.rmi.RemoteException; | | } UserServiceBean.java // license-header java merge-point | // | // Generated by: SessionBeanImpl.vsl in andromda-ejb3-cartridge. | // | package ch.fmi.wstest; | | /** | * @see ch.fmi.wstest.UserServiceBase | * | * Remember to manually configure the local business interface this bean implements if originally you only | * defined the remote business interface. However, this change is automatically reflected in the ejb-jar.xml. | * | * Do not specify the javax.ejb.Stateless annotation | * Instead, the session bean is defined in the ejb-jar.xml descriptor. | */ | @javax.jws.WebService(endpointInterface = "ch.fmi.wstest.UserServiceWSInterface") | @org.jboss.wsf.spi.annotation.WebContext(contextRoot = "/wstest-ws", urlPattern="/services/UserService/*") | public class UserServiceBean | extends ch.fmi.wstest.UserServiceBase | implements ch.fmi.wstest.UserServiceRemote | { | | // --------------- Constructors --------------- | | /** | * Default constructor extending base class default constructor | */ | public UserServiceBean() | { | super(); | } | | // -------- Business Methods Impl -------------- | | /** | * @see ch.fmi.wstest.UserServiceBase#getUserByUsername(java.lang.String) | */ | protected ch.fmi.wstest.User handleGetUserByUsername(java.lang.String username) | throws java.lang.Exception | { | //TODO: put your implementation here. | // Dummy return value, just that the file compiles | return null; | } | | | // -------- Lifecycle Callback Implementation -------------- | | } | Here are the WSDLs: http://localhost:8080/wstest-ws/services/UserService?wsdl | | | | | | | http://localhost.fmi.ch:8080/wstest-ws/services/UserService?wsdl&resource=UserService_PortType36597.wsdl | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Why is it not finding the operation meta data? Is it a namespace problem? thanks for any help, leandro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149742#4149742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149742 From do-not-reply at jboss.com Fri May 9 09:11:23 2008 From: do-not-reply at jboss.com (hermida) Date: Fri, 9 May 2008 09:11:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Turning off eager initialization of meta data model Message-ID: <22216478.1210338683908.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi everyone, I have a very big data model and when I deploy my web services into JBoss 4.2.2.GA this step: anonymous wrote : DEBUG [org.jboss.ws.metadata.umdm.UnifiedMetaData] Eagerly initialize the meta data model takes a very long time... just wondering how I turn off eager (on lazy) initialization so that my dev/testing cycle is quicker? thank you, leandro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149764#4149764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149764 From do-not-reply at jboss.com Fri May 9 10:11:23 2008 From: do-not-reply at jboss.com (pramod_bs) Date: Fri, 9 May 2008 10:11:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Error: ...Port does not contain operation meta data for: Message-ID: <24972390.1210342283692.JavaMail.jboss@colo-br-02.atl.jboss.com> This may be because of namespace conflict. http://ch.fmi/wstest and http://wstest.fmi.ch/ Try switching this in your client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149775#4149775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149775 From do-not-reply at jboss.com Fri May 9 11:45:31 2008 From: do-not-reply at jboss.com (bsisson) Date: Fri, 9 May 2008 11:45:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Web Service Client Message-ID: <15467031.1210347931272.JavaMail.jboss@colo-br-02.atl.jboss.com> I have found several very good tutorials for creating a web service using annotations (JSR-181). I am struggling however creating a web service client using annotations. I'm working with Eclipse 3.3 and Seam 2.0. I did the old web service client way of creating a project, then generating a web service client from the wsdl which generates the stubs and this works fine. However, I want to be able to do this with annotations instead and am struggling. I have seen examples that use the @WebServiceRefs annotations but no complete explenation. I would expect if I use annotations that I will not have to generate the stubs from the WSDL but have no clarity. If you can point me to a good tutorial that would be great? If you could clarify whether I need to generate the stubs from the WSDL that would be helpful as well? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149807#4149807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149807 From do-not-reply at jboss.com Fri May 9 13:57:59 2008 From: do-not-reply at jboss.com (lent) Date: Fri, 9 May 2008 13:57:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Setting context-path in xml for ejb endpoint Message-ID: <7061920.1210355879553.JavaMail.jboss@colo-br-02.atl.jboss.com> I was looking around a bit and found that http://www.jboss.org/j2ee/dtd/jboss_5_0.dtd has context-root as an element of webservices element in jboss.xml. However, context-root is not a webservices element in http://www.jboss.org/j2ee/schema/jboss_5_0.xsd. My jboss.xml was using the schema for validation so I switched to the dtd and tried specifying the context-root in jboss.xml but this had no effect. I'm using JBoss 4.0.5GA with JBossWS 1.2.1. What version of JBossAS/JBossWS does specifying the context-root in webservices element in jboss.xml work? Regards, Len View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149841#4149841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149841 From do-not-reply at jboss.com Fri May 9 15:41:45 2008 From: do-not-reply at jboss.com (bsisson) Date: Fri, 9 May 2008 15:41:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Web Service Client Message-ID: <15976478.1210362105482.JavaMail.jboss@colo-br-02.atl.jboss.com> In my Eclipse client I generated the web service stubs and proxy by creating a new project, then right clicking on the project selecting new->other->web service->web service client. When setting up the client I pointed it to my web service WSDL file ex:(http://localhost:8280/PSDynamicWebProject/TestWs?wsdl). I then just setup a simple test class to call the web service (code below): package service.client; import java.rmi.RemoteException; import org.domain.PSDynamicWebProject.pojo.TestWs; import org.domain.PSDynamicWebProject.pojo.TestWsProxy; public class RunnerOld { public static void main(String[] args) { TestWs tw = new TestWsProxy(); try { System.out.println(tw.greet("1")); } catch (RemoteException e) { System.out.println(e.getMessage()); } } } This code worked fine (called the web service and received the correct response back). Now I wanted to create the web service client using the annotations from JSR-181. I looked a several different examples and the best that I can conclude is that I still need to generate the stubs and proxy files so I set them up in my project in the same way as I did above. I then create a simple class to call my web service (code below): package service.client; import java.rmi.RemoteException; import javax.xml.rpc.ServiceException; import javax.xml.ws.WebServiceRef; import org.domain.PSDynamicWebProject.pojo.TestWs; import org.domain.PSDynamicWebProject.pojo.TestWsService; public class Runner { @WebServiceRef(wsdlLocation="http://127.0.0.1:8280/PSDynamicWebProject/TestWs?wsdl") private static TestWsService service; public static void main(String[] args) { try { TestWs tw = service.getTestWsPort(); System.out.println(tw.greet("1")); } catch (RemoteException e) { System.out.println(e.getMessage()); } catch (ServiceException e) { System.out.println(e.getMessage()); } } } This client however failed. It got a java null pointer exception on this statement: TestWs tw = service.getTestWsPort(); I debugged it and found tha the service object was null. I have several questions regarding this approach: 1) I am curious why the service object was null and I got a null pointer exception? 2) Is this the correct way to setup and use the JSR-181? I find it interesting that if we still must generate the stubs and prox from the WSDL before we can use the annotations then what advantage is there to using the annotations? Any clarity and help would be greatly appreciated. I can see the benefit in using JSR-181 to setup the web services from previous web services that I setup and the advantage of the annotations. However, I don't see any benefits in the annotations on the client if I'm doing this correctly (which I may not be). Here is the simple code from my web serivce for review (this works): package org.domain.PSDynamicWebClient.pojo; import java.io.StringWriter; import java.util.Date; import javax.jws.WebMethod; import javax.jws.WebParam; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import javax.xml.bind.JAXBContext; import javax.xml.bind.Marshaller; import javax.xml.transform.stream.StreamResult; import org.domain.PSDynamicWebClient.entity.Employee; import org.domain.PSDynamicWebClient.session.SelectEmployee; import org.jboss.seam.Component; /** * This is a webservice class exposing a method called greet which takes a * input parameter and greets the parameter with hello. * * @author dhanago */ /* * @WebService indicates that this is webservice interface and the name * indicates the webservice name. */ @WebService(name = "TestWs", serviceName = "TestWsService") /* * @SOAPBinding indicates binding information of soap messages. Here we have * document-literal style of webservice and the parameter style is wrapped. */ @SOAPBinding ( style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED ) public class TestWs { @WebMethod public String greet( @WebParam(name = "emplid") String emplid ) { try { /************************************************************************** * The following example marshals an object class into an XML string which * is returned to the caller. The object is an entity representing a * row on the database. **************************************************************************/ // Query the database for an employee's information SelectEmployee selectEmployee = (SelectEmployee) Component.getInstance("selectEmployee"); selectEmployee.setId(emplid); Employee e = selectEmployee.getInstance(); // Marshal the employee information into an xml string and return it JAXBContext context = JAXBContext.newInstance(Employee.class); Marshaller marshaller = context.createMarshaller(); StreamResult result = new StreamResult( new StringWriter()); marshaller.marshal(e, result); return result.getWriter().toString(); } catch (Exception e) { return e.getMessage(); } } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149858#4149858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149858 From do-not-reply at jboss.com Fri May 9 18:50:15 2008 From: do-not-reply at jboss.com (Hattori Hanzo) Date: Fri, 9 May 2008 18:50:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Basic Web Service with client Message-ID: <19994212.1210373415582.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Guys look i have this problem, im trying to run in my JBOSS 4.0.2 Application Server one Simple Web Service Project, i already build my service.xml archive like this... XFireServlet org.codehaus.xfire.transport.http.XFireConfigurableServlet 0 XFireServlet /services/* index.jsp And i create my clase and the interface of this class this way... The interface Class //Generated by MyEclipse public interface ITest_WService { public String example(String message); } The Class //Generated by MyEclipse public class Test_WServiceImpl implements ITest_WService { public String example(String message) { return message; } } And i already build a new WSDL archive... so.. now when i open my Web Service Explorer to test my wsdl archive, i send the string and the request of that petition is this... The SOAP response failed schema validation. Please switch to the source view for the SOAP response in XML format. Can some one help me pls? im using JDK 1.5.0_15 version and my Application Server is JBOSS 4.0.2 maybe i think is some problem with the versions, but maybe was the code or the XFire :( i dont know can somebody help me pls? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149873#4149873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149873 From do-not-reply at jboss.com Sat May 10 11:12:50 2008 From: do-not-reply at jboss.com (mjrother) Date: Sat, 10 May 2008 11:12:50 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Which Version Of JBossWS for JBoss AS 4.0.4.GA Message-ID: <5785273.1210432370558.JavaMail.jboss@colo-br-02.atl.jboss.com> Which version of JBossWS should I be using for an application on 4.0.4.GA ? I need the ability to generate the java artifacts from the wsdl file. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149924#4149924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149924 From do-not-reply at jboss.com Sun May 11 17:36:12 2008 From: do-not-reply at jboss.com (Milochanzy) Date: Sun, 11 May 2008 17:36:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problem using a SOAP interface on JBOSS server Message-ID: <13101425.1210541772093.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am accesing a HTTP/SOAP interface thru a application deployed on JBOSS server. All workis fine till I invoke the method for making the transaction then I am getting following error: | javax.xml.ws.WebServiceException: org.jboss.ws.WSException: Target endpoint address not set | at org.jboss.ws.core.jaxws.client.ClientImpl.handleRemoteException(ClientImpl.java:317) | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:255) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:164) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:150) | at $Proxy174.submit(Unknown Source) | I could only see one WARNING up the trace: | 2008-05-11 16:13:35,514 WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot access wsdlURL: file:/C:/Documents%20and%20Settings/cm304k/My%20Documents/R7/WFM%20IIA/GRANITEAsgnMgmt_QNI_AD_MERGE/GRANITEAsgnMgmt.wsdl | 2008-05-11 16:13:35,524 WARN [org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl] Cannot get port meta data for: {http://granite.it.att.com/asgnmgmt/v1}AsgnMgmtSoapHttpPort | I have compiled the WSDL file and put the classes in the application jar. Please Suggest. Thanks and Regards, Milan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150013#4150013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150013 From do-not-reply at jboss.com Mon May 12 00:54:21 2008 From: do-not-reply at jboss.com (smathankumar) Date: Mon, 12 May 2008 00:54:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Common User Define Exception Message-ID: <5441861.1210568061617.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have created a common User define Exception for all my WebServices. While using JBossWS2.0.3, It is working fine. I got the common Exception for all web services. While using the Latest Version JBossWS3.0.1, I am not able to get the common Exception. Here is my code. @XmlType(namespace="common.ws.nortelnetworks.com") @WebFault(name="ProvisioningException",targetNamespace="common.ws.nortelnetworks.com") public class ProvisioningException extends Exception { --- } Regards, Mathan Kumar S View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150033#4150033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150033 From do-not-reply at jboss.com Mon May 12 03:54:16 2008 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Mon, 12 May 2008 03:54:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Annotation to specify WS url Message-ID: <1702643.1210578856909.JavaMail.jboss@colo-br-02.atl.jboss.com> See: http://jbws.dyndns.org/mediawiki/index.php?title=FAQ#How_does_rewriting_of_the_soap_address_in_WSDL_work.3F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150045#4150045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150045 From do-not-reply at jboss.com Mon May 12 12:32:37 2008 From: do-not-reply at jboss.com (deadrow) Date: Mon, 12 May 2008 12:32:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Turning off eager initialization of meta data model Message-ID: <32688484.1210609957600.JavaMail.jboss@colo-br-02.atl.jboss.com> I do have teh same issue...please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150155#4150155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150155 From do-not-reply at jboss.com Mon May 12 14:19:58 2008 From: do-not-reply at jboss.com (Hattori Hanzo) Date: Mon, 12 May 2008 14:19:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - ty for nothing Message-ID: <13466438.1210616398522.JavaMail.jboss@colo-br-02.atl.jboss.com> I already find the problem was the import of some librarys :D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150171#4150171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150171 From do-not-reply at jboss.com Mon May 12 15:46:58 2008 From: do-not-reply at jboss.com (VijaySri) Date: Mon, 12 May 2008 15:46:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - ADF Oracle components are failing while deploying JSF Applic Message-ID: <28977994.1210621618915.JavaMail.jboss@colo-br-02.atl.jboss.com> Jboss Developer Studio works fine with the just JSF but not with the Oracle ADF Components. Trying to deploy ADF Oracle components on Jboss developer studio which comes with Jboss 4.2 server version fails. http://www.oracle.com/webapps/online-help/jdeveloper/10.1.3/state/content/navId.4/navSetId._/vtAnchor.CIHJFAIA/vtTopicFile.adfdevguide%7Cdeployment_topics%7Ehtm/ They are specific to JDeveloper Studio. But i am looking for Jboss Developer Studio. I am trying to follow the steps Can anybody suggest the detail steps to follows to make it work in jboss develoer studio. Want to know what jars file i have to use and what jars jboss is using by default. I keep getting exception java.lang.ClassCastException: oracle.adfinternal.view.faces.context.AdfFacesPhaseListener 14:41:02,751 ERROR [STDERR] ==my web.xml is testADF test javax.faces.STATE_SAVING_METHOD client oracle.adf.view.faces.CLIENT_STATE_MAX_TOKENS 20 oracle.adf.view.faces.USE_APPLICATION_VIEW_CACHE true oracle.adf.view.faces.DEBUG_JAVASCRIPT false oracle.adf.view.faces.CHECK_FILE_MODIFICATION false org.apache.myfaces.PRETTY_HTML true org.apache.myfaces.ALLOW_JAVASCRIPT true org.apache.myfaces.DETECT_JAVASCRIPT false org.apache.myfaces.AUTO_SCROLL false org.apache.myfaces.ADD_RESOURCE_CLASS org.apache.myfaces.renderkit.html.util.DefaultAddResource org.apache.myfaces.CHECK_EXTENSIONS_FILTER true adfFaces oracle.adf.view.faces.webapp.AdfFacesFilter myFacesExtensions org.apache.myfaces.webapp.filter.ExtensionsFilter maxFileSize 20m adfFaces faces myFacesExtensions faces myFacesExtensions /faces/myFacesExtensionResource/* org.apache.myfaces.webapp.StartupServletContextListener faces javax.faces.webapp.FacesServlet 1 resources oracle.adf.view.faces.webapp.ResourceServlet 1 ImageServlet net.sf.jasperreports.j2ee.servlets.ImageServlet faces /faces/* resources /adf/* ImageServlet /servlets/image 30 index.jsp index.jspx http://java.sun.com/jsp/jstl/core /WEB-INF/tld/c.tld http://xmlns.oracle.com/adf/faces /WEB-INF/tld/af.tld http://xmlns.oracle.com/adf/faces/html /WEB-INF/tld/afh.tld BASIC ===my - faces-config.xml oracle.adf.core en loginBean Beans.LoginBean request name java.lang.String password java.lang.String bean Beans.Bean request rangeSize 3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150181#4150181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150181 From do-not-reply at jboss.com Mon May 12 17:02:22 2008 From: do-not-reply at jboss.com (VijaySri) Date: Mon, 12 May 2008 17:02:22 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Trying to deploy ADF Oracle componet in a jsf page getting j Message-ID: <9493335.1210626142434.JavaMail.jboss@colo-br-02.atl.jboss.com> javax.servlet.ServletException: javax.faces.application.ViewHandler.initView(Ljavax/faces/context/FacesContext;)V javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196) oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause I copied all my jars in server/default/lib. I removed all the JSF jars which comes with the jboss developer studio server\default\deploy\jboss-web.deployer\jsf-libs Server is running fine but when i hit the page with the url : http://localhost:8080/test/faces/Jsp/testLogin.jspx i get exception like javax.servlet.ServletException: javax.faces.application.ViewHandler.initView(Ljavax/faces/context/FacesContext;)V javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336) oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196) oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause Please guide me this regard. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150191#4150191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150191 From do-not-reply at jboss.com Mon May 12 17:08:47 2008 From: do-not-reply at jboss.com (rnagy) Date: Mon, 12 May 2008 17:08:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - WSDL is correctly modified to use the configured https port Message-ID: <24935927.1210626527064.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, JBoss issue: When an ear file is deployed and used with the https protocol, the WSDL is not correctly modified to use the configured port numbers. Baseline setup: - JBOSS version JBOSS-4.2.2.GA - Linux 2.6.9-55.0 ELsmp - EchoService is packaged as .ear and contains JMX MBean to manage configuration - The .ear contains EchoService wsdl - The endpoint url in the wsdl is expected to be dynamically rebuilt during deployment. HTTP deployment (works as expected) Test Procedure: - Install a clean instance of JBoss - Start JBoss "out of the box" - Deploy the ear file (echows.ear) (drop the file to the directory $JBOSS_HOME/server/default/deploy/) - Verify the echo web service (EchoService) is deployed using the JMX Management Console (http://localhost:8080/jmx-console/) - Use http://localhost:8080/jbossws/services to identify the Registered Service Endpoint Address - Result: http://localhost.localdomain:8080/services/echows/EchoServiceEndpoint?wsdl - Follow link to wsdl. Result: | - | - | - | | | | - | | | - | | - | - | - | | | | | - | | - | | - | | | - | | | | | - | - | | | | | HTTPS deployment (does not work) - Install a clean instance of JBoss - Reconfigure JBoss to use SSL and port 8443 - Copy keystore to $JBOSS_HOME/server/default/conf - Edit $JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml to enable SSL connector on port 8443 and define keystore file path and password - Comment out the default 8080 connector | | | | | | - Start JBoss - Deploy the ear file (echows.ear) (drop the file to the directory $JBOSS_HOME/server/default/deploy/) - Verify the echo web service (EchoService) is deployed using the JMX Management Console (https://localhost:8443/jmx-console/) - Use https://localhost:8443/jbossws/services to identify the Registered Service Endpoint Address - Result: http://localhost.localdomain:8080/services/echows/EchoServiceEndpoint?wsdl wrong - should be https://localhost.localdomain::8443/services/echows/EchoServiceEndpoint?wsdl - Modify the link to the correct one: https://localhost.localdomain:8443/services/echows/EchoServiceEndpoint?wsdl to expected endpoint wsdl. - Result: - | - | - | | | | - | | | - | | | - | - | | | | | - | | - | | - | | | - | | | | | - | - | | | | | Note that the contains the updated https and 8443 (as expected). Note that the > contains http and 8080. Again, it had been expected that the soap address location would have been updated to https and port 8443 as was correctly done for SchemaLocation. We are asking for either an explanation of what we did incorrectly or for an indication of when this issue can be expected to be fixed. If desired, we will open a Jira item if we are led to believe this is a suspected bug. Regard, --Rich. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150192#4150192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150192 From do-not-reply at jboss.com Tue May 13 06:28:13 2008 From: do-not-reply at jboss.com (lindberger) Date: Tue, 13 May 2008 06:28:13 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Web Serivce Response Missing the XML Declaration Message-ID: <22462601.1210674493929.JavaMail.jboss@colo-br-02.atl.jboss.com> There's no need for an interceptor. I believe what is needed is for SOAPMessageImpl to heed certain system properties. I created issue JBWS-2178 for this. Regards, Per L View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150314#4150314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150314 From do-not-reply at jboss.com Tue May 13 08:06:49 2008 From: do-not-reply at jboss.com (sladicg) Date: Tue, 13 May 2008 08:06:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Unable to access EJB3 web service - java.lang.NoSuchMethodEr Message-ID: <8599384.1210680409431.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! Im using JBoss 4.2.2GA and JDK 1.5 I create simple EJB3 web service and when I try to invoke it I get exception on JBoss. This is my WS code | @Stateless | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class TestBean implements TestService | { | @WebMethod | public String echo(String input) | { | return input; | } | } | This is my client code: | URL wsdlURL = new URL("http://127.0.0.1:8080/testws/TestBean?wsdl"); | QName serviceName = new QName("http://jsr181ejb.samples.jaxws.ws.test.jboss.org/", "TestBeanService"); | | | ServiceFactoryImpl factory = new ServiceFactoryImpl(); | Service service = factory.createService(wsdlURL, serviceName); | | TestService endpoint = (TestService)service.getPort(TestService.class); | System.out.println(endpoint.echo("Hi test EJB")); | | This is exception on JBoss: | 13:50:00,338 ERROR [[TestBean]] Servlet.service() for servlet TestBean threw exception | java.lang.NoSuchMethodError: org.jboss.ejb3.stateless.StatelessBeanContext.getWebServiceContextProperty()Lorg/jboss/injection/lang/reflect/BeanProperty; | at org.jboss.wsf.container.jboss42.InvocationHandlerEJB3$CallbackImpl.attached(InvocationHandlerEJB3.java:129) | at org.jboss.ejb3.EJBContainerInvocation.setBeanContext(EJBContainerInvocation.java:77) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:56) | 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:414) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:273) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:190) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:123) | 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:595) | Does anyone have any ideas? Regards Goran View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150336#4150336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150336 From do-not-reply at jboss.com Tue May 13 10:38:41 2008 From: do-not-reply at jboss.com (abustos) Date: Tue, 13 May 2008 10:38:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Deploy Message-ID: <22648402.1210689521808.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a problem to deploy a web service on jboss, the error I get is as follows: 16:35:33772 ERROR [MainDeployer] Could not create deployment: file: / C: / apps/jboss-4.2.2.GA/server/default/deploy/Activa tionsWeb.war java.lang.IllegalStateException: Endpoint already registered: jboss.ws: context = ActivationsWeb, endpoint = ActivationsWebSoa pHttpPortat 5.5 \ common \ lib The version of Jboss is 4.02 The web service is developed with the utilities JDeveloper how can I fix this Regaders View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150400#4150400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150400 From do-not-reply at jboss.com Wed May 14 04:44:52 2008 From: do-not-reply at jboss.com (hoedic) Date: Wed, 14 May 2008 04:44:52 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: setting context root for EJB based web services Message-ID: <26492746.1210754692400.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have the same issue on Jboss 4.0.5 + EJB3 RC9 + Jbossws-native-2.0.3. I've seen multiple bugs on jboss.com about context-root with webservices but i'm not sure they all include EJB3 based WS (ex : http://jira.jboss.com/jira/browse/JBWS-1813 - works fine without EJB3 RC9 installed). Another bug (http://jira.jboss.com/jira/browse/JBAS-4852) seems to be like my problem but for a 4.2.x jboss version. Does anybody could confirm me that the only way to change the default calculated context-root in my configuration, is to set a @WebContext annotation in the ejb3 bean ? Thank's in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150634#4150634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150634 From do-not-reply at jboss.com Wed May 14 09:53:38 2008 From: do-not-reply at jboss.com (lall2) Date: Wed, 14 May 2008 09:53:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problem running WS with p a r t i a l encryption Message-ID: <30302205.1210773218210.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to implement a Web Service with partial encryption of SOAP body payload elements and their contents. Unfortunately I do not get it to work. The Web Service works smoothly with full payload encryption using the standard WS-Security configs jboss-wsse-client.xml and jboss-wsse-server.xml: jboss-wsse-client.xml: | | | | | | | | | | | | | | jboss-wsse-server.xml: | | | WEB-INF/InitialServerKeyStore.jks | 123 | WEB-INF/InitialServerTrustStore.jks | 123 | | | | | | | | | | | | The WS impl class looks as follows: | package com.spg.std.ws.security; | | import javax.jws.Oneway; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | import org.apache.commons.logging.Log; | import org.apache.commons.logging.LogFactory; | import org.jboss.ws.annotation.EndpointConfig; | | | @WebService(name = "SecurityWS", targetNamespace = "http://std.spg.com/ws/security", | serviceName = "SecurityService", wsdlLocation = "WEB-INF/wsdl/SecurityService.wsdl") | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT) | @EndpointConfig(configName = "Standard WSSecurity Endpoint") | public class SecurityWSImpl { | | @WebMethod(operationName="findProfile", action = "http://std.spg.com/ws/security/findProfile") | @WebResult(name="profile", partName="profile", targetNamespace="http://std.spg.com/ws/security/vo") | public ProfileDT findProfile(@WebParam(name = "score", partName = "score", targetNamespace="http://std.spg.com/ws/security/vo") float score) { | log.debug("findProfile() input score: "+score); | | ProfileDT profile = new ProfileDT(); | profile.getAddresses().add(new AddressDT("one1", 67678, "two1", "three1", "four1")); | profile.getAddresses().add(new AddressDT("one2", 45674, "two2", "three2", "four2")); | | ScoreDataDT scoreData = new ScoreDataDT("04568045z6983450", score, 126); | profile.setScoreData(scoreData); | | profile.setProfileid("sp0df79sg60dfg780dfg70"); | | return profile; | } | | @WebMethod(operationName="sendProfile", action = "http://std.spg.com/ws/security/sendProfile") | @Oneway | public void sendProfile(@WebParam(name = "profile", partName = "profile", targetNamespace="http://std.spg.com/ws/security/vo") ProfileDT profile, | @WebParam(name = "dateString", partName = "dateString", targetNamespace="http://std.spg.com/ws/security/vo") String dateString) { | log.debug("sendProfile() profile: "+profile); | } | | private Log log = LogFactory.getLog(getClass()); | } | The WSDL generated with the ant tag wsprovide and manually modified according to http://wiki.jboss.org/wiki/WSSecurityComplexExample, looks as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After deploying the WS and running the client by calling SecurityWSImpl.findProfile(float) returning a ProfileDT object, using the generated WS artifacts of the ant tag wsconsume, the payload is not encrypted at all: soap request message: | POST /SecurityService HTTP/1.1 | SOAPAction: "http://std.spg.com/ws/security/findProfile" | Content-Type: text/xml; charset=UTF-8 | JBoss-Remoting-Version: 22 | User-Agent: JBossRemoting - 2.2.2.SP1 (Bluto) | Host: localhost:8081 | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | Connection: keep-alive | Content-Length: 269 | | | | | | 45.78 | | | | soap response message: | HTTP/1.1 200 OK | Server: Apache-Coyote/1.1 | X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5 | Content-Type: text/xml;charset=UTF-8 | Transfer-Encoding: chunked | Date: Wed, 14 May 2008 07:25:01 GMT | | | | | | | |
| four1 | three1 | two1 | 67678 | one1 |
|
| four2 | three2 | two2 | 45674 | one2 |
|
| sp0df79sg60dfg780dfg70 | | 04568045z6983450 | 0 | 45.78 | |
|
|
|
| To find the reason, why there is no encryption, I turned on debugging of JBoss and on client side: | ... | DEBUG [XMLContent] objectValue: com.spg.std.ws.security.jaxws.FindProfile | DEBUG [SOAPContentElement] ----------------------------------- | DEBUG [EndpointInvocation] transformPayloadValue: org.jboss.ws.core.soap.SOAPBodyElementDoc -> com.spg.std.ws.security.jaxws.FindProfile | DEBUG [ParameterWrapping] unwrapRequestParameters: com.spg.std.ws.security.jaxws.FindProfile | DEBUG [SecurityWSImpl] findProfile() input score: 45.78 | DEBUG [EndpointInvocation] setReturnValue: com.spg.std.ws.security.ProfileDTDEBUG [MessageContextJAXWS] Begin response processing | DEBUG [MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 7a279c (Thread http-127.0.0.1-8080-1) | DEBUG [MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 1be91c8 (Thread http-127.0.0.1-8080-1) | DEBUG [SOAP11BindingJAXWS] bindResponseMessage: {http://std.spg.com/ws/security}findProfile | DEBUG [EndpointInvocation] getReturnValue | DEBUG [EndpointInvocation] transformPayloadValue: com.spg.std.ws.security.ProfileDT -> com.spg.std.ws.security.ProfileDT | DEBUG [ParameterWrapping] wrapResponseParameter: com.spg.std.ws.security.jaxws.FindProfileResponse | DEBUG [EndpointInvocation] setReturnValue: org.jboss.ws.core.soap.SOAPBodyElementDoc | DEBUG [HandlerDelegateJAXWS] callResponseHandlerChain: PRE | DEBUG [HandlerDelegateJAXWS] callResponseHandlerChain: ENDPOINT | DEBUG [HandlerDelegateJAXWS] callResponseHandlerChain: POST | DEBUG [HandlerChainExecutor] Enter: handleOutBoundMessage | DEBUG [WSSecurityDispatcher] WS-Security config: null | DEBUG [HandlerChainExecutor] Exit: handleOutBoundMessage with status: true | DEBUG [HandlerDelegateJAXWS] closeHandlerChain | DEBUG [HandlerChainExecutor] close | DEBUG [HandlerDelegateJAXWS] closeHandlerChain | DEBUG [HandlerChainExecutor] close | DEBUG [HandlerDelegateJAXWS] closeHandlerChain | DEBUG [HandlerChainExecutor] close | DEBUG [SOAPContentElement] ----------------------------------- | DEBUG [SOAPContentElement] Transitioning from OBJECT_VALID to XML_VALID | DEBUG [ObjectContent] getXMLFragment from Object [xmlType={http://std.spg.com/ws/security}findProfileResponse,javaType=class com.spg.std.ws.security.jaxws.FindProfileResponse] | ... | WS client debug: | ... | DEBUG [ParameterWrapping] wrapRequestParameters: com.spg.std.ws.security.FindProfile | DEBUG [EndpointInvocation] setRequestParamValue: [name={http://std.spg.com/ws/security}findProfile,value=com.spg.std.ws.security.FindProfile] | DEBUG [EndpointInvocation] getRequestParamValue: {http://std.spg.com/ws/security}findProfile | DEBUG [EndpointInvocation] transformPayloadValue: com.spg.std.ws.security.FindProfile -> com.spg.std.ws.security.FindProfile | DEBUG [WSSecurityConfigFactory] createConfiguration from: jar:file:/D:/home/simon/main/java/01102007/projekte/ws/SecurityWSProject/dist/SecurityWSClient.jar!/META-INF/jboss-wsse-client.xml | DEBUG [WSSecurityDispatcher] WS-Security config: null | DEBUG [HTTPRemotingConnection] Get locator for: [addr=http://localhost:8081/SecurityService,props={javax.xml.ws.service.endpoint.address=http://localhost:8081/SecurityService}] | DEBUG [HTTPRemotingConnection] Remoting metadata: {HEADER={SOAPAction="http://std.spg.com/ws/security/findProfile", Content-Type=text/xml; charset=UTF-8}, NoThrowOnError=true} | DEBUG [SOAPContentElement] ----------------------------------- | DEBUG [SOAPContentElement] Transitioning from OBJECT_VALID to XML_VALID | DEBUG [ObjectContent] getXMLFragment from Object [xmlType={http://std.spg.com/ws/security}findProfile,javaType=class com.spg.std.ws.security.FindProfile] | DEBUG [ObjectContent] xmlFragment: [source=45.78] | DEBUG [SOAPContentElement] ----------------------------------- | DEBUG [SOAPMessageUnMarshallerHTTP] getMimeHeaders from: {X-Powered-By=[Servlet 2.4; JBoss-4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5], ResponseCodeMessage=OK, Date=[Wed, 14 May 2008 13:07:57 GMT], Content-Type=[text/xml;charset=UTF-8], Server=[Apache-Coyote/1.1], HEADER={SOAPAction="http://std.spg.com/ws/security/findProfile", Content-Type=text/xml; charset=UTF-8}, Transfer-Encoding=[chunked], NoThrowOnError=true, ResponseCode=200} | ... | Obviously, in my opinion, the reason why there is no encryption is the debug message: DEBUG [WSSecurityDispatcher] WS-Security config: null on client as well as on client side. It looks to me that there is a problem with the customized jboss-wsse-client.xml and jboss-wsse-server.xml configured for partial encryption of the WS method ProfileDT SecurityWSImpl.findProfile(float). With this problem, these two files are being ignored which causes the plain text content of the soap messages. Is this right, and if so, what is wrong with: ? jboss-wsse-client.xml: | | | | | | | | | {http://std.spg.com/ws/security/vo}score | | | | | {http://std.spg.com/ws/security/vo}score | | | | | | {http://std.spg.com/ws/security/vo}profile | | | | | {http://std.spg.com/ws/security/vo}profile | | | | | | | | | jboss-wsse-server.xml: | | | WEB-INF/InitialServerKeyStore.jks | 123 | WEB-INF/InitialServerTrustStore.jks | 123 | | | | | | | {http://std.spg.com/ws/security/vo}profile | | | | | {http://std.spg.com/ws/security/vo}profile | | | | | | {http://std.spg.com/ws/security/vo}score | | | | | {http://std.spg.com/ws/security/vo}score | | | | | | | | | The WS Client: | SecurityService service = new SecurityService(); | sei = service.getSecurityWSPort(); | | System.setProperty("org.jboss.ws.wsse.keyStore", "SecurityWS/client/InitialClientKeyStore.jks"); | System.setProperty("org.jboss.ws.wsse.trustStore", "SecurityWS/client/InitialClientTrustStore.jks"); | System.setProperty("org.jboss.ws.wsse.keyStorePassword", "123"); | System.setProperty("org.jboss.ws.wsse.trustStorePassword", "123"); | System.setProperty("org.jboss.ws.wsse.keyStoreType", "jks"); | System.setProperty("org.jboss.ws.wsse.trustStoreType", "jks"); | | ((StubExt)sei).setConfigName("Standard WSSecurity Client"); | | ProfileDT profile = sei.findProfile(45.78f); | log.debug(profile+" received"); | I read http://wiki.jboss.org/wiki/WSSecurityComplexExample which says that elements must have a form="qualified" attribute, to make it possible to find the payload parts to be encrypted within the WSDL. Since there is no possibility (?) to let wsprovide include these form="qualified" attributes into the WSDL, I first included the elementFormDefault="qualified" manually in: | ... | | ... | with the idea to enable the form="qualified" globally for all WSDL elements instead of adding form="qualified" to each single element. This was not successful. After that, I tried the form="qualified" variation, also with no luck. So now I am suffering a shortage of ideas, what could be wrong. After a little bit of source code investigation of the WS-Security and the Xerces XML parsing implementation, I am sure the partial payload encryption is supported. Can someone, who already managed to get partial payload encryption working, please provide some help or hints? If there is additional info you need to analyze this problem, do not hesitate to ask. Thanks in advance, Andy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150748#4150748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150748 From do-not-reply at jboss.com Wed May 14 10:26:17 2008 From: do-not-reply at jboss.com (lall2) Date: Wed, 14 May 2008 10:26:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem running WS with p a r t i a l encryption Message-ID: <32584190.1210775177725.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss 4.2.2 with JBossWS 3.0.1/2.0.4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150768#4150768 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150768 From do-not-reply at jboss.com Wed May 14 11:44:32 2008 From: do-not-reply at jboss.com (gryffin) Date: Wed, 14 May 2008 11:44:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JBossWs 3.0.1 client IllegalAnnotationsException Message-ID: <29008382.1210779872590.JavaMail.jboss@colo-br-02.atl.jboss.com> I used the wsconsume ant task to build a client for a simple web service designed to return the current time as a string. I built the service as an EJB3 with an endpoint, and it published fine on JBoss 4.2.2. The client built by jbossws however throws a fit before calling the service. Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions Two classes have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them. Looking at the code, there is not XML 'type name' of 'address'. I think that the JBossWS stack is a little unclear in describing the problem. I had this issue before, unsolved, and I have all of the JBoss endorsed libraries included in the classpath. Can someone tell me what field needs to be annotated please? full error: | run-ts-client: | [echo] Running timeservice client: C:\Documents and Settings\tx714c\My Documents\workspace\EJB3 | fun\gen\TimeServiceClient.jar | [java] Exception in thread "main" javax.xml.ws.WebServiceException: Unable to load Provider: Fa | iled to load javax.xml.ws.spi.Provider: com.sun.xml.ws.spi.ProviderImpl | [java] at javax.xml.ws.spi.Provider.provider(Provider.java:90) | [java] at javax.xml.ws.Service.(Service.java:81) | [java] at com.boeing.nmt.client.timeservice.TimeService.(TimeService.java:42) | [java] at com.boeing.nmt.client.timeservice.TimeServiceClient.main(TimeServiceClient.java:1 | 1) | [java] Caused by: java.lang.IllegalStateException: Failed to load javax.xml.ws.spi.Provider: co | m.sun.xml.ws.spi.ProviderImpl | [java] at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:96) | [java] at javax.xml.ws.spi.Provider.provider(Provider.java:82) | [java] ... 3 more | [java] Caused by: java.lang.ExceptionInInitializerError | [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | [java] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorIm | pl.java:39) | [java] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAc | cessorImpl.java:27) | [java] at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | [java] at java.lang.Class.newInstance0(Class.java:350) | [java] at java.lang.Class.newInstance(Class.java:303) | [java] at javax.xml.ws.spi.ProviderLoader.loadProvider(ProviderLoader.java:91) | [java] ... 4 more | [java] Caused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointR | eference. | [java] at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188) | [java] at com.sun.xml.ws.spi.ProviderImpl.(ProviderImpl.java:65) | [java] ... 11 more | [java] Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalA | nnotationExceptions | [java] Two classes have the same XML type name "address". Use @XmlType.name and @XmlType.namesp | ace to assign different names to them. | [java] this problem is related to the following location: | [java] at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address | [java] at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address | com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr | [java] at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | [java] this problem is related to the following location: | [java] at javax.xml.ws.wsaddressing.W3CEndpointReference$Address | [java] at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml. | ws.wsaddressing.W3CEndpointReference.address | [java] at javax.xml.ws.wsaddressing.W3CEndpointReference | [java] Two classes have the same XML type name "elements". Use @XmlType.name and @XmlType.names | pace to assign different names to them. | [java] this problem is related to the following location: | [java] at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements | [java] at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Element | s com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties | [java] at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | [java] this problem is related to the following location: | [java] at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements | [java] at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml | .ws.wsaddressing.W3CEndpointReference.referenceParameters | [java] at javax.xml.ws.wsaddressing.W3CEndpointReference | [java] | [java] at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnno | tationsException.java:102) | [java] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:4 | 38) | [java] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:286) | [java] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139) | [java] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java | :25) | [java] at java.lang.reflect.Method.invoke(Method.java:585) | [java] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:211) | [java] at javax.xml.bind.ContextFinder.find(ContextFinder.java:372) | [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) | [java] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522) | [java] at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:186) | [java] ... 12 more | [java] Java Result: 1 | service class | | package com.boeing.nmt.client.timeservice; | | 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 = "TimeService", | targetNamespace = "http://www.boeing.com/nmt/ejb3/TimeService", | wsdlLocation = "http://127.0.0.1:8080/TimeService?wsdl") | public class TimeService | extends Service | { | | private final static URL TIMESERVICE_WSDL_LOCATION; | | static { | URL url = null; | try { | url = new URL("http://127.0.0.1:8080/TimeService?wsdl"); | } catch (MalformedURLException e) { | e.printStackTrace(); | } | TIMESERVICE_WSDL_LOCATION = url; | } | | public TimeService(URL wsdlLocation, QName serviceName) { | super(wsdlLocation, serviceName); | } | | public TimeService() { | super(TIMESERVICE_WSDL_LOCATION, new QName("http://www.boeing.com/nmt/ejb3/TimeService", "TimeService")); | } | | /** | * | * @return | * returns TimeServiceEndpoint | */ | @WebEndpoint(name = "TimeAgentPortBindingNamePort") | public TimeServiceEndpoint getTimeAgentPortBindingNamePort() { | return (TimeServiceEndpoint)super.getPort(new QName("http://www.boeing.com/nmt/ejb3/TimeService", "TimeAgentPortBindingNamePort"), TimeServiceEndpoint.class); | } | | } | endpoint | | package com.boeing.nmt.client.timeservice; | | import javax.jws.WebMethod; | 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 = "TimeServiceEndpoint", targetNamespace = "http://foo") | @SOAPBinding(style = SOAPBinding.Style.RPC) | public interface TimeServiceEndpoint { | | | /** | * | * @return | * returns java.lang.String | */ | @WebMethod | @WebResult(partName = "return") | public String getTime(); | | } | wsdl: | | | | | | | imported wsdl: | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150797#4150797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150797 From do-not-reply at jboss.com Wed May 14 13:57:45 2008 From: do-not-reply at jboss.com (JohnEChesher) Date: Wed, 14 May 2008 13:57:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Certain WS request syntax not supported in AS 4.2.x Message-ID: <32467794.1210787865127.JavaMail.jboss@colo-br-02.atl.jboss.com> I am running 4.2.1 and have web services deployed that I can access fine myself. However, when a partnering company developed a client to talk to them, we ran into a problem. Their PHP 5.2.5 Soap Client generates a very slightly different request syntax that is accepted by JBoss and control is passed to the endpoint method, however the arguments passed to the method have been nulled out at that point. Has anyone seen anything like this and have ideas on how to get around it? BTW, I am currently installing 4.2.2, to see if that resolves the issue, as we are kinda wondering if this isn't possible a bug in 4.2.1 that it doesn't understand how to parse this very similat syntax (see below). Here is the request that fails: | | | | argument | | | And the one that works fine: | | | | argument | | | Note that the only difference is the location of the xmlns attribute, which in the "bad" request is on the element defining the method name and in the "good" request is one the Envelope element. Appreciate any help you can provide. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150842#4150842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150842 From do-not-reply at jboss.com Wed May 14 17:58:01 2008 From: do-not-reply at jboss.com (edvedafi) Date: Wed, 14 May 2008 17:58:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Is a Statefull Webservice Possible? Message-ID: <13384438.1210802281348.JavaMail.jboss@colo-br-02.atl.jboss.com> We are attempting to build a statefull webservice. So far it has not going well. I have found quite a few posts that point to http://labs.jboss.com/portal/jbossws/user-guide/en/html/wsaddressing.html, which has nothing but some downloads. After downloading jbossws-src-2.0.0.GA, I have still not been able to figure out what is wrong. I have copied all of the java & xml files from the \src\test\java\org\jboss\test\ws\jaxws\samples\wsaddressing directory in to a project, and attempted to deploy it. However Jboss will not deploy the wsdl unless I add an @Stateless annotation, which kind of defeats the purpose. I have found examples that we have successfully run on Glassfish, but we currently run JBoss in production and I would rather not have to learn a whole new app server just to be able to do stateful webservices. Any advice that can given would be greatly appreciated. Thanks, Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150893#4150893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150893 From do-not-reply at jboss.com Thu May 15 07:28:03 2008 From: do-not-reply at jboss.com (sivananthamrg) Date: Thu, 15 May 2008 07:28:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How to get Senders Information Message-ID: <2060831.1210850883783.JavaMail.jboss@colo-br-02.atl.jboss.com> I am working on to rerieve the below details in my custom action class in my ESB service. 1. Details of the destination - Service to which the request to be routed. 2. Details of the sender ( service requestor URL;functionality similar to the result of getRemoteHost() method of ServletRequest API) I browsed through the Call / EPR / PortReference API, but i didnt find methods that suits my requirement. I am new to JBoSS so dont have much clue on this. I appreciate your help in this regard, Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151007#4151007 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151007 From do-not-reply at jboss.com Thu May 15 07:36:27 2008 From: do-not-reply at jboss.com (sivananthamrg) Date: Thu, 15 May 2008 07:36:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How to get Senders & Destination Details in Custom Action Cl Message-ID: <15489996.1210851387341.JavaMail.jboss@colo-br-02.atl.jboss.com> I am working on to retrieve the below details in my custom action class in my ESB service. 1. Details of the destination - Service to which the request to be routed. 2. Details of the sender ( service requestor URL;functionality similar to the result of getRemoteHost() method of ServletRequest API) I browsed through the Call / EPR / PortReference API, but i didnt find methods that suits my requirement. I am new to JBoSS so dont have much clue on this. I appreciate your help in this regard, Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151011#4151011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151011 From do-not-reply at jboss.com Thu May 15 08:43:09 2008 From: do-not-reply at jboss.com (henriksen007) Date: Thu, 15 May 2008 08:43:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Webservice security headers removed by LogRecorder Message-ID: <69425.1210855389318.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all I am trying to use the Webservice Records management system to log all Webservice messages both innbound and outbound. I am using Jbooss 4.2.2 and upgraded jbossws to 2.0.3 The user information is in the security header and this is removed from the SOAP message when it is written to the log file. I have tried to put the Recording Handler in front of the WSSecurity Handler in the handler chain but the security headers are still removed. Is this the intended behaviour or am I doing something wrong? The MemoryBufferRecorder also strips the security headers. Any help on this issue would be greatly apreciated. Best regards Esben Henriksen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151040#4151040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151040 From do-not-reply at jboss.com Thu May 15 10:56:49 2008 From: do-not-reply at jboss.com (sbbc) Date: Thu, 15 May 2008 10:56:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Failed to deploy JBossWS 3.0.2 from SVN source Message-ID: <703346.1210863409048.JavaMail.jboss@colo-br-02.atl.jboss.com> I was trying to get the latest JBossWS 3.0.2 from SVN and build/deploy it to JBoss AS 4.2.2. I need the latest JBossWS 3.0.2 because of a security related bug fix. I'm getting the following error: C:\dev\jboss\jbossws-latest\jbossws-native>ant deploy-jboss422 ... BUILD FAILED C:\dev\jboss\jbossws-latest\jbossws-native\src\main\distro\build-deploy.xml:22: The following error occurred while executing this line: C:\dev\jboss\jbossws-latest\jbossws-native\src\main\distro\jbossws-deploy-macros.xml:388: The following error occurred while executing this line: C:\dev\jboss\jbossws-latest\jbossws-native\src\main\distro\jbossws-deploy-macros.xml:192: C:\dev\jboss\jbossws-latest\jbossws-native\target\deploy-artifacts\lib not found. Any clue? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151120#4151120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151120 From do-not-reply at jboss.com Thu May 15 11:37:11 2008 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Thu, 15 May 2008 11:37:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Failed to deploy JBossWS 3.0.2 from SVN source Message-ID: <30291307.1210865831733.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I highly suggest you to download 3.0.1 sources instead and backport the fix there for you. Current 3.0.2 trunk isn't stable enough and there's mavenization process in progress at the moment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151136#4151136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151136 From do-not-reply at jboss.com Fri May 16 05:28:35 2008 From: do-not-reply at jboss.com (abhay_ps) Date: Fri, 16 May 2008 05:28:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to log entire incoming and outgoing message? Message-ID: <18606013.1210930115863.JavaMail.jboss@colo-br-02.atl.jboss.com> I have enabled following in jboss-log4j to log incoming request/response at server side