From do-not-reply at jboss.com Sun Apr 1 21:58:48 2007 From: do-not-reply at jboss.com (michea) Date: Sun, 1 Apr 2007 21:58:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Cannot get port meta data Message-ID: <2501455.1175479128284.JavaMail.jboss@colo-br-02.atl.jboss.com> On jboss4.0.5+ws1.2SP1 I try to consume a webservice were artifacts and Service comes from a local wsdl packed in the war (I use wsconsume). Well try to obtain the port I get | javax.xml.ws.WebServiceException: Cannot get port meta data for: {http://service.workflow.mvno.manaty.org/}ConsoServiceCRMBeanPort | at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:143) | Any idea ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033569#4033569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033569 From do-not-reply at jboss.com Mon Apr 2 04:07:28 2007 From: do-not-reply at jboss.com (magnus.ahlander) Date: Mon, 2 Apr 2007 04:07:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Activating xjc plugin Message-ID: <28625254.1175501248476.JavaMail.jboss@colo-br-02.atl.jboss.com> What is the suggested way for activating an xjc plugin when generating bean artifacts though wsconsume? Specifically I would like to use the commons-lang-plugin which generates equals(), hashcode() and toString() methods. Looking at https://jaxb2-commons.dev.java.net/commons-lang-plugin/ I understand that I need to : i) include a jar in the classpath ii) pass the argument 'Xcommons-lang' to the xjc task. How can I achieve the latter using wsconsume? Regards, Magnus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033597#4033597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033597 From do-not-reply at jboss.com Mon Apr 2 04:08:16 2007 From: do-not-reply at jboss.com (michea) Date: Mon, 2 Apr 2007 04:08:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot get port meta data Message-ID: <29780148.1175501296790.JavaMail.jboss@colo-br-02.atl.jboss.com> solved: the wsdllocation was null View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033598#4033598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033598 From do-not-reply at jboss.com Mon Apr 2 09:06:01 2007 From: do-not-reply at jboss.com (nicolemans72) Date: Mon, 2 Apr 2007 09:06:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Mapping problem Message-ID: <33500359.1175519161347.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a problem with my web service client : | try { | //urn:bsa.ws.test | ServiceFactory factory = ServiceFactory.newInstance(); | URL wsdlLocation = new URL("http://localhost:8080/DmexWs" + "?wsdl"); | QName serviceName = new QName("urn:bsa.ws.test", "DmexWs"); | Service service = (Service)factory.createService(wsdlLocation, serviceName); | Call call = service.createCall(); | | QName operationName = new QName("urn:bsa.ws.test", "getDmex"); | call.setOperationName(operationName); | | Integer id = new Integer(274); | Object retObj = call.invoke(new Object[]{id}); | | System.out.println(retObj); | } catch (Exception e) { | e.printStackTrace(); | } | The return type is "Dmex" and when I run my client I have this error: | org.jboss.ws.WSException: Cannot obtain java type mapping for: {urn:bsa.ws.test.types}Dmex | I generated the jaxrpc-mapping.xml but it seems that my client doesn't use it. What could I do for this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033677#4033677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033677 From do-not-reply at jboss.com Mon Apr 2 10:00:12 2007 From: do-not-reply at jboss.com (nicolemans72) Date: Mon, 2 Apr 2007 10:00:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JbossWs and hibernate Message-ID: <27558790.1175522412812.JavaMail.jboss@colo-br-02.atl.jboss.com> I have another problem. My webservice is a methode that takes an object of type "Dmex" in the mysql data base (with Hibernate). | public class DmexWs implements IDmexWs { | | SessionFactory sessionFactory = new Configuration().configure ().buildSessionFactory(); | | public String getDmex(int id) throws RemoteException { | CommonManager cm = HibernateEnviron.getCommonManager(); | | Dmex dmex = (Dmex)cm.findOneId(Dmex.class, 792); | | return dmex.getDescription(); | | } | | } | And when I run the client, I have this error: | java.rmi.RemoteException: Call invocation failed with code [Client] because of: JDBC Driver class not found: com.mysql.jdbc.Driver; nested exception is: | Must I put the mysqlConnector jar with my class DmexWs in the .war deployed on the server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033697#4033697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033697 From do-not-reply at jboss.com Mon Apr 2 12:48:18 2007 From: do-not-reply at jboss.com (danielmesser) Date: Mon, 2 Apr 2007 12:48:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - how to run the jbossws samples? Message-ID: <13460204.1175532498419.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am running JBoss-4.0.5.GA on linux Suse 10.0. I installed jbossws-1.2.0-SP1 using the instructions in the user guide. To build the samples I dis the following: - unziped the jbossws-samples-1.2.0.SP1.zip file - cd jbossws-samples-1.2.0.SP1 - cp ant.properties.example ant.properties - in the ant.properties file: - set jboss40.home - set jbossws.integration.target=jboss40 I then ran ant. It got most of the third party libraries but failed to compile because the junit library was missing. I downloaded junit4.1 and installed it in the thirdparty directory. I was then able to build the samples. Now, my general question is: what do I do to run the tests? I am most interested in running the jaxws/webresult sample. I tried to run: - ant tests but I don't see any web services deployed in my $JBOSS_HOME/server/default/deploy directory and I don't see any services in http://localhost:8080/jbossws/services I also get the following exceptions: tests-main: [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/reports [junit] Running org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialServiceDocBareTestCase [junit] java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console [junit] at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:97) [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) [junit] at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) [junit] at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:585) [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) [junit] at sun.reflect.GeneratedMethodAccessor1188.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:585) [junit] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) [junit] at sun.rmi.transport.Transport$1.run(Transport.java:153) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at sun.rmi.transport.Transport.serviceCall(Transport.java:149) [junit] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) [junit] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) [junit] at java.lang.Thread.run(Thread.java:595) [junit] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) [junit] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) [junit] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133) [junit] at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365) [junit] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197) [junit] at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66) [junit] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) [junit] at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74) [junit] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) [junit] at $Proxy0.invoke(Unknown Source) [junit] at org.jboss.test.ws.TestDeployerJBoss.deploy(TestDeployerJBoss.java:48) [junit] at org.jboss.test.ws.JBossWSTestHelper.deploy(JBossWSTestHelper.java:55) [junit] at org.jboss.test.ws.JBossWSTestSetup.setUp(JBossWSTestSetup.java:90) [junit] at junit.extensions.TestSetup$1.protect(TestSetup.java:22) [junit] at junit.framework.TestResult.runProtected(TestResult.java:128) [junit] at junit.extensions.TestSetup.run(TestSetup.java:27) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766) [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.921 sec [junit] Test org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialServiceDocBareTestCase FAILED [junit] Running org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialServiceDocWrappedTestCase [junit] java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console [junit] at org.jboss.jmx.connector.invoker.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:97) [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) [junit] at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179) [junit] at sun.reflect.GeneratedMethodAccessor1189.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:585) [junit] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) [junit] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) [junit] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) [junit] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:819) [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:420) [junit] at sun.reflect.GeneratedMethodAccessor1188.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at java.lang.reflect.Method.invoke(Method.java:585) [junit] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) [junit] at sun.rmi.transport.Transport$1.run(Transport.java:153) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at sun.rmi.transport.Transport.serviceCall(Transport.java:149) [junit] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) [junit] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) [junit] at java.lang.Thread.run(Thread.java:595) [junit] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) [junit] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) [junit] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) [junit] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:133) [junit] at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365) [junit] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197) [junit] at org.jboss.jmx.connector.invoker.client.InvokerAdaptorClientInterceptor.invoke(InvokerAdaptorClientInterceptor.java:66) [junit] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) [junit] at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74) [junit] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) [junit] at $Proxy0.invoke(Unknown Source) [junit] at org.jboss.test.ws.TestDeployerJBoss.deploy(TestDeployerJBoss.java:48) [junit] at org.jboss.test.ws.JBossWSTestHelper.deploy(JBossWSTestHelper.java:55) [junit] at org.jboss.test.ws.JBossWSTestSetup.setUp(JBossWSTestSetup.java:90) [junit] at junit.extensions.TestSetup$1.protect(TestSetup.java:22) [junit] at junit.framework.TestResult.runProtected(TestResult.java:128) [junit] at junit.extensions.TestSetup.run(TestSetup.java:27) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766) [junit] Tests run: 0, Failures: 0, Errors: 1, Time elapsed: 0.688 sec [junit] Test org.jboss.test.ws.jaxrpc.samples.docstyle.wrapped.TrivialServiceDocWrappedTestCase FAILED Just FYI, here is the output of the build process: Buildfile: build.xml prepare: [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/log [touch] Creating /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/log/test.log [echo] [echo] ----------------------------------------------- [echo] jboss.home = /opt/jboss/jboss-4.0.5.GA [echo] tomcat.home = /usr/java/tomcat [echo] java.home = /usr/java/jdk1.5.0_11/jre [echo] endorsed = /opt/jboss/jboss-4.0.5.GA/lib/endorsed [echo] excludesfile = tests-jboss40-excludes.txt [echo] ----------------------------------------------- thirdparty-get: thirdparty-classpath: thirdparty: common-classpath: jboss-classpath: tomcat-classpath: init: wsconsume: compile14: compile15: [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/classes [javac] Compiling 230 source files to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/classes [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. compile: copy-resources: [copy] Copying 1 file to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/classes [copy] Copying 1 file to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/classes [copy] Copying 169 files to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/resources [copy] Copying 28 files to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/resources [copy] Copied 24 empty directories to 11 empty directories under /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/resources servicegen: [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs [zip] Building zip: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-wsbpel-hello-process.zip [copy] Copying 1 file to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs [servicegen] Apr 2, 2007 11:44:44 AM org.jbpm.JbpmConfiguration getInstance [servicegen] INFO: using jbpm configuration resource 'jbpm.cfg.xml' [servicegen] Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor [servicegen] Apr 2, 2007 11:44:46 AM org.jbpm.bpel.xml.BpelReader readWsdlDocument [servicegen] INFO: read wsdl definitions: hello.wsdl [servicegen] Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor [servicegen] Apr 2, 2007 11:44:47 AM org.jbpm.bpel.xml.BpelReader read [servicegen] INFO: read bpel process: hello.bpel [servicegen] Apr 2, 2007 11:44:47 AM org.jbpm.bpel.wsdl.util.ServiceGenerator writeImportedDefinition [servicegen] INFO: wrote interface definition: locationURI=hello.wsdl, basePath=/home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/wsdl [servicegen] Apr 2, 2007 11:44:47 AM org.jbpm.bpel.wsdl.util.ServiceGenerator generatePortComponents [servicegen] INFO: wrote binding definition: hello-binding-1.wsdl [servicegen] Apr 2, 2007 11:44:47 AM org.jbpm.bpel.wsdl.util.ServiceGenerator generatePortComponents [servicegen] INFO: wrote service definition: hello-service.wsdl wstools: [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/wstools/java [move] Moving 2 files to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/wstools/java [copy] Copying 51 files to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/resources [copy] Copying 10 files to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/resources/jaxrpc/samples [copy] Copied 18 empty directories to 1 empty directory under /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/resources/jaxrpc/samples wsprovide: generate-resources: [javac] Compiling 2 source files to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/classes main: build-samples-jaxrpc: [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-docstyle-bare.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-docstyle-bare-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-docstyle-wrapped.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-docstyle-wrapped-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-dynamichandler.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-dynamichandler-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-exception.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-exception-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-handler.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-handler-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-holder.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-holder-client.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jmstransport.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jmstransport.sar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109ejb-rpc.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109ejb-rpc-client.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109ejb-doc.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109ejb-doc-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109pojo-rpc.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109pojo-rpc-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109pojo-doc.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-jsr109pojo-doc-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-message.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-message-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-mtom.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-mtom-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-oneway.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-oneway-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-rpcstyle.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-rpcstyle-client.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-secureejb.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-secureejb-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-swa.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-swa-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-store-pass-encrypt.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-store-pass-encrypt-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-wsbpel-hello.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-wsbpel-hello-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-wssecurity-sign.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-wssecurity-sign-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-wssecurity-encrypt.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxrpc-samples-wssecurity-encrypt-client.jar build-samples-jaxws: [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-asynchronous.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-context.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-context.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-context-jboss4x.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-exception.war [copy] Copying 1 file to /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/classes/org/jboss/test/ws/jaxws/samples/handlerchain [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-handlerchain.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-handlerchain-client.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-jsr181ejb.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-jsr181pojo.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-jsr181pojo-docwrapped.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-jsr181pojo-docwrapped-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-logicalhandler-source.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-logicalhandler-jaxb.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-oneway.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-provider-jaxb.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-provider-message.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-provider-payload.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-retail.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-retail-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-soapbinding.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webmethod.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webparam.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webresult.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webservice01-jse.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webservice02-jse.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webservice03-jse.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webservice01-ejb3.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webservice02-ejb3.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webservice03-ejb3.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref-servlet-client.war [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref-ejb3-client.jar [jar] Warning: skipping jar archive /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref-secure.jar because no files were included. [jar] Building MANIFEST-only jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref-secure.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref-secure-client.jar [jar] Building jar: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-webserviceref-override-client.jar [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-wsaddressing.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-wseventing.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-wssecurity-encrypt.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-wssecurity-sign.war [war] Building war: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/libs/jaxws-samples-xop-doclit.war BUILD SUCCESSFUL Total time: 21 seconds Thanks, Daniel Messer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033759#4033759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033759 From do-not-reply at jboss.com Mon Apr 2 16:49:13 2007 From: do-not-reply at jboss.com (grego122) Date: Mon, 2 Apr 2007 16:49:13 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - XJC error: PhotoMessage.xsd ' 'is not a part of this compil Message-ID: <4566065.1175546953278.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm getting a 'nota part of this compilation' error using JBossWS 1.2 and Jaxb2.0 environment libraries. This works fine if I use the jaxb-ri-20070125 libraries. If I compile w/o a bindings file, it works and I'm thinking I'm having a problem with my schemaLocation in the bindings file. Here's a simplified view of my bindings file. I'd be grateful for any suggestions. Do you know if I could just ust the jaxb-ri-20070125 libaries with JBossWS 1.2? -------------------------------------------------------------------------------------- View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033825#4033825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033825 From do-not-reply at jboss.com Mon Apr 2 18:39:45 2007 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 2 Apr 2007 18:39:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Pooling pojos Message-ID: <12573955.1175553585346.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess I really didn't mean pooling, but rather what is done with servlets, with only one being instantiated. Of course, you would also want to provide for init() and destroy() methods, just like servlets have, though probably identified via annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033857#4033857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033857 From do-not-reply at jboss.com Mon Apr 2 18:57:31 2007 From: do-not-reply at jboss.com (noclueu2) Date: Mon, 2 Apr 2007 18:57:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Unable to create a WSClient that uses jboss-wsse-client.xml Message-ID: <19076452.1175554651596.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello All, I am trying to do a simple WS that requires a user/password and has encryption. I have the user/password working and the server (i think) is doing encryption but I cannot get my client to use the jboss-wsse-client.xml file. Here is all my code, step by step. SERVER: jboss-wsse-server.xml | | | | META-INF/wsse.keystore | jbossws | META-INF/wsse.truststore | jbossws | | | | | | | | ServerHandler.xml | | | | | SecureHandlerChain | | WSSecurityHandlerInbound | org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer | | | | Server Source: TestMagicRemoteInterface.java | import javax.ejb.Local; | import javax.ejb.Remote; | | @Local | @Remote | public interface TestMagicRemoteInterface { | String pullFromHat(String input); | } | TestMagicBean.java | import javax.annotation.PostConstruct; | import javax.annotation.security.RolesAllowed; | import javax.ejb.Local; | import javax.ejb.Remote; | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebResult; | import javax.jws.WebService; | import javax.jws.HandlerChain; | import javax.jws.soap.SOAPBinding; | | import org.jboss.annotation.ejb.RemoteBinding; | import org.jboss.annotation.security.SecurityDomain; | import org.jboss.ws.annotation.WebContext; | | @WebService(name = "EndpointInterface", | targetNamespace = "http://com.test.www/test/jsr181ejb", | serviceName = "MagicService") | @SOAPBinding(style = SOAPBinding.Style.RPC) | @Local(TestMagicRemoteInterface.class) | @Remote(TestMagicRemoteInterface.class) | @RolesAllowed("internal") | @Stateless | @RemoteBinding(jndiBinding = "/ejb3/TestMagician") | @WebContext(authMethod="BASIC", transportGuarantee="NONE", secureWSDLAccess=false) | @SecurityDomain(value="JBossWS") | @HandlerChain(file="resource://config/ServerHandler.xml", name="SecureHandlerChain") | public class TestMagicBean implements TestMagicRemoteInterface { | | @WebMethod(operationName="PullFromHat") | @WebResult(name = "hat") | public String pullFromHat(String input) { | return "White Rabbit--"+input; | } | } | build.xml | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Everything above builds and deploys and expects the client to use wsse:Security Client Code: jboss-wsse-client.jar | | | | c:/work/workspace/TestWebServicesClient/keystore/wsse.keystore | jbossws | c:/work/workspace/TestWebServicesClient/keystore/wsse.truststore | jbossws | | | | | | | | wstools-config.xml | | | | | | | | ClientTest.java | import java.net.URL; | import java.util.Map; | | import javax.xml.namespace.QName; | import javax.xml.ws.BindingProvider; | | import com.client.MagicService; | import com.client.EndpointInterface; | | public class ClientTest { | | public static void main(String[] args) { | System.setProperty("org.jboss.wsse.keyStore", "c:/work/workspace/TestWebServicesClient/keystore/wsse.keystore"); | System.setProperty("org.jboss.wsse.keyStorePassword", "jbossws"); | System.setProperty("org.jboss.wsse.keyStoreType", "x509v3"); | System.setProperty("org.jboss.wsse.trustStore", "c:/work/workspace/TestWebServicesClient/keystore/wsse.truststore"); | System.setProperty("org.jboss.wsse.trustStorePassword", "jbossws"); | System.setProperty("org.jboss.wsse.trustStoreType", "x509v3"); | | | try { | System.out.println("Hello World, I'm about to do magic"); | MagicService service = new MagicService(); | EndpointInterface port = service.getEndpointInterfacePort(); | BindingProvider bindingProvider = (BindingProvider) port; | Map reqContext = bindingProvider.getRequestContext(); | reqContext.put(BindingProvider.USERNAME_PROPERTY, "myuser"); | reqContext.put(BindingProvider.PASSWORD_PROPERTY, "mypassword"); | | System.out.println(port.pullFromHat("Java Client Test")); | | } catch (Exception e) { | e.printStackTrace(); | } | | } | | } | build.xml | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jar File structure: | META-INF | jboss-wsse-client.xml | Manifest.mf | ClientTest.class | com | client | MagicService.class | EndpointInterface.class | My above code works if I do not include the jboss-wsse-server.xml but once I add it, the client fails. I do know that I had to add the HandlerChain to the server class for things to work, is there something similar that I have to do to the client? Thanks, Richard K View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033861#4033861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033861 From do-not-reply at jboss.com Mon Apr 2 21:50:18 2007 From: do-not-reply at jboss.com (arekatla@gmail.com) Date: Mon, 2 Apr 2007 21:50:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - WS Clinet working as a standalone but not when I deployed on Message-ID: <31536834.1175565018733.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I've written a SOAP client using AXIS, Its working as a standalone but not when I deployed on JBOSS APP server. I'm getting the following error. can anyone help me out to fix this? ERROR [org.jboss.ws.binding.soap.SOAPMessageUnMarshaller] Cannot unmarshall SOAPMessage javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1 at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:206) at org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:76) at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175) at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81) at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) at org.jboss.remoting.Client.invoke(Client.java:525) at org.jboss.remoting.Client.invoke(Client.java:488) at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:189) at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:99) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 2007-04-02 21:11:06,140 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Error invoking http client invoker. java.io.IOException: javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1 at org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:82) at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175) at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81) at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) at org.jboss.remoting.Client.invoke(Client.java:525) at org.jboss.remoting.Client.invoke(Client.java:488) at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:189) at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:99) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 2007-04-02 21:11:06,140 INFO [STDOUT] javax.xml.soap.SOAPException: Could not transmit message 2007-04-02 21:11:06,156 ERROR [STDERR] javax.xml.soap.SOAPException: Could not transmit message 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:204) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:99) 2007-04-02 21:11:06,156 ERROR [STDERR] at com.dnb.linkage.testharness.action.LinkageReport.getReport(LinkageReport.java:42) 2007-04-02 21:11:06,156 ERROR [STDERR] at com.dnb.linkage.testharness.action.WSLinkageAction.execute(WSLinkageAction.java:28) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) 2007-04-02 21:11:06,156 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 2007-04-02 21:11:06,156 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 2007-04-02 21:11:06,156 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) 2007-04-02 21:11:06,156 ERROR [STDERR] Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker. 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:81) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:525) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:488) 2007-04-02 21:11:06,156 ERROR [STDERR] at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:189) 2007-04-02 21:11:06,156 ERROR [STDERR] ... 28 more 2007-04-02 21:11:06,156 ERROR [STDERR] Caused by: java.io.IOException: javax.xml.soap.SOAPException: Unsupported content type: text/html; charset=ISO-8859-1 2007-04-02 21:11:06,171 ERROR [STDERR] at org.jboss.ws.binding.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:82) 2007-04-02 21:11:06,171 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175) 2007-04-02 21:11:06,171 ERROR [STDERR] ... 33 more 2007-04-02 21:41:18,343 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033872#4033872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033872 From do-not-reply at jboss.com Tue Apr 3 05:41:06 2007 From: do-not-reply at jboss.com (magnus.ahlander) Date: Tue, 3 Apr 2007 05:41:06 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Name of generated exception class Message-ID: <5472726.1175593266897.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply. It seems like in the wsconsume task, the package name specified in the 'package' attribute takes precedence over any custom jaxws or jaxb bindings. Wouldn't it be more appropriate to initially apply any custom bindings and then fall back to the value of the 'package' attribute only if no appropriate bindings are available? Lp, Magnus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033936#4033936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033936 From do-not-reply at jboss.com Tue Apr 3 05:47:04 2007 From: do-not-reply at jboss.com (xiaozhang51) Date: Tue, 3 Apr 2007 05:47:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Deploying JDeveloper/Oracle webservices on JBossWS Message-ID: <12048973.1175593624532.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same problem.help me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033939#4033939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033939 From do-not-reply at jboss.com Tue Apr 3 06:04:46 2007 From: do-not-reply at jboss.com (valjjou) Date: Tue, 3 Apr 2007 06:04:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Cannot obtain java type mapping for String.Array Message-ID: <8823136.1175594686995.JavaMail.jboss@colo-br-02.atl.jboss.com> I have my WS and my client, JBOSS 4.0.5, ws1.2.0. With simple type like int, no pb. But I try to have a String[] and when i run my client i have this error : INFO [STDOUT] org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://service/types}String.Array I don't understand because when i test my client on a static java project, no pb... I have this exception with my jsp... Can you help me please. Thank for attention. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033946#4033946 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033946 From do-not-reply at jboss.com Tue Apr 3 10:24:32 2007 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 3 Apr 2007 10:24:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <10234751.1175610272360.JavaMail.jboss@colo-br-02.atl.jboss.com> First, I think the client is neither signing nor encrypting the messages. The jboss-wsse-client.xml file is confused, it indicates that encryption is required but never states how to encrypt the message, but it does indicate how to sign the message. To encrypt the message, the < config > section should read: | | | | | Similarly, according to the jboss-wsse-server.xml file, the response messages is being signed but not encrypted. What error are you seeing? Is there an error on both the client and server? If so, the error is happening at the server and the client error is typically a reflection of that error. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034101#4034101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034101 From do-not-reply at jboss.com Tue Apr 3 10:39:41 2007 From: do-not-reply at jboss.com (noclueu2) Date: Tue, 3 Apr 2007 10:39:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <3429067.1175611181321.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried changing the config files to have encrypt in them with no succes. The serve continues to work but my client does not. Here is the error message: | javax.xml.ws.soap.SOAPFaultException: javax.xml.rpc.soap.SOAPFaultException: This service requires , which is missing. | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:56) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:111) | at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:460) | at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:333) | at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:185) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:163) | at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:149) | at $Proxy8.pullFromHat(Unknown Source) | at com.partminer.test.client.ClientTest.main(Unknown Source) | Here is the client request (Notice how there is no signing or encryption): | POST /MagicService/TestMagicBean?datatype=SOAPMessage HTTP/1.1 | Authorization: Basic Y29ubmVjdGVzOnNlY3JldA== | SOAPAction: "" | Content-Type: text/xml; charset=UTF-8 | User-Agent: Java/1.5.0_11 | Host: localhost:8080 | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | Connection: keep-alive | Content-Length: 245 | | Java Client Test | And the server response: | HTTP/1.1 500 Internal Server Error | Server: Apache-Coyote/1.1 | X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)/Tomcat-5.5 | Content-Type: text/xml;charset=UTF-8 | Transfer-Encoding: chunked | Date: Tue, 03 Apr 2007 14:31:45 GMT | Connection: close | | bd | env:Server | c | | 72 | javax.xml.rpc.soap.SOAPFaultException: This service requires , which is missing. | e | | c | | 1a | | 0 | | | It seems the server is doing what is expected but the client is not. Thanks, Richard K View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034108#4034108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034108 From do-not-reply at jboss.com Tue Apr 3 10:52:03 2007 From: do-not-reply at jboss.com (noclueu2) Date: Tue, 3 Apr 2007 10:52:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <8996023.1175611923296.JavaMail.jboss@colo-br-02.atl.jboss.com> One more question that might answer my problem. In the service code for user/password I add annotation: @RolesAllowed("internal") | and | @SecurityDomain(value="JBossWS") | In the client to pass the user password, I had to add: | BindingProvider bindingProvider = (BindingProvider) port; | Map reqContext = bindingProvider.getRequestContext(); | reqContext.put(BindingProvider.USERNAME_PROPERTY, "myuser"); | reqContext.put(BindingProvider.PASSWORD_PROPERTY, "mypassword"); | For signing/encryption I added this annotation to the service: @HandlerChain(file="resource://config/ServerHandler.xml", name="SecureHandlerChain") and added the the ServerHandler.xml and jboss-wsse-server.xml To the client, I did nothing special to the code, just added the jboss-wsse-client.xml. Is there a bit of code I am not doing, that I should? If so, what is it? Thanks Again, Richard K View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034114#4034114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034114 From do-not-reply at jboss.com Tue Apr 3 10:54:45 2007 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 3 Apr 2007 10:54:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <23161565.1175612085057.JavaMail.jboss@colo-br-02.atl.jboss.com> You never said if you made the suggested jboss-wsse-client.xml changes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034118#4034118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034118 From do-not-reply at jboss.com Tue Apr 3 11:03:41 2007 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 3 Apr 2007 11:03:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <23372902.1175612621810.JavaMail.jboss@colo-br-02.atl.jboss.com> I also see that the handler chain is missing for the client. Without that, the client doesn't know to apply the jboss-wsse-client.xml. I was going to refer you to the documentation on how to do this, but noticed that there is nothing about it in the documentation. Perhaps I got it from the older documentation? No matter, add to your client a META-INF/standard-jaxws-client-config.xml file with these contents: | | | | | | | | Standard WSSecurity Client | | | ##SOAP11_HTTP | | WSSecurityHandlerOutbound | org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerClient | | | | | | The name is unimportant, the client code for JBossWS will pick up the first client-config in this file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034127#4034127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034127 From do-not-reply at jboss.com Tue Apr 3 12:35:34 2007 From: do-not-reply at jboss.com (noclueu2) Date: Tue, 3 Apr 2007 12:35:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <8286977.1175618134648.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes I did update jboss-wsee-***.xml on both the client and server. The issue was the missing META-INF/standard-jaxws-client-config.xml on the client. Once I added that I now get a new error: javax.xml.ws.soap.SOAPFaultException: Endpoint {http://com.test.www/test/jsr181ejb}EndpointInterfacePort does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData But the important part is that the client is sending encrypted data and the server is expecting encrypted data. I just now need to sort out why the data I'm sending is incorrect. Thanks for the help, Richard K View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034189#4034189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034189 From do-not-reply at jboss.com Tue Apr 3 12:56:04 2007 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 3 Apr 2007 12:56:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <3483544.1175619364057.JavaMail.jboss@colo-br-02.atl.jboss.com> I think this error comes about because the method name used on the client does not exactly match the method name on the server. Looking at your code, the method is exported as PullFromHat but in the client you use pullFromHat. Seems like you used a different WSDL to generate the client than what you actually are using on the server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034201#4034201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034201 From do-not-reply at jboss.com Tue Apr 3 13:11:27 2007 From: do-not-reply at jboss.com (noclueu2) Date: Tue, 3 Apr 2007 13:11:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <2372447.1175620287501.JavaMail.jboss@colo-br-02.atl.jboss.com> I recreated the service removing anotation: @WebMethod(operationName="PullFromHat") Then rebuilt the client classes using the new WSDL. I still get the same error. If I just do signing and not encryption everything works great. I use the same file contents for both the jboss-wsse-server.xml and jboss-wsse-client.xml which is: | | | | META-INF/wsse.keystore | jbossws | META-INF/wsse.truststore | jbossws | | | | | | | | | | If I change them to: | | | | META-INF/wsse.keystore | jbossws | META-INF/wsse.truststore | jbossws | | | | | | | | The above works. I also tried it without the signature and just encryption which gives me the same error. Thanks, Richard k View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034211#4034211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034211 From do-not-reply at jboss.com Tue Apr 3 14:04:32 2007 From: do-not-reply at jboss.com (jimhenderson) Date: Tue, 3 Apr 2007 14:04:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: I get an Message-ID: <3190865.1175623472804.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Keiko, That was the problem. Thanks for your help. Jim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034233#4034233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034233 From do-not-reply at jboss.com Tue Apr 3 14:05:47 2007 From: do-not-reply at jboss.com (jimhenderson) Date: Tue, 3 Apr 2007 14:05:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: I get an Message-ID: <6917905.1175623547764.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry for the typo - thanks Heiko. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034234#4034234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034234 From do-not-reply at jboss.com Wed Apr 4 05:07:32 2007 From: do-not-reply at jboss.com (kot) Date: Wed, 4 Apr 2007 05:07:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Cannot annotate minOccurs with JAXB Message-ID: <8934841.1175677652633.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello everybody Using JBossWS 1.2.0GA, I want to generate XSD-Schema out of Java using JAXB2.0 annotations. There is i.e. an @XmlElement providing attribute 'nillable' but no 'minOccurs' or 'maxOccurs'. Does anybody have an idea how to use annotations to define these two attributes? Are JAXB 2.0 annotations complete at all? By default, JBoss WS generates minOccurs='0' and maxOccurs='unbound' for all elements of the XSD. This is not what I need. thanks in advance ng Harald View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034442#4034442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034442 From do-not-reply at jboss.com Wed Apr 4 06:02:50 2007 From: do-not-reply at jboss.com (TonyCruickshank) Date: Wed, 4 Apr 2007 06:02:50 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Accessing a .NET web service from JBoss 4.0.4 Message-ID: <2004837.1175680970644.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I hope someone here help me with a problem I have accessing a .NET web service from a JBoss J2EE application. Everything seems to be okay up to the point where I try to access the first method when I get the following exception... java.rmi.RemoteException: Call invocation failed: Target endpoint address not set; nested exception is: org.jboss.ws.WSException: Target endpoint address not set at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:719) at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398) at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:164) Any advice on where I need to look to correct this problem gratefully received. Thanks, TonyC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034460#4034460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034460 From do-not-reply at jboss.com Wed Apr 4 07:14:25 2007 From: do-not-reply at jboss.com (valjjou) Date: Wed, 4 Apr 2007 07:14:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot obtain java type mapping for String.Array Message-ID: <31333753.1175685265803.JavaMail.jboss@colo-br-02.atl.jboss.com> This was juste a pb of librairies... sorry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034487#4034487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034487 From do-not-reply at jboss.com Wed Apr 4 09:17:04 2007 From: do-not-reply at jboss.com (KoniKoni) Date: Wed, 4 Apr 2007 09:17:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Handlers Message-ID: <15390883.1175692624441.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to use Statefull Webservice for that i saw a example. If i add follo code: @SOAPMessageHandlers( { | @SOAPMessageHandler(className = "org.jboss.ws.addressing.soap.SOAPServerHandler"), | @SOAPMessageHandler(className = "org.jboss.test.ws.samples.wsaddr.ServerHandler") Neatbeans 5.5 ist depricated, is it right? If yes, what i have to use instead? Thera are examples for this stuff? Waht is the difference beetwin Client and Server handles? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034546#4034546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034546 From do-not-reply at jboss.com Wed Apr 4 13:03:41 2007 From: do-not-reply at jboss.com (KoniKoni) Date: Wed, 4 Apr 2007 13:03:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Handle Message-ID: <27189673.1175706221199.JavaMail.jboss@colo-br-02.atl.jboss.com> I use Netbeans 5.5, where i have to be save jaxws-handlers.xml im netbeans projekt struktur? org.jboss.ws.WSException: Cannot resolve URL to handler file: WEB-INF/jaxws-handlers.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034693#4034693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034693 From do-not-reply at jboss.com Wed Apr 4 16:17:09 2007 From: do-not-reply at jboss.com (KoniKoni) Date: Wed, 4 Apr 2007 16:17:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - I got follow exception Message-ID: <18923565.1175717829365.JavaMail.jboss@colo-br-02.atl.jboss.com> 22:12:26,755 INFO [EARDeployer] Init J2EE application: file:/home/kostja/IT/jboss-4.0.5.GA/server/default/deploy/laolaWS.ear | 22:12:29,197 INFO [Ejb3Deployment] EJB3 deployment time took: 26 | 22:12:29,992 INFO [TomcatDeployer] deploy, ctxPath=/laolaWS-laolaWS-ejb, warUrl=.../tmp/deploy/laolaWS.ear-laolaWS-ejb.jar-ws64404.war/ | 22:12:30,095 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=laolaWS.ear,jar=laolaWS-ejb.jar,unitName=laolaWS-ejbPU with dependencies: | 22:12:30,095 INFO [JmxKernelAbstraction] jboss.jca:name=mysqllaola,service=DataSourceBinding | 22:12:30,104 WARN [ServiceController] Problem starting service persistence.units:ear=laolaWS.ear,jar=laolaWS-ejb.jar,unitName=laolaWS-ejbPU | javax.naming.NameNotFoundException: mysqllaola not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:296) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:240) | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:102) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy101.start(Unknown Source) | at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:96) | at org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:467) | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:317) | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor105.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy28.start(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:449) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93) | 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 $Proxy29.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.GeneratedMethodAccessor19.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy8.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java: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) | 22:12:30,106 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=laolaWS.ear,jar=laolaWS-ejb.jar,name=laolaWS,service=EJB3 with dependencies: | 22:12:30,120 INFO [EJBContainer] STARTED EJB: kk.laola.sw.gen.laolaWS ejbName: laolaWS | 22:12:30,128 INFO [EJB3Deployer] Deployed: file:/home/kostja/IT/jboss-4.0.5.GA/server/default/tmp/deploy/tmp64401laolaWS.ear-contents/laolaWS-ejb.jar | 22:12:30,130 INFO [WSDLFilePublisher] WSDL published to: file:/home/kostja/IT/jboss-4.0.5.GA/server/default/data/wsdl/laolaWS.ear/laolaWS-ejb.jar/LaolaWSService64402.wsdl | 22:12:30,136 INFO [ServiceEndpointManager] WebService started: http://kostja-mobil:8080/laolaWS-laolaWS-ejb/laolaWS | 22:12:30,142 INFO [EARDeployer] Started J2EE application: file:/home/kostja/IT/jboss-4.0.5.GA/server/default/deploy/laolaWS.ear | 22:12:30,144 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: persistence.units:ear=laolaWS.ear,jar=laolaWS-ejb.jar,unitName=laolaWS-ejbPU | State: FAILED | Reason: javax.naming.NameNotFoundException: mysqllaola not bound | I Depend On: | jboss.jca:service=DataSourceBinding,name=mysqllaola | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: persistence.units:ear=laolaWS.ear,jar=laolaWS-ejb.jar,unitName=laolaWS-ejbPU | State: FAILED | Reason: javax.naming.NameNotFoundException: mysqllaola not bound | I Depend On: | jboss.jca:service=DataSourceBinding,name=mysqllaola | | I used the latest jboss ws package with installer. Can it be that the server got dirty, because I pressed several times one behind the other deploy without to undeploy? How can one actually undeploy? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034772#4034772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034772 From do-not-reply at jboss.com Thu Apr 5 09:17:31 2007 From: do-not-reply at jboss.com (nicolemans72) Date: Thu, 5 Apr 2007 09:17:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Mapping problem Message-ID: <20984122.1175779051543.JavaMail.jboss@colo-br-02.atl.jboss.com> With a String return type, it runs So, it's a mapping problem but I don't know it exactly is View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4034997#4034997 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4034997 From do-not-reply at jboss.com Thu Apr 5 09:24:37 2007 From: do-not-reply at jboss.com (artd) Date: Thu, 5 Apr 2007 09:24:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Salesforce client stub generation fails Message-ID: <1754810.1175779477072.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to move away from Axis due to what appear to be classloading issues when Axis is included in a deployed webapp, and exposing portions of the webapp are exposed using JBOSSWS. So I figured I would just convert the Axis stubs to JBOSSWS stubs using wsconsume. I've tried JBOSS AS 4.0.5, 4.2.0 with the native JBOSSWS and upgrades to 1.2.0SP1 to no avail. With the latest, 1.2.0SP1 I get the following exception | [wsconsume] Command invoked: org.jboss.ws.tools.jaxws.command.wsconsume -k -o "C:\Documents and Settings\adalessandro\Workspace\AxaptaSOAPClient" -s "C:\Documents and Settings\adalessandro\Workspace\AxaptaSOAPClient\src" -t enterprise.wsdl | [wsconsume] warning: src-resolve: Cannot resolve the name 'ens:sObject' to a(n) 'type definition' component. | [wsconsume] line ? of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema2 | [wsconsume] error: A class/interface with the same name "com.sforce.soap.enterprise.DescribeLayout" is already in use. Use a class customization to resolve this conflict. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema2 | [wsconsume] error: (Relevant to above error) another "DescribeLayout" is generated from here. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema2 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema2 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema2 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: Two declarations cause a collision in the ObjectFactory class. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] error: (Related to above error) This is the other declaration. | [wsconsume] line 0 of file:/C:/Documents%20and%20Settings/adalessandro/Workspace/AxaptaSOAPClient/enterprise.wsdl#types?schema1 | [wsconsume] com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration. | [wsconsume] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:213) | [wsconsume] at org.jboss.com.sun.tools.ws.processor.config.ModelInfo.buildModel(ModelInfo.java:88) | [wsconsume] at org.jboss.com.sun.tools.ws.processor.Processor.runModeler(Processor.java:82) | [wsconsume] at org.jboss.com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:543) | [wsconsume] at org.jboss.com.sun.tools.ws.util.ToolBase.run(ToolBase.java:57) | [wsconsume] at org.jboss.ws.tools.jaxws.impl.WSContractConsumerImpl$1.run(WSContractConsumerImpl.java:163) | [wsconsume] at org.jboss.ws.tools.jaxws.impl.WSContractConsumerImpl.consume(WSContractConsumerImpl.java:166) | [wsconsume] at org.jboss.ws.tools.jaxws.command.wsconsume.importServices(wsconsume.java:194) | [wsconsume] at org.jboss.ws.tools.jaxws.command.wsconsume.main(wsconsume.java:77) | [wsconsume] Caused by: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration. | [wsconsume] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:128) | [wsconsume] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2207) | [wsconsume] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:224) | [wsconsume] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:181) | [wsconsume] ... 8 more | [wsconsume] Caused by: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration. | [wsconsume] at com.sun.tools.xjc.ErrorReceiver.error(ErrorReceiver.java:66) | [wsconsume] at com.sun.tools.xjc.generator.bean.ObjectFactoryGeneratorImpl.populate(ObjectFactoryGeneratorImpl.java:152) | [wsconsume] at com.sun.tools.xjc.generator.bean.PublicObjectFactoryGenerator.populate(PublicObjectFactoryGenerator.java:19) | [wsconsume] at com.sun.tools.xjc.generator.bean.BeanGenerator.(BeanGenerator.java:210) | [wsconsume] at com.sun.tools.xjc.generator.bean.BeanGenerator.generate(BeanGenerator.java:151) | [wsconsume] at com.sun.tools.xjc.model.Model.generateCode(Model.java:230) | [wsconsume] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:217) | [wsconsume] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:67) | [wsconsume] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:126) | [wsconsume] ... 11 more | [wsconsume] error: com.sun.istack.SAXParseException2: (Related to above error) This is the other declaration. | Any suggestions on how to resolve? I couldn't find any exact JIRA issues on this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035002#4035002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035002 From do-not-reply at jboss.com Thu Apr 5 09:34:57 2007 From: do-not-reply at jboss.com (nicolemans72) Date: Thu, 5 Apr 2007 09:34:57 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Mapping problem Message-ID: <14095665.1175780097872.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to use the methode | Service service = (Service)factory.createService(wsdlLocation, serviceName,mappingURL); | as I saw in an example but this method doesn't seem exist... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035006#4035006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035006 From do-not-reply at jboss.com Thu Apr 5 10:41:09 2007 From: do-not-reply at jboss.com (KoniKoni) Date: Thu, 5 Apr 2007 10:41:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: I got follow exception Message-ID: <10523888.1175784069152.JavaMail.jboss@colo-br-02.atl.jboss.com> after two days looking for: false is needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035043#4035043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035043 From do-not-reply at jboss.com Thu Apr 5 11:10:15 2007 From: do-not-reply at jboss.com (nicolemans72) Date: Thu, 5 Apr 2007 11:10:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Mapping problem Message-ID: <24558533.1175785815928.JavaMail.jboss@colo-br-02.atl.jboss.com> I solved this problem by using ServiceFactoryImpl instead of ServiceFactory But now I have some errors to parse my jaxrpc-mapping.xml file at the line | Service service = (Service)factory.createService(wsdlLocation, serviceName,mappingUrl); | | 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.metadata.jaxrpcmapping.JavaWsdlMappingFactory.parse(JavaWsdlMappingFactory.java:79) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:77) | at org.jboss.ws.core.jaxrpc.client.ServiceImpl.(ServiceImpl.java:111) | at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) | at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:142) | at jbosstest.HelloClient.testDmex(HelloClient.java:95) | Any ideas? I need answers quickly plz View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035054#4035054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035054 From do-not-reply at jboss.com Thu Apr 5 12:39:39 2007 From: do-not-reply at jboss.com (TonyCruickshank) Date: Thu, 5 Apr 2007 12:39:39 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Accessing a .NET web service from JBoss 4.0.4 Message-ID: <14346571.1175791179075.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, Resolved. The WSDL file I was generating from contained soap12 artefacts. Though the JBoss wstools generated the mapping and java successfully, at run time the server log contained the warning WARN [org.jboss.ws.metada?ta.wsdl.WSDLDefiniti?ons] Multiple WSDL bindings referrence the same interface: Removing all the soap12 information from the WSDL and starting again with wstools fixed the problem. TonyC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035088#4035088 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035088 From do-not-reply at jboss.com Fri Apr 6 10:50:59 2007 From: do-not-reply at jboss.com (nicolemans72) Date: Fri, 6 Apr 2007 10:50:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - [Fatal Error] :-1:-1: Premature end of file. Message-ID: <7144817.1175871059102.JavaMail.jboss@colo-br-02.atl.jboss.com> I work on an application to test JBossWS I have a web service which turns on a JBoss AS 4.0.5 server, which returns a complex type object, "Dmex" I have this client: | try { | | ServiceFactoryImpl factory=new ServiceFactoryImpl(); | URL wsdlLocation = new URL("http://localhost:8080/DmexWs" + "?wsdl"); | URL mappingUrl=new File("src/java/jaxrpc-mapping.xml").toURL(); | QName serviceName = new QName("urn:bsa.ws.test", "DmexWs"); | Service service = (Service)factory.createService(wsdlLocation, serviceName,mappingUrl); | Call call = service.createCall(); | | QName operationName = new QName("urn:bsa.ws.test", "getDmex"); | call.setOperationName(operationName); | | Integer id = new Integer(274); | Object retObj = call.invoke(new Object[]{id}); | | System.out.println(retObj); | } catch (Exception e) { | e.printStackTrace(); | } | and when I run the client, I have this error: | [Fatal Error] :-1:-1: Premature end of file. | Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035346#4035346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035346 From do-not-reply at jboss.com Fri Apr 6 12:24:48 2007 From: do-not-reply at jboss.com (flindet) Date: Fri, 6 Apr 2007 12:24:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How Do I See the XML? Message-ID: <13965503.1175876689000.JavaMail.jboss@colo-br-02.atl.jboss.com> rmartony, here's what I ended up doing to log my full SOAP message. It's based heavily on the example handlers included with JBossWS. | public class ProtocolHandler extends GenericSOAPHandler | { | /** | * The {@link Logger} used for writing logging messages. | */ | private static Logger log = Logger.getLogger(ProtocolHandler.class); | | /* (non-Javadoc) | * @see org.jboss.ws.core.jaxws.handler.GenericSOAPHandler#handleOutbound(javax.xml.ws.handler.MessageContext) | */ | @Override | public boolean handleOutbound(final MessageContext msgContext) | { | if (log.isInfoEnabled()) | { | return logMessage(msgContext); | } | return true; | } | | /* (non-Javadoc) | * @see org.jboss.ws.core.jaxws.handler.GenericSOAPHandler#handleInbound(javax.xml.ws.handler.MessageContext) | */ | @Override | public boolean handleInbound(final MessageContext msgContext) | { | if (log.isInfoEnabled()) | { | return logMessage(msgContext); | } | return true; | } | | /** | * Logs the full SOAP message. | * | * @param messageContext The message context containing the SOAP message to be handled. | * @return True if handler processing should continue, false otherwise. | * @throws WebServiceException If the SOAP message is malformed. | */ | private boolean logMessage(final MessageContext messageContext) | { | try | { | SOAPMessage soapMessage = ((SOAPMessageContext) messageContext).getMessage(); | if (soapMessage.getSOAPBody().getChildElements().hasNext()) | { | SOAPElement soapElement = (SOAPElement) soapMessage.getSOAPBody().getChildElements().next(); | if (soapElement.getChildElements().hasNext()) | { | soapElement = (SOAPElement) soapElement.getChildElements().next(); | | ByteArrayOutputStream xmlStream = new ByteArrayOutputStream(); | soapMessage.writeTo(xmlStream); | log.info(new String(xmlStream.toByteArray())); | } | } | | return true; | } | catch (SOAPException ex) | { | throw new WebServiceException(ex); | } | catch (IOException ex) | { | throw new WebServiceException(ex); | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035389#4035389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035389 From do-not-reply at jboss.com Fri Apr 6 16:05:27 2007 From: do-not-reply at jboss.com (artd) Date: Fri, 6 Apr 2007 16:05:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - PortComponent Annotation - Jar Requirements Message-ID: <28046148.1175889927370.JavaMail.jboss@colo-br-02.atl.jboss.com> I've loaded just about all jars from the JBOSS server, client and jbossws.sar and ejb3deployer.sar, to no avail. Can someone shed some light on which jar the PortComponent annotation is located. Running 4.05GA and 4.2CR1 Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035451#4035451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035451 From do-not-reply at jboss.com Fri Apr 6 16:13:25 2007 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 6 Apr 2007 16:13:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: PortComponent Annotation - Jar Requirements Message-ID: <21309674.1175890405175.JavaMail.jboss@colo-br-02.atl.jboss.com> I found it in server/[all|default]/deploy/jbossws.sar/jbossws-core.jar in 4.0.5.GA. I could not find it in 4.2.0.CR1. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035453#4035453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035453 From do-not-reply at jboss.com Fri Apr 6 16:26:12 2007 From: do-not-reply at jboss.com (artd) Date: Fri, 6 Apr 2007 16:26:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: PortComponent Annotation - Jar Requirements Message-ID: <25982589.1175891172850.JavaMail.jboss@colo-br-02.atl.jboss.com> Yup, must have had too many jars in my classpatch, Eclipse wasn't finding it, reordered, and sure enough; autocomplete worked for portcomponent. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035456#4035456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035456 From do-not-reply at jboss.com Fri Apr 6 16:29:48 2007 From: do-not-reply at jboss.com (artd) Date: Fri, 6 Apr 2007 16:29:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: PortComponent Annotation - Jar Requirements Message-ID: <26391440.1175891388543.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, clarrification, the PortComponent is found in the jbossws.sar jbossws14-core.jar, which I've upgraded on 4.0.5 to JBossWS 1.2.0SP1 and using whatever shipped with the JBOSSAS 4.2.0 Does anyone know if this is a known issue or is the @PortComponent deprecated? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035458#4035458 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035458 From do-not-reply at jboss.com Fri Apr 6 18:30:34 2007 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 6 Apr 2007 18:30:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: PortComponent Annotation - Jar Requirements Message-ID: <5975227.1175898634810.JavaMail.jboss@colo-br-02.atl.jboss.com> I found it in the jboss-ejb3.jar file in a recent svn get of trunk (5.0 beta2). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035467#4035467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035467 From do-not-reply at jboss.com Mon Apr 9 11:20:33 2007 From: do-not-reply at jboss.com (zauberlehrling) Date: Mon, 9 Apr 2007 11:20:33 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Strange java code generated by wsprovide Message-ID: <15359418.1176132033440.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I build a webservice with the following simple pojo endpoint: package beispiel_1; | | import javax.jws.WebService; | import javax.xml.ws.RequestWrapper; | import javax.xml.ws.ResponseWrapper; | | @WebService | public class PojoEndpoint { | | @RequestWrapper(className="beispiel_1.Request") | @ResponseWrapper(className="beispiel_1.Response") | public String sayHello(String name) | { | return "Hallo "+name+"!"; | } | } and I generate the wsdl file with wsprovide: | | | | I need the wsdl file for a workflow. The wsprovide task above also generates two classes Request and Response. But these java classes are not correct: package beispiel_1; | | import javax.xml.bind.annotation.XmlAccessType; | import javax.xml.bind.annotation.XmlAccessorType; | import javax.xml.bind.annotation.XmlElement; | import javax.xml.bind.annotation.XmlRootElement; | import javax.xml.bind.annotation.XmlType; | | @XmlRootElement(namespace = "http://beispiel_1", name = "sayHello") | @XmlType(namespace = "http://beispiel_1", name = "sayHello") | @XmlAccessorType(XmlAccessType.FIELD) | public class Request { | | @XmlElement(namespace = "", name = "arg0") | private String arg0; | | public String getArg0() { | return this.arg0; | } | | public String setArg0(String arg0) { | this.arg0 = arg0; | } | | } | and package beispiel_1; | | import javax.xml.bind.annotation.XmlAccessType; | import javax.xml.bind.annotation.XmlAccessorType; | import javax.xml.bind.annotation.XmlElement; | import javax.xml.bind.annotation.XmlRootElement; | import javax.xml.bind.annotation.XmlType; | | @XmlRootElement(namespace = "http://beispiel_1", name = "sayHelloResponse") | @XmlType(namespace = "http://beispiel_1", name = "sayHelloResponse") | @XmlAccessorType(XmlAccessType.FIELD) | public class Response { | | @XmlElement(namespace = "", name = "return") | private String return; | | public String getReturn() { | return this.return; | } | | public String setReturn(String return) { | this.return = return; | } | } To be more precise the return type of the set methods should be void and not String and I have problems with the variable name return. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035737#4035737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035737 From do-not-reply at jboss.com Mon Apr 9 13:27:36 2007 From: do-not-reply at jboss.com (alexboyer) Date: Mon, 9 Apr 2007 13:27:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - parser exception when deploying webservice Message-ID: <1772608.1176139656809.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using 4.0.5.GA and 1.2.0.SP1. I used wsconsume to create a top-down web service. When I deploy I get an error as follows. As this error seems to be from trying to parse a jboss generated .xsd file I am unclear what to do. I assume this schema is generated from the wsdl. I cannot see any non-UTF8 characters in the wsdl or the xsd file generated. I would appreciate any pointers on how to debug this problem. 2007-04-09 12:14:15,222 ERROR [org.jboss.ws.core.server.ServiceEndpointDeployer] Cannot create service endpoint org.apache.xerces.xni.XNIException: Parser should stop: JBossWS__ws_ship7329.xsd[domain:http://www.w3.org/TR/1998/REC-xml-19980210]::[key=InvalidByte]::Message=Invalid byte 1 of 1-byte UTF-8 sequence. at org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler.fatalError(JBossXSErrorHandler.java:78) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source) at org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(Unknown Source) at org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source) at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:181) at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:278) at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:165) at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:131) at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:313) at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:139) at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:49) at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:68) at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:90) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035770#4035770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035770 From do-not-reply at jboss.com Mon Apr 9 15:45:18 2007 From: do-not-reply at jboss.com (alexboyer) Date: Mon, 9 Apr 2007 15:45:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: parser exception when deploying webservice Message-ID: <388239.1176147918016.JavaMail.jboss@colo-br-02.atl.jboss.com> Somehow and apostrophe in an annotation in the already existing wsdl was being changed to a non-utf8 character in the generated schema. Have another problem when the apostrophe was removed but got past this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035799#4035799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035799 From do-not-reply at jboss.com Mon Apr 9 17:32:27 2007 From: do-not-reply at jboss.com (alexboyer) Date: Mon, 9 Apr 2007 17:32:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - provide your own wsdl - cannot seem to get this to work Message-ID: <27991584.1176154347228.JavaMail.jboss@colo-br-02.atl.jboss.com> I followed http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104843 quite carefully. I used wsconsume to generate my classes, created an impl class and followed all the pointers in the mentioned forum thread. I get a wsdl now but it is not the one I defined in my wsdlLocation value in the endpoint interface in the wsdlLocation javax.jws.WebService annotation. I get datetime types set to anySimpleType and all my enumerations have camel case now like this - dropOffType - rather than DropOffType like in the wsdl. I believe a wsdl is being generated still. How do I generate and deploy a web service and have jboss use the wsdl I supply in the war? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035816#4035816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035816 From do-not-reply at jboss.com Mon Apr 9 23:14:32 2007 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 9 Apr 2007 23:14:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: WS-Security and certificate password Message-ID: <6065135.1176174872342.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a patch. It works. I could simply apply the patch in Subversion, but I would prefer to place the patch into JIRA and have someone on the JBossWS team apply the patch (especially since I changed the xsd file, not sure if that requires a new version number or what). But JIRA doesn't like me, no matter whether I use Firefox or IE. When I log in, I can see the list of projects in the left column, but in the right column, where I should see things such as my assigned JIRA tasks, I instead see this exception: An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- java.lang.NullPointerException at com.atlassian.jira.issue.search.providers.LuceneSearchProvider.searchCount(LuceneSearchProvider.java:87) at com.atlassian.jira.portal.portlets.SavedFiltersPortlet.getCountsForFilter(SavedFiltersPortlet.java:52) at sun.reflect.GeneratedMethodAccessor832.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:166) at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55) at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70) at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230) at org.apache.velocity.Template.merge(Template.java:256) at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:450) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:76) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:60) at com.atlassian.velocity.DefaultVelocityManager.getEncodedBody(DefaultVelocityManager.java:55) at com.atlassian.jira.plugin.JiraResourcedModuleDescriptor.getHtml(JiraResourcedModuleDescriptor.java:97) at com.atlassian.jira.portal.PortletImpl.getViewHtml(PortletImpl.java:67) at com.atlassian.jira.portal.portlets.AbstractRequiresUserPortlet.getViewHtml(AbstractRequiresUserPortlet.java:25) at org.apache.jsp.secure.views.dashboard_jsp._jspService(dashboard_jsp.java:1035) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:253) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.AccessLogFilter.doFilter(AccessLogFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:119) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:181) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) And if I go straight to this particular JIRA issue I am informed that I would have more options available if I first logged in. Help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035849#4035849 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035849 From do-not-reply at jboss.com Tue Apr 10 04:12:32 2007 From: do-not-reply at jboss.com (nicolemans72) Date: Tue, 10 Apr 2007 04:12:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: [Fatal Error] :-1:-1: Premature end of file. Message-ID: <21762669.1176192752734.JavaMail.jboss@colo-br-02.atl.jboss.com> I have no other error log. Is anyone know what could be the cause of the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035882#4035882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035882 From do-not-reply at jboss.com Tue Apr 10 05:10:40 2007 From: do-not-reply at jboss.com (sgof) Date: Tue, 10 Apr 2007 05:10:40 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBoss 4.0.5--JAX-RPC has Issues? Message-ID: <11428737.1176196240178.JavaMail.jboss@colo-br-02.atl.jboss.com> I resolved using a jboss prevous version View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035891#4035891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035891 From do-not-reply at jboss.com Tue Apr 10 05:48:22 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 10 Apr 2007 05:48:22 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Pooling pojos Message-ID: <11215248.1176198502286.JavaMail.jboss@colo-br-02.atl.jboss.com> This has been a long outstanding feature request. http://jira.jboss.org/jira/browse/JBWS-1603 BTW, this is a nice little task for a community contribution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035903#4035903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035903 From do-not-reply at jboss.com Tue Apr 10 11:03:23 2007 From: do-not-reply at jboss.com (rmartony) Date: Tue, 10 Apr 2007 11:03:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How Do I See the XML? Message-ID: <7363693.1176217403716.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi flindet and joshlam, thank you very much for your help. Regards, Rafael. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036023#4036023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036023 From do-not-reply at jboss.com Tue Apr 10 12:40:47 2007 From: do-not-reply at jboss.com (stattit) Date: Tue, 10 Apr 2007 12:40:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Getting Error Message-ID: <19125709.1176223247419.JavaMail.jboss@colo-br-02.atl.jboss.com> We want the web service to publish the user created WSDL instead of the JBOssWS generated WSDL. I followed the instructions as in this post viz. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031124#4031124 However, I am now getting the following error when I try to deploy the war. 12:19:13,139 ERROR [MainDeployer] Could not create deployment: file:/C:/sofadev/dev-env/jboss-4.0.5.GA/server/flagstar/deploy/fsb-MortgageService.war org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nested throwable: (java.lang.IllegalArgumentException: Illegal schema location map) at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53) at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:83) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy39.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) Caused by: java.lang.IllegalArgumentException: Illegal schema location map at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:155) at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:278) at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:165) at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:131) at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:313) at org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:139) at org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:49) at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:68) at org.jboss.ws.core.server.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:90) at org.jboss.ws.integration.jboss42.DeployerInterceptor.createServiceEndpoint(DeployerInterceptor.java:127) at org.jboss.ws.integration.jboss42.DeployerInterceptorJSE.createServiceEndpoint(DeployerInterceptorJSE.java:132) at org.jboss.ws.integration.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:78) ... 28 more The WSDL file does some imports of external schemas which in turn can import other schemas. The .wsdl file has been placed in WEB-INF/wsdl and the schema files have been copied to the same spot too. The relevant section in the .wsdl file is | | | | | | | | | | | My question is this: Is this the proper way to refer to external schemas when you want to publish your own WSDL or would you have to refer to them as schemaLocation="WEB-INF/wsdl/MortgageResponse.xsd" The example MortgageResponse.xsd file is (note the import) | | | | | | | | | | | | | | | | | Any help in this matter is appreciated. If you need any additional information, I will be glad to provide it. JBossWS 1.2.0.SP1 JBoss 4.0.5.GA Regards Sandesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036058#4036058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036058 From do-not-reply at jboss.com Tue Apr 10 15:40:28 2007 From: do-not-reply at jboss.com (stattit) Date: Tue, 10 Apr 2007 15:40:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Getting Error Message-ID: <7820204.1176234028848.JavaMail.jboss@colo-br-02.atl.jboss.com> Weird....started the deploy from scratch, ensuring that the schemas were copied to the same location as the wsdl viz. to WEB-INF/wsdl and made sure that the imports had just a reference to the schemas, without any reference to any relative directories and now things are working fine. Note sure what caused the previous issues. Regards Sandesh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036105#4036105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036105 From do-not-reply at jboss.com Tue Apr 10 18:36:33 2007 From: do-not-reply at jboss.com (estrnod) Date: Tue, 10 Apr 2007 18:36:33 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <19650125.1176244593803.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you ever get an answer to how to get the client to use ? I have been following this thread closely because it reflects my own experience and even my own suspicion that the client needed something similar to the HandlerChain on the server side, before I read your post. I incorporated standard-jaxws-client-config.xml in my own build but with both signature & encryption required, am also still getting javax.xml.rpc.soap.SOAPFaultException: This service requires , which is missing. Thanks, Ellen Strnod View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036167#4036167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036167 From do-not-reply at jboss.com Tue Apr 10 18:57:29 2007 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 10 Apr 2007 18:57:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <31851492.1176245849439.JavaMail.jboss@colo-br-02.atl.jboss.com> Make sure the standard-jaxws-client-config.xml contains only the "Standard WSSecurity Client" configuration, you have to delete the other two configurations. Seems like only the first one is used, and I have not found out how to indicate which one to use if there are multiple. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036170#4036170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036170 From do-not-reply at jboss.com Tue Apr 10 19:27:58 2007 From: do-not-reply at jboss.com (alexboyer) Date: Tue, 10 Apr 2007 19:27:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: provide your own wsdl - cannot seem to get this to work Message-ID: <21593401.1176247678982.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem here was that I needed to add a target namespace to the endpoint implementation that was the same as the endpoint interface. That seemed to fix the problem. Now my wsdl that I provided is served. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036174#4036174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036174 From do-not-reply at jboss.com Tue Apr 10 19:36:57 2007 From: do-not-reply at jboss.com (alexboyer) Date: Tue, 10 Apr 2007 19:36:57 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Losing soap request after it gets to server Message-ID: <1637565.1176248217920.JavaMail.jboss@colo-br-02.atl.jboss.com> I can see my soap request getting to the server in the log file. But by the time that sei impl has the method invoked on it the request java object is null. One thing I noted is that the log notes that when the xml type is deserialized to the java type the java type does not have the package name of the request wrapper. It has a jaxws on the end of it. So if my request wrapper that was generated from wsconsume has fully qualified name of com.company.ws.RequestWrapper the log file notes: 2007-04-10 18:15:53,705 DEBUG [org.jboss.ws.core.soap.XMLContent] getObjectValue [xmlType={http://company.com/ws}request,javaType=class com.company.ws.jaxws.RequestWrapper] I don't see this class com.company.ws.jaxws.RequestWrapper in my war so I guess it must be generated on the server side. Can this be why my soap request is getting lost? Any suggestions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036176#4036176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036176 From do-not-reply at jboss.com Tue Apr 10 20:34:03 2007 From: do-not-reply at jboss.com (d_pavel) Date: Tue, 10 Apr 2007 20:34:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem using wstools Message-ID: <13946843.1176251643764.JavaMail.jboss@colo-br-02.atl.jboss.com> I should have posted these answers sooner then one month but time flies so here you go (in case somebody will stumble upon same things): -I solved relatively fast the wstools problem which turned out to be the result of using the full path for the SEI class in the command which I described in point 4 in my first post (as was mentioned in the user guide...). So using a path just to WEB-INF/classes directory solved the problem and the related artifacts are generated correct. -jbossws14-client.jar is needed for J2EE 1.4, whereas jbossws-client.jar is needed for Java EE; if you keep both jar files order of loading is important depending what you need to use. -yes I had to get an updated "jboss-xml-binding.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036182#4036182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036182 From do-not-reply at jboss.com Tue Apr 10 22:24:19 2007 From: do-not-reply at jboss.com (d_pavel) Date: Tue, 10 Apr 2007 22:24:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JSR-109Client, Mapping problem and trying to connect to a .N Message-ID: <3443355.1176258259126.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All, I developed a JAX-RPC web service client in order to connect to a .NET webservice. I am using jdk1.5.0_09, JBoss AS 4.0.5.GA and jbossws-1.2.0.GA. I set properly the java.endorsed.dirs. Here is the config file: | | | | | | | | | | | Using wstools I was able to generate the related artifacts (the jaxrpc-mapping.xml file and all the related stubs and the required Service Endpoint Interface (SEI). The target namespace it will be similar with: "https://www.acompany.com/VaxHttp/Vax" The important code in my client looks like this: | String feedback = ""; | try | { | URL url = null; | //wsdl location | try | { | url = new URL(urlstr); | } | catch (MalformedURLException e) | { | e.printStackTrace(); | } | | QName qName = new QName("https://www.acompany.com/VaxHttp/Vax.asmx?wsdl", "Vax"); | | System.out.println("############ local part = "+qName.getLocalPart()); | System.out.println("############ namespace URI = "+qName.getNamespaceURI()); | | //set jboss ServiceFactory | System.setProperty( "javax.xml.rpc.ServiceFactory", | "org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl" ); | | //have to have only one instance of the ServiceFactory | ServiceFactoryImpl serviceFactory = (ServiceFactoryImpl)ServiceFactory.newInstance(); | File mapping = new File("WebRoot/WEB-INF/jaxrpc-mapping.xml"); | URL mappingURL = null; | try | { | mappingURL = mapping.toURL(); | } | catch (MalformedURLException e) | { | e.printStackTrace(); | } | | ServiceImpl service = (ServiceImpl)serviceFactory.createService(url, qName, mappingURL); | | //get stub or dynamic proxy that supports the specified service endpoint interface | VaxSoap port = (VaxSoap) service.getPort(VaxSoap.class); | | //create PutOrder object | PutOrder po = new PutOrder(...); | | //using SOAP 1.1 and calling the related method on the service endpoint interface | PutOrderResponse status = port.putOrder(po); | | feedback = status.getPutOrderResult(); | //check the PurchaseOrder status | System.out.println("output order response:" + feedback); | | } | catch(ServiceException se) | { | System.out.println("Service Exception from executePutPurchaseOrder() = "+se.getMessage()); | } | | return feedback; | Now when I try to run the client passing the valid parameters, I get the following mapping exception from the Client: anonymous wrote : | Could not update IN parameter to be INOUT, as indicated in the mapping: parameters | In the generated jaxrpc-mapping.xml (after the wsdl available) all the ~SoapIn wsdl-message from within the related wsdl-message-mapping have this anonymous wrote : | INOUT | parameter mode defined. I want to metion that is no denial of traffic and the network is good. Now this param can be IN, OUT, or INOUT. I should not have to modify this generated xml file! However if I modify it and put "IN" instead of "INOUT" I am able to go further (but this in fact is not correct because the called method has to return a PutOrderResponse object so we need the INOUT isn't it ?). Anyway using a modified jaxrpc-mapping.xml as I said before I am able to make the invokation to the remote web service but it barfs here: anonymous wrote : | org.jboss.remoting.CannotConnectException: Can not connect http client invoker. | This exception is generated when the remoting layer cannot connect to the remote server . It means that the client cannot send the request to the server. Well it's normal I think when the remote side is on .NET and the JBoss TransporterClient(InvokerLocator locator, String targetSubsystem) it's trying to use a org.jboss.remoting.InvokerLocator which will work as it is only between JBOSS application servers (correct me if I'm wrong please). The JBossWS fails to create properly the org.jboss.remoting.Client remoteClient instance. How can one explicitly set the transport protocol to be "http" (and not "socket" as for the JBoss AS) ? I mean the InvokerLocator has to take that into consideration when trying to connect to .NET webservices right ? There is some documentation or useful links related to how to connect to .NET webservices ? I will have also my own JBoss webservices which will have to be accessible from any endpoint (well .NET is the one I'm afraid off and it's causing me grief). Did I missed something ? I mean the client description is pretty straight forward in the user guide... Aside: when the "JBoss Remoting" comes in to play ? For what is recommended especially ?If one doesn't use transports and data marshallers or push and pull callbacks, then doesn't need "JBoss Remoting" either right? I hope to get an answer to this post because this is not trivial to debug and fix. Please help. I would really appreciate an/any answer as soon as possible. Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036197#4036197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036197 From do-not-reply at jboss.com Wed Apr 11 06:43:45 2007 From: do-not-reply at jboss.com (Schludi) Date: Wed, 11 Apr 2007 06:43:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Maven2, XDoclet and JBossWS (no webservices shown) Message-ID: <9218685.1176288225694.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I have a question. I only want to deploy an EJB written in XDoclet (i know about annotations, but need to publish webservices of an existing project written with XDoclet) which is displayed under http://localhost:8080/jbossws/services I am using Maven2 and XDoclet. I will post the POM.XML of the EJB-Project an the EJB's Java-Code. First the EJB-Code with XDoclet: | package com.bbraun.bbmag.test; | | import java.rmi.RemoteException; | | import java.math.*; | import javax.ejb.SessionBean; | import javax.ejb.SessionContext; | import java.math.*; | | /** | * Trade Session EJB manages all Trading services | * | * @ejb.bean name="FirstEJBBean" | * display-name="FirstEJBBean" | * description="A simple hello world bean." | * jndi-name="FirstEJBBean" | * type=stateless | * view-type="service-endpoint" | * | * @ejb.interface | * service-endpoint-class="com.bbraun.bbmag.test.StatlessEJBEndpoint" | * | * @wsee.port-component | * name="StatlessEJBEndpointPort" | */ | public class StatlessEjbBean implements SessionBean | { | | BigDecimal yenRate = new BigDecimal("121.6000"); | | BigDecimal euroRate = new BigDecimal("0.0077"); | | /** | * @ejb.interface-method view-type="service-endpoint" | */ | public BigDecimal dollarToYen(BigDecimal dollars) { | BigDecimal result = dollars.multiply(yenRate); | return result.setScale(2, BigDecimal.ROUND_UP); | } | | /** | * @ejb.interface-method view-type="service-endpoint" | */ | public BigDecimal yenToEuro(BigDecimal yen) { | BigDecimal result = yen.multiply(euroRate); | return result.setScale(2, BigDecimal.ROUND_UP); | } | | public StatlessEjbBean() { | } | | public void ejbCreate() { | } | | public void ejbRemove() { | } | | public void ejbActivate() { | } | | public void ejbPassivate() { | } | | public void setSessionContext(SessionContext sc) { | } | } | Here is the POM.XML of the EJB-Project: | | 4.0.0 | | com.bbraun.bbmag.test | FirstEJB | 0.1 | | FirstEJB-ejb | ejb | FirstEJBejb | Eine EJB | | | | | org.apache.geronimo.specs | geronimo-j2ee_1.4_spec | 1.0 | provided | | | commons-logging | commons-logging | 1.0.3 | provided | | | axis | axis | 1.2 | provided | | | axis | axis-jaxrpc | 1.2 | provided | | | | src/test | | | org.codehaus.mojo | xdoclet-maven-plugin | | | ejb | generate-sources | | xdoclet | | | | | | | | | | | | | | | | | | | | | | | org.apache.maven.plugins | maven-ejb-plugin | | true | | | **/ejb/*Bean.class | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036310#4036310 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036310 From do-not-reply at jboss.com Wed Apr 11 08:54:24 2007 From: do-not-reply at jboss.com (openyourmind) Date: Wed, 11 Apr 2007 08:54:24 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - It works now Message-ID: <17731209.1176296064940.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, It works now!!! Thanks for your answers. This is what we did to correct our issue: BEFORE we used the following command to generate the keys | keytool -genkey -alias procedure_key -keystore wsse_procedure.keystore | NOW, we use the following command where we explicitly set RSA as the key algorithm | keytool -genkey -alias procedure_key -keystore wsse_procedure.keystore -keyalg RSA | I have to say that the exception message or logs didn't help us much to find our issue. So I guess we were pretty lucky. Thanks again for your suggestions and see you soon OYM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036339#4036339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036339 From do-not-reply at jboss.com Wed Apr 11 09:02:09 2007 From: do-not-reply at jboss.com (openyourmind) Date: Wed, 11 Apr 2007 09:02:09 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: WS-Security - Invalid timestamp, message claimed to be c Message-ID: <25012138.1176296529795.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We have the same problem and we would be happy to use the future feature Jason asked. http://jira.jboss.com/jira/browse/JBWS-1316 Bye OYM View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036341#4036341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036341 From do-not-reply at jboss.com Wed Apr 11 09:40:37 2007 From: do-not-reply at jboss.com (anescu) Date: Wed, 11 Apr 2007 09:40:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Generated WSDL has default port 8080 even if server runs on Message-ID: <16708585.1176298837628.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to run the trailblazer from the JBoss ESB, on JBossAS 4.0.5. (the one shipped with ESB 4.0) I have changed the port on the server to 8090, instead of the default one. And I have stumbled over a bug related to the WS: I have changed everywhere in the code & config the port from 8080 to 8090, but when i deploy to JBoss i get this message: 2007-04-11 16:16:32,325 INFO [org.jboss.ws.server.ServiceEndpointManager] WebService started: http://ts541:8080/trailblazer/LoanBrokerWS Here is a snapshot from the debug section (you can see that every other message reffers to port localhost:8090): 2007-04-11 16:16:31,309 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory] parse: file:/D:/Work/jboss-4.0.5/server/default/tmp/jbossws/LoanBrokerWSService64691.wsdl | 2007-04-11 16:16:31,622 DEBUG [org.jboss.ws.tools.JavaToXSD] load schema: http://localhost:8090/trailblazer=file:/D:/Work/jboss-4.0.5/server/default/tmp/jbossws/JBossWS_localhost_8090_trailblazer64692.xsd | 2007-04-11 16:16:31,622 DEBUG [org.jboss.ws.utils.JBossWSEntityResolver] resolveEntity: [pub=http://schemas.xmlsoap.org/soap/encoding/,sysid=null] | 2007-04-11 16:16:31,669 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] new WSDLInterface | 2007-04-11 16:16:31,669 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setName: LoanBrokerWS | 2007-04-11 16:16:31,669 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setQName: {http://localhost:8090/trailblazer}LoanBrokerWS | 2007-04-11 16:16:31,669 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] new WSDLBinding | 2007-04-11 16:16:31,669 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setQName: {http://localhost:8090/trailblazer}LoanBrokerWSBinding | 2007-04-11 16:16:31,669 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setName: LoanBrokerWSBinding | 2007-04-11 16:16:31,669 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setInterfaceName: LoanBrokerWSBinding | 2007-04-11 16:16:31,684 DEBUG [org.jboss.ws.deployment.AbstractMetaDataBuilder] Replace service endpoint address 'REPLACE_WITH_ACTUAL_URL' with 'http://ts541:8080/trailblazer/LoanBrokerWS' If you haven't fixed this issue maybe you can investigate the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036352#4036352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036352 From do-not-reply at jboss.com Wed Apr 11 09:56:52 2007 From: do-not-reply at jboss.com (xslava) Date: Wed, 11 Apr 2007 09:56:52 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: @Interceptor call failure on @WebMethod Message-ID: <21997789.1176299812499.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have the same problem. Enviroment: jboss-4.0.5.GA jboss-EJB-3.0_RC9_Patch_1 jbossws-1.2.0.SP1 Interceptor don't work until bean implements interface marked with @Remote or @Local annotation. Slava View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036369#4036369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036369 From do-not-reply at jboss.com Wed Apr 11 12:39:18 2007 From: do-not-reply at jboss.com (d_pavel) Date: Wed, 11 Apr 2007 12:39:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JSR-109Client, Mapping problem and trying to connect to Message-ID: <25133548.1176309558116.JavaMail.jboss@colo-br-02.atl.jboss.com> OK this is what I discovered: The "Could not update IN parameter to be INOUT..." error comes from processOutputDocElement method inside JAXRPCMetaDataBuilder class. The processOutputDocElement is called from anonymous wrote : | buildParameterMetaDataDoc(OperationMetaData opMetaData, WSDLInterfaceOperation wsdlOperation, ServiceEndpointMethodMapping seiMethodMapping,TypeMappingImpl typeMapping) | Now the description of this class is mentioning: "A meta data builder that is based on webservices.xml." So I supposed that this error occurs due to issues related to my webservices.xml. Here is my webservices.xml : | | | Vax | WebRoot/WEB-INF/wsdl/Vax.wsdl | WebRoot/WEB-INF/jaxrpc-mapping.xml | | VaxSoapPort | | anonymous wrote : portNS:VaxSoapPort | ca.agenthttp.vax.VaxSoap | | VaxSoap | | | | | Now from the docs we know: anonymous wrote : | The port-component-name element specifies a port component's name. This name is assigned by the module producer to name the service implementation bean in the module's deployment descriptor. The name must be unique among the port component names defined in the same module. | Used in: port-component | Example: | EmployeeService | | So according to this the wsdl-port tag line should be like this: anonymous wrote : | portNS:VaxSoapPort | I tried also to provide the target namespace like in the commented line: anonymous wrote : | | (even if I know the correct use is like in the previous uncommented line) but with same error results: anonymous wrote : | Could not update IN parameter to be INOUT, as indicated in the mapping: parameters | Is it possible that this occurs because the wsdl location URL points to anonymous wrote : | https://www.acompany.com/VaxHttp/Vax?wsdl | but the real SEI is in fact "VaxSoap" class ??? Let me explain: "Vax" referenced in URL is just a simple javax.xml.rpc.Service and looks like this: | /* | * JBoss, the OpenSource EJB server | * Distributable under LGPL license. See terms of license at gnu.org. | */ | | //Auto Generated by jbossws - Please do not edit!!! | | package ca.agenthttp.vax; | | | import javax.xml.rpc.*; | | | public interface Vax extends javax.xml.rpc.Service | { | | public ca.agenthttp.vax.VaxSoap getVaxSoap() throws ServiceException; | | } | Now the ca.agenthttp.vax.VaxSoap is my real SEI which contains references to all the published methods which are web servable. Please confirm to me if this webservices.xml is properly configured or if I have to reconfigure some other .xml files. Last but not least this is my jboss-client.xml file: | | | | jbossws-client | | Vax | | https://www.acompany.com/VaxHttpTest/Vax.asmx?wsdl | | | | The service defined in Wax.wsdl looks like this: | | | | | | Any suggestions ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036444#4036444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036444 From do-not-reply at jboss.com Thu Apr 12 05:38:06 2007 From: do-not-reply at jboss.com (shiransf) Date: Thu, 12 Apr 2007 05:38:06 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Disableing MTOM Message-ID: <23913315.1176370686726.JavaMail.jboss@colo-br-02.atl.jboss.com> I wanted to do the same in jboss 4.0.5 but found that jbossws-core.jar doesn't contain required handler class org.jboss.ws.xop.DisableMTOMHandler. Is there a equivalent handler class for this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036650#4036650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036650 From do-not-reply at jboss.com Thu Apr 12 10:16:46 2007 From: do-not-reply at jboss.com (ltenmatay) Date: Thu, 12 Apr 2007 10:16:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - SOAP Message with Body of any type Message-ID: <12018050.1176387406203.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to create a wsdl that accepts a soap:body of any/anyType? And just let JAXB 2.0 convert it to an element list. I have been trying, but only successful in creating an element of complexType that accepts any element as body. Seems wsconsume does not allow a message part that does not correspond to any element in wsdl. Is it possible to be able to use a dynamic first child element of the SOAP:BODY element? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036735#4036735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036735 From do-not-reply at jboss.com Thu Apr 12 11:01:30 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Thu, 12 Apr 2007 11:01:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: SOAP Message with Body of any type Message-ID: <16567683.1176390090688.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello!! I'm not sure if I understand you right here. Take a look at writing you own endpoint provider http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Endpoint_Provider. It may help you. Best Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036759#4036759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036759 From do-not-reply at jboss.com Thu Apr 12 14:16:54 2007 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 12 Apr 2007 14:16:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Pooling pojos Message-ID: <1254296.1176401814618.JavaMail.jboss@colo-br-02.atl.jboss.com> Hmm, I would have to research how this is done in Tomcat (or now, JBoss Web Server) for servlets. And even provide some kind of init() and destroy() capability. Sounds like a challenge. If no-one else picks it up soon I just might work on this (I am a little swamped for the next week or so). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036831#4036831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036831 From do-not-reply at jboss.com Thu Apr 12 16:40:03 2007 From: do-not-reply at jboss.com (alexboyer) Date: Thu, 12 Apr 2007 16:40:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Losing soap request after it gets to server Message-ID: <23554865.1176410403123.JavaMail.jboss@colo-br-02.atl.jboss.com> I needed all these entries in my service endpoint implementation: @javax.jws.WebService(endpointInterface="com.company.ws.service.ServicePortType", name="ServicePortType", portName="ServicePort", wsdlLocation="META-INF/wsdl/Service.wsdl", targetNamespace = "http://company.com/ws/service", serviceName="Service") This is just an example, not the real values. Without all these entries jboss tried to generate things instead of using what I supplied. For instance the reason I was losing my soap request was that a new request wrapper was being generated with a different package. So when my impl method was called it was called with a null request object. My soap message had been bound to the generated request wrapper, not the type of object my impl method required. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036859#4036859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036859 From do-not-reply at jboss.com Fri Apr 13 09:41:49 2007 From: do-not-reply at jboss.com (wilth) Date: Fri, 13 Apr 2007 09:41:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - SoapBodyImpl, JDK5 and JDom Message-ID: <25742046.1176471709326.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I recently tried to upgrade from JDK 1.4 to JDK 5 (we are talking Jboss 4.0.5) but I'm having trouble with the following piece of code: | org.jdom.Document doc = new org.jdom.Document(); | org.jdom.Element root = new org.jdom.Element("inputData"); | doc.setRootElement(root); | | MessageFactory messageFactory = MessageFactory.newInstance(); | | // Create the SOAP Message | SOAPMessage requestSoapMessage = messageFactory.createMessage(); | | DOMOutputter converter = new DOMOutputter(); | org.w3c.dom.Document iDoc = converter.output(doc); | requestSoapMessage.getSOAPBody().addDocument(iDoc); | As you can see, I'm creating an XML Document programmatically with JDom, then I'm converting it into a "standard" DOM and then I'm putting it into a SOAP envelope. The addDocument method throws: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces. Now this error should be raised when a prefix is used, but no namespace or the qualified name is malformed. However, I'm not using namespaces in my document (other than the empty default NS). I have tried to add a namespace to the Dom4j Document - that solves the problem. The document (when outputted through a transformer) is well-formed. The problem also does not occur with JDK 1.4 or JDK 6 u1. I'm not sure the problem is with the Jboss WS package either, so please let me know if this is not related to the jboss ws implementation. Any ideas on why I'm facing this? Thanks for any pointers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037071#4037071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037071 From do-not-reply at jboss.com Fri Apr 13 17:17:26 2007 From: do-not-reply at jboss.com (TTHUNT) Date: Fri, 13 Apr 2007 17:17:26 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Issues with JBoss5 Beta 1 and WebService Annotations Message-ID: <22275345.1176499046327.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm trying to run a simple test in which I'd like to deploy an EJB in JBoss 5 Beta 1 (with Java 6). I've created an interface and implementation class (see below), put them in a JAR file and deploy the JAR. I can see on the console output that it is reading in the JAR file and creating an EJB, but there is nothing for the WebService. When I got to http://localhost:8080/jbossws/services there are no services listed. There are no errors reported either. I would expect something to come back. Is there a setting that needs to be changed for WebServices to auto deploy in JBoss 5? Is this a bug? Thanks, TTH INTERFACE package com.simple; | | import javax.jws.WebService; | import javax.jws.WebMethod; | import java.rmi.Remote; | | @WebService | public interface Hello extends Remote { | @WebMethod | void speak(); | | } IMPLEMENTATION package com.simple; | | import javax.jws.WebService; | import javax.ejb.Remote; | import javax.ejb.Stateless; | | @WebService | @Remote(Hello.class) | @Stateless | public class HelloBean implements Hello{ | public void speak(){ | System.out.println("Hello"); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037235#4037235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037235 From do-not-reply at jboss.com Fri Apr 13 18:21:20 2007 From: do-not-reply at jboss.com (jposnersails) Date: Fri, 13 Apr 2007 18:21:20 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs Message-ID: <20062037.1176502880329.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same problem deploying the Duke's Bank (sample app) following the Getting Started Guide. I searched through every source, xml, property, etc. file and found nothing. Please xpost if you get a solution. I'm stumped! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037258#4037258 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037258 From do-not-reply at jboss.com Sat Apr 14 10:46:59 2007 From: do-not-reply at jboss.com (chui) Date: Sat, 14 Apr 2007 10:46:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - String[] with SOAP... Please help me! Message-ID: <4616412.1176562019063.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello there! I'm trying to develop a HelloWorld with JBossWS1.0.4, JBossAS4.0.5 and EJB3, but instead of returning a string "Hello World", I'd like to receive a String[]... If I don't create a wsdl, JBossAS autocreate a default file, where the String[] is mapped as a NMTOKENS type. I don't want that because my array [Hello World, Hello World] becomes [Hello, World, Hello, World]... So I used WStools for creating a wsdl. That's my wstools-config.xml: anonymous wrote : | - | | | | | | I found something similar on the userguide and I used interfaces/jaws because JBoss complained if I didn't. WStools generated the wsdl and the mapping xml. Here is the wsdl: http://www.linux.ime.usp.br/~chui/HelloService.wsdl However, isn't accepted when deploying the EJB, so I have to change that to HelloServicePort. And I don't know what I should write as =/ Yeah, I'm newbie. This is the generated jaxrpc-mapping.xml: anonymous wrote : | - | - | interfaces | http://org.jboss.ws/samples/rpcstyle/types | | - | interfaces.HelloService | serviceNS:HelloService | - | HelloSEIPort | HelloSEIPort | | | - | interfaces.HelloSEI | portTypeNS:HelloSEI | bindingNS:HelloSEIBinding | - | hello | hello | - | 0 | java.lang.String | - | wsdlMsgNS:HelloSEI_hello | String_1 | IN | | | - | java.lang.String[] | wsdlMsgNS:HelloSEI_helloResponse | result | | | | Finally I could deploy the bean. But, when I call it using a client application, I receive this error: anonymous wrote : java.rmi.RemoteException: Call invocation failed; nested exception is: | org.jboss.ws.WSException: org.jboss.ws.binding.BindingException: org.jboss.ws.jbossxb.UnmarshalException: Failed to parse source: Not supported xsdType: anyType, hashCode=-842881210 As you can see, I never used anyType. So I tried to find where's this term... And I found it here: http://www.w3.org/2001/XMLSchema.xsd Now I ask you: 1-) Why do I need to use http://interfaces/jaws ?? 2-) How can I receive the String[]??? The bean is being called, but the client can't receive the result =( Please help me! I REALLY NEED this to function so I can apply it to my real (and also EJB3+WS) project... Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037307#4037307 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037307 From do-not-reply at jboss.com Sun Apr 15 12:01:00 2007 From: do-not-reply at jboss.com (ltenmatay) Date: Sun, 15 Apr 2007 12:01:00 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: SOAP Message with Body of any type Message-ID: <61728.1176652860619.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks! got it to work cause of your suggestion. Btw, my previous wasn't really clear. I wanted to create a soap service in which the body is dynamic. I have no choice since the wsdl I got defined it that way. Problem is that the classes i generated using wsconsume expected the first child element of the soap body to be always the same. Same as the element name used in wsdl. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037376#4037376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037376 From do-not-reply at jboss.com Sun Apr 15 12:07:02 2007 From: do-not-reply at jboss.com (ltenmatay) Date: Sun, 15 Apr 2007 12:07:02 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Soap with attachments Message-ID: <22319626.1176653222225.JavaMail.jboss@colo-br-02.atl.jboss.com> Would like to know how to support soap message with attachments in jbossws 1.2.0 SP1. Do I need to define multipart section in my wsdl? The wsdl i got didn't specify any mime sections. I created my own provider. Whenever I send a soap with attachment, the jboss will throw a timeout error and it does not reach the provider. I am using saaj and the message is something like this ------=_Part_0_22691179.1176653070718 Content-Type: text/xml; charset=UTF-8 Content-Transfer-Encoding: binary Content-Id: soap xml ------=_Part_0_22691179.1176653070718 Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-Id: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037378#4037378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037378 From do-not-reply at jboss.com Mon Apr 16 00:37:32 2007 From: do-not-reply at jboss.com (bittu.arvind) Date: Mon, 16 Apr 2007 00:37:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - java.sql.SQLException: File input/output error: Unexpected Message-ID: <32033829.1176698252874.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, i am new in this area. i have installed netbeans ide 5.5 daily bundled with jboss-4.0.4, when i am strting the jboss server using netbeans "run time tab", i am geeting following error. =============================================================================== . JBoss Bootstrap Environment . JBOSS_HOME: C:\jboss-4.0.4.GA\bin\\.. . JAVA: C:\Program Files\Java\jdk1.5.0_11\bin\java . JAVA_OPTS: -Dhttp.proxyHost=199.63.1.0 -Dhttp.proxyPort=80 -Dhttp.nonProxyHosts="*.honeywell.com|*|localhost|127.0.0.1|ie10dtxp6b3zl1s|ie10dtxp6b3zl1s.global.ds.honeywell.com" -Dhttps.proxyHost=199.63.1.0 -Dhttps.proxyPort=80 -Dprogram.name=run.bat -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 . CLASSPATH: C:\Program Files\Java\jdk1.5.0_11\lib\tools.jar;C:\jboss-4.0.4.GA\bin\\run.jar . =============================================================================== . 09:49:38,578 INFO [Server] Starting JBoss (MX MicroKernel)... 09:49:38,578 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000) 09:49:38,593 INFO [Server] Home Dir: C:\jboss-4.0.4.GA 09:49:38,593 INFO [Server] Home URL: file:/C:/jboss-4.0.4.GA/ 09:49:38,593 INFO [Server] Patch URL: null 09:49:38,593 INFO [Server] Server Name: default 09:49:38,593 INFO [Server] Server Home Dir: C:\jboss-4.0.4.GA\server\default 09:49:38,593 INFO [Server] Server Home URL: file:/C:/jboss-4.0.4.GA/server/default/ 09:49:38,703 INFO [Server] Server Log Dir: C:\jboss-4.0.4.GA\server\default\log 09:49:38,703 INFO [Server] Server Temp Dir: C:\jboss-4.0.4.GA\server\default\tmp 09:49:38,703 INFO [Server] Root Deployment Filename: jboss-service.xml 09:49:39,046 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc. 09:49:39,046 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_11-b03,Sun Microsystems Inc. 09:49:39,046 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 09:49:39,703 INFO [Server] Core system initialized 09:49:41,000 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 09:49:46,453 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://199.63.66.250:3873/] 09:49:47,765 INFO [AspectDeployer] Deployed AOP: file:/C:/jboss-4.0.4.GA/server/default/deploy/ejb3-interceptors-aop.xml 09:50:00,609 INFO [WebService] Using RMI server codebase: http://ie10dtxp6b3zl1s:8083/ 09:50:02,609 INFO [MailService] Mail Service bound to java:/Mail 09:50:02,937 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory 09:50:02,937 WARN [NamingService] Context.PROVIDER_URL in server jndi.properties, url=localhost:1099 09:50:03,015 INFO [SubscriptionManager] Bound event dispatcher to java:/EventDispatcher 09:50:03,796 INFO [Embedded] Catalina naming disabled 09:50:03,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 09:50:03,859 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. 09:50:04,203 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 09:50:04,203 INFO [Catalina] Initialization processed in 344 ms 09:50:04,203 INFO [StandardService] Starting service jboss.web 09:50:04,203 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.17 09:50:04,250 INFO [StandardHost] XML validation disabled 09:50:04,265 INFO [Catalina] Server startup in 62 ms 09:50:04,406 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ 09:50:04,890 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined 09:50:05,484 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp17170jbossws-exp.war/ 09:50:05,656 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 09:50:06,781 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 09:50:07,203 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 09:50:07,312 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar 09:50:07,328 INFO [QuartzResourceAdapter] start quartz!!! 09:50:07,406 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 09:50:07,437 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 09:50:07,437 INFO [RAMJobStore] RAMJobStore initialized. 09:50:07,546 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 09:50:07,546 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 09:50:07,546 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 09:50:08,218 WARN [ServiceController] Problem starting service jboss:service=Hypersonic,database=localDB java.sql.SQLException: File input/output error: Unexpected token: why this error is coming?? and how i can solve this??? please give reply as soon as possible. thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037424#4037424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037424 From wolfgang.moser at src-gmbh.de Mon Apr 16 04:05:34 2007 From: wolfgang.moser at src-gmbh.de (Wolfgang Moser) Date: Mon, 16 Apr 2007 10:05:34 +0200 Subject: [jbossws-users] How to disable weak ciphersuites for a SSL secured webservice In-Reply-To: <460A4F69.6000908@src-gmbh.de> References: <460A4F69.6000908@src-gmbh.de> Message-ID: <46232E4E.6090002@src-gmbh.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello, I got my requirements solved. According to: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=75091 configuring the Tomcat connector to (via deploy/jbossweb-tomcat55.sar/server.xml): restricts the available server-side SSL/TLS ciphersuites to the ones given. - -- Mit freundlichen Gr??en, Wolfgang Moser _______________________________________________________________ SRC Security Research & Consulting GmbH Graurheindorfer Str. 149 a Tel: +49(0)228-2806-149 53117 Bonn Fax: +49(0)228-2806-199 http://www.src-gmbh.de Mob: +49(0) Handelsregister Bonn: HRB 9414 Gesch?ftsf?hrer: Gerd Cimiotti -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (MingW32) iQEVAwUBRiMuTV351eL5alt0AQipGgf+MR0ZU9SNnRSa9GjgmoEDvvl7rj5BZJlK T+dF81yY06UPYR9tQ4GSpEApi9kTFzDbTx8+Ig4/2HyGSMDV7ajqKpI2Mf115x/2 9m9GzrC5RWHQkcYP7nduqLzHIGPuuqpc6SzM3SjfyanMkyp55+BpUDoKt0AOMDoy u7qv3FAlW4CxJ3gHyQHvW+GubeU1KvEyK5ywj98JCTwokL4puLQ2mft/HJAO5FUH NeCWNgsWnBflh9shObCGc/AMrD0m8ykmZ5y66zomGqgTmeKDRejNttEtJqi457Dk pgT/7fS8UunVzDwEnbcUZW2CIsEHI1YHr2mS/4OZqAJJ4ba0cv6fbA== =pq/2 -----END PGP SIGNATURE----- From do-not-reply at jboss.com Mon Apr 16 04:16:00 2007 From: do-not-reply at jboss.com (anescu) Date: Mon, 16 Apr 2007 04:16:00 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs Message-ID: <33287467.1176711360512.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I found no solution for this. I finally found out what was keeping the port 8080 occupied (the firewall client, off course), so I changed Tomcat's port to 8080 and it worked. I guess nobody from WS project is looking over this topic??? Can we post a JIRA issue about this bug? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037450#4037450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037450 From do-not-reply at jboss.com Mon Apr 16 05:12:33 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Mon, 16 Apr 2007 05:12:33 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Element or attribute do not match QName production: QName::= Message-ID: <12686597.1176714753414.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello!! I'm getting a strange exception when invoking a simple client inside a stateless session bean. Everything has to do with the javax.xml.namespace.QName. I'm using xml beans which I had to modify because of an extra include of the javax.xml.namespace.QName, i.e. I have removed the javax.xml.namespace from the xbean.jar. I have the following code: | XmlOptions xmlOptions = new XmlOptions(); | xmlOptions.setSavePrettyPrint(); | | // create target namespace | String targetNamespace = "http://test/test-service"; | | QName serviceQName = new QName(targetNamespace, "Test"); | QName portTypeQname = new QName(targetNamespace, "TestSoap11Port"); | URL wsdlURL = new URL("http://lpt-osca:8080/service-test-jaxws-web?wsdl"); | | Service service = Service.create(wsdlURL, serviceQName); | Dispatch dispatch = service.createDispatch(portTypeQname, DOMSource.class, Mode.PAYLOAD); | | // creating xml beans request ... | TestRequestDocument testRequestDocument = TestRequestDocument.Factory.newInstance(); | ... | | System.out.println("REQUEST"); | testRequestDocument.save(System.out, xmlOptions); | System.out.println(); | | DOMSource requestSource = new DOMSource(testRequestDocument.newDomNode()); | DOMSource responseSource = dispatch.invoke(requestSource); | XmlObject xmlObject = XmlObject.Factory.parse(responseSource.getNode()); | | System.out.println("RESPONSE"); | xmlObject.save(System.out, xmlOptions); | | And I'm getting the following error: | 2007-04-16 10:31:51,636 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=UTF-8] | 2007-04-16 10:31:51,665 ERROR [STDERR] [Fatal Error] :1:331: Element or attribute do not match QName production: QName::=(NCName':')?NCName. | 2007-04-16 10:31:51,691 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure SOAPBinding | 2007-04-16 10:31:51,691 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception | java.io.IOException: org.xml.sax.SAXParseException: Element or attribute do not match QName production: QName::=(NCName':')?NCName. | at org.jboss.ws.core.utils.DOMUtils.parse(DOMUtils.java:125) | at org.jboss.ws.core.soap.EnvelopeBuilderPayload.build(EnvelopeBuilderPayload.java:56) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:253) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:185) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:440) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Can anyone explain this to me. I found the same error for someone using axis thread about using a different constructor when instantiating the QName (http://forums.crmsuccess.com/sforce/board/message?board.id=JAVA_development&message.id=962), but can it be that? Sounds strange to me. Is there a conflict between my jvm/jee (using std sun when compiling) and the JBoss environment. I have JBoss 4.0.5.GA with EJB3 RC9 and JBossWS 1.2.0SP1. I'm running everything on a Windows Vista E.Ed. with JDK 1.5.11. Best Regardsd Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037472#4037472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037472 From do-not-reply at jboss.com Mon Apr 16 05:16:28 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Mon, 16 Apr 2007 05:16:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Element or attribute do not match QName production: QNam Message-ID: <10330086.1176714988226.JavaMail.jboss@colo-br-02.atl.jboss.com> ... one more thing ... I'm running JBoss in isolated mode. All xmlbeans jar file are bundled in the EAR file. //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037474#4037474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037474 From do-not-reply at jboss.com Mon Apr 16 10:17:58 2007 From: do-not-reply at jboss.com (RomeuFigueira) Date: Mon, 16 Apr 2007 10:17:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs Message-ID: <2644006.1176733078576.JavaMail.jboss@colo-br-02.atl.jboss.com> Until 1.0.4 you need to change also this line: 8080 which is located in deploy\jbossws.sar\jbossws.beans\META-INF\jboss-beans.xml You will need to expload jbossws.sar and jbossws.beans to get access to that particular xml file. Once changed, both your tomcat an jbossws ports to the same one, you should have no problem regarding this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037565#4037565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037565 From do-not-reply at jboss.com Mon Apr 16 10:57:45 2007 From: do-not-reply at jboss.com (anescu) Date: Mon, 16 Apr 2007 10:57:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs Message-ID: <19331147.1176735465360.JavaMail.jboss@colo-br-02.atl.jboss.com> Great, Thanks for the info. I searched everywhere for the 8080 string, but I guess the search treated jbossws.beans as a binary file, not as an archive. Why is it jboss-beans.xml pachaged inside a jbossws.beans archive? Why not put directly the file under the META-INF dir as the other 3 XML files? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037590#4037590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037590 From do-not-reply at jboss.com Mon Apr 16 11:44:12 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Mon, 16 Apr 2007 11:44:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How to provide soapAction from dispatch call? Message-ID: <27504912.1176738252709.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I've tried a to fix this for some hours know. Maybe I'm doing something completely wrong here. I have a web service client that that is using the dispatch technique. I will use the dispatch because I'm using xmlbeans to bind my data. Here is a little code snippet of what I'm trying to do: | // names | String targetNamespace = "http://test/test-service"; | QName serviceQName = new QName(targetNamespace, "TestService"); | QName portQName = new QName(targetNamespace, "TestServiceSoap11Port"); | URL wsdlURL = new URL("http://lpt-osca:8080/service-testservice-jaxws-web?wsdl"); | | // create service | Service service = Service.create(serviceQName); | service.addPort(portQName, SOAPBinding.SOAP11HTTP_BINDING, wsdlURL.toExternalForm()); | Dispatch dispatch = service.createDispatch(portQName, StreamSource.class, Mode.PAYLOAD); | | // set SOAPAction | dispatch.getRequestContext().put(BindingProvider.SOAPACTION_USE_PROPERTY, true); | dispatch.getRequestContext().put(BindingProvider.SOAPACTION_URI_PROPERTY, "uri:placeBuyOrder"); | | // create xml options for pretty print | XmlOptions xmlOptions = new XmlOptions(); | xmlOptions.setSavePrettyPrint(); | | // create request | TestRequestDocument testRequestDocument = TestRequestDocument.Factory.newInstance(); | ... | | | // print request | System.out.println("REQUEST"); | testRequestDocument.save(System.out, xmlOptions); | System.out.println(); | | // save request in a stream | ByteArrayOutputStream requestByteArrayOutputStream = new ByteArrayOutputStream(); | testRequestDocument.save(requestByteArrayOutputStream); | | // create a new stream source | StreamSource requestStreamSource = new StreamSource(new ByteArrayInputStream(requestByteArrayOutputStream.toByteArray())); | | // invoke | StreamSource responseSource = dispatch.invoke(requestStreamSource); | | // parse result | XmlObject xmlObject = XmlObject.Factory.parse(responseSource.getInputStream()); | | // print response | System.out.println("RESPONSE"); | xmlObject.save(System.out, xmlOptions); | When doing this. it seems like the soap action attribute is not sent to the server, at least not in the http headers. So, my question is: Is the soapAction sent to the sever? If so, where can I find it in the messageContext? My service is a web service endpoint provider implementation like | @Stateless | @WebServiceProvider( | serviceName = "TestService", | portName = "TestServiceSoap11Port", | targetNamespace = "http://test/test-service", | wsdlLocation = "WEB-INF/wsdl/test-service.wsdl") | @ServiceMode(value = Service.Mode.PAYLOAD) | public class FundOrderEndpointProvider implements Provider { | | ... | | } | | I will look for the soap action http header to decide what method to invoke in another stateless session bean. Can anyone help me we this? Best Regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037613#4037613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037613 From do-not-reply at jboss.com Mon Apr 16 11:46:07 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Mon, 16 Apr 2007 11:46:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Element or attribute do not match QName production: QNam Message-ID: <12558037.1176738367480.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems like using a StreamSource instead of the DOMSource will work to get around this problem. But I can't understand why. //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037614#4037614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037614 From do-not-reply at jboss.com Mon Apr 16 11:57:15 2007 From: do-not-reply at jboss.com (jthalliley) Date: Mon, 16 Apr 2007 11:57:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Schema Validation in JBOSS-WS Message-ID: <6741747.1176739035115.JavaMail.jboss@colo-br-02.atl.jboss.com> We were counting on the JBoss WS stack to validate incoming data against our schemas :-( Guess I'm putting in my vote to increase the priority of this item. Thanks, Tom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037619#4037619 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037619 From do-not-reply at jboss.com Mon Apr 16 13:25:32 2007 From: do-not-reply at jboss.com (RomeuFigueira) Date: Mon, 16 Apr 2007 13:25:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Generated WSDL has default port 8080 even if server runs Message-ID: <12840297.1176744332984.JavaMail.jboss@colo-br-02.atl.jboss.com> Apparently it should have been fixed by now: http://jira.jboss.org/jira/browse/JBWS-1007 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037651#4037651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037651 From do-not-reply at jboss.com Mon Apr 16 15:58:05 2007 From: do-not-reply at jboss.com (chui) Date: Mon, 16 Apr 2007 15:58:05 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problem with JBossAS 4.0.5 and JBossWS 1.2.0? Message-ID: <22212821.1176753485392.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've been searching for a way to send String[] type through SOAP, but it seems impossible when using WSDL generation for JSR-181. I found http://jira.jboss.org/jira/browse/JBWS-1101 and decided to try JBossWS1.2.0 with my JBoss4.0.5-GA::ejb3config (I was using JBossWS1.0.4). I installed JBossWS1.2.0 using anonymous wrote : | ant deploy-jboss40 and then some errors appeared when using my workspace: the annotations WebService, Stateless, etc... were not found. I use JDK1.5.0_upd.11. Did I do something wrong? =/ Thank you... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037706#4037706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037706 From do-not-reply at jboss.com Mon Apr 16 19:03:12 2007 From: do-not-reply at jboss.com (d_pavel) Date: Mon, 16 Apr 2007 19:03:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JSR-109Client, Mapping problem and trying to connect to Message-ID: <7430525.1176764592833.JavaMail.jboss@colo-br-02.atl.jboss.com> Once again the root cause of the problems are the JBossWS tools used to generate the required artifacts. For comparison I used XFire (=open source Java SOAP framework). I got a total of X artifacts generated using JBossWS wbservices stack and related tools. In comparison I got a total of (X+10) artifacts generated using XFire (from these other 10 artifacts 7 are array type classes and the reminder of 3 are just simple object type classes...). So in conclusion I used both and here is my opinion: Not only that (different nr of artifacts), but there are discrepancies between the structure of the generated artifacts using JBossWS versus XFire even if the core of them should be in sync because I run against same WSDL. Please correct me if I'm wrong related with my last assumption. Even the methods in the generated Service Endpoint Interface had different method signatures (well 2 of them but still !!!). Now everything is working for me without issues (sorry no offence) but I was wondering about the different result from the tools in the 2 cases mentioned above.... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037774#4037774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037774 From do-not-reply at jboss.com Tue Apr 17 04:33:04 2007 From: do-not-reply at jboss.com (darran.lofthouse@jboss.com) Date: Tue, 17 Apr 2007 04:33:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JSR-109Client, Mapping problem and trying to connect to Message-ID: <18369804.1176798784521.JavaMail.jboss@colo-br-02.atl.jboss.com> There is no requirement for two code generators to generate identicle code as the JAX-RPC mapping file is used to describe how the schema was mapped to Java. If you have a reproducable scenario where invalid code is being generated please raise a bug in Jira with the required files to reproduce it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037876#4037876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037876 From do-not-reply at jboss.com Tue Apr 17 08:22:56 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Tue, 17 Apr 2007 08:22:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to provide soapAction from dispatch call? Message-ID: <23472600.1176812576030.JavaMail.jboss@colo-br-02.atl.jboss.com> Does anyone know if this is a bug or related to something else. Or how do I get around this problem? I found this thread on java.net forum http://forums.java.net/jive/message.jspa?messageID=190079. Doesn't help much but it seem to be a problem in jwsdp2. Regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037940#4037940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037940 From do-not-reply at jboss.com Tue Apr 17 09:59:01 2007 From: do-not-reply at jboss.com (electren) Date: Tue, 17 Apr 2007 09:59:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - NoClassDefFoundError: RuntimeWSDLParser.createReader Message-ID: <5575721.1176818341557.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all. I want to consume a webservice with a dynamic Stub generated by Jax-WS-Api. The WSDL-Parser is throwing following exception: | java.lang.NoClassDefFoundError | at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:786) | at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:236) | at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:107) | at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:226) | at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:189) | at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:159) | at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:81) | at javax.xml.ws.Service.(Service.java:56) | at javax.xml.ws.Service.create(Service.java:680) | at de.xxx.fm.app.web.bl.services.WSLogin.pruefeLogin(WSLogin.java:52) | at de.xxx.fm.app.web.bl.facade.BusinessFacade.verifieLogin(BusinessFacade.java:63) | at de.xxx.fm.app.web.gui.serviceworker.CommandDispatcher.bearbeiteLogin(CommandDispatcher.java:168) | at de.xxx.fm.app.web.gui.serviceworker.CommandDispatcher.dispatch(CommandDispatcher.java:63) | at de.xxx.fm.app.web.gui.servlet.FrontController.doService(FrontController.java:86) | at de.xxx.fm.app.web.gui.servlet.FrontController.doPost(FrontController.java:58) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) Has anybody get this exception before? The Class is in jaxws-rt.jar, which is include in the Jboss lib-dir... I'm using the newest version of the api's... Has anybody a solution for the problem? Thanks for every kind of help.. greetings Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037967#4037967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037967 From do-not-reply at jboss.com Tue Apr 17 10:19:40 2007 From: do-not-reply at jboss.com (tfennelly) Date: Tue, 17 Apr 2007 10:19:40 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Is there a wsconsume sample available? Message-ID: <3631774.1176819580253.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a sample of how to use wsconsume to generate service side artifacts? I've seen written examples on the wiki etc, but am having trouble working out it's dependencies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037976#4037976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037976 From do-not-reply at jboss.com Tue Apr 17 11:01:29 2007 From: do-not-reply at jboss.com (Schludi) Date: Tue, 17 Apr 2007 11:01:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - No service endpoint generated? Message-ID: <11945891.1176822089043.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello i have the following maven-Script added to my pom.xml which starts wstools with an ANT-Task: | | maven-antrun-plugin | | | antTask | process-classes | | run | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here the EJB.Code | package org.test; | | import java.rmi.RemoteException; | | import java.math.*; | import javax.ejb.SessionBean; | import javax.ejb.SessionContext; | | /** | * Trade Session EJB manages all Trading services | * | * @ejb.bean name="FirstEJBBean" | * display-name="FirstEJBBean" | * description="A simple hello world bean." | * local-jndi-name="FirstEJBBean" | * type=stateless | * view-type="service-endpoint" | *@ejb.interface generate="service-endpoint" | * service-endpoint-class="org.test.StatlessEJBEndpoint" | * | * @wsee.port-component name="org.test.StatlessEJBEndpointPort" | */ | public class StatlessEjbBean implements SessionBean | { | | BigDecimal yenRate = new BigDecimal("121.6000"); | | BigDecimal euroRate = new BigDecimal("0.0077"); | | /** | * @ejb.interface-method view-type="service-endpoint" | */ | public BigDecimal dollarToYen(BigDecimal dollars) { | BigDecimal result = dollars.multiply(yenRate); | return result.setScale(2, BigDecimal.ROUND_UP); | } | | /** | * @ejb.interface-method view-type="service-endpoint" | */ | public BigDecimal yenToEuro(BigDecimal yen) { | BigDecimal result = yen.multiply(euroRate); | return result.setScale(2, BigDecimal.ROUND_UP); | } | | public StatlessEjbBean() { | } | | public void ejbCreate() { | } | | public void ejbRemove() { | } | | public void ejbActivate() { | } | | public void ejbPassivate() { | } | | public void setSessionContext(SessionContext sc) { | } | } i get the following error: | | [INFO] [antrun:run {execution: antTask}] | [INFO] Executing tasks | [echo] ********** Running jboss ws ************** | log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools). | log4j:WARN Please initialize the log4j system properly. | org.jboss.ws.WSException: Endpoint com.bbraun.bbmag.test.StatlessEJBEndpoint can | not be loaded | at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(Too | lsHelper.java:113) | at org.jboss.ws.tools.WSTools.process(WSTools.java:132) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) | at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | at org.apache.tools.ant.Task.perform(Task.java:364) | at org.apache.tools.ant.Target.execute(Target.java:341) | at org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(AbstractA | ntMojo.java:108) | at org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83) | | at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi | nManager.java:420) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa | ultLifecycleExecutor.java:539) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi | fecycle(DefaultLifecycleExecutor.java:480) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau | ltLifecycleExecutor.java:459) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan | dleFailures(DefaultLifecycleExecutor.java:311) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen | ts(DefaultLifecycleExecutor.java:278) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi | fecycleExecutor.java:143) | at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:272) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) | at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) | at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) | | at org.codehaus.classworlds.Launcher.main(Launcher.java:375) | [INFO] ------------------------------------------------------------------------ | [ERROR] BUILD ERROR | [INFO] ------------------------------------------------------------------------ | [INFO] Error executing ant tasks | | Embedded error: Error running jbossws: | Endpoint com.bbraun.bbmag.test.StatlessEJBEndpoint cannot be loaded | [INFO] ------------------------------------------------------------------------ | [INFO] For more information, run Maven with the -e switch | [INFO] ------------------------------------------------------------------------ | [INFO] Total time: 1 minute 9 seconds | [INFO] Finished at: Tue Apr 17 16:31:46 CEST 2007 | [INFO] Final Memory: 9M/20M | [INFO] ------------------------------------------------------------------------ | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037998#4037998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037998 From do-not-reply at jboss.com Tue Apr 17 12:57:06 2007 From: do-not-reply at jboss.com (cjunge) Date: Tue, 17 Apr 2007 12:57:06 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - setProperty must be overridden by all subclasses of SOAPMesa Message-ID: <18073574.1176829026068.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have created (using Netbeans) a JAX-WS client to invoke a web service. I've copied the JAX-WS jars to the deafult/lib directory of the AS including saaj-api.jar and saaj-impl.jar. I'm using jboss-4.0.5.GA and jdk1.5.0_09. The server boots without errors but when I invoke the client I get the following error in the console. | 2007-04-13 15:07:41,937 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source) | at org.jboss.ws.soap.SOAPMessageImpl.(SOAPMessageImpl.java:65) | at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:209) | at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:142) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:190) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11Base | Protocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2007-04-13 15:07:41,937 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] Error creating SOAPFault message java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source) | at org.jboss.ws.soap.SOAPMessageImpl.(SOAPMessageImpl.java:65) | at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:115) | at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.toSOAPMessage(SOAPFaultExceptionHelper.java:203) | at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:188) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:223) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11Base | Protocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | >From what I've been able to find out in the forums the problem is that I have two saaj.jar in the classpath and I should tell JBoss to use it's own verson (jboss-saaj.jar) over the other. Removing the other version generates other errors so I need to know how to make sure that I'm using jboss-saaj.jar in execution time. Whould someone please tell me how to do this or maybe give a different solution to my problem? Thanks in advance, Cristian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038048#4038048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038048 From do-not-reply at jboss.com Tue Apr 17 13:12:14 2007 From: do-not-reply at jboss.com (jesse_sweetland) Date: Tue, 17 Apr 2007 13:12:14 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Multiple Bindings not Supported Message-ID: <13561697.1176829934419.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm trying to consume a web service with multiple ports and I receive the error "Multiple bindings not supported." I'm using an IDE-generated static stub built with NetBeans 5.0 (rpcliteral, wsi). I've added an application-client.xml and jboss-client.xml in the JAR META-INF directory to bind the client to JNDI. I have specified a port-component-ref in both, but I still receive the same error. I'm using JBoss 4.0.3SP1. Here is an example of how my application-client.xml: | | | MyWSClient | | MyWSClient | mypkg.MyWSSEI | META-INF/wsdl/MyWS.wsdl | META-INF/MyWS-mapping.xml | | mypkg.MyPort | | | | Where mypkg.MyWSSEI is a generated interface that extends javax.xml.rpc.Service and mypkg.MyPort is a generated interface extends java.rmi.Remote. Names have been changed to protect the innocent. I receive no errors other than the "Multiple bindinds not supported". Is there anything I'm doing wrong? I've tried upgrading to JBoss 4.0.5, but I receive many other errors with my other JAX-RPC web service clients. I receive the same errors even after upgrading to JBossWS 1.0.4 and 1.2.0. Can someone provide an example of an application-client.xml or jboss-client.xml with a port-component-ref that will enable me to build a client for JBoss 4.0.3? Is there a document that explains a what steps are necessary to migrate JAX-RPC clients from 4.0.3 to 4.0.5? Is there a preferred or recommended platform? (JBoss 4.0.5 + wstools, JBoss 4.0.3 + wscompile, etc?) We have a lot of existing web services and clients and I would like to minimize migration effort. Thanks, Jesse View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038057#4038057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038057 From do-not-reply at jboss.com Tue Apr 17 13:52:18 2007 From: do-not-reply at jboss.com (electren) Date: Tue, 17 Apr 2007 13:52:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoClassDefFoundError: RuntimeWSDLParser.createReader Message-ID: <19846760.1176832338040.JavaMail.jboss@colo-br-02.atl.jboss.com> In according to the problem above: To get nearer to the solution, i had wrote a main-Methode which calls the Webservice.... Here i got another Exception. First the main-Methode: File wsdl = new File("D:/workspace/app-webservice-connector/src/main/resources/META-INF/Cow.wsdl"); | URL wsdlUrl = null; | try { | wsdlUrl = new URL("http://localhost:8080/app-cs-api/services/Cow?wsdl"); | // wsdlUrl = wsdl.toURL(); | } catch (MalformedURLException e1) { | // TODO Auto-generated catch block | e1.printStackTrace(); | } | QName serviceName = new QName("http://cow.service.app.fm.business.de", "Cow"); | | Service service = Service.create(wsdlUrl, serviceName); | /* | * DEBUG!!! | */ | System.out.println(service.getServiceName().getLocalPart()); | System.out.println(service.getServiceName().getNamespaceURI()); | System.out.println(service.getWSDLDocumentLocation().getPath()); | | //Cow_Service service = (Cow_Service) Cow_Service.createCall(serviceName, wsdlUrl); | | Cow_PortType port = (Cow_PortType) service.getPort(Cow_PortType.class); | | try { | boolean response = port.pruefeLogin("user", "x"); | } catch (RemoteException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | The exception: | Exception in thread "main" com.sun.xml.ws.model.RuntimeModelerException: A WebService annotation is not present on class: de.business.fm.app.service.cow.Cow_PortType | at com.sun.xml.ws.model.RuntimeModeler.getPortTypeName(RuntimeModeler.java:1252) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:296) | at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:306) | at javax.xml.ws.Service.getPort(Service.java:161) | at WSLogin.main(WSLogin.java:48) | The Interface generated by wstools: | /* | * JBossWS WS-Tools Generated Source | * | * Generation Date: Tue Apr 17 19:06:34 CEST 2007 | * | * This generated source code represents a derivative work of the input to | * the generator that produced it. Consult the input for the copyright and | * terms of use that apply to this source code. | */ | package de.business.fm.app.service.cow; | public interface Cow_PortType extends java.rmi.Remote | { | | public boolean pruefeLogin(java.lang.String anmeldenamen, java.lang.String kennwort) throws java.rmi.RemoteException; | } | How i have to place some annotation in this interface? Is it possible that wstools generated not correctly?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038079#4038079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038079 From do-not-reply at jboss.com Tue Apr 17 15:02:34 2007 From: do-not-reply at jboss.com (jesse_sweetland) Date: Tue, 17 Apr 2007 15:02:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Multiple Bindings not Supported Message-ID: <27524840.1176836554153.JavaMail.jboss@colo-br-02.atl.jboss.com> Lest there be confusion, the mypkg.MyWSSEI is a misnomer--that is the service interface, not the service endpoint interface. The "SEI" suffix was a mistake. (The name was made-up off the top of my head, and I got the two confused.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038110#4038110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038110 From do-not-reply at jboss.com Wed Apr 18 08:05:42 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Wed, 18 Apr 2007 08:05:42 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to provide soapAction from dispatch call? Message-ID: <15052802.1176897942196.JavaMail.jboss@colo-br-02.atl.jboss.com> I file this as a bug in JIRA http://jira.jboss.com/jira/browse/JBWS-1611. There is no SOAPAction http header sent to the server doing the specified way. //Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038332#4038332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038332 From do-not-reply at jboss.com Wed Apr 18 09:56:23 2007 From: do-not-reply at jboss.com (benvenutto) Date: Wed, 18 Apr 2007 09:56:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Recognising a wrapped doc literal web service in Visual Stud Message-ID: <7362426.1176904583223.JavaMail.jboss@colo-br-02.atl.jboss.com> Confusingly the User Guide in the section on wrapped doc literal states: Wrapped is an implementation detail from the Java domain. Neither in the abstract contract (i.e. wsdl+schema) nor at the SOAP message level is a wrapped endpoint recognizable. I can deploy the following web service: | @WebService | @SOAPBinding( | style = SOAPBinding.Style.DOCUMENT, | use = SOAPBinding.Use.LITERAL, | parameterStyle=SOAPBinding.ParameterStyle.WRAPPED) | public class Boing | { | /** | * Should generate a wrapped document literal interface. | * | * @param payload | * @return | */ | @WebMethod | @WebResult (name = "bouncedPayload") | public byte[] bounce( | @WebParam(name = "token") | String token, | @WebParam(name = "payload") | byte[] payload) | { | return payload; | } | But in Visual Studio 2005 the web reference appears as bare, wrapped is not detected! This is under JB 4.2.0 CR1. Many thanks Simon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038404#4038404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038404 From do-not-reply at jboss.com Wed Apr 18 10:31:03 2007 From: do-not-reply at jboss.com (roates) Date: Wed, 18 Apr 2007 10:31:03 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: White space in String type field Message-ID: <2150939.1176906663531.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm getting the same problem when the server sends an empty string back to the client. In the XML it appears as an empty tag. Did you manage to find a solution? regards richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038433#4038433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038433 From do-not-reply at jboss.com Wed Apr 18 11:15:27 2007 From: do-not-reply at jboss.com (roates) Date: Wed, 18 Apr 2007 11:15:27 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - whitespace getting trimmed Message-ID: <23957786.1176909327221.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using JBoss 4.0.5, JBossWS 1.2.0. I've got a problem with a string field, defined as follows in the WSDL: which, when set to 8 blanks server-side, gets trimmed and delivered to the client as: Unfortunately the 8 blanks are significant and I don't want them to be trimmed. Is there a configuration option somewhere in JBossWS to prevent this? (Just for information, I've tried the same EAR-file with JBoss 4.0.2, and there the string gets delivered in full.) thanks richard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038465#4038465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038465 From do-not-reply at jboss.com Wed Apr 18 14:11:59 2007 From: do-not-reply at jboss.com (dimitris@jboss.org) Date: Wed, 18 Apr 2007 14:11:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Regression with jbossAS 4.2.0.CR2 Message-ID: <20017187.1176919919256.JavaMail.jboss@colo-br-02.atl.jboss.com> Can you please check this report? http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038521#4038521 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038569#4038569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038569 From do-not-reply at jboss.com Wed Apr 18 14:25:32 2007 From: do-not-reply at jboss.com (gkfabs) Date: Wed, 18 Apr 2007 14:25:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Jboss ws jaxrpc mapping file. Message-ID: <1836460.1176920732902.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am currently implementing the access to a webservice through a service-ref declaration in the DD in Tomcat (http://people.apache.org/list_C.html#fcarrion). And right now I am working on the jaxrpc-mapping-file. This is why I am reading the code of jbossws. This is really well programmed and it helped me a lot in my understanding of the webservice call. But I am facing a big problem. I have already written the parser of the jaxrpc-mapping-file, but then I don't know how to use the mapping objects created. I saw in jbossws that they are stored in an another object called TypesMetaData. But I don't understant where they are used and how. I know that is a problem that I have because I still doesn't understand completly the jsr109. Could you provide me some help? Some technical document? Thanks Fabien Carrion View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038576#4038576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038576 From do-not-reply at jboss.com Wed Apr 18 15:52:54 2007 From: do-not-reply at jboss.com (bypaik) Date: Wed, 18 Apr 2007 15:52:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - wsconsume and IllegalStateException Message-ID: <11512360.1176925974953.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, i'm running jboss 4.0.5.GA along with jbossws 1.2.1.GA. i'm attempting to use wsconsume on a generated wsdl. however, i'm getting the following error: Exception in thread "main" java.lang.IllegalStateException: Could not load provider:org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl at org.jboss.ws.tools.jaxws.api.Locator.locate(Locator.java:55) at org.jboss.ws.tools.jaxws.api.WSContractConsumer.newInstance(WSContractConsumer.java:68) at org.jboss.ws.tools.jaxws.api.WSContractConsumer.newInstance(WSContractConsumer.java:56) at org.jboss.ws.tools.jaxws.command.wsconsume.importServices(wsconsume.java:170) at org.jboss.ws.tools.jaxws.command.wsconsume.main(wsconsume.java:76) i went through and looked for any other posts regarding this issue and found that jbossws-wsconsume-impl.jar needed to be added to the classpath. i 1.2.1's wsconsume.bat adds this jar to the classpath. i did add jbossretero-rt.jar to the classpath as well because i was getting a ClassNotFoundException on JBossStringBuilder i'm running everything locally on winxp. any help is greatly appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038620#4038620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038620 From do-not-reply at jboss.com Wed Apr 18 15:58:16 2007 From: do-not-reply at jboss.com (bypaik) Date: Wed, 18 Apr 2007 15:58:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume and IllegalStateException Message-ID: <7453480.1176926296203.JavaMail.jboss@colo-br-02.atl.jboss.com> i forgot to mention i'm used the deploy-jboss40-jdk14 option. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038623#4038623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038623 From do-not-reply at jboss.com Wed Apr 18 22:39:53 2007 From: do-not-reply at jboss.com (benvenutto) Date: Wed, 18 Apr 2007 22:39:53 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Does anybody have an example of wrapped document working wit Message-ID: <14870849.1176950393609.JavaMail.jboss@colo-br-02.atl.jboss.com> If you have an example of a JBoss web service that is recognised by .Net as using wrapped document literal, could you please post the annotations used. Thanks Simon View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038694#4038694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038694 From do-not-reply at jboss.com Wed Apr 18 22:55:24 2007 From: do-not-reply at jboss.com (benvenutto) Date: Wed, 18 Apr 2007 22:55:24 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Recognising a wrapped doc literal web service in Visual Message-ID: <16169797.1176951324439.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to mention this was deployeed as a war with web.xml only, no deployment descriptors were generated (i.e.: everything should get generated at deployment time from the annotations). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038695#4038695 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038695 From do-not-reply at jboss.com Thu Apr 19 01:51:49 2007 From: do-not-reply at jboss.com (spinergywmy) Date: Thu, 19 Apr 2007 01:51:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Generate WSDL Message-ID: <12512241.1176961909032.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm a newbie to web service. I'm having a problem while generating WSDL using wsgen within build.xml. The error message is could not find class file. What will be the possible reason? Below are the codes that I wrote: I'm using eclipse JBoss IDE to develop the project and deploy in JBoss AS. I implement in EJB3.0. Is there any examples that I can refer to, in order to develop the web service in EJB3.0? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038718#4038718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038718 From do-not-reply at jboss.com Thu Apr 19 07:42:34 2007 From: do-not-reply at jboss.com (electren) Date: Thu, 19 Apr 2007 07:42:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JBossXBException: Failed to parse source Message-ID: <23136304.1176982954369.JavaMail.jboss@colo-br-02.atl.jboss.com> I use 1.0.4 and have this problem also... I there a solution already?? Can't find some Jira-Tasks... My exception: | Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Requested element anmeldenamen is not allowed in this position in the sequence. The next element should be {http://cow.service.app.fm.business.de}anmeldenamen | at com.sun.xml.ws.encoding.soap.ClientEncoderDecoder.toMessageInfo(ClientEncoderDecoder.java:84) | at com.sun.xml.ws.encoding.soap.client.SOAPXMLDecoder.toMessageInfo(SOAPXMLDecoder.java:209) | at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:538) | at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.doSend(SOAPMessageDispatcher.java:258) | at com.sun.xml.ws.protocol.soap.client.SOAPMessageDispatcher.send(SOAPMessageDispatcher.java:137) | at com.sun.xml.ws.encoding.soap.internal.DelegateBase.send(DelegateBase.java:84) | at com.sun.xml.ws.client.EndpointIFInvocationHandler.implementSEIMethod(EndpointIFInvocationHandler.java:172) | at com.sun.xml.ws.client.EndpointIFInvocationHandler.invoke(EndpointIFInvocationHandler.java:106) | at $Proxy8.pruefeLogin(Unknown Source) | at main.java.WsLogin.main(WsLogin.java:68) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038860#4038860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038860 From do-not-reply at jboss.com Thu Apr 19 08:16:58 2007 From: do-not-reply at jboss.com (msandoz) Date: Thu, 19 Apr 2007 08:16:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Is there a wsconsume sample available? Message-ID: <16739957.1176985018451.JavaMail.jboss@colo-br-02.atl.jboss.com> one thing is you should run the ant install first. other than that its mostly just making sure the env. variables are set. for command line heres an example of my use: wsconsume -k -p package.name -o ./bin -s ./src http://localhost:8080/pathto/myservice?wsdl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038873#4038873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038873 From do-not-reply at jboss.com Thu Apr 19 09:40:29 2007 From: do-not-reply at jboss.com (pcankar) Date: Thu, 19 Apr 2007 09:40:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - jbossws 1.2.1 error Message-ID: <5994336.1176990029767.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using JBoss 4.0.4 (jboss-4.0.4.GA-Patch1-installer.jar) and java 5 (jdk-1_5_0_09-windows-i586-p.exe). I've upgrade JBossWS to version 1.2.1 (jbossws-1.2.1.GA.zip) using "ant deploy-jboss40" command. When I start JBoss I get the folowing error: | 15:16:30,250 ERROR [JUDDIService] JNDI Bind Failed:JAXR | 15:16:30,250 ERROR [STDERR] javax.naming.CommunicationException: IP_ADD_MEMBERSHIP failed (out of hardware filters?) [Root exception is java.net.SocketException: IP_ADD_MEMBERSHIP failed (out of hardware filters?)] | 15:16:30,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1317) | 15:16:30,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1446) | 15:16:30,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:484) | 15:16:30,250 ERROR [STDERR] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:477) | 15:16:30,250 ERROR [STDERR] at javax.naming.InitialContext.rebind(Unknown Source) | 15:16:30,250 ERROR [STDERR] at org.jboss.jaxr.juddi.JUDDIService.bindJAXRConnectionFactory(JUDDIService.java:383) | 15:16:30,250 ERROR [STDERR] at org.jboss.jaxr.juddi.JUDDIService.setBindJaxr(JUDDIService.java:320) | 15:16:30,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:16:30,250 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,265 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:136) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:103) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:608) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:694) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:460) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceController.install(ServiceController.java:226) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:16:30,281 ERROR [STDERR] at $Proxy4.install(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:16:30,281 ERROR [STDERR] at $Proxy6.deploy(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | 15:16:30,281 ERROR [STDERR] at $Proxy0.start(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:16:30,281 ERROR [STDERR] at $Proxy4.start(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 15:16:30,281 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:16:30,281 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 15:16:30,281 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 15:16:30,281 ERROR [STDERR] at $Proxy5.deploy(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | 15:16:30,281 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | 15:16:30,281 ERROR [STDERR] at org.jboss.Main.boot(Main.java:200) | 15:16:30,281 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:464) | 15:16:30,281 ERROR [STDERR] at java.lang.Thread.run(Unknown Source) | 15:16:30,281 ERROR [STDERR] Caused by: java.net.SocketException: IP_ADD_MEMBERSHIP failed (out of hardware filters?) | 15:16:30,281 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.join(Native Method) | 15:16:30,281 ERROR [STDERR] at java.net.PlainDatagramSocketImpl.join(Unknown Source) | 15:16:30,281 ERROR [STDERR] at java.net.MulticastSocket.joinGroup(Unknown Source) | 15:16:30,281 ERROR [STDERR] at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1269) | 15:16:30,281 ERROR [STDERR] ... 105 more | Did I do something wrong? Best regards, Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038897#4038897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038897 From do-not-reply at jboss.com Thu Apr 19 10:57:24 2007 From: do-not-reply at jboss.com (bypaik) Date: Thu, 19 Apr 2007 10:57:24 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume and IllegalStateException Message-ID: <4809701.1176994644940.JavaMail.jboss@colo-br-02.atl.jboss.com> i'm attempting to on getting jbossws-1.2.1 working with jboss-4.0.5 with jdk1.4. i tried building from jbossws-1.2.1 src and i'm running into an issue with IllegalStateException constructor. apparently, jdk1.4 does not have the IllegalStateException(String, Throwable) constructor defined. this is breaking compiling of the jbossws-core classes. is there a way around this? are there jdk1.4 compliant jbossws-core classes elsewhere? thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038924#4038924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038924 From do-not-reply at jboss.com Thu Apr 19 16:23:30 2007 From: do-not-reply at jboss.com (bypaik) Date: Thu, 19 Apr 2007 16:23:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume and IllegalStateException Message-ID: <20593329.1177014210668.JavaMail.jboss@colo-br-02.atl.jboss.com> is wsconsume supposed to work with jbossws-1.2.x for jboss 4.0.5 with jdk 1.4? there is no reference to org.jboss.ws.tools.jaxws.impl.WSContractConsumerFactoryImpl except within jbossws-wsconsume-impl.jar which is only usable for jdk 1.5+. can someone clarify this please? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039036#4039036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039036 From do-not-reply at jboss.com Thu Apr 19 16:53:12 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 16:53:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wstools failing on XSDs using xs:import Message-ID: <7990465.1177015992830.JavaMail.jboss@colo-br-02.atl.jboss.com> This should get fixed for 2.0.0.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039046#4039046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039046 From do-not-reply at jboss.com Thu Apr 19 16:59:10 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 16:59:10 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Activating xjc plugin Message-ID: <2780775.1177016350883.JavaMail.jboss@colo-br-02.atl.jboss.com> wsconsume uses wsimport underneeth. If it does not work already please monitor Please monitor http://jira.jboss.org/jira/browse/JBWS-1613 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039049#4039049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039049 From do-not-reply at jboss.com Thu Apr 19 17:01:38 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:01:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Mapping problem Message-ID: <18479716.1177016498348.JavaMail.jboss@colo-br-02.atl.jboss.com> You could start with the samples from the download. There should find enough usecases for jaxrpc DII View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039050#4039050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039050 From do-not-reply at jboss.com Thu Apr 19 17:06:13 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:06:13 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: how to run the jbossws samples? Message-ID: <31583259.1177016773806.JavaMail.jboss@colo-br-02.atl.jboss.com> | ant -Dtest=jaxws/samples/webresult test | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039052#4039052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039052 From do-not-reply at jboss.com Thu Apr 19 17:07:36 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:07:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: XJC error: PhotoMessage.xsd ' 'is not a part of this co Message-ID: <10362996.1177016856745.JavaMail.jboss@colo-br-02.atl.jboss.com> We are using jaxb-2.0.3. Newer versions have not been tested View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039053#4039053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039053 From do-not-reply at jboss.com Thu Apr 19 17:11:33 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:11:33 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Unable to create a WSClient that uses jboss-wsse-client. Message-ID: <16121507.1177017093118.JavaMail.jboss@colo-br-02.atl.jboss.com> Hava a look at the security samples. A clients needs the security handlers configured and the security config file http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#WS-Security View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039054#4039054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039054 From do-not-reply at jboss.com Thu Apr 19 17:24:13 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:24:13 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Handlers Message-ID: <11518214.1177017853746.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the latest samples View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039061#4039061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039061 From do-not-reply at jboss.com Thu Apr 19 17:27:48 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:27:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Salesforce client stub generation fails Message-ID: <12011563.1177018068748.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you have url to the salesforce wsdl? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039062#4039062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039062 From do-not-reply at jboss.com Thu Apr 19 17:29:35 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:29:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: [Fatal Error] :-1:-1: Premature end of file. Message-ID: <29105383.1177018175489.JavaMail.jboss@colo-br-02.atl.jboss.com> Please have a look at JAXWS http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039063#4039063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039063 From do-not-reply at jboss.com Thu Apr 19 17:32:08 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:32:08 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: PortComponent Annotation - Jar Requirements Message-ID: <17119329.1177018328063.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#JBossWS_Extenstions View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039064#4039064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039064 From do-not-reply at jboss.com Thu Apr 19 17:40:46 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:40:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - jbossws-1.2.1.GA released Message-ID: <14417805.1177018846471.JavaMail.jboss@colo-br-02.atl.jboss.com> As of this post I am happy to anounce that jbossws-1.2.1.GA is released. This implementation supports both JAX-WS and JAX-RPC style web services. With this release we provide full JAXWS functionality. It runs on jboss-5.0.x, jboss-4.2.x, jboss-4.0.5, Tomcat. JAX-WS brings to web services what EJB3 brings to EJB. With its greatly simplified programming model and functional enhancements it is desigend to take the place of previous JAX-RPC web service implementations. Details of how to download and install the new stack can be found in our new wiki http://jbws.dyndns.org/mediawiki/index.php/Main_Page To get started please have a look at the Quick Start and User Guide http://jbws.dyndns.org/mediawiki/index.php/Quick_Start http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide If you don't know it already, you'll be surprised how easy it is to do Web Services. I'd like to thank the team and the many contributors for all the hard work to make this release possible. Enjoy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039066#4039066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039066 From do-not-reply at jboss.com Thu Apr 19 17:47:28 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 19 Apr 2007 17:47:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Strange java code generated by wsprovide Message-ID: <10426444.1177019248248.JavaMail.jboss@colo-br-02.atl.jboss.com> Try | @WebService | public class PojoEndpoint { | | @WebMethod | public String sayHello(String name) | { | return "Hallo "+name+"!"; | } | } | JBossWS generates the reuired wrapper beans dynamically. They do not need to be part of the deployments. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039070#4039070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039070 From do-not-reply at jboss.com Thu Apr 19 18:35:30 2007 From: do-not-reply at jboss.com (d_pavel) Date: Thu, 19 Apr 2007 18:35:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Integrate Apache with Tomcat/JBoss using mod_jk connector Message-ID: <21857692.1177022130762.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a deployment architecture question: We know this: anonymous wrote : | # As a native application, the Apache web server is a more efficient | HTTP server than the Java-based web server included in JBoss AS. That is | especially true for static contents (e.g., pictures), keep-alive | requests, and HTTPS requests. It would be ideal to have JBoss AS serve | up dynamic, database-related content, while having Apache serve static | content in the same application. | # Apache has a rich set of modules for almost every aspects of a web | application, including security, logging, URL rewriting, performance | enhancement, etc. JBoss AS is rich in supporting business and | transactional logic, but has fewer features when it comes to | manipulating HTTP request / response directly. | If we have a F5 load balancer on top of a apache cluster, then we want to use mod_jk to connect to a JBoss cluster where we will deploy webservices, how do we configure properly the embedded tomcat inside JBoss ? I know the wiki page: [url] http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss [/url] In your opinion this architecture will work properly for deploying webservices? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039083#4039083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039083 From do-not-reply at jboss.com Thu Apr 19 22:44:36 2007 From: do-not-reply at jboss.com (artd) Date: Thu, 19 Apr 2007 22:44:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Salesforce client stub generation fails Message-ID: <30865887.1177037076138.JavaMail.jboss@colo-br-02.atl.jboss.com> The WSDL's are password protected and are generated on a per account basis; ie, they're context sensative around customizations done in SFDC, however I've generated one from my sforce test account and emailed you seperately. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039114#4039114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039114 From do-not-reply at jboss.com Fri Apr 20 02:53:38 2007 From: do-not-reply at jboss.com (hugin78) Date: Fri, 20 Apr 2007 02:53:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Not registered: jboss.ws:service=ServiceRefHandler Message-ID: <30878268.1177052018100.JavaMail.jboss@colo-br-02.atl.jboss.com> I have downloaded jboss-4.2.0.CR1 and patched it with jbossws-1.2.0.SP1. When I start the server I get a lot of warnings in the log with ServideRefHandler: | 2007-04-19 14:58:09,503 WARN [org.jboss.metadata.serviceref.ServiceRefHandlerFactory] Not registered: jboss.ws:service=ServiceRefHandler What am I missing View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039135#4039135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039135 From do-not-reply at jboss.com Fri Apr 20 03:10:58 2007 From: do-not-reply at jboss.com (hugin78) Date: Fri, 20 Apr 2007 03:10:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problem importing multiple schema from the same namespace Message-ID: <14766671.1177053058035.JavaMail.jboss@colo-br-02.atl.jboss.com> In my WS I use @WebService with the wsdlLocation. In my wsdl I have a type that use two external elements from the same namespace | | | | | | | | | When I deploy the application the following is written in the log: | 2007-04-19 14:58:25,881 ERROR [org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler] JBossWS_rep.oio.dk_wmdata.dk_as2007_schemas_2006_11_20_29281.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: Cannot resolve the name 'ebxml:PostCodeIdentifier' to a(n) 'element declaration' component. | It seems that it only reads the first import in the namespace as there are no problems with DistrictSubdivisionIdentifier. Even though it shows errors in the log it returns the elements as described though. What am I doing wrong View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039137#4039137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039137 From do-not-reply at jboss.com Fri Apr 20 03:42:35 2007 From: do-not-reply at jboss.com (sandello) Date: Fri, 20 Apr 2007 03:42:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek Message-ID: <17889346.1177054955150.JavaMail.jboss@colo-br-02.atl.jboss.com> What I should do to connect some public webservice in the Internet (like http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=48)? I create small client method: | @Test | public void weather() { | QName serviceQName = new QName("http://www.webserviceX.NET", "GlobalWeather"); | | try { | ServiceFactory factory = ServiceFactory.newInstance(); | assertNotNull(factory); | | String endpoint = "http://www.webservicex.net/globalweather.asmx?wsdl"; | URL url = new URL(endpoint); | assertNotNull(url); | | Service service = factory.createService(url, serviceQName); | assertNotNull(service); | | Call call = service.createCall(); | | QName methodQName = new QName("http://www.webserviceX.NET", "GetWeather"); | call.setOperationName(methodQName); | assertFalse(call.isParameterAndReturnSpecRequired(methodQName)); | | call.setTargetEndpointAddress(endpoint); | | QName typeName = call.getPortTypeName(); | assertNotNull(typeName); | | System.out.println(typeName); | | call.invoke(new Object[] {"London", "UK"}); | | | } catch (Exception e) { | e.printStackTrace(); File | Settings | File Templates. | } | } | When I try to execute this I receive exception: | org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://www.webserviceX.NET}>GetWeather | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processDocElement(JAXRPCMetaDataBuilder.java:627) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.buildParameterMetaDataDoc(JAXRPCMetaDataBuilder.java:886) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.setupOperationsFromWSDL(JAXRPCMetaDataBuilder.java:214) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:216) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:133) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:85) | at org.jboss.ws.core.jaxrpc.client.ServiceImpl.(ServiceImpl.java:111) | at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) | at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) | at com.company.ws.client.TestWS.weather(TestWS.java:131) | 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.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) | at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) | at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) | at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) | at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) | at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) | at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) | at | Where I should get jaxrpc-mapping.xml for this public ws? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039148#4039148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039148 From do-not-reply at jboss.com Fri Apr 20 04:53:57 2007 From: do-not-reply at jboss.com (santhosh288) Date: Fri, 20 Apr 2007 04:53:57 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <23797063.1177059237230.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Chui, Even I am facing the same issue with String[] as input parameter in my WS. Did you find any solution for this? Please let me know. Thanks, Santhosh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039162#4039162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039162 From do-not-reply at jboss.com Fri Apr 20 05:31:01 2007 From: do-not-reply at jboss.com (kcp) Date: Fri, 20 Apr 2007 05:31:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <5895286.1177061461522.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you try to wrap the array in a another class? Something like method(StringArray a) whereas StringArray is a class with a String[] as member. Regards Charly View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039171#4039171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039171 From do-not-reply at jboss.com Fri Apr 20 05:34:15 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 05:34:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: provide your own wsdl - cannot seem to get this to work Message-ID: <14049966.1177061655584.JavaMail.jboss@colo-br-02.atl.jboss.com> Please monitor http://jira.jboss.org/jira/browse/JBWS-1616 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039173#4039173 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039173 From do-not-reply at jboss.com Fri Apr 20 05:44:40 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 05:44:40 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: WS-Security - Invalid timestamp, message claimed to be c Message-ID: <4607677.1177062280050.JavaMail.jboss@colo-br-02.atl.jboss.com> This issues has been postponed. You're welcome to have a go View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039176#4039176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039176 From do-not-reply at jboss.com Fri Apr 20 05:51:31 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 05:51:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Disableing MTOM Message-ID: <14016237.1177062691600.JavaMail.jboss@colo-br-02.atl.jboss.com> This has been standardized now http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#MTOM.2FXOP View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039180#4039180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039180 From do-not-reply at jboss.com Fri Apr 20 05:57:46 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 05:57:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Issues with JBoss5 Beta 1 and WebService Annotations Message-ID: <29279729.1177063066488.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the many jaxws samples we provide. The status of the latest can be monitored here http://jbws.dyndns.org:8180/hudson/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039184#4039184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039184 From do-not-reply at jboss.com Fri Apr 20 05:58:42 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 05:58:42 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <19071709.1177063122367.JavaMail.jboss@colo-br-02.atl.jboss.com> Please have a look at the array tests in the testsuit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039185#4039185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039185 From do-not-reply at jboss.com Fri Apr 20 05:59:11 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 05:59:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Soap with attachments Message-ID: <1404589.1177063151788.JavaMail.jboss@colo-br-02.atl.jboss.com> There are attachemnt tests in the samples View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039186#4039186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039186 From do-not-reply at jboss.com Fri Apr 20 06:10:21 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:10:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Element or attribute do not match QName production: QNam Message-ID: <18739552.1177063821804.JavaMail.jboss@colo-br-02.atl.jboss.com> You could use wireshark to sniff the payload and figure out what the invalid QName is View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039191#4039191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039191 From do-not-reply at jboss.com Fri Apr 20 06:11:04 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:11:04 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to provide soapAction from dispatch call? Message-ID: <2655812.1177063864630.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, I'll take care of it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039192#4039192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039192 From do-not-reply at jboss.com Fri Apr 20 06:14:41 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:14:41 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Salesforce client stub generation fails Message-ID: <8530918.1177064081070.JavaMail.jboss@colo-br-02.atl.jboss.com> Unfortunately this goes beyond the support we can offer for free. I'll have somebody from our prof. support contact you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039193#4039193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039193 From do-not-reply at jboss.com Fri Apr 20 06:18:16 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:18:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Is there a wsconsume sample available? Message-ID: <12411874.1177064296017.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look how the testsuite/sampes use wsconsume View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039195#4039195 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039195 From do-not-reply at jboss.com Fri Apr 20 06:21:34 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:21:34 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: setProperty must be overridden by all subclasses of SOAP Message-ID: <23203084.1177064494701.JavaMail.jboss@colo-br-02.atl.jboss.com> You cannot have the saaj impl from the Sun RI deployed. You could trace jboss clasloading to see where its comming from View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039198#4039198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039198 From do-not-reply at jboss.com Fri Apr 20 06:23:58 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:23:58 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: NoClassDefFoundError: RuntimeWSDLParser.createReader Message-ID: <16039442.1177064639000.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : The Class is in jaxws-rt.jar, which is include in the Jboss lib-dir | Really? We don't ship with the Sun RI View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039199#4039199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039199 From do-not-reply at jboss.com Fri Apr 20 06:26:31 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:26:31 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: wsconsume and IllegalStateException Message-ID: <10935178.1177064791131.JavaMail.jboss@colo-br-02.atl.jboss.com> jaxws is not supported for jdk14 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039200#4039200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039200 From do-not-reply at jboss.com Fri Apr 20 06:28:35 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 06:28:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: White space in String type field Message-ID: <30752654.1177064915887.JavaMail.jboss@colo-br-02.atl.jboss.com> This would be a bug. Please try the latest jbossws-1.2.1.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039201#4039201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039201 From do-not-reply at jboss.com Fri Apr 20 07:29:06 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 07:29:06 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: whitespace getting trimmed Message-ID: <13719964.1177068546147.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes this is a bug with jaxrpc doc/literal http://jira.jboss.org/jira/browse/JBWS-1617 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039224#4039224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039224 From do-not-reply at jboss.com Fri Apr 20 07:41:24 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 07:41:24 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Jboss ws jaxrpc mapping file. Message-ID: <14647883.1177069284170.JavaMail.jboss@colo-br-02.atl.jboss.com> I would suggest you abondon the idea of supporting old style jaxrpc service-refs - jaxws is the future that is being adopted quickly. Instead, work on jaxws client injection with @WebServiceRef and possible overwrites of the @WebServiceRef attributes via in web.xml Have a look at our @WebServiceRef tests. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039232#4039232 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039232 From do-not-reply at jboss.com Fri Apr 20 09:43:42 2007 From: do-not-reply at jboss.com (cjunge) Date: Fri, 20 Apr 2007 09:43:42 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: setProperty must be overridden by all subclasses of SOAP Message-ID: <28848646.1177076622069.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply. How can I trace jboss classloading? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039271#4039271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039271 From do-not-reply at jboss.com Fri Apr 20 09:49:56 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Fri, 20 Apr 2007 09:49:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: setProperty must be overridden by all subclasses of SOAP Message-ID: <15276566.1177076996155.JavaMail.jboss@colo-br-02.atl.jboss.com> Check the manual chapter 2.2.2.4 http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html#d0e2648 Regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039275#4039275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039275 From do-not-reply at jboss.com Fri Apr 20 13:19:56 2007 From: do-not-reply at jboss.com (chui) Date: Fri, 20 Apr 2007 13:19:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <3359380.1177089596663.JavaMail.jboss@colo-br-02.atl.jboss.com> "santhosh288" wrote : Hello Chui, | | Even I am facing the same issue with String[] as input parameter in my WS. Did you find any solution for this? Please let me know. | | Thanks, | Santhosh Hi, santhosh288 ! Unfortunately I didn't find a solution for this. =/ Watch this topic, if I find a solution I'll post it here, ok?? "kcp" wrote : Did you try to wrap the array in a another class? Thanks, kcp, but this didn't function. I read a tutorial that suggested a class instead of String[], but I don't remember what was the error I found. Then I tried the automatic generation with WSTools and I got the files I posted before. "thomas.diesler at jboss.com" wrote : Please have a look at the array tests in the testsuit Sorry, but... Where can I find the testsuit?? Any URL or something like that? --------------- Thank you all for the answers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039362#4039362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039362 From do-not-reply at jboss.com Fri Apr 20 13:47:15 2007 From: do-not-reply at jboss.com (chui) Date: Fri, 20 Apr 2007 13:47:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <19943585.1177091235067.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh, I found the testsuit on CVS repository... Thanks, I'll have a look in it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039370#4039370 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039370 From do-not-reply at jboss.com Fri Apr 20 14:50:11 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 14:50:11 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Integrate Apache with Tomcat/JBoss using mod_jk connecto Message-ID: <7514808.1177095011140.JavaMail.jboss@colo-br-02.atl.jboss.com> Have a look at the JBossWeb project View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039386#4039386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039386 From do-not-reply at jboss.com Fri Apr 20 14:53:25 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 14:53:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek Message-ID: <24648460.1177095205782.JavaMail.jboss@colo-br-02.atl.jboss.com> Try jaxws http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Web_Service_Clients View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039388#4039388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039388 From do-not-reply at jboss.com Fri Apr 20 14:55:36 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 20 Apr 2007 14:55:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <13750344.1177095336830.JavaMail.jboss@colo-br-02.atl.jboss.com> FAQ: How can I build and install the latest? http://jbws.dyndns.org/mediawiki/index.php/JBossWS_FAQs#How_can_I_build_and_install_the_latest.3F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039389#4039389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039389 From do-not-reply at jboss.com Sat Apr 21 06:04:35 2007 From: do-not-reply at jboss.com (centecbertl) Date: Sat, 21 Apr 2007 06:04:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: how to run the jbossws samples? Message-ID: <2569679.1177149875046.JavaMail.jboss@colo-br-02.atl.jboss.com> "danielmesser" wrote : Hi, | I also get the following exceptions: | tests-main: | [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/reports | [junit] Running org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialServiceDocBareTestCase | [junit] java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console | | the JBossWS samples do not work when JMX authentication is activated (as it is when using the JBoss AS 4.0.5 installer per default, and as it anyway should always be!). For using the samples I had to disable JMX Authentication: | $ diff -u $JBOSS_HOME/server/default/deploy/jmx-invoker-service.xml~ jmx-invoker-service.xml | --- C:\Programme\jboss-4.0.5.GA/server/default/deploy/jmx-invoker-service.xml~ 2006-12-13 09:27:32.578125000 +0100 | +++ jmx-invoker-service.xml 2007-03-07 19:52:39.132619900 +0100 | @@ -102,8 +102,8 @@ | java.lang.Object | | | - | + | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039515#4039515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039515 From do-not-reply at jboss.com Sun Apr 22 17:58:26 2007 From: do-not-reply at jboss.com (chui) Date: Sun, 22 Apr 2007 17:58:26 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <26817639.1177279106068.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, Thomas... I did what you told me, but I have no results =/ I had a look at the source of JBWS632 in testsuite, I have almost the same things. Here are the differences: - The test's WSDL has its own namespaces and uses an "import" tag inside the schema. The namespaces I use are http://interfaces/jaws because JBossAS asked me for it when deploying the webservice. I also use http://interfaces/jaws/types, because I don't know what should I use as xmlns:tns and schema targetnamespace. - The test's jaxrpc-mapping.xml is almost the same as mine, but JBWS632 includes a String[][] result. - Finally, JBWS632 testcase uses JSR-109 client, with JNDI lookup. I'm using configured DII... Both need jaxrpc-mapping.xml, so I think the problem wouldn't disappear. Well, I'll try installing other JBossAS and use JBossWS 1.2.1. Hope that works, I'm crazy with this problem... Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039653#4039653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039653 From do-not-reply at jboss.com Mon Apr 23 03:46:17 2007 From: do-not-reply at jboss.com (sgof) Date: Mon, 23 Apr 2007 03:46:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Providing your own wsdl instead of the generated one. Message-ID: <4663102.1177314377501.JavaMail.jboss@colo-br-02.atl.jboss.com> I followed this steps, but wsconsume generate only 2 class: the interface and the class which implement it. I create the web.xml, generate the war file, and when I put it in jboss I obtain this: 09:39:15,267 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4. 0.5.GA/server/default/deploy/WPM3.war org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nest ed throwable: (org.jboss.ws.WSException: Cannot find required security resource: WEB-INF/wsse.keystore) So, I create an empty file called wsse.keystore, and I obtain this: 09:40:26,803 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4. 0.5.GA/server/default/deploy/WPM3.war org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nest ed throwable: (org.jboss.ws.WSException: Cannot find required security resource: WEB-INF/wsse.truststore) So, I create an empty file called wsse.truststore, and I obtain this: 09:45:19,415 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4. 0.5.GA/server/default/deploy/WPM3.war org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nest ed throwable: (org.jboss.ws.WSException: Cannot find port in wsdl: {http://local host:8080/WPM3}wpmPort) Can you help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039723#4039723 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039723 From do-not-reply at jboss.com Mon Apr 23 09:04:52 2007 From: do-not-reply at jboss.com (ngtdave) Date: Mon, 23 Apr 2007 09:04:52 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Providing your own wsdl instead of the generated one. Message-ID: <22855908.1177333492368.JavaMail.jboss@colo-br-02.atl.jboss.com> sgof, I am not using any sort of security, so I'm not sure what those errors are about. The last error sounds like your wsdl is not syntactically correct. I would suggest starting with a simple example wsdl like the one I provided and a plain JBoss 4.0.5.GA install and get that working first. Once that works, try modifying the project bit by bit to fit what you are trying to do. Hope this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039826#4039826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039826 From do-not-reply at jboss.com Mon Apr 23 09:04:56 2007 From: do-not-reply at jboss.com (Benhei) Date: Mon, 23 Apr 2007 09:04:56 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - UsernameToken Support jbossws-1.2.0 Message-ID: <17510362.1177333496567.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, is it right that jbossws in version 1.2.0. supports the UsernameToken? If yes, how can i implement it? I don't found some helpful threads here or some samples which shows that right usage of this token... I am using the jax annotation for mark my WebService classes. Thanks for help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039827#4039827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039827 From do-not-reply at jboss.com Mon Apr 23 13:29:19 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 23 Apr 2007 13:29:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: how to run the jbossws samples? Message-ID: <2563343.1177349359169.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1624 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039941#4039941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039941 From do-not-reply at jboss.com Mon Apr 23 13:34:29 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 23 Apr 2007 13:34:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: UsernameToken Support jbossws-1.2.0 Message-ID: <1994031.1177349669506.JavaMail.jboss@colo-br-02.atl.jboss.com> You can search for UsernameToken in Jira. That should give you a few pointers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039945#4039945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039945 From do-not-reply at jboss.com Mon Apr 23 15:57:35 2007 From: do-not-reply at jboss.com (psavage76) Date: Mon, 23 Apr 2007 15:57:35 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Why are reference types no longer nillable? Message-ID: <29782210.1177358255616.JavaMail.jboss@colo-br-02.atl.jboss.com> Since upgrading JBossWS from 1.0.2 to 1.2.1, I noticed that Java to WSDL no longer makes any complex type elements nillable except for arrays. Instead, the elements have a minOccurs="0" attribute. The old version made elements that were reference types (e.g. other complex types, strings, etc.) nillable. I'm using document/literal wrapped binding. Why was this changed? Is there any way to override this behavior? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039993#4039993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039993 From do-not-reply at jboss.com Tue Apr 24 07:14:32 2007 From: do-not-reply at jboss.com (shaiknoor_basha) Date: Tue, 24 Apr 2007 07:14:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - plase help me out from Jboss Web Services complex Type value Message-ID: <15869716.1177413272363.JavaMail.jboss@colo-br-02.atl.jboss.com> hi friends, this is noor, i am using jboss 4.0.5 GA, jbossws 1.2.0 SP1, i have developed a annotated web service, my @web Methiod is having java.util.ArrayList as a return type to my at web method, i have succesfully build this services, and i deployed also,but when i had a look in to my generated WSDL file my method is returning arrayList but it is not a java.util.ArrayList, it is someother user define type, here where i structed, please help out from this, i have generated the static client stub also through wstools and config-client.xml file , in that generated stub also i got arrayList named class but it is not from java.util package the class is something else like a user define class which is not having any method in that please help me, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040151#4040151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040151 From do-not-reply at jboss.com Tue Apr 24 07:25:36 2007 From: do-not-reply at jboss.com (shaiknoor_basha) Date: Tue, 24 Apr 2007 07:25:36 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - does @web method returns objects of java.util.Collection Message-ID: <2827625.1177413936073.JavaMail.jboss@colo-br-02.atl.jboss.com> hi to all, please help me , in my annotated web service my @webMethod returns an java.util.ArrayList, but i am not able to find this types in my generated WSDl file, so my client is not able to read the returned object, because it is not getting the java.util.ArrayList object, it is receiving some other object which looks like a userdefine with empty View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040157#4040157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040157 From do-not-reply at jboss.com Tue Apr 24 07:29:12 2007 From: do-not-reply at jboss.com (shaiknoor_basha) Date: Tue, 24 Apr 2007 07:29:12 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - if u have any example of @webMethod returns java.util.Collec Message-ID: <8601428.1177414152259.JavaMail.jboss@colo-br-02.atl.jboss.com> hi friends, if anu bady having example on @webMethod returns java.util.Collection object, plese farword it to me, i am not able to get the return type in my wsdl id is showing like this - - - - - - - - - - - - - - - - - - - - - - - - - View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040159#4040159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040159 From do-not-reply at jboss.com Tue Apr 24 08:34:47 2007 From: do-not-reply at jboss.com (cdreyer1) Date: Tue, 24 Apr 2007 08:34:47 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JbossWS 1.2.1 and .Net 2.0 client Message-ID: <24838049.1177418087068.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Since upgrading to JbossWS 1.2.x I have interoperability issues with .Net 2.0 clients. For some reason I lose Integer values. They are received by my JBoss web services as null values. Calling the same web service from a client like SoapUI works nicely. Please help! Using annotations what is the preferred configuration for .Net 2.0 interoperability? Thanks, Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040174#4040174 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040174 From do-not-reply at jboss.com Tue Apr 24 09:43:45 2007 From: do-not-reply at jboss.com (fheldt) Date: Tue, 24 Apr 2007 09:43:45 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JbossWS 1.2.1 and .Net 2.0 client Message-ID: <17213430.1177422225419.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same problem! I have a webservice that receives a class (fillled from a .NET 2.0 client) which contains some double values. Since 1.2.1 the EJB (JSR-181) receives null values for these doubles. I'm currently trying to encircle the error, but at the moment i have no idea what is happening here... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040189#4040189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040189 From do-not-reply at jboss.com Wed Apr 25 05:30:55 2007 From: do-not-reply at jboss.com (mz) Date: Wed, 25 Apr 2007 05:30:55 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - JbossWs Client and local Bind Address Message-ID: <19381447.1177493455396.JavaMail.jboss@colo-br-02.atl.jboss.com> dear friends, i struggle with a strange problem. So I need your help: We are using jboss405 with jbossws103. Jboss consumes an external WebService via service-ref: service/EssenceAccessService de.ard.sad.fesad.preview.emProxy.contractStubs.EssenceAccessService META-INF/wsdl/EssenceAccessContract.wsdl META-INF/jaxrpc-mappingEA.xml Everything works fine, but not in our production environment. There are several Jboss-AppServers on a multi-homed (Blade) Server (with its own ip-address x.x.x.245). Each Jboss has its own ip-Address (i.e. x.x.x.92), configured via jboss.bind.address. When jboss tries to connect the external WebService the socket is bound to the physical Address (x.x.x.245) and not bound to the jboss.bind.address! this ist the problemm because the external firewall blocks the request ... the socket should be bound to the jboss.bind.address?! Any ideas? Thanks in advance mirko View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040492#4040492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040492 From do-not-reply at jboss.com Wed Apr 25 06:13:17 2007 From: do-not-reply at jboss.com (spinergywmy) Date: Wed, 25 Apr 2007 06:13:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Develop web service using JBossIDE 2.0.0 Beta2 Message-ID: <9789990.1177495997415.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Just wondering is anyone using the latest Eclipse with JBossIDE 2.0.0 Beta2 version to develop the project? If there is, can I consult how to develop cause I'm new to web service, or is there any example that I can refer to as step by step using the mentioned IDE tool. Please let me know your msn username so I can add into my list if you don't mind. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040509#4040509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040509 From do-not-reply at jboss.com Wed Apr 25 07:13:06 2007 From: do-not-reply at jboss.com (rsuser) Date: Wed, 25 Apr 2007 07:13:06 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Metaclass not found exception Message-ID: <17608005.1177499586992.JavaMail.jboss@colo-br-02.atl.jboss.com> I am new to java web services. When i download a simple hello world example from the internet. and i got this exception AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: Endpoint {http://DefaultNamespace}HelloWorld does not contain operation meta data for: {http://localhost:8080/simple-ws4ee/exactpath/jse?wsdl}getHelloWorld faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:Endpoint {http://DefaultNamespace}HelloWorld does not contain operation meta data for: {http://localhost:8080/simple-ws4ee/exactpath/jse?wsdl}getHelloWorld at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.myapp.DIIClient.main(DIIClient.java:46) {http://xml.apache.org/axis/}hostname:ie10dt6dk2c1s Endpoint {http://DefaultNamespace}HelloWorld does not contain operation meta data for: {http://localhost:8080/simple-ws4ee/exactpath/jse?wsdl}getHelloWorld at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222) at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.myapp.DIIClient.main(DIIClient.java:46) Please help me in this?. Any body have a simple example then mail that files View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040530#4040530 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040530 From do-not-reply at jboss.com Wed Apr 25 07:22:32 2007 From: do-not-reply at jboss.com (webhunter) Date: Wed, 25 Apr 2007 07:22:32 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - jboss4.0.5 + which version of jbossws + correct documentatio Message-ID: <29677799.1177500152164.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi folks, I was wondering if someone could help me with the following questions. We have recently migrated to jboss4.0.5.GA and are planning to develop and deploy some webservices in it. There seem to be several webservice versions/documentations which are complaint with specific version of jboss. I am a bit lost. And even worse when i visit this page http://www.jboss.org/wiki/Wiki.jsp?page=JBossWS , which is supposed to be jbossws documentation for 4.0.5.GA it says, that page is deprecated. And I go to the linked page, it says it is only compatible with >4.0.5.GA. Any advice on which version of jboss WS is bundled with 4.0.5.GA (i find jbossws15.sar in my deploy). And what is the right documentation link using which I can develop webservices for that version. Many Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040536#4040536 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040536 From do-not-reply at jboss.com Wed Apr 25 08:07:08 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Wed, 25 Apr 2007 08:07:08 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jboss4.0.5 + which version of jbossws + correct document Message-ID: <1143523.1177502828148.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello!! You shall use the latest JBossWS documentation if you are using JBossWS. You can find it here http://jbws.dyndns.org/mediawiki/index.php/Main_Page Regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040547#4040547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040547 From do-not-reply at jboss.com Wed Apr 25 08:34:38 2007 From: do-not-reply at jboss.com (Pires da Silva) Date: Wed, 25 Apr 2007 08:34:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - WebServiceContext is an interface and JaxB can't handle inte Message-ID: <23171781.1177504478660.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, when deploying a (simple) stateful endpoint with WSAddressing by copying the war under deploy directory, I get IllegalAnnotationsException, WebServiceContext is an interface and JAXB can't handle interfaces. I'm using Jboss-4.0.5.GA and Jboss-1.2.0.SP1. I don't see differences with the samples. It seems there are (or there were) some problems with WebServiceContext injection? (JBWS-1468) Is there some tricks in the samples deployment so it is not exactly the same thing as copying a war under deploy? Any idea? Please help. Catherine View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040558#4040558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040558 From do-not-reply at jboss.com Wed Apr 25 08:54:18 2007 From: do-not-reply at jboss.com (webhunter) Date: Wed, 25 Apr 2007 08:54:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jboss4.0.5 + which version of jbossws + correct document Message-ID: <2613936.1177505658745.JavaMail.jboss@colo-br-02.atl.jboss.com> In the documentation on the pointed page, it says "Currently, we have integration layers for the JBoss application server (> 4.0.5.GA) and Apache Tomcat. " Which means the latest JbossWS doc is not applicable for 4.0.5.GA. Any thoughts are greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040569#4040569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040569 From do-not-reply at jboss.com Wed Apr 25 09:28:17 2007 From: do-not-reply at jboss.com (cdreyer1) Date: Wed, 25 Apr 2007 09:28:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JbossWS 1.2.1 and .Net 2.0 client Message-ID: <18822176.1177507697752.JavaMail.jboss@colo-br-02.atl.jboss.com> I believe I found the bug. It is described here -> http://support.microsoft.com/kb/925272 In my .Net code I have field names ending with Specified on the object I'm sending through the web service (e.g. for an Integer field called NumberOfHits there will be a bool field called NumberOfHitsSpecified). If the Specified field is set to true, then it will be send. Else the .Net bug described above will have set it to false, and it won't be send. This is only true for optional fields. So another solution is to make the field required in the WSDL. I have used the @XmlElement annotation like this @XmlElement(required = true) | Integer NumberOfHits; The last solution is to get the hotfix from Microsoft or get a service pack for the .Net Framework, but I have not found any of them. Anybody? Regards, Claus View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040586#4040586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040586 From do-not-reply at jboss.com Wed Apr 25 12:36:38 2007 From: do-not-reply at jboss.com (artd) Date: Wed, 25 Apr 2007 12:36:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Salesforce client stub generation fails Message-ID: <32989913.1177518998573.JavaMail.jboss@colo-br-02.atl.jboss.com> What makes SFDC WSDL so different that it's not supported by the standard product? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040679#4040679 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040679 From do-not-reply at jboss.com Wed Apr 25 13:04:38 2007 From: do-not-reply at jboss.com (chui) Date: Wed, 25 Apr 2007 13:04:38 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: String[] with SOAP... Please help me! Message-ID: <2079171.1177520678749.JavaMail.jboss@colo-br-02.atl.jboss.com> Here I am again... and with the same problem. =/ I tried other JBoss A.Servers and the results were: - JBossAS 4.2.0 CR1: I could deploy an EJB, but couldn't deploy a webservice. I tried the JAXWS userguide's example, but I receive "String out of range -1". - JBossAS 4.2.0 CR2: the same problem above. - JBossAS 5.0.0 Beta1: the AS doesn't recognize my deployed jar. - JBossAS 5.0.0 Beta2: the same problem above. Well, I'd like to solve the String[] problem using JBossAS 4.0.5 and JBossWS 1.0.4... Santhosh288, did you find any solution? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040691#4040691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040691 From do-not-reply at jboss.com Wed Apr 25 16:08:19 2007 From: do-not-reply at jboss.com (rwilliamsjr26) Date: Wed, 25 Apr 2007 16:08:19 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: receiving a AxisFault in the client Message-ID: <12360419.1177531699074.JavaMail.jboss@colo-br-02.atl.jboss.com> I had the same problem, you need to include any imported libraries in a "libraries" folder in your aar file or put the whole library jar in the libraries directory on the AXIS2 server. by putting the entire jar for the libraries y on the AXIS2 Server, you can keep the size of your aars small. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040735#4040735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040735 From do-not-reply at jboss.com Wed Apr 25 20:51:54 2007 From: do-not-reply at jboss.com (jaap.taal) Date: Wed, 25 Apr 2007 20:51:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - InvalidClassException running a webservice client Message-ID: <1825183.1177548714917.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to run a webservice client as described by the jbossws-userguide.pdf that goes with jbossws-1.0.4GA. I'm using jboss-4.0.5GA The client should connect to a JSR181 webservice. I use a J2EE application jar that should allow me to use JNDI to access the webapplication from my simple client. I get the following exception: | [java] 02:46:33,062 ERROR [ServiceObjectFactory] Cannot create service | [java] javax.naming.NamingException: Cannot unmarshall service ref meta data, cause: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID = 4418622981026545151, local class serialVersionUID = -9120448754896609940 | [java] at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:126) | [java] at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source) | [java] at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) | [java] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) | [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) | [java] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java:135) | [java] at $Proxy0.lookup(Unknown Source) | [java] at javax.naming.InitialContext.lookup(Unknown Source) | [java] at Main.main(Unknown Source) | The source code of the client: | InitialContext iniCtx0 = new InitialContext(); | Hashtable env = iniCtx0.getEnvironment(); | env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming.client"); | env.put("j2ee.clientName", "jbossws-client"); | System.out.println(env); | InitialContext iniCtx = new InitialContext(env); | | MyFirstService service = (MyFirstService) iniCtx | .lookup("java:comp/env/service/MyFirstService"); | HelloIF port = service.getHelloIFPort(); | System.out.println(port.sayHello()); | I don't know what I'm doing wrong. Everything runs from ant scripts which are executed by Eclipse. Any help would be much apreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040800#4040800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040800 From do-not-reply at jboss.com Thu Apr 26 04:11:17 2007 From: do-not-reply at jboss.com (spinergywmy) Date: Thu, 26 Apr 2007 04:11:17 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - EJB3.0 Web Service Message-ID: <26581728.1177575077524.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Just wondering is there anyone succeeded develop web service in their project using Eclipse JBoss IDE tool? I went through some examples and tutorials but still struggling on my development on web service. Is anyone can help me on this, please. Really appreciate if someone can guide me through this. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040858#4040858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040858 From do-not-reply at jboss.com Thu Apr 26 06:10:01 2007 From: do-not-reply at jboss.com (snair33) Date: Thu, 26 Apr 2007 06:10:01 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How get MessageContex in WebService implemented as EJB Message-ID: <28451812.1177582201137.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a work around to get WebServiceContext in JBOSS 1.2.1 till the 2.0 is out ? Any help would be appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040906#4040906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040906 From do-not-reply at jboss.com Thu Apr 26 06:27:18 2007 From: do-not-reply at jboss.com (Dark Fett) Date: Thu, 26 Apr 2007 06:27:18 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - How to use Username Token Message-ID: <8751296.1177583238674.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm trying to use Username Token but it's not successful for now. The Username Token is not present in the Header of my request. (Signature and Encryption work fine in both side) Here's my code : jboss-wsse-client.xml | | | service.jks | apache | | client.jks | apache | | | | | | | | That's part seems to be good. But I don't know how to insert my own username and my password in MyCall.java. MyCall.java | Service service = Service.create( | new URL("http://proxiadev34:8080/SampleJBossWS/PersonneWebService?wsdl"), | new QName("PersonneWebServiceService") | ); | | URL securityURL = new File("jboss-wsse-client.xml").toURL(); | ((ServiceExt)service).setSecurityConfig(securityURL.toExternalForm()); | | | PersonneWebService personneWS = service.getPort(PersonneWebService.class); | ((StubExt)personneWS).setConfigName("Standard WSSecurity Client"); | | //Appel de la Fonction getNomVille(Long codePostal) | String ville = personneWS.getNomVille(59000); | System.out.println(ville); For the server, I found the way to get the Username Token from the Request String username = SecurityAssociation.getPrincipal().getName(); | String password = SecurityAssociation.getCredential().toString(); | | System.out.println(username); | System.out.println(password); If anybody have an idea in order to put the username and the password, it would be welcome. Thank you for nay help. Dark Fett View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040908#4040908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040908 From do-not-reply at jboss.com Thu Apr 26 06:43:21 2007 From: do-not-reply at jboss.com (shaiknoor_basha) Date: Thu, 26 Apr 2007 06:43:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - my web service @WebMethod is not able to return Hashtable Message-ID: <2059149.1177584201937.JavaMail.jboss@colo-br-02.atl.jboss.com> hi to all, please help me friends i have one annotated web service which will returns Hashtable but it couldn't, i am able to deploy the jar file, in wsdl file the complex type of a message is showing like this, he the complex is not refering to java.util.hashtable, it is assuming the type hashtable in method return type is some other userdefined type thtls why it is reruning abstractclass - - - - - View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040915#4040915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040915 From do-not-reply at jboss.com Thu Apr 26 08:31:49 2007 From: do-not-reply at jboss.com (Dark Fett) Date: Thu, 26 Apr 2007 08:31:49 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: How to use Username Token Message-ID: <26359994.1177590710004.JavaMail.jboss@colo-br-02.atl.jboss.com> I just find the solution : MyCall.java Service service = Service.create( | new URL("http://proxiadev34:8080/SampleJBossWS/PersonneWebService?wsdl"), | new QName("PersonneWebServiceService") | ); | | URL securityURL = new File("jboss-wsse-client.xml").toURL(); | ((ServiceExt)service).setSecurityConfig(securityURL.toExternalForm()); | //((ServiceExt)service). | | PersonneWebService personneWS = service.getPort(PersonneWebService.class); | ((StubExt)personneWS).setConfigName("Standard WSSecurity Client"); | Map reqContext = ((BindingProvider)personneWS).getRequestContext(); | reqContext.put(Stub.USERNAME_PROPERTY, "j.roucou"); | reqContext.put(Stub.PASSWORD_PROPERTY, "toto"); | | //Appel de la Fonction getNomVille(Long codePostal) | String ville = personneWS.getNomVille(59000); | System.out.println(ville); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040942#4040942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040942 From do-not-reply at jboss.com Thu Apr 26 09:46:30 2007 From: do-not-reply at jboss.com (Pires da Silva) Date: Thu, 26 Apr 2007 09:46:30 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - WebServiceContext is working or not; Context is usable or no Message-ID: <2679650.1177595190255.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm working using JBoss4.2.0.CR2 and JBossWS1.2.0.SP1. I absolutely don't understand why after building the jaxws WSAddressing sample that generates a war and deploying it, it is working; but constituting a war by only changing the methods -and building the same way after duplication of source code/resources and ant task in build file -, I get the IllegalAnnotationException WebServiceContext is an interface and JAXB can't handle interfaces. Surprisingly, context samples are not part of the generated samples. Please give all precisions concerning the fact that WebServiceContext is working and usable or not and what may be the reason of the problem. Thanks CPires View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040979#4040979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040979 From do-not-reply at jboss.com Thu Apr 26 09:57:59 2007 From: do-not-reply at jboss.com (oskar.carlstedt) Date: Thu, 26 Apr 2007 09:57:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Question: How does JBossWS find the business method to invok Message-ID: <14898964.1177595879959.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello!! This may be a stupid question. Looking into the source may answer this, but I think it is better asking you for a better answer. After looking at several WSDL files generated by JBossWS (also the samples in the JBossWS distro) where document/literal is used but no soap action is specified for each operation. If I'm not using WS Addressing, how can JBossWS understand what business method to invoke? Is it decided by the request type? Kind Regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040986#4040986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040986 From do-not-reply at jboss.com Thu Apr 26 12:37:28 2007 From: do-not-reply at jboss.com (kc7bfi) Date: Thu, 26 Apr 2007 12:37:28 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - wsconsume: generated operations do not declare throws Remote Message-ID: <10915823.1177605448133.JavaMail.jboss@colo-br-02.atl.jboss.com> The generated operations interface from wsconsume do not declare that the operations throw RemoteException. Is there a way to add this to the operation's signature? David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041087#4041087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041087 From do-not-reply at jboss.com Thu Apr 26 14:11:48 2007 From: do-not-reply at jboss.com (Pires da Silva) Date: Thu, 26 Apr 2007 14:11:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Problem with Context for WSAddressing in Jaxrpc and Jaxws Message-ID: <18996674.1177611108288.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I noticed some problems in Context injection were mentioned in JBWS-1468 but I don't know which version to use for WSAddressing (and also wsse...). When using Jbossws 1.2.0.SP1 (Jboss 4.2.0.CR2) and a servlet endpoint ,I get "IllegalAnnotationException, WebserviceContext is an interface and Jaxb can't handle interfaces" When using Jbossws 1.0.3.SP1 with Jboss4.0.5, I get "Error setting response action, Illegal character in path at index xx" please may you post a message on the forum about the versions and things to do to be able to use a context. Thanks CPires View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041128#4041128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041128 From do-not-reply at jboss.com Thu Apr 26 14:56:46 2007 From: do-not-reply at jboss.com (kc7bfi) Date: Thu, 26 Apr 2007 14:56:46 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - jbossws 1.2.1: wsconsume OutOfMemoryError Message-ID: <17541122.1177613806734.JavaMail.jboss@colo-br-02.atl.jboss.com> When I run wsconsume I get an OutOfMemoryError. What is interesting is that if I use the JAXB implementation from the jwsdp 2.0 I don't get this error (although I end up with an annotation error: AccessType instead of XmlAccessType). Any idea what might be going on? David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041142#4041142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041142 From do-not-reply at jboss.com Fri Apr 27 08:27:54 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 27 Apr 2007 08:27:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with Context for WSAddressing in Jaxrpc and Jaxw Message-ID: <10509869.1177676874679.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you provide some code samples? I am not sure if i understand your question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041367#4041367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041367 From do-not-reply at jboss.com Fri Apr 27 08:43:20 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 27 Apr 2007 08:43:20 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.2.1: wsconsume OutOfMemoryError Message-ID: <19655262.1177677800988.JavaMail.jboss@colo-br-02.atl.jboss.com> How do you actually invoke wsconsume? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041376#4041376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041376 From do-not-reply at jboss.com Fri Apr 27 08:45:15 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 27 Apr 2007 08:45:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: EJB3.0 Web Service Message-ID: <5520220.1177677915879.JavaMail.jboss@colo-br-02.atl.jboss.com> Try this: http://jbws.dyndns.org/mediawiki/index.php/Quick_Start View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041378#4041378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041378 From do-not-reply at jboss.com Fri Apr 27 08:45:20 2007 From: do-not-reply at jboss.com (kc7bfi) Date: Fri, 27 Apr 2007 08:45:20 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.2.1: wsconsume OutOfMemoryError Message-ID: <6776965.1177677920462.JavaMail.jboss@colo-br-02.atl.jboss.com> I call it through ant. The problem turned out to be large maxOccurs within my xml schema. When I removed all the maxOccurs, then it compiled correctly. David View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041379#4041379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041379 From do-not-reply at jboss.com Fri Apr 27 08:46:26 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 27 Apr 2007 08:46:26 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: InvalidClassException running a webservice client Message-ID: <32527660.1177677986812.JavaMail.jboss@colo-br-02.atl.jboss.com> I suggest you upgrade to 1.2.1 and consult the userguide. JSR 181 was actually a preview impl. in 1.0.4 and is feature complete in 1.2.1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041380#4041380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041380 From do-not-reply at jboss.com Fri Apr 27 08:48:23 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 27 Apr 2007 08:48:23 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JbossWS 1.2.1 and .Net 2.0 client Message-ID: <29930431.1177678103054.JavaMail.jboss@colo-br-02.atl.jboss.com> So, do we consider this to be .NET problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041383#4041383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041383 From do-not-reply at jboss.com Fri Apr 27 08:56:54 2007 From: do-not-reply at jboss.com (Pires da Silva) Date: Fri, 27 Apr 2007 08:56:54 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Problem with Context for WSAddressing in Jaxrpc and Jaxw Message-ID: <21592983.1177678614800.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks for answer. I noticed this morning you used up-to-date jars for running your samples , jars that you retrieved from web sites (force.thirdparty.get property in your build.xml), so concerning Jaxws version -with @resource WebServiceContext- I just copied the jars jaxb-api and jaxb-impl instead of the previous older jars of Jboss AS 4.2.0.CR2 and it is ok, injection of WebServiceContext is working. I mentioned there are lots of jars retrieved that way. From now I don't know exactly how to constitute a clean environment for our deployment. I think it is better to use last version Jboss-1.2.0.SP1 (or may be next Jboss-1.2.1.GA) than version Jboss-1.0.3 I was previously working with. So I'm using Jboss 4.0.2.CR2 with Jboss-1.2.0.SP1. I'm using WSAddressing for session management, if possible HTTPS and basic authentication (which is easy through context if I remember well), MTOM to get/post binary content. To avoid interoperability problems in the previous version we delivered, we specified our API only through the description of the SOAP messages exchanged; I don't know from the moment how to constitude a SOAP message with a binary part (i.e. to be sent through MTOM instead of SOAP with attachments). Do you thing it is possible without risks to propose our API as a web service instead of specifying the soap messages? I will write a source code then generate the wsdl so I ask you if the generated wsdl will be compatible with any clients based on any web services stack? Our deployment must be done soon so I'm asking you the versions appropriate of JbossAS and JbossWS. Thanks a lot CPires View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041387#4041387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041387 From do-not-reply at jboss.com Fri Apr 27 09:35:16 2007 From: do-not-reply at jboss.com (jaap.taal) Date: Fri, 27 Apr 2007 09:35:16 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: InvalidClassException running a webservice client Message-ID: <29324641.1177680916799.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanx for you reaction, I've downloaded jboss-4.2.0 CR2. jbossws-1.2.1.GA is included there. I'm halfway now and have found out that with 1.2.1 no xml is needed (besides web.xml) which is very nice and a lot better than jaxrpc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041401#4041401 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041401 From do-not-reply at jboss.com Fri Apr 27 11:54:59 2007 From: do-not-reply at jboss.com (J2EEUser) Date: Fri, 27 Apr 2007 11:54:59 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Ignore certificate validation in client side (using JBoss4. Message-ID: <7611958.1177689299214.JavaMail.jboss@colo-br-02.atl.jboss.com> I want to use https for encryption using only Server side authentication. I created a self-signed certificated and installed it in the server. In my client side I want to ignore the certificate validation. I am using Jboss4.0.3sp1 application server and clientside is developed with jboss-axis client (axis-ws4ee.jar). I tried the following options. 1. Created trustmanager to accept anycertificates and initialized sslcontext with my own trust manager sample code ====== TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() { public java.security.cert.X509Certificate[] getAcceptedIssuers() {return null; } public void checkClientTrusted( java.security.cert.X509Certificate[] certs, String authType) {} public void checkServerTrusted( java.security.cert.X509Certificate[] certs, String authType) {} } } ; SSLContext context; context = SSLContext.getInstance("SSL"); HttpsURLConnection.setDefaultSSLSocketFactory(context.getSocketFactory()); ============ 2. Tried to set the AxisProeprties to sunfaketrustFactory AxisProperties.setProperty("axis.socketSecureFactory" ,"org.apache.axis.components.net.SunFakeTrustSocketFactory"); None of the above are working. Looks like SunFakeTrustSocketFactory class was removed in JBoss4.0.3sp1- axis-ws4ee.jar and it was availble in JBoss4.0.2- axis-ws4ee.jar I need to fix this issue ASAP as our product needs to be released next week. Any tip will be appreciate. Thanks in advance, RR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041456#4041456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041456 From do-not-reply at jboss.com Fri Apr 27 12:20:37 2007 From: do-not-reply at jboss.com (centecbertl) Date: Fri, 27 Apr 2007 12:20:37 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JbossWS 1.2.1 and .Net 2.0 client Message-ID: <5817495.1177690837747.JavaMail.jboss@colo-br-02.atl.jboss.com> JBossWS is standard conforming, and per se this is not a JBossWS problem. But it means that updating to new JBossWS versions breaks a lot of client code or requires to put XMLElement on all generated DataStructures for nillable non-complex Data fields. Thus it is a JBossWS users problem. Detail: (i.e. autoboxing Long, Integer, Double types, Date types, BigDecimal,..... I was lucky, since I generate all these by using androMDA, thus it was easy to add XmlElement to several hundred data structures in the correct places. It could help other JBossWS users to document the behaviour, and make it configurable (e.g. property nillablesAreRequired). The situation is even worse on .net side: when a .net client reads a complex data structure it does not set the ...Required fields on its own. Thus something like | tradeService.updateTradePriceQuote(quotationService.getQuote(isin)) | with a complex data structure Quote, carrying quotation detail as BigDecimals does not work any longer (what it used to do with JBossWS1.0.x and JSR 181 annotations) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041469#4041469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041469 From do-not-reply at jboss.com Sat Apr 28 20:04:25 2007 From: do-not-reply at jboss.com (jaap.taal) Date: Sat, 28 Apr 2007 20:04:25 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Using (Hash)Map in wrapper class Message-ID: <21637223.1177805065913.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm using jboss-4.2.0.CR2 with jbossws-1.2.1.GA I'm trying to deploy the following simple echo webservice. | @WebService() | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class EchoMapSSTest { | | @WebMethod | public Map echoMapSS(Map myMap) { | return myMap; | } | } | JBoss gives the following error message: ... 28 more Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions java.util.Map is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at java.util.Map The JAXB2.0 documentation clearly states that java.util.Map MUST be supported, so I think I'm doing something wrong? Please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041665#4041665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041665 From do-not-reply at jboss.com Sat Apr 28 20:23:55 2007 From: do-not-reply at jboss.com (jaap.taal) Date: Sat, 28 Apr 2007 20:23:55 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Using (Hash)Map in wrapper class Message-ID: <10058496.1177806235884.JavaMail.jboss@colo-br-02.atl.jboss.com> I've found a related jax-ws topic: http://forums.java.net/jive/message.jspa?messageID=185244 Putting the Hashmap inside a wrapper does work: | @WebService() | @SOAPBinding(style = SOAPBinding.Style.RPC) | public class EchoMapSSTest { | | public static class MapWrapper { | public Map map; | } | | @WebMethod | public MapWrapper echoMapSS(MapWrapper myMap) { | return myMap; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041666#4041666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041666 From do-not-reply at jboss.com Sat Apr 28 21:29:29 2007 From: do-not-reply at jboss.com (jaap.taal) Date: Sat, 28 Apr 2007 21:29:29 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Two services with same portname Message-ID: <32819059.1177810169100.JavaMail.jboss@colo-br-02.atl.jboss.com> When I deploy two services with the same method name inside one war file something strange happens: | @WebService | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) | public class EchoListString { | | @WebMethod | public List echo(List myList) { | return myList; | } | | } | and | @WebService | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) | public class EchoListBean { | | @WebMethod | public List echo(List myList) { | return myList; | } | | } | The echo input xsd (as well as the output) which is generated inside the wsdl is: the tns:basicBean is used instead of xs:string! When I change the name of either EchoListString.echo EchoListBean.echo, everything is normal. I think it's a bug, but i'm not sure! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041670#4041670 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041670 From do-not-reply at jboss.com Sun Apr 29 15:26:05 2007 From: do-not-reply at jboss.com (gryffin) Date: Sun, 29 Apr 2007 15:26:05 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - buggy tutorials Message-ID: <30278610.1177874765147.JavaMail.jboss@colo-br-02.atl.jboss.com> For the life of me, I can't make a single JBoss WS tutorial work. I've tried the normal JBoss tutorial ( chap12 ) and it seems to omit describing elements of the development enviroment crucial to working the tutorial. Trying to move to JBossWS 1.2.1 meant that documention on using servlet based WS was dropped. Downgrading to JBossWS 1.0.4 has left me with the most inexplicable errors when trying to build the first example "java.lang.NoClassDefFoundError: org/jboss/ws/tools/WSTools". Your idea of what this means is probably no better than mine. I've been pounding my head against this stuff all day and night. I've tried using the JBoss 4.0 Official Guide, but it too went off the rails in trying to build the first example. The examples downloaded did not match those in the book. It's too bad that implementing JBoss is so much like compiling a custom kernel. The difference seems to be that there's more accurate documentation regarding kernel compilation. Rant over. What is the recommended path for someone new to Java WS to learn by example how to build servlet RPC style WS with JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041713#4041713 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041713 From do-not-reply at jboss.com Mon Apr 30 02:59:15 2007 From: do-not-reply at jboss.com (cdreyer1) Date: Mon, 30 Apr 2007 02:59:15 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: JbossWS 1.2.1 and .Net 2.0 client Message-ID: <32222942.1177916355076.JavaMail.jboss@colo-br-02.atl.jboss.com> Heiko, yes it is a .Net problem. The XMLSerializer class in the .NET Framework 2.0 has a bug with optional elements. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041748#4041748 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041748 From do-not-reply at jboss.com Mon Apr 30 07:40:21 2007 From: do-not-reply at jboss.com (trivedi) Date: Mon, 30 Apr 2007 07:40:21 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Need help on WSDL first approach on JbossWS Message-ID: <27022592.1177933221644.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Could anyone help me in writting WSDL first approach webservices on JBossWS? I have Jboss4.0.4GA AS and JbossWS1.2.1GA. I was searching for the documentation in google and as well as in Jboss site, I didnt find any information on this approach. It would be great help if someone gives me information on this. Thanks in advance. Trivedi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041801#4041801 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041801 From do-not-reply at jboss.com Mon Apr 30 10:35:48 2007 From: do-not-reply at jboss.com (jesse_sweetland) Date: Mon, 30 Apr 2007 10:35:48 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Multiple Bindings not Supported Message-ID: <30498559.1177943748093.JavaMail.jboss@colo-br-02.atl.jboss.com> The solution is to create a port-component-ref for EVERY port in the web service, not necessarily just the one you want to use. I did this in both jboss-client.xml and application-client.xml; I'm not sure if it needs to be in both places. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041857#4041857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041857 From do-not-reply at jboss.com Mon Apr 30 10:40:14 2007 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 30 Apr 2007 10:40:14 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - Re: Need help on WSDL first approach on JbossWS Message-ID: <26807533.1177944014839.JavaMail.jboss@colo-br-02.atl.jboss.com> See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104843 The docs at http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Top-Down_.28Using_wsconsume.29 contain 80% of the solution but miss the last 20% you need to know to get it working. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041862#4041862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041862 From do-not-reply at jboss.com Mon Apr 30 11:48:07 2007 From: do-not-reply at jboss.com (gryffin) Date: Mon, 30 Apr 2007 11:48:07 -0400 (EDT) Subject: [jbossws-users] [JBossWS] - WSTools documentation Message-ID: <17486361.1177948087871.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to figure out how to use wstools.bat to generate WSDL and client code. Unfortunately, the WS guide is a little short here. http://labs.jboss.com/jbossws/user-guide/en/html/getting-started.html chapter 3 The guide does not document WSTools, instead it says "For details of the wstools configuration, see Apendix A" which links to http://labs.jboss.com/jbossws/user-guide/en/html/appendix-a.html But Appendix A takes you to a dead link. "WSTools configuration syntax" leads you to http://fisheye.jboss.com/viewrep/~raw,r=HEAD/JBossWS/trunk/src/main/resources/schema/jbossws-tool_1_0.xsd Which gives an error: anonymous wrote : Revision 1718 (trunk) of trunk/src/main/resources/schema/jbossws-tool_1_0.xsd is currently deleted. | This file may be re-added in the future. | View file history . The similar "JBossWS configuration syntax" link is also dead. Needless to say, this doesn't help. Is there an actual document on wstools with command-line examples? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041889#4041889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041889