From do-not-reply at jboss.com Wed Nov 1 09:56:20 2006 From: do-not-reply at jboss.com (sursha) Date: Wed, 1 Nov 2006 09:56:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Unable to resolve portName in @WebService definition Message-ID: <15858200.1162392980317.JavaMail.jboss@colo-br-02.atl.jboss.com> I added portName="servicePort" to ejb3 exposed web service and it is unable to resolve it. javax.jws.WebService has a portName as part of the spec. Looks like JBOSS doesn't support it. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982384#3982384 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982384 From do-not-reply at jboss.com Wed Nov 1 10:44:12 2006 From: do-not-reply at jboss.com (luismbo) Date: Wed, 1 Nov 2006 10:44:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Trouble accessing a simple webservice Message-ID: <22242531.1162395852597.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I've read the following documentation: http://docs.jboss.org/jbossas/getting_started/v5/html/ws.html and http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS181HelloWorld And (apparently) sucessfully deployed a simple webservice. Not quite successfully, though, since while JBoss tells me the webservice is deployed: 14:53:40,734 INFO [TomcatDeployer] deploy, ctxPath=/bqx, warUrl=.../tmp/deploy/tmp26274bqx-exp.war/ 14:53:40,993 INFO [WSDLFilePublisher] WSDL published to: file:/Users/luis/Software/jboss-4.0.4.GA/server/default/data/wsdl/bqx.war/BQXWS26275.wsdl 14:53:41,030 INFO [ServiceEndpointManager] WebService started: http://pomajxego:8080/bqx/BQXWS ... I can't seem to access it: 14:55:23,874 ERROR [[BQXWS]] Servlet.service() for servlet BQXWS threw exception org.jboss.util.NotImplementedException: HTTP GET not supported at org.jboss.ws.server.ServiceEndpointServlet.doGet(ServiceEndpointServlet.java:95) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) I've pasted the code for the WS and the client here: http://pastebin.ca/232793 I'm guessing that the annotation magic should be generating a doGet method but for some reason isn't. Any idea what I'm doing wrong? Any help will be appreciated! (BTW, as you'll see in that code, my webmethod is returning XML data in a String. I have the feeling that there must be a better way, tips regarding that will be welcome too!) Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982397#3982397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982397 From do-not-reply at jboss.com Wed Nov 1 10:50:46 2006 From: do-not-reply at jboss.com (StoyanPetrov) Date: Wed, 1 Nov 2006 10:50:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS and .NET client Message-ID: <7959907.1162396246376.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all, I have statefull JBoss WS and .NET client, but ws doen't read properly soap header for me! my client sent: urn:uuid:1fa5a31f-bbe7-4ad5-8b92-d765f4a32dc9 http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous clientid-1 http://mycomp:8080/testws 2006-11-01T15:06:15Z 2006-11-01T15:11:15Z When i get addressing with: AddressingProperties addrProps = (AddressingProperties)messageContext.getProperty(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND); header information like "ReplyTo" is always null. I don't understand why? Some ideas and suggestions?! Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982400#3982400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982400 From do-not-reply at jboss.com Wed Nov 1 12:36:51 2006 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Wed, 1 Nov 2006 12:36:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: implementing wsse:UserNameToken Message-ID: <11949568.1162402611113.JavaMail.jboss@colo-br-02.atl.jboss.com> Please use the code tag when pasting xml. In order to enable sending the username token, you have to add the "username" tag to your jboss-wsse-client.xml config. | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982421#3982421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982421 From do-not-reply at jboss.com Wed Nov 1 13:14:57 2006 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Wed, 1 Nov 2006 13:14:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Return value for Java bean always empty Message-ID: <25887128.1162404897657.JavaMail.jboss@colo-br-02.atl.jboss.com> The problem is that your getters/setters aren't public. Your data objects must be either a conformant JavaBean, or a class with public fields and a noarg constructor. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982433#3982433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982433 From do-not-reply at jboss.com Wed Nov 1 13:20:02 2006 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Wed, 1 Nov 2006 13:20:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Binding exception - prefix Message-ID: <23579184.1162405202103.JavaMail.jboss@colo-br-02.atl.jboss.com> This looks like a bug in glue. xsi:type is supposed to refer to a schema type definition, not an element definition. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982434#3982434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982434 From do-not-reply at jboss.com Wed Nov 1 13:28:55 2006 From: do-not-reply at jboss.com (alesj) Date: Wed, 1 Nov 2006 13:28:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Binding exception - prefix Message-ID: <24576718.1162405735631.JavaMail.jboss@colo-br-02.atl.jboss.com> Could I somehow change this Glue type mapping to make it work? >> Type binding not found for type dateTime specified with xsi:type for element {http://business.forecast.gema.generalynx.com/jaws}date How to actually bind this dateTime type - since this seems to be the cause of exception? So dateTime isn't generic type for Date in WS usage? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982437#3982437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982437 From do-not-reply at jboss.com Wed Nov 1 13:32:47 2006 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Wed, 1 Nov 2006 13:32:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Unable to resolve portName in @WebService definition Message-ID: <5127462.1162405967781.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah this is because it was added as part of the JAX-WS spec. The current 1.x versions are using the original JSR-181 spec which was based on JAX-RPC. We will be releasing initial JAX-WS support in our upcoming 2.0.0 beta2 release if you want to give it a shot. I will post with more details and instructions once it's released. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982438#3982438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982438 From do-not-reply at jboss.com Wed Nov 1 13:43:09 2006 From: do-not-reply at jboss.com (zurchman) Date: Wed, 1 Nov 2006 13:43:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service: Could not dereference object Message-ID: <27619201.1162406589794.JavaMail.jboss@colo-br-02.atl.jboss.com> This looks like an infrastructure problem: anonymous wrote : org.jboss.ws.metadata.wsdl.WSDLException: java.net.ConnectException: Connection refused: connect] at | Can you capture and post the output of the test session? (Unix 'typescript' file?) What is the value of 'node0'? Does it contain the name of your server? If you're on Windoze, is the server port open in the firewall? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982442#3982442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982442 From do-not-reply at jboss.com Wed Nov 1 16:33:57 2006 From: do-not-reply at jboss.com (rayymlai) Date: Wed, 1 Nov 2006 16:33:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: implementing wsse:UserNameToken Message-ID: <30908490.1162416837243.JavaMail.jboss@colo-br-02.atl.jboss.com> In my previous replies, I've already used your sample config file in the jboss-wsse-client.xml (and jboss-wsse-server.xml), but jbossws does not render the wsse username token profile. How I re-do the testing: 1. in the 3 samples in jbossws wssecurity, i use your example in the two *wsse*.xml file: | | | | | | | | 2. run "ant clean", "ant" and "ant tests" - wssecurity samples show no error in test runs 3. examine output/samples log file Outgoing SOAPMessage Kermit Incomming Response SOAPMessage Kermit 4. I use tcpspy to capture the SOAP message, but cannot find the wsse username token in the SOAP header. 5. If I don't use the tag "username", e.g. | | | , I find the output/sample and the SOAP message intercepted by tcpspy are the same. Need help 6. could you advise if I miss anything in the config file? 7. how should I capture or examine the SOAP header in order to look for wsse usernametoken element? Is there any log file or option to log the SOAP header? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982471#3982471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982471 From do-not-reply at jboss.com Wed Nov 1 19:33:34 2006 From: do-not-reply at jboss.com (rrajasekaran) Date: Wed, 1 Nov 2006 19:33:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS Samples-Failed to authenticate principal=null Message-ID: <16812020.1162427614780.JavaMail.jboss@colo-br-02.atl.jboss.com> Any luck? Iam struck at the same issue and I would appreciate your help, if you have figured out how! Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982504#3982504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982504 From do-not-reply at jboss.com Thu Nov 2 03:22:01 2006 From: do-not-reply at jboss.com (kaza) Date: Thu, 2 Nov 2006 03:22:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems returning arrays from Webservice Method Message-ID: <23693895.1162455721551.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry Marco, I downloaded all the samples and I did not find one that had @WebResult in it. I also annotated my method with WebResult but that did not change my WSDL at all and so my test still fails . Can you send me some sample code where and how you use this annotation. I'm trying to return an array not sending one in a parameter. Thanks Erik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982585#3982585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982585 From do-not-reply at jboss.com Thu Nov 2 04:16:23 2006 From: do-not-reply at jboss.com (krishan_singh) Date: Thu, 2 Nov 2006 04:16:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - using Enum with Java version 131_08 Message-ID: <13125501.1162458983200.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have developed a web service (stateless session bean) with all the parameters as string. Now I need to change some of teh paremeters from string to enum in the WSDL. The problem is that We are using java 131_08 version and I read that Enum are not supported in java versions lower than 1.5. Is there a work around for this? The intention is to restrict the request coming from the serivce consumer, if one of the values for variables of type enum is wrong, to the web service. Please help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982602#3982602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982602 From do-not-reply at jboss.com Thu Nov 2 06:09:55 2006 From: do-not-reply at jboss.com (lowecg2004) Date: Thu, 2 Nov 2006 06:09:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Return value for Java bean always empty Message-ID: <31192720.1162465795970.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh (expletive deleted). It was so obvious - I'd been looking at it for so long that I completely missed the basics! Thanks for you help, Chris. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982620#3982620 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982620 From do-not-reply at jboss.com Thu Nov 2 07:41:58 2006 From: do-not-reply at jboss.com (lowecg2004) Date: Thu, 2 Nov 2006 07:41:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WStools; Parameter names (Newbie question) Message-ID: <25662985.1162471318538.JavaMail.jboss@colo-br-02.atl.jboss.com> Jason, re: getting parameter information included in the byte code. Is there a bug/rfe database ID that we can add our votes to? This would be incredibly useful. Chris. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982643#3982643 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982643 From do-not-reply at jboss.com Thu Nov 2 08:04:37 2006 From: do-not-reply at jboss.com (sappenin) Date: Thu, 2 Nov 2006 08:04:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: implementing wsse:UserNameToken Message-ID: <22655979.1162472677684.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : 7. how should I capture or examine the SOAP header in order to | look for wsse usernametoken element? Is there any log file or option to | log the SOAP header? In your log4j.xml file (JBOSS_HOME/server/[servername]/conf/log4j.xml), set the CONSOLE appender threshold to DEBUG (instead of the default INFO). When you run your webservice, the in/out messages (including headers) will be displayed. You can do the same for other appenders if you want to capture logging info in other places. | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982651#3982651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982651 From do-not-reply at jboss.com Thu Nov 2 09:59:07 2006 From: do-not-reply at jboss.com (lds23) Date: Thu, 2 Nov 2006 09:59:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JAX-RPC Enumeration type did not conform to expectations Message-ID: <27458047.1162479547469.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, When trying to deploy a webservice on JBoss 4.0.4 I get an exception and the only reference I cannot find any hints on the web. Any hints? The service was implemented by running wsimport on wsdl file (Parlay X Send SMS function). The implementation is a stateless session bean. I'll be really grateful for any tips: org.jboss.ws.WSException: JAX-RPC Enumeration type did not conform to expectations at org.jboss.ws.tools.schema.SchemaTypeCreator.handleJAXRPCEnumeration(SchemaTypeCreator.java:377) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:317) at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:272) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:133) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:128) at org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldParticle(SchemaTypeCreator.java:597) at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:582) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:334) at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:272) at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:133) at org.jboss.ws.tools.JavaToXSD.generateForSingleType(JavaToXSD.java:109) at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:555) at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:141) at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:236) at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:168) at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:318) at org.jboss.ws.metadata.AnnotationsMetaDataBuilder.processOrGenerateWSDL(AnnotationsMetaDataBuilder.java:225) at org.jboss.ws.metadata.AnnotationsMetaDataBuilder.setupEndpointFromAnnotations(AnnotationsMetaDataBuilder.java:174) at org.jboss.ws.metadata.AnnotationsMetaDataBuilderJSE.buildMetaData(AnnotationsMetaDataBuilderJSE.java:82) at org.jboss.ws.server.WebServiceDeployerJSE.createWebServicesMetaData(WebServiceDeployerJSE.java:196) at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:103) at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66) 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 $Proxy40.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.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) Regards, DS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982680#3982680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982680 From do-not-reply at jboss.com Thu Nov 2 16:28:55 2006 From: do-not-reply at jboss.com (sgtmcg) Date: Thu, 2 Nov 2006 16:28:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools error in wsdl that imports schemas Message-ID: <10114504.1162502935920.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I am using 1.0.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982789#3982789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982789 From do-not-reply at jboss.com Thu Nov 2 18:47:02 2006 From: do-not-reply at jboss.com (zurchman) Date: Thu, 2 Nov 2006 18:47:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jaxrpc interop Message-ID: <20900717.1162511222801.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a recalcitrant client that seems to insist on stripping the Namespace from the rpc request. I'm testing the JBossWS 1.0.3 rpcstyle sample. When deployed on Tomcat, the service does not seem to care about the missing namespace. JBossWS throws a SOAP Fault. I'm afraid I'm not familiar with the intricacies of method dispatching. Is there any way to redeploy this service on JBossWS so that it can tolerate this missing namespace? Here's a request from soapui, which includes xmlns:rpc and returns a valid response: | 2006-11-02 14:24:19,597 DEBUG [jbossws.SOAPMessage] Incomming SOAPMessage | | | | | Hello | There | | 2006-11-02 14:24:19,598 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: {http://org.jboss.ws/samples/rpcstyle}purchase | And here's the request from the careless client, which results in an Exception: 2006-11-02 14:24:45,217 DEBUG [org.jboss.ws.server.StandardEndpointServlet] doPost: /jbossws-samples-rpcstyle | 2006-11-02 14:24:45,217 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl at bd0da3 | 2006-11-02 14:24:45,218 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=jbossws-samples-rpcstyle,endpoint=TrivialEndpoint | 2006-11-02 14:24:45,219 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml] | 2006-11-02 14:24:45,220 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: Kermit | 2006-11-02 14:24:45,221 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: Ferrari | 2006-11-02 14:24:45,221 DEBUG [jbossws.SOAPMessage] Incomming SOAPMessage | | | | | | Kermit | Ferrari | | | 2006-11-02 14:24:45,221 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: null | 2006-11-02 14:24:45,222 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: null | 2006-11-02 14:24:45,222 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Endpoint {http://org.jboss.ws/samples/rpcstyle}TrivialServicePort does not contain operation meta data for: purchase,actor=null,detail=null] | 2006-11-02 14:24:45,222 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/samples/rpcstyle}TrivialServicePort does not contain operation meta data for: purchase | at org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982812#3982812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982812 From do-not-reply at jboss.com Thu Nov 2 20:19:04 2006 From: do-not-reply at jboss.com (rayymlai) Date: Thu, 2 Nov 2006 20:19:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: implementing wsse:UserNameToken Message-ID: <19452838.1162516744642.JavaMail.jboss@colo-br-02.atl.jboss.com> I've turned on the DEBUG mode in the log4j, and find: | 17:11:54,304 DEBUG [SOAPContentElement] setXMLFragment: Kermit | 17:11:54,304 DEBUG [SOAPMessage] Incomming SOAPMessage | | | | | Kermit | | | 17:11:54,304 DEBUG [JAXBSerializer] serialized: Kermit | 17:11:54,304 DEBUG [SOAPContentElement] xmlFragment: Kermit | 17:11:54,304 DEBUG [SOAPMessage] Outgoing SOAPMessage | | | | | | Kermit | | This reinforces my previous finding that despite I use the tag "username" in the *wsse-*.xml file, JBossWS 1.0.3 doesn't render the WSS 1.0 username token profile. I would be expecting JBossWS to generate something like: | | | | kchan | 1OjLUItM4JKW4D4feXBKuSccBOg= | 0pHV+YqqsotZvuwTzVUoUw== | 2006-11-1T17:47:10.814Z | | | | | | Questions 1. Do any of you have advice or pointer? Is this because JBossWS 1.0.3 does not fully support WSS 1.0 username token? 2. A colleague of mine writes a client to the Java web service in JBoss, and provides the user id and password by setting the property in the SOAP stub (refer to previous replies in this thread). He says this is an alternative way to generate WSS 1.0 username token. My understanding is that this won't generate WSS 1.0 compliant username token. Can any one confirm? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982827#3982827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982827 From do-not-reply at jboss.com Fri Nov 3 04:41:52 2006 From: do-not-reply at jboss.com (dma_k) Date: Fri, 3 Nov 2006 04:41:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossXSErrorHandler: cannot resolve XSD name when loading JS Message-ID: <22457269.1162546912187.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello all! Has anybody succeeded to deploy a JSR-181 EJB Endpoint, created by https://jax-ws.dev.java.net/? I am trying to use JAX-WS 2.0 with JbossWS 1.0.3. I have done the following: - Launched jboss-4.0.5.GA + jboss-EJB-3.0_RC9-FD + jbossws-1.0.3.GA. - Generated all JAXB entities + ..PortType.java interface + ..Service.java class using the wsimport as written in https://jax-ws.dev.java.net/nonav/jax-ws-21-ea2/docs/UsersGuide.html#3.1.2.1_Generate_a_Service_Endpoint_Interface_. - Implemented ..PortType.java (..PortTypeImpl.java) and turned it to JSR-181 EJB Endpoint: // Standard EJB3 annotations: | @Local(..LocalInterface.class) | @Stateless | // Standard JSR181 annotations: | @WebService(name = "..PortType", wsdlLocation="META-INF/wsdl/Search.wsdl", targetNamespace = "https://webservices.dot.com/services") | @SOAPBinding(style = SOAPBinding.Style.RPC) | // JBoss propriatary annotations: | @PortComponent(contextRoot = "/service/search", urlPattern = "/*") | @LocalBinding(jndiBinding = "/ejb3/MyBean") | public class ..PortTypeImpl | implements ..LocalInterface, ..PortType | { | // EJB local interface: | public SearchRS doHotelSearch(SearchRQ request) | { | return null; | } | | @WebMethod | public SearchRS doHotelSearch(Holder ebHeader, | Holder wsseHeader, SearchRQ bodyRQ) | { | return null; | } | | @WebMethod | public InfoRS getHotelDescriptiveInfo(Holder ebHeader, | Holder wsseHeader, InfoRQ bodyRQ) | { | return null; | } | } And when deploying it I have a lot of errors like this: 02 16:02:18 ERROR [ws.metadata.wsdl.xmlschema.JBossXSErrorHandler] JBossWS_www.opentravel.org_OTA_2003_0544098.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve:Cannot resolve the name 'OTA_PayloadStdAttributes' to a(n) 'attribute group' component. | 02 16:02:18 ERROR [ws.metadata.wsdl.xmlschema.JBossXSErrorHandler] JBossWS_www.opentravel.org_OTA_2003_0544098.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=s4s-elt-in valid-content.1]::Message=s4s-elt-invalid-content.1: The content of '#AnonType_OTA_HotelDescriptiveInfoRS' is invalid. Element 'attributeGroup' is invalid, misplaced, or occurs too often. | ... | org.jboss.ws.WSException: Cannot load schema: [file:/usr/local/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_www.opentravel.org_OTA_2003_0544099.xsd, file:/usr/local/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_schemas.xmlsoap.org_ws_2002_12_secext44092.xsd, file:/usr/local/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_schemas.xmlsoap.org_soap_envelope_44094.xsd, file:/usr/local/jboss-4.0.5.GA/server/default/tmp/jbossws/JBossWS_www.ebxml.org_namespaces_messageHeader44090.xsd] | at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:172) | at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:227) | at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118) | at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145) Is it possible at all? Any ideas? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982888#3982888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982888 From do-not-reply at jboss.com Fri Nov 3 05:10:07 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Fri, 3 Nov 2006 05:10:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jaxrpc interop Message-ID: <3616075.1162548607684.JavaMail.jboss@colo-br-02.atl.jboss.com> You could try and modify your client to include a line like this. envelope.addNamespaceDeclaration(PREFIX,NAMESPACE_URI); Where prefix would be "rpc" and NAMESPACE "http://org.jboss.ws/samples/rpcstyle" That would add an adicional name space declaration like in your soapui example. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982902#3982902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982902 From do-not-reply at jboss.com Fri Nov 3 05:17:05 2006 From: do-not-reply at jboss.com (alesj) Date: Fri, 3 Nov 2006 05:17:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NPE in SOAPFaultException + ClientImpl.handleRemoteException Message-ID: <18481116.1162549025899.JavaMail.jboss@colo-br-02.atl.jboss.com> | ClientImpl.handleRemoteException | | if (SOAPBinding.SOAP11HTTP_BINDING.equals(bindingId) || SOAPBinding.SOAP12HTTP_BINDING.equals(bindingId)) | { | throw new SOAPFaultException(null); | } | | public SOAPFaultException(SOAPFault fault) | { | super(fault.getFaultString()); | this.fault = fault; | } | It's a clear NPE. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982907#3982907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982907 From do-not-reply at jboss.com Fri Nov 3 05:35:58 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Fri, 3 Nov 2006 05:35:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problem with SAAJ Client for Webservice that receives attach Message-ID: <16190663.1162550158844.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I've implemented a webservice (JSR-109) that receives two parameters and one attachment. It's working fine, testing with soapui 1.6 beta2 showed that my service could receive and store attachments without a problem. Now I wanted to create a SAAJ client to make contact with such webservice. I have previous experience developing clients without the attachment part, but in this one I'm having problems. I've based my client on this one http://labs.jboss.com/portal/jbossws/user-guide/en/html/attachments.html but when interacting with the webservice, I keep on getting this message: | | | | env:Client | multipart/related type specified a root type other than the one that was found. | | | This is my request message via soapUI | ------=_Part_1_20574010.1162549201841 | Content-Type: text/xml; charset=UTF-8 | Content-Transfer-Encoding: 8bit | Content-ID: | | | | | | 5 | text | | | | ------=_Part_1_20574010.1162549201841 | Content-Type: text/plain; charset=us-ascii | Content-Transfer-Encoding: 7bit | Content-ID: | | Text message here | ------=_Part_1_20574010.1162549201841-- | And this is my message via my SAAJ client | ------=_Part_0_12285029.1162549416820 | Content-Type: text/xml; charset=utf-8 | | | | | | 1 | text | | | | ------=_Part_0_12285029.1162549416820 | Content-Type: multipart/mixed; | boundary="----=_Part_0_28470003.1162549416710" | Content-ID: | | ------=_Part_0_28470003.1162549416710 | Content-Type: text/plain | | Text message here | ------=_Part_0_28470003.1162549416710-- | | ------=_Part_0_12285029.1162549416820-- | Additionaly, here is the header of the SOAP transmission from soapUI | SOAPAction: "" | Content-Type: multipart/related; type="text/xml"; | start=""; | boundary="----=_Part_1_20574010.1162549201841 | MIME-Version: 1.0 | User-Agent: Jakarta Commons-HttpClient/3.0.1 | Host: localhost:8080 | Content-Length: 697 | Now, here's my problem, I know that the messages are correct, as you can also see, but there must be something wrong with my definiton of attachment. I cannot reproduce the part highlighted in the soapui message, and think that is where my problem lays. Somewere in server process, when the message goes through my client, it can't split the message into two, the Body Part and the Attachment part, and complains when it finds a "text/plain" instead of "text/xml". Can you help me here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982915#3982915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982915 From do-not-reply at jboss.com Fri Nov 3 05:41:16 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Fri, 3 Nov 2006 05:41:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <2285907.1162550476038.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to add: Running JBoss AS 4.0.5 with JBossWS 1.0.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982920#3982920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982920 From do-not-reply at jboss.com Fri Nov 3 07:40:10 2006 From: do-not-reply at jboss.com (sappenin) Date: Fri, 3 Nov 2006 07:40:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: implementing wsse:UserNameToken Message-ID: <14630176.1162557610611.JavaMail.jboss@colo-br-02.atl.jboss.com> I can't confirm your problem using a JBoss/Java client. I'm using an Adobe Flex2 client, and can hit my JBoss webservice using the WSSE Username Profile. The only problem is that I have to send my password in the clear (See up above where jason.greene at jboss.com addresses this point). However, once you solve your client issue, you will run into this same problem using the USERNAME profile on the server side, since it doesn't yet deal with the Nonce or date elements (unless you've implemented custom functionality to handle these). I'll try putting together a client to see if I run into these same issues. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982952#3982952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982952 From do-not-reply at jboss.com Fri Nov 3 10:12:33 2006 From: do-not-reply at jboss.com (somejunk) Date: Fri, 3 Nov 2006 10:12:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Is JBoss J2EE 1.5 Certified? Message-ID: <16281335.1162566753033.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We are planning to go with JBoss 4.0.4 and Java 1.5. Our application uses web services. I read in the web services column that Jboss is J2EE 1.4 certified. My concern - is JBoss certified on J2EE 1.5? Anyone please help me here. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982993#3982993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982993 From do-not-reply at jboss.com Fri Nov 3 10:14:22 2006 From: do-not-reply at jboss.com (alesj) Date: Fri, 3 Nov 2006 10:14:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Binding exception - prefix Message-ID: <7398304.1162566862746.JavaMail.jboss@colo-br-02.atl.jboss.com> This is my wsdl | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instance of class com.generalynx.gema.services.impl.SimpleServiceImpl | | | | | | | | And my ws client definition looks like this: | @WebServiceClient( | name = "SimpleServiceImpl", | targetNamespace = "http://www.themindelectric.com/wsdl/SimpleServiceImpl/", | wsdlLocation = "http://sokolov:8081/gema/services/SimpleService.wsdl" | ) | public class SimpleServiceImpl extends javax.xml.ws.Service { | | public SimpleServiceImpl() throws MalformedURLException { | this( | new URL("http://sokolov:8081/gema/services/SimpleService.wsdl"), | new QName("http://www.themindelectric.com/wsdl/SimpleServiceImpl/", "SimpleServiceImpl") | ); | } | | public SimpleServiceImpl(URL url, QName qName) { | super(url, qName); | } | | @WebEndpoint(name = "SimplePort") | public SimpleService getSimplePort() { | return (SimpleService) super.getPort( | new QName("http://www.themindelectric.com/wsdl/SimpleServiceImpl/", "SimpleService"), | SimpleService.class); | } | | } | | | @WebService | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) | public interface SimpleService { | | @WebMethod | @WebResult(name = "getHelloWorldResponse", targetNamespace = "http://www.themindelectric.com/wsdl/SimpleServiceImpl/") | SimpleOutData getHelloWorld( | @WebParam(name = "getHelloWorld", targetNamespace = "http://www.themindelectric.com/wsdl/SimpleServiceImpl/") | SimpleInData data | ); | | } | Is this a valid client invocation / request? | Outgoing SOAPMessage | | | | | 2006-11-03T16:04:00.015+01:00 | | | | I get this response, but I get a null result object. | @SuppressWarnings({"EJB_ERROR"}) | public class ClientTesterJob implements Job { | | @WebServiceRef(SimpleServiceImpl.class) | private SimpleService simpleService; | | public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { | System.out.println(simpleService != null); | SimpleInData data = new SimpleInData(); | data.setDate(new Date()); | System.out.println(simpleService.getHelloWorld(data)); | } | | } | | | Incoming Response SOAPMessage | | | | | | Hello world null | | | | I also get a null parameter object on the service side. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982996#3982996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982996 From do-not-reply at jboss.com Fri Nov 3 10:44:54 2006 From: do-not-reply at jboss.com (nagmca) Date: Fri, 3 Nov 2006 10:44:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Consuming Java Webservice in Coldfusion Message-ID: <4855576.1162568694781.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a webservice with one method which expects no input parametesrs but returns an array of strings. Was able to consume the webservice using java client but failed to consume it thru coldfusion . The exception messages is SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize. tcpmonitor/ethereal shows the correct soap request/response messages. Any pointers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983001#3983001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983001 From do-not-reply at jboss.com Fri Nov 3 12:20:53 2006 From: do-not-reply at jboss.com (zurchman) Date: Fri, 3 Nov 2006 12:20:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jaxrpc interop Message-ID: <16982447.1162574453633.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : You could try and modify your client... The client is a "black box" so I'm stuck with trying to configure the service so it won't choke on an empty Namespace. Just to clarify, the missing namespace is tolerated if the service is deployed under tomcat50-jwsdp; JBoss 1.0.3 throws a Fault. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983029#3983029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983029 From do-not-reply at jboss.com Fri Nov 3 14:23:51 2006 From: do-not-reply at jboss.com (malmit) Date: Fri, 3 Nov 2006 14:23:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Possible JBoss SwA Bug Message-ID: <26777935.1162581831082.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to build a document literal web service in JBoss 4.0.5 and can't get around this exception: org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: {http://www.w3.org/2001/XMLSchema}base64Binary Here's what my wsdl looks like: < input> < output> In my mapping.xml file that wscompile generated, this mapping was generated for the data mime:content: data data My ultimate goal is to allow a web service request containing parameters passed via a normal web service request and allow an attachment of a base64 encoded binary file. Is this a bug in JBoss 4.0.5 or did I do something wrong? Thanks in advanced, Tim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983077#3983077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983077 From do-not-reply at jboss.com Fri Nov 3 15:30:11 2006 From: do-not-reply at jboss.com (jgilbert) Date: Fri, 3 Nov 2006 15:30:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Signature is invalid Message-ID: <25609712.1162585811105.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting the following exception on the server side when trying to encrypt individual elements: | org.jboss.ws.wsse.FailedCheckException: Signature is invalid. | at org.jboss.ws.wsse.SignatureVerificationOperation.process(SignatureVerificationOperation.java:59) | at org.jboss.ws.wsse.SecurityDecoder.decode(SecurityDecoder.java:123) | at org.jboss.ws.wsse.SecurityDecoder.decode(SecurityDecoder.java:185) | at org.jboss.ws.wsse.WSSecurityDispatcher.handleInbound(WSSecurityDispatcher.java:143) | at org.jboss.ws.wsse.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:68) | at org.jboss.ws.wsse.WSSecurityHandlerInbound.handleRequest(WSSecurityHandlerInbound.java:42) | I am following this example from the wiki with a few differences: http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurityComplexExample - i am declaring rules globally instead of at the operation level - i want to sign the complete message - i want to encrypt individual elements when i sign and encrypt everything then it all works. when i just encrypt individual elements without signing then it all works. any ideas? jboss-wsse-client.xml | | | | | | {http://service.security.pay.net/jaws}creditCardNumber | | | | | | | {http://service.security.pay.net/jaws}creditCardNumber | | | | | jboss-wsse-server.xml | | META-INF/wsse.keystore | jbossws | META-INF/wsse.truststore | jbossws | | | | | {http://service.security.pay.net/jaws}creditCardNumber | | | | | | | {http://service.security.pay.net/jaws}creditCardNumber | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983095#3983095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983095 From do-not-reply at jboss.com Fri Nov 3 15:34:15 2006 From: do-not-reply at jboss.com (qiliu) Date: Fri, 3 Nov 2006 15:34:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - org.jboss.util.xml.DOMWriter error Message-ID: <15067034.1162586055295.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JSR109 client to consume JSR181 web service. Both are on my local machine. I encounted a NoSuchMethodError on DOMWriter.setPrettyprint when executing the code: Service service = (Service)iniCtx.lookup("authentication-client/service/AuthenticationService"); I am using jboss-common-client.jar built on 10/16/2006, so I think this is not the error mentioned in http://jira.jboss.com/jira/browse/JBAS-2117. Any help, please. java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.eclipse.ve.internal.java.vce.launcher.remotevm.JavaBeansLauncher.main(JavaBeansLauncher.java:86) Caused by: java.lang.NoSuchMethodError: org.jboss.util.xml.DOMWriter.setPrettyprint(Z)Lorg/jboss/util/xml/DOMWriter; at org.jboss.ws.metadata.wsdl.WSDL11Reader.processSchemaInclude(WSDL11Reader.java:332) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:205) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:118) at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145) at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273) at org.jboss.ws.metadata.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:106) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:112) at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:182) at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source) at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1125) at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1142) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:705) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(Unknown Source) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983099#3983099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983099 From do-not-reply at jboss.com Fri Nov 3 18:19:04 2006 From: do-not-reply at jboss.com (rayymlai) Date: Fri, 3 Nov 2006 18:19:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Possible JBoss SwA Bug Message-ID: <23379933.1162595944949.JavaMail.jboss@colo-br-02.atl.jboss.com> We run the JBossWS swa sample codes, and encounter this problem. If you uncomment out the build.xml the wstool task example, we find this error. Could any one help to see if this is a bug in JBossWS? We also find that there are a few JBossWS sample subprojects sharing the same problem. | 1. In JBossWS 1.0.3 samples, cd to samples\swa. | | 2. Uncomment the following in the build.xml. | | | | 3. ant generate-sources | | There should be an error: | | C:\projects\jbossws-1.0.3.GA\samples\swa>ant generate-sources | | Buildfile: build.xml | | | | init: | | [available] DEPRECATED - used to override an existing property. | | [available] Build file should not reuse the same property name for different v | | alues. | | [echo] jboss.home = c:/jboss-4.0.4.ga | | [echo] tomcat.home = c:/projects/jbossws-1.0.3.ga/lib/tomcat | | [echo] java.home = C:\Java\jdk1.5.0_06\jre | | [echo] node0 = MTVL04AL3H1430 | | | | | | compile: | | | | generate-sources: | | [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.tool | | s.WSTools). | | [wstools] log4j:WARN Please initialize the log4j system properly. | | [wstools] java.io.IOException: Cannot parse config: Failed to parse source: cvc-complex-type.4: Attribute 'name' must appear on element 'operation'. @ *unknow | | n*[12,18] | | [wstools] at org.jboss.ws.tools.config.ToolsSchemaConfigReader.readConfig( | | ToolsSchemaConfigReader.java:141) | | [wstools] at org.jboss.ws.tools.WSTools.readToolsConfiguration(WSTools.jav | | a:150) | | [wstools] at org.jboss.ws.tools.WSTools.generate(WSTools.java:79) | | [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) | | [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja | | va:275) | | [wstools] at org.apache.tools.ant.Task.perform(Task.java:364) | | [wstools] at org.apache.tools.ant.Target.execute(Target.java:341) | | [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369) | | [wstools] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav | | a:1216) | | [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) | | | | [wstools] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De | | faultExecutor.java:40) | | [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1068 | | ) | | [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:668) | | [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:187) | | [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246) | | [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67) | | [wstools] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse so | | urce: cvc-complex-type.4: Attribute 'name' must appear on element 'operation'. @ | | *unknown*[12,18] | | [wstools] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBo | | ssXBParser.java:156) | | [wstools] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerI | | mpl.java:169) | | [wstools] at org.jboss.ws.tools.config.ToolsSchemaConfigReader.readConfig( | | ToolsSchemaConfigReader.java:137) | | [wstools] ... 15 more | | [wstools] Caused by: org.xml.sax.SAXException: cvc-complex-type.4: Attribute ' | | name' must appear on element 'operation'. @ *unknown*[12,18] | | [wstools] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErro | | rHandler.error(SaxJBossXBParser.java:326) | | [wstools] at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Sour | | ce) | | [wstools] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown S | | ource) | | [wstools] at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown S | | ource) | | [wstools] at org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter | | .reportError(Unknown Source) | | [wstools] at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaErro | | r(Unknown Source) | | [wstools] at org.apache.xerces.impl.xs.XMLSchemaValidator.addDefaultAttrib | | utes(Unknown Source) | | [wstools] at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartEleme | | nt(Unknown Source) | | [wstools] at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unk | | nown Source) | | [wstools] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElem | | ent(Unknown Source) | | [wstools] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$Fragmen | | tContentDispatcher.dispatch(Unknown Source) | | [wstools] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDoc | | ument(Unknown Source) | | [wstools] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown So | | urce) | | [wstools] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown So | | urce) | | [wstools] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | | [wstools] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Sou | | rce) | | [wstools] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBo | | ssXBParser.java:152) | | [wstools] ... 17 more | | | | BUILD FAILED | | | | thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983141#3983141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983141 From do-not-reply at jboss.com Fri Nov 3 18:45:31 2006 From: do-not-reply at jboss.com (malmit) Date: Fri, 3 Nov 2006 18:45:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Possible JBoss SwA Bug Message-ID: <31600650.1162597531771.JavaMail.jboss@colo-br-02.atl.jboss.com> Please don't hijack my thread. Your problem is not related to the exception that I am getting and should be in it's own topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983145#3983145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983145 From do-not-reply at jboss.com Fri Nov 3 22:52:06 2006 From: do-not-reply at jboss.com (johnurban) Date: Fri, 3 Nov 2006 22:52:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS Samples-Failed to authenticate principal=null Message-ID: <9979766.1162612326972.JavaMail.jboss@colo-br-02.atl.jboss.com> I have not. But I am guessing it has something to do with the way I installed the JBossWS using gems. I remember typing a user admin and password. The trick seems to be finding where that is stored in all of the properties/xml files. I'll keep you posted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983162#3983162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983162 From do-not-reply at jboss.com Sat Nov 4 04:49:06 2006 From: do-not-reply at jboss.com (aboudank) Date: Sat, 4 Nov 2006 04:49:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Consuming a web service from an EJB3 stateless sb Message-ID: <128531.1162633746048.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am new to JBOSSWS. I am using JBoss 4.0.4.GA, EJB3 RC8 and JBoss WS 1.0.1.GA. I wrote and deployed a JSR 180 WS which worked fine. I can access it from a .NET C# app. Now I am trying to consume this WS from a statless EJB3 and I am not able to do it. Here is what I did: Using WSTOOLS, I generated the client artifacts which generated the mapping.xml file and the client interfaces. Then I added the following EJB-JAR.xml file in the META-INF directory: | | | | | MembersManagerBean | | service/GEEWebService | javax.xml.rpc.Service | META-INF/wsdl/GEEWebService.wsdl | META-INF/GEEWS-jaxrpc-mapping.xml | service/GEEWebService | | poseidon.com.webservices.sgee.GEEWebService_Service | | | | | | I have an empty JBOSS.XML file...should it have anything? I get a message in the log file that says: | DEBUG [org.jboss.ejb3.EJBContainer] binding enc: env/service/GEEWebService to service/GEEWebService | But I do not see the JNDI binding and when I try to access it using: | ctx.lookup("java:comp/env/service/GEEWebService"); | or | ctx.lookup("service/GEEWebService"); | I get the following error: | INFO [STDOUT] GHRRulesManagerBean.getGEEWebService exception: env not bound | Please help. Thanks. Regards, mka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983189#3983189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983189 From do-not-reply at jboss.com Sat Nov 4 08:30:49 2006 From: do-not-reply at jboss.com (brianshields) Date: Sat, 4 Nov 2006 08:30:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ws-security: Problem using encryption Message-ID: <28373557.1162647049557.JavaMail.jboss@colo-br-02.atl.jboss.com> Apologies for the delay in responding to this, anonymous wrote : That should also work, but using this you won't be able to send secured messages outbound. At the moment I am only concerned with securing the client to server messages. anonymous wrote : What encryption options did you use with the sun stack? I am using the example from the JBossWS documentation. X.509 certificates. anonymous wrote : Also, can you post a copy of the message the client is sending? I am going to include the message without any security, then the message with signature, which works, and finally the message with encryption, which does not work. Original message without any security | | | | | john | | | | Message when signature is used | | | | | 2006-11-04T12:34:51.546Z | | | MIIEQTCCA6qgAwIBAgIBAzANBgkqhkiG9w0BAQUFADCBkjELMAkGA1UEBhMCVVMxEzARBgNVBAgT | Cldhc2hpbmd0b24xGDAWBgNVBAcTD1Nub3F1YWxtaWUgUGFzczETMBEGA1UEChMKSkJvc3MgSW5j | LjELMAkGA1UECxMCUUExEjAQBgNVBAMTCWpib3NzLmNvbTEeMBwGCSqGSIb3DQEJARYPYWRtaW5A | amJvc3MuY29tMB4XDTA1MDkxNTAwMDk0MVoXDTE1MDkxMzAwMDk0MVowgYsxCzAJBgNVBAYTAlVT | MRMwEQYDVQQIEwpXYXNoaW5ndG9uMRMwEQYDVQQKEwpKQm9zcyBJbmMuMRQwEgYDVQQLEwtEZXZl | bG9wbWVudDEVMBMGA1UEAxMMSmFzb24gR3JlZW5lMSUwIwYJKoZIhvcNAQkBFhZqYXNvbi5ncmVl | bmVAamJvc3MuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzzj+VomXdEuHTg4g | N9mN865eulLiAPITiZMLfz2ODuzF0pj39iTKhHM8IS6YQYbkPGRXMTmnCy0NFfMsVKTXs/9rZBMP | 1ko3kZopaN+XrUT8yxIiydL76QYcRpDGgxG9G4kc+mHdt0rZtARWVwoVPhO4Irx09AONpSYqdSq0 | 8jMXscA+yXwvhDHGV+J4CCSmQgYVa95OdDaAMnWp5csAfg4eL/GTLI36Up4tjsFnMq5NFKsCnZ1q | qxA1OO3CbhsK/IlEZw13alGJPJ1FgvaTZTZNh+h2YIKl//P5iQOtfURrzWsVwGcEa6S+lC72BJHj | JBOw4byI/FTi1HCe6wd3iQIDAQABo4IBJjCCASIwCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYd | T3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFKzdWmBd7MDzEemEN6HMXIeq | St86MIHHBgNVHSMEgb8wgbyAFEuV2BcIYuw61dmN9JIrAvNK+hZ+oYGYpIGVMIGSMQswCQYDVQQG | EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEYMBYGA1UEBxMPU25vcXVhbG1pZSBQYXNzMRMwEQYD | VQQKEwpKQm9zcyBJbmMuMQswCQYDVQQLEwJRQTESMBAGA1UEAxMJamJvc3MuY29tMR4wHAYJKoZI | hvcNAQkBFg9hZG1pbkBqYm9zcy5jb22CCQCr9VL/ZBpN7zANBgkqhkiG9w0BAQUFAAOBgQDEU/Bs | M2Pqcr8j8/NdYlgSYXX1R7u2wjYkRnW6jeHlxNm5XeuY0t4nr8fq5S05YOAlU4LTJuGNMB8kZUit | hAU2QxkMLmKKsb+B1zIdzP756xC6x+5g0dXLIt0ItVjPv5GQIw1SRmQKBkfliwV5jOrkCzJ5/v04 | Hb1iUP9iqcdN2w== | | | | | | | | | | | x4eijpcBjBPlOeFy85O7ATVlBL0= | | | | | | | A4XlynInTQ1C6gnc+BSY27uEf0Q= | | | | S6K1pB4uNST52cUDEVucTYSC2534m5YgWp/E/lB4KdzYzlx9xa98V7wp+lAZlG1fN+mJn1UUkCiH | NNwkfxYbJmiwE+a3kUiBZayuregcq2uGugVSyUJnFTga+QoVn6Zl50kccJpqmrU1jb4WN7VrOVgw | Q2z/LB2KpvZx6vOKwEUsLoYHg7AS9LZsTQTdK7b3AJmvH+GAhb3iOQz4jRRjDD38N9CCTvRgXcwQ | zMPujTaLk7INMHIrds+rDGO7p7sjk7dteRQX9PXMo0z7c+OAAywCfg7HWZWMnfAiusGti5Oess42 | BtUVRnx8mD99rf98O5y5wgZfJZb1nldKT5xVVA== | | | | | | | | | | | | john | | | | Message when encryption is used | | | | | 2006-11-04T12:32:07.500Z | | | MIIEQTCCA6qgAwIBAgIBAzANBgkqhkiG9w0BAQUFADCBkjELMAkGA1UEBhMCVVMxEzARBgNVBAgT | Cldhc2hpbmd0b24xGDAWBgNVBAcTD1Nub3F1YWxtaWUgUGFzczETMBEGA1UEChMKSkJvc3MgSW5j | LjELMAkGA1UECxMCUUExEjAQBgNVBAMTCWpib3NzLmNvbTEeMBwGCSqGSIb3DQEJARYPYWRtaW5A | amJvc3MuY29tMB4XDTA1MDkxNTAwMDk0MVoXDTE1MDkxMzAwMDk0MVowgYsxCzAJBgNVBAYTAlVT | MRMwEQYDVQQIEwpXYXNoaW5ndG9uMRMwEQYDVQQKEwpKQm9zcyBJbmMuMRQwEgYDVQQLEwtEZXZl | bG9wbWVudDEVMBMGA1UEAxMMSmFzb24gR3JlZW5lMSUwIwYJKoZIhvcNAQkBFhZqYXNvbi5ncmVl | bmVAamJvc3MuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzzj+VomXdEuHTg4g | N9mN865eulLiAPITiZMLfz2ODuzF0pj39iTKhHM8IS6YQYbkPGRXMTmnCy0NFfMsVKTXs/9rZBMP | 1ko3kZopaN+XrUT8yxIiydL76QYcRpDGgxG9G4kc+mHdt0rZtARWVwoVPhO4Irx09AONpSYqdSq0 | 8jMXscA+yXwvhDHGV+J4CCSmQgYVa95OdDaAMnWp5csAfg4eL/GTLI36Up4tjsFnMq5NFKsCnZ1q | qxA1OO3CbhsK/IlEZw13alGJPJ1FgvaTZTZNh+h2YIKl//P5iQOtfURrzWsVwGcEa6S+lC72BJHj | JBOw4byI/FTi1HCe6wd3iQIDAQABo4IBJjCCASIwCQYDVR0TBAIwADAsBglghkgBhvhCAQ0EHxYd | T3BlblNTTCBHZW5lcmF0ZWQgQ2VydGlmaWNhdGUwHQYDVR0OBBYEFKzdWmBd7MDzEemEN6HMXIeq | St86MIHHBgNVHSMEgb8wgbyAFEuV2BcIYuw61dmN9JIrAvNK+hZ+oYGYpIGVMIGSMQswCQYDVQQG | EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEYMBYGA1UEBxMPU25vcXVhbG1pZSBQYXNzMRMwEQYD | VQQKEwpKQm9zcyBJbmMuMQswCQYDVQQLEwJRQTESMBAGA1UEAxMJamJvc3MuY29tMR4wHAYJKoZI | hvcNAQkBFg9hZG1pbkBqYm9zcy5jb22CCQCr9VL/ZBpN7zANBgkqhkiG9w0BAQUFAAOBgQDEU/Bs | M2Pqcr8j8/NdYlgSYXX1R7u2wjYkRnW6jeHlxNm5XeuY0t4nr8fq5S05YOAlU4LTJuGNMB8kZUit | hAU2QxkMLmKKsb+B1zIdzP756xC6x+5g0dXLIt0ItVjPv5GQIw1SRmQKBkfliwV5jOrkCzJ5/v04 | Hb1iUP9iqcdN2w== | | | | | | | | | | | K8nIvL9BkXrik4+lOwNrueanacrp8cC/WwV3PW8ch4T3ilvEP4GGoMgrzddZvwgOW8AiUHD6BVOd | Mui723FZYSatEim0/hpTdRBd2rKtSiEy1bbXZEJeGDo1MMyJaY73zaJcDVCNLn34x2MvTDCdgOw1 | +oN2XxjCa49/7jmqMWPZcgIBofr+JKxtcob25TDxHr+NARNl24Khap3yEp3CxC48fZXwtN/fNWaG | jE1pgAz4UD5/0oe8lsUgeDPolQ/3JvZYmT0kVDf1ldK3B6oAzoOIy+8AnEc9D4Ohp6XlFZA+MPwV | QktRYaABzTdq8r5Nk7a7lnOgDEOYaC8Z5WJz2g== | | | | | | | | | | | | | | | | f3PVDTNNDozFWI59ANWwaG4SK3E= | | | | | | | ueejBXsOigMMxCc43KcWHUmfhlM= | | | | r27Gy2CfU86hwFL+P9tNZ+gzj5cmJ0zdIcV/jqAx9FVloJZRoFcwXLI3+JlbsdXaDOoR04gBrbyc | WJI9Enx2zlMuo1mnIUvFJ6wQ5x4ak6uFsj5C56+uQUB7nEXEDDPejKhbOwiDHooz6KCdh+gTGKkU | StvXiR3ZDsc9SqaQ3uj3xdmlhNCe4KxSAX2DOGcZfT1CWIVYyq4Rt+oMnmhN6kJMQLQbTwOrxhXc | qMzLN750UgKoN27Dd/KtUpnKkagl3zzqHmvGqIiLjQ/ED4PC7aS+2Ymp8DdBx/Ya9zlIpEjN03mA | 5PXxoyVNxYtydWYU0Rq0cE7AqM61HNUGjN69Wg== | | | | | | | | | | | | | | | | l0waYKIwD4YR5UcXV0QpS3O4NTYaI5fYQBYDWao7GnlwAs4oddUc3/y+qIk0k1yo1ukRIhtIfStH | bfs5XXP/ABpRu7L2pV2FgT28gBcRyDLiCbUcIQwkrQMXpXwS9SoTCh7uCTFlYdNmB681YgrzNqv9 | pTOluti2/ZimKAdcR7sCNTVRDvNKFOpFgddjrwzg4lqYXst1ITTjEl8oH7IDsKkU/gWT4urLJeNg | 5tStMTHQXkvHTCREQITFJN0+W4Wp/1BJm3kGrYabpwEBTXOhvWijJdGQMlIEeXbjtiXarGoXTFbM | KaBg1br02RadiR6s | | | | | | | Apologies for how verbose the messages are. The error i am getting in return to the last message is | [java] Contacting webservice at http://whitehaven:8088/hello-ejb/HelloBean?wsdl | [java] hello.hello(john) | [java] - Call invocation failed with SOAPFaultException | [java] javax.xml.rpc.soap.SOAPFaultException: javax.xml.rpc.JAXRPCException: Cannot find child element: String_1 | [java] at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100) | [java] at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486) | [java] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702) | [java] Exception in thread "main" java.rmi.RemoteException: Call invocation failed with code [Client] because of: javax.xml.rpc.JAXRPCException:Cannot find child element: String_1; nested exception is: | [java] javax.xml.rpc.soap.SOAPFaultException: javax.xml.rpc.JAXRPCException: Cannot find child element: String_1 | [java] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:713) | [java] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | [java] at helloClient.Client.main(Client.java:50) | [java] Caused by: javax.xml.rpc.soap.SOAPFaultException: javax.xml.rpc.JAXRPCException: Cannot find child element: String_1 | [java] at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.getSOAPFaultException(SOAPFaultExceptionHelper.java:100) | [java] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | [java] at helloClient.Client.main(Client.java:50) | [java] at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindResponseMessage(SOAPBindingProvider.java:486) | [java] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:702) | Any ideas? Doesn't make any sense that signatures work and encryption wont. Thanks, Brian. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983211#3983211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983211 From do-not-reply at jboss.com Sat Nov 4 10:49:19 2006 From: do-not-reply at jboss.com (brianshields) Date: Sat, 4 Nov 2006 10:49:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ws-security: Problem using encryption Message-ID: <22635345.1162655359897.JavaMail.jboss@colo-br-02.atl.jboss.com> Quick addition to the above post...the error posted was the SOAPException as it was received in the client. The following is the server error | 13:26:55,687 ERROR [SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.JAXRPCException: Cannot find child element: String_1 | at org.jboss.ws.binding.soap.SOAPBindingProvider.getParameterFromMessage(SOAPBindingProvider.java:809) | at org.jboss.ws.binding.soap.SOAPBindingProvider.unbindRequestMessage(SOAPBindingProvider.java:266) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234) | at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) | 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.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) | Brian View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983224#3983224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983224 From do-not-reply at jboss.com Sat Nov 4 15:28:06 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sat, 4 Nov 2006 15:28:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NPE in SOAPFaultException + ClientImpl.handleRemoteExcep Message-ID: <5042855.1162672086574.JavaMail.jboss@colo-br-02.atl.jboss.com> This is fixed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983242#3983242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983242 From do-not-reply at jboss.com Sat Nov 4 16:30:24 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sat, 4 Nov 2006 16:30:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Consuming a web service from an EJB3 stateless sb Message-ID: <731314.1162675824852.JavaMail.jboss@colo-br-02.atl.jboss.com> is only supported for EJB-2.1 With EJB3 you will have @WebServiceRef. This is available in jbossws-2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983245#3983245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983245 From do-not-reply at jboss.com Sat Nov 4 16:34:18 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sat, 4 Nov 2006 16:34:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS Samples-Failed to authenticate principal=null Message-ID: <13135151.1162676058556.JavaMail.jboss@colo-br-02.atl.jboss.com> I'll look into it http://jira.jboss.org/jira/browse/JBWS-1327 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983247#3983247 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983247 From do-not-reply at jboss.com Sat Nov 4 16:38:37 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sat, 4 Nov 2006 16:38:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.util.xml.DOMWriter error Message-ID: <3748572.1162676317370.JavaMail.jboss@colo-br-02.atl.jboss.com> What version of jbossws is this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983249#3983249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983249 From do-not-reply at jboss.com Sat Nov 4 16:41:23 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sat, 4 Nov 2006 16:41:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jaxrpc interop Message-ID: <32192649.1162676483375.JavaMail.jboss@colo-br-02.atl.jboss.com> This is fixed in jbossws-1.0.3.SP1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983250#3983250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983250 From do-not-reply at jboss.com Sat Nov 4 16:45:48 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sat, 4 Nov 2006 16:45:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Consuming Java Webservice in Coldfusion Message-ID: <23455565.1162676748419.JavaMail.jboss@colo-br-02.atl.jboss.com> There are various array test cases in the testsuite. Please have a look at those. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983251#3983251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983251 From do-not-reply at jboss.com Sat Nov 4 16:48:00 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sat, 4 Nov 2006 16:48:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Is JBoss J2EE 1.5 Certified? Message-ID: <3965616.1162676880408.JavaMail.jboss@colo-br-02.atl.jboss.com> JBossAS-5.0 will be JavaEE5 certified View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983252#3983252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983252 From do-not-reply at jboss.com Sat Nov 4 17:34:25 2006 From: do-not-reply at jboss.com (zurchman) Date: Sat, 4 Nov 2006 17:34:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jaxrpc interop Message-ID: <1691146.1162679665682.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : This is fixed in jbossws-1.0.3.SP1 Great! But can you tell me how can I get a copy of 1.0.3.SP1? I'm a lowly user. It was hard enough trying to find a link to download the 1.0.3.GA release. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983256#3983256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983256 From do-not-reply at jboss.com Sun Nov 5 00:04:37 2006 From: do-not-reply at jboss.com (aboudank) Date: Sun, 5 Nov 2006 00:04:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Consuming a web service from an EJB3 stateless sb Message-ID: <2108106.1162703077819.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you for your response. Given that, what is the best way today (before JBOSSWS 2.0 arrival) to consume a web service from EJB3 component? Can u please point me to an example? Thanks. Regards, mka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983271#3983271 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983271 From do-not-reply at jboss.com Sun Nov 5 10:14:03 2006 From: do-not-reply at jboss.com (aboudank) Date: Sun, 5 Nov 2006 10:14:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Consuming a web service from an EJB3 stateless sb (pls h Message-ID: <29858761.1162739643622.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok.....I tried to use the JBoss client method. So I followed the instructions in the user manual and deployed a client JAR on a JBoss instance. Now I see the JNDI (i.e. service/GEEWebService) created. However, when I try to access it using a code like this: | InitialContext context = getInitialContext(); | Service service = (Service) context.lookup("java:comp/env/service/GEEWebService"); | port = (GEEWebService_PortType) service.getPort(GEEWebService_PortType.class); | I get an exception as follows: | javax.xml.rpc.ServiceException: Cannot create proxy | and the cause is (a complete stack trace is provided below). | Caused by: org.jboss.ws.WSException: Cannot find java method: createCampaign | at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:211) | at org.jboss.ws.metadata.EndpointMetaData.getOperation(EndpointMetaData.java:319) | at org.jboss.ws.jaxrpc.MetaDataSynchronization.synchronizeServiceEndpointInterface(MetaDataSynchronization.java:57) | at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:365) | Here is my Endpoint Interface: | public interface GEEWebService_PortType extends java.rmi.Remote | { | | public javax.xml.rpc.holders.IntHolder createCampaign(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String name) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder createDistributionList(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String name,clubhotel.com.webservices.sgee.EmailAddressDTO[] emails) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder getCampaign(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String name) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder getDistributionList(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String name) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public clubhotel.com.webservices.sgee.RejectDTO[] getRejects(clubhotel.com.webservices.sgee.Invocation invocationHolder,int page,int pageSize) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder getRejectsCounter(clubhotel.com.webservices.sgee.Invocation invocationHolder) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder getSessionKey(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String uid,java.lang.String pwd) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.StringHolder getVersion(clubhotel.com.webservices.sgee.Invocation invocationHolder) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder reportError(clubhotel.com.webservices.sgee.Invocation invocationHolder,int ticketId,java.lang.String error) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder saveRejects(clubhotel.com.webservices.sgee.Invocation invocationHolder,clubhotel.com.webservices.sgee.RejectDTO[] rejects) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder sendCampaign(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String doc,java.lang.String from,java.lang.String subject,java.lang.String list,java.lang.String campaign) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder sendOne(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String doc,java.lang.String from,java.lang.String subject,java.lang.String to,java.lang.String campaign) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder sendSingle(clubhotel.com.webservices.sgee.Invocation invocationHolder,java.lang.String doc,java.lang.String from,java.lang.String subject,java.lang.String to) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | public javax.xml.rpc.holders.IntHolder setRejects(clubhotel.com.webservices.sgee.Invocation invocationHolder,int page,int pageSize) throws clubhotel.com.webservices.sgee.BaseException, java.rmi.RemoteException; | } | Here is my mapping file: | | | clubhotel.com.webservices.sgee | http://www.clubhotel.com/webservices/sgee | | | clubhotel.com.webservices.sgee.Invocation | typeNS:Invocation | complexType | | code | code | | | codeAnswer | codeAnswer | | | language | language | | | returnCode | returnCode | | | returnMessage | returnMessage | | | timeMsecs | timeMsecs | | | totalRecords | totalRecords | | | | clubhotel.com.webservices.sgee.BaseException | typeNS:BaseException | complexType | | code | code | | | message | message | | | params | params | | | | clubhotel.com.webservices.sgee.Hashtable | typeNS:Hashtable | complexType | | empty | empty | | | | clubhotel.com.webservices.sgee.EmailAddressDTO | typeNS:EmailAddressDTO | complexType | | createDate | createDate | | | email | email | | | | clubhotel.com.webservices.sgee.RejectDTO | typeNS:RejectDTO | complexType | | createDate | createDate | | | email | email | | | seen | seen | | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.BaseException | exMsgNS:BaseException | | | clubhotel.com.webservices.sgee.GEEWebService_Service | serviceNS:GEEWebService | | GEEWebServicePort | GEEWebServicePort | | | | clubhotel.com.webservices.sgee.GEEWebService_PortType | portTypeNS:GEEWebService | bindingNS:GEEWebServiceBinding | | createCampaign | CreateCampaign | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_CreateCampaign | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_CreateCampaign | Name | IN | | | | int | wsdlMsgNS:GEEWebService_CreateCampaignResponse | result | | | | createDistributionList | CreateDistributionList | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_CreateDistributionList | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_CreateDistributionList | Name | IN | | | | 2 | clubhotel.com.webservices.sgee.EmailAddressDTO[] | | wsdlMsgNS:GEEWebService_CreateDistributionList | Emails | IN | | | | int | wsdlMsgNS:GEEWebService_CreateDistributionListResponse | result | | | | getCampaign | GetCampaign | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_GetCampaign | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_GetCampaign | Name | IN | | | | int | wsdlMsgNS:GEEWebService_GetCampaignResponse | result | | | | getDistributionList | GetDistributionList | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_GetDistributionList | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_GetDistributionList | Name | IN | | | | int | wsdlMsgNS:GEEWebService_GetDistributionListResponse | result | | | | getRejects | GetRejects | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_GetRejects | InvocationHolder | INOUT | | | | 1 | int | | wsdlMsgNS:GEEWebService_GetRejects | Page | IN | | | | 2 | int | | wsdlMsgNS:GEEWebService_GetRejects | PageSize | IN | | | | clubhotel.com.webservices.sgee.RejectDTO[] | wsdlMsgNS:GEEWebService_GetRejectsResponse | result | | | | getRejectsCounter | GetRejectsCounter | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_GetRejectsCounter | InvocationHolder | INOUT | | | | int | wsdlMsgNS:GEEWebService_GetRejectsCounterResponse | result | | | | getSessionKey | GetSessionKey | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_GetSessionKey | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_GetSessionKey | Uid | IN | | | | 2 | java.lang.String | | wsdlMsgNS:GEEWebService_GetSessionKey | Pwd | IN | | | | int | wsdlMsgNS:GEEWebService_GetSessionKeyResponse | result | | | | getVersion | GetVersion | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_GetVersion | InvocationHolder | INOUT | | | | java.lang.String | wsdlMsgNS:GEEWebService_GetVersionResponse | result | | | | reportError | ReportError | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_ReportError | InvocationHolder | INOUT | | | | 1 | int | | wsdlMsgNS:GEEWebService_ReportError | TicketId | IN | | | | 2 | java.lang.String | | wsdlMsgNS:GEEWebService_ReportError | Error | IN | | | | int | wsdlMsgNS:GEEWebService_ReportErrorResponse | result | | | | saveRejects | SaveRejects | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_SaveRejects | InvocationHolder | INOUT | | | | 1 | clubhotel.com.webservices.sgee.RejectDTO[] | | wsdlMsgNS:GEEWebService_SaveRejects | Rejects | IN | | | | int | wsdlMsgNS:GEEWebService_SaveRejectsResponse | result | | | | sendCampaign | SendCampaign | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_SendCampaign | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_SendCampaign | Doc | IN | | | | 2 | java.lang.String | | wsdlMsgNS:GEEWebService_SendCampaign | From | IN | | | | 3 | java.lang.String | | wsdlMsgNS:GEEWebService_SendCampaign | Subject | IN | | | | 4 | java.lang.String | | wsdlMsgNS:GEEWebService_SendCampaign | List | IN | | | | 5 | java.lang.String | | wsdlMsgNS:GEEWebService_SendCampaign | Campaign | IN | | | | int | wsdlMsgNS:GEEWebService_SendCampaignResponse | result | | | | sendOne | SendOne | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_SendOne | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_SendOne | Doc | IN | | | | 2 | java.lang.String | | wsdlMsgNS:GEEWebService_SendOne | From | IN | | | | 3 | java.lang.String | | wsdlMsgNS:GEEWebService_SendOne | Subject | IN | | | | 4 | java.lang.String | | wsdlMsgNS:GEEWebService_SendOne | To | IN | | | | 5 | java.lang.String | | wsdlMsgNS:GEEWebService_SendOne | Campaign | IN | | | | int | wsdlMsgNS:GEEWebService_SendOneResponse | result | | | | sendSingle | SendSingle | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_SendSingle | InvocationHolder | INOUT | | | | 1 | java.lang.String | | wsdlMsgNS:GEEWebService_SendSingle | Doc | IN | | | | 2 | java.lang.String | | wsdlMsgNS:GEEWebService_SendSingle | From | IN | | | | 3 | java.lang.String | | wsdlMsgNS:GEEWebService_SendSingle | Subject | IN | | | | 4 | java.lang.String | | wsdlMsgNS:GEEWebService_SendSingle | To | IN | | | | int | wsdlMsgNS:GEEWebService_SendSingleResponse | result | | | | setRejects | SetRejects | | 0 | clubhotel.com.webservices.sgee.Invocation | | wsdlMsgNS:GEEWebService_SetRejects | InvocationHolder | INOUT | | | | 1 | int | | wsdlMsgNS:GEEWebService_SetRejects | Page | IN | | | | 2 | int | | wsdlMsgNS:GEEWebService_SetRejects | PageSize | IN | | | | int | wsdlMsgNS:GEEWebService_SetRejectsResponse | result | | | | | Here is my WSDL: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and finallya complete stack trace: | 2006-11-05 17:50:44,687 DEBUG [org.jboss.ws.jaxrpc.ServiceObjectFactory] Create jaxrpc service from wsdl | 2006-11-05 17:50:44,687 DEBUG [org.jboss.ws.deployment.JSR109ClientMetaDataBuilder] START buildMetaData: [service=null] | 2006-11-05 17:50:44,687 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory] parse: jar:file:/C:/jboss-4.0.4.GA/server/ccseams/tmp/deploy/tmp7160geews.jar!/META-INF/wsdl/GEEWebService.wsdl | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] new WSDLInterface | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setName: GEEWebService | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setQName: {http://www.clubhotel.com/webservices/sgee}GEEWebService | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] new WSDLBinding | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setQName: {http://www.clubhotel.com/webservices/sgee}GEEWebServiceBinding | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setName: GEEWebServiceBinding | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setInterfaceName: GEEWebServiceBinding | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 9049759 [xmlType={http://www.clubhotel.com/webservices/sgee}Invocation,javaType=clubhotel.com.webservices.sgee.Invocation,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 1d344e7,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at 150a3dc] | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 9049759 [xmlType={http://www.clubhotel.com/webservices/sgee}BaseException,javaType=clubhotel.com.webservices.sgee.BaseException,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 135ca6c,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at 7c824e] | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 9049759 [xmlType={http://util.java/jaws}Hashtable,javaType=clubhotel.com.webservices.sgee.Hashtable,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 4ee7c0,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at 510e35] | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 9049759 [xmlType={http://dtos.entities.ebeans.sgee.hmc.com/jaws}EmailAddressDTO,javaType=clubhotel.com.webservices.sgee.EmailAddressDTO,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 17bd154,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at 1ec0883] | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 9049759 [xmlType={http://dtos.entities.ebeans.sgee.hmc.com/jaws}RejectDTO,javaType=clubhotel.com.webservices.sgee.RejectDTO,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 122e802,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at ae0e27] | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 9049759 [xmlType={http://www.clubhotel.com/webservices/sgee}EmailAddressDTO.Array,javaType=[Lclubhotel.com.webservices.sgee.EmailAddressDTO;,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 12326e4,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at ce717a] | 2006-11-05 17:50:44,781 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 9049759 [xmlType={http://www.clubhotel.com/webservices/sgee}RejectDTO.Array,javaType=[Lclubhotel.com.webservices.sgee.RejectDTO;,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 17c323d,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at c64bc2] | 2006-11-05 17:50:44,796 DEBUG [org.jboss.ws.metadata.ClientEndpointMetaData] getClientConfig: [name=Standard Client,url=META-INF/standard-jbossws-client-config.xml] | 2006-11-05 17:50:44,796 DEBUG [org.jboss.ws.metadata.config.WSConfigFactory] parse: file:/C:/jboss-4.0.4.GA/server/ccseams/deploy/jbossws.sar/META-INF/standard-jbossws-client-config.xml | 2006-11-05 17:50:44,796 DEBUG [org.jboss.ws.deployment.JSR109ClientMetaDataBuilder] END buildMetaData: | ServiceMetaData: | name={http://www.clubhotel.com/webservices/sgee}GEEWebService | wsdName=null | wsdlFile=jar:file:/C:/jboss-4.0.4.GA/server/ccseams/tmp/deploy/tmp7160geews.jar!/META-INF/wsdl/GEEWebService.wsdl | jaxrpcFile=http://www.jboss.org/jbossws/dummy-mapping-url | publishLocation=null | properties=null | | TypesMetaData: | [complexType={http://www.clubhotel.com/webservices/sgee}Invocation,javaType=clubhotel.com.webservices.sgee.Invocation] | [complexType={http://www.clubhotel.com/webservices/sgee}BaseException,javaType=clubhotel.com.webservices.sgee.BaseException] | [complexType={http://util.java/jaws}Hashtable,javaType=clubhotel.com.webservices.sgee.Hashtable] | [complexType={http://dtos.entities.ebeans.sgee.hmc.com/jaws}EmailAddressDTO,javaType=clubhotel.com.webservices.sgee.EmailAddressDTO] | [complexType={http://dtos.entities.ebeans.sgee.hmc.com/jaws}RejectDTO,javaType=clubhotel.com.webservices.sgee.RejectDTO] | [complexType={http://www.clubhotel.com/webservices/sgee}EmailAddressDTO.Array,javaType=clubhotel.com.webservices.sgee.EmailAddressDTO[]] | [complexType={http://www.clubhotel.com/webservices/sgee}RejectDTO.Array,javaType=clubhotel.com.webservices.sgee.RejectDTO[]] | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ClientEndpointMetaData: | name={http://www.clubhotel.com/webservices/sgee}GEEWebServicePort | address=http://auxservices.clubhotel.com:80/sgee/ws/GEEWebService | seiName=clubhotel.com.webservices.sgee.GEEWebService_PortType | configFile=null | configName=null | authMethod=null | transportGuarantee=null | properties=null | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}CreateCampaign | javaName=createCampaign | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Name | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}CreateDistributionList | javaName=createDistributionList | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Name | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Emails | xmlType={http://www.clubhotel.com/webservices/sgee}EmailAddressDTO.Array | javaType=clubhotel.com.webservices.sgee.EmailAddressDTO[] | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}GetCampaign | javaName=getCampaign | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Name | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}GetDistributionList | javaName=getDistributionList | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Name | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}GetRejects | javaName=getRejects | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Page | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=IN | inHeader=false | ParameterMetaData: | xmlName=PageSize | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=IN | inHeader=false | ReturnMetaData: | xmlName=RejectDTOs | xmlType={http://www.clubhotel.com/webservices/sgee}RejectDTO.Array | javaType=clubhotel.com.webservices.sgee.RejectDTO[] | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}GetRejectsCounter | javaName=getRejectsCounter | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}GetSessionKey | javaName=getSessionKey | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Uid | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Pwd | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}GetVersion | javaName=getVersion | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}ReportError | javaName=reportError | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=TicketId | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Error | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}SaveRejects | javaName=saveRejects | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Rejects | xmlType={http://www.clubhotel.com/webservices/sgee}RejectDTO.Array | javaType=clubhotel.com.webservices.sgee.RejectDTO[] | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}SendCampaign | javaName=sendCampaign | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Doc | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=From | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Subject | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=List | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Campaign | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}SendOne | javaName=sendOne | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Doc | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=From | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Subject | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=To | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Campaign | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}SendSingle | javaName=sendSingle | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Doc | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=From | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=Subject | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ParameterMetaData: | xmlName=To | xmlType={http://www.w3.org/2001/XMLSchema}string | javaType=java.lang.String | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | | OperationMetaData: | xmlName={http://www.clubhotel.com/webservices/sgee}SetRejects | javaName=setRejects | style=rpc/literal | oneWay=false | soapAction= | ParameterMetaData: | xmlName=InvocationHolder | xmlType={http://www.clubhotel.com/webservices/sgee}Invocation | javaType=clubhotel.com.webservices.sgee.Invocation | mode=INOUT | inHeader=false | ParameterMetaData: | xmlName=Page | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=IN | inHeader=false | ParameterMetaData: | xmlName=PageSize | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=IN | inHeader=false | ReturnMetaData: | xmlName=result | xmlType={http://www.w3.org/2001/XMLSchema}int | javaType=int | mode=OUT | inHeader=false | FaultMetaData | xmlName={http://www.clubhotel.com/webservices/sgee}BaseException | xmlType={http://www.clubhotel.com/webservices/sgee}BaseException | javaType=clubhotel.com.webservices.sgee.BaseException | 2006-11-05 17:50:45,015 DEBUG [org.jboss.ws.jaxrpc.ServiceProxy] Invoke on jaxrpc service: getPort | 2006-11-05 17:50:45,015 DEBUG [org.jboss.ws.jaxrpc.MetaDataSynchronization] synchronize: [epMetaData={http://www.clubhotel.com/webservices/sgee}GEEWebServicePort,sei=clubhotel.com.webservices.sgee.GEEWebService_PortType] | 2006-11-05 17:50:45,015 DEBUG [org.jboss.ws.jaxrpc.MetaDataSynchronization] synchronize method: public abstract javax.xml.rpc.holders.StringHolder clubhotel.com.webservices.sgee.GEEWebService_PortType.getVersion(clubhotel.com.webservices.sgee.Invocation) throws clubhotel.com.webservices.sgee.BaseException,java.rmi.RemoteException | 2006-11-05 17:50:45,015 ERROR [org.jboss.ws.jaxrpc.ServiceProxy] Service error | javax.xml.rpc.ServiceException: Cannot create proxy | at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:380) | at org.jboss.ws.jaxrpc.ServiceImpl.getPort(ServiceImpl.java:329) | 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.ws.jaxrpc.ServiceProxy.invoke(ServiceProxy.java:116) | at $Proxy239.getPort(Unknown Source) | at com.hmc.gee.ws.GEEWSHelper.(GEEWSHelper.java:41) | at com.hmc.sghrrules.ebeans.processors.MembersManagerBean.sendEmail(MembersManagerBean.java:2731) | at com.hmc.sghrrules.ebeans.processors.MembersManagerBean.sendCustomerServiceRequest(MembersManagerBean.java:1842) | 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.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at com.hmc.sghrrules.ebeans.interceptors.MemberSendInterceptor.injectCollections(MemberSendInterceptor.java:36) | 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.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvokeInContexts(SeamInterceptor.java:80) | at org.jboss.seam.ejb.SeamInterceptor.aroundInvoke(SeamInterceptor.java:55) | 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.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:227) | at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | Caused by: org.jboss.ws.WSException: Cannot find java method: createCampaign | at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:211) | at org.jboss.ws.metadata.EndpointMetaData.getOperation(EndpointMetaData.java:319) | at org.jboss.ws.jaxrpc.MetaDataSynchronization.synchronizeServiceEndpointInterface(MetaDataSynchronization.java:57) | at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:365) | ... 56 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983301#3983301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983301 From do-not-reply at jboss.com Mon Nov 6 00:25:49 2006 From: do-not-reply at jboss.com (Adeel) Date: Mon, 6 Nov 2006 00:25:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Does jboss-4.0.4 with jbossws-1.0.2 fully support soap12 bin Message-ID: <11012114.1162790749814.JavaMail.jboss@colo-br-02.atl.jboss.com> I see some code related to soap12 binding in jbossws-1.0.2 code. Is it a complete implementation. If not, then which version of jbossws has the complete support for soap12? Does jbossws also depend on wsdl4j-1.6 soap12 soap extensions? If yes then when will jboss upgrade its wsdl4j to support soap12? Thanks Adeel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983357#3983357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983357 From do-not-reply at jboss.com Mon Nov 6 03:27:08 2006 From: do-not-reply at jboss.com (kaza) Date: Mon, 6 Nov 2006 03:27:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems returning arrays from Webservice Method Message-ID: <18190661.1162801628245.JavaMail.jboss@colo-br-02.atl.jboss.com> I have changed the code in SOAPContentElement that deals with the array part. The original code says if (obj != null) { Class objType = obj.getClass(); boolean isAssignable = JavaUtils.isAssignableFrom(javaType, objType); if (isAssignable == false && javaType.isArray()) { try { Method toArrayMethod = objType.getMethod("toArray", new Class[] {}); Class returnType = toArrayMethod.getReturnType(); if (JavaUtils.isAssignableFrom(javaType, returnType)) { Method getValueMethod = objType.getMethod("getValue", new Class[] {}); Object value = getValueMethod.invoke(obj, new Object[] {}); if (value != null) { // Do not invoke toArray if getValue returns null obj = toArrayMethod.invoke(obj, new Object[] {}); } else { // if the fragment did not indicate a null return // by an xsi:nil we return an empty array Class componentType = javaType.getComponentType(); obj = Array.newInstance(componentType, 0); } isAssignable = true; } } catch (Exception e) { // ignore } } I think it is better to look to the object that was deserialized to decide wether this is an array. If it turns out to be an array then look for a setter method that takes this array class as argument. If that exists set its value. I think this way of unmarshalling fits better to the way the client artifacts are generated by wstools. This is my version of the code if (obj != null) { Class objType = obj.getClass(); boolean isAssignable = JavaUtils.isAssignableFrom(javaType, objType); if (isAssignable == false && objType.isArray()) { // Changed try { log.debug("Try to locate setValue method "+javaType); Method setValueMethod = javaType.getMethod("setValue", new Class[] {objType}); log.debug("Try to create new instance for "+javaType); Object newInstance = javaType.newInstance(); log.debug("Try to invoke setValueMethod "); setValueMethod.invoke(newInstance, new Object[] {obj}); isAssignable = true; obj = newInstance; } catch (Exception e) { e.printStackTrace(); } } Erik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983373#3983373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983373 From do-not-reply at jboss.com Mon Nov 6 09:03:09 2006 From: do-not-reply at jboss.com (pwxgao) Date: Mon, 6 Nov 2006 09:03:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - When we can get JBossWS 1.4? Message-ID: <1955292.1162821789264.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, >From jira, JBossWS 1.4 is supposed to release at Oct 31 2006, but it is not released yet, so I wonder when we can get JBossWS 1.4 ready to download. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983436#3983436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983436 From do-not-reply at jboss.com Mon Nov 6 09:31:31 2006 From: do-not-reply at jboss.com (ge0ffrey) Date: Mon, 6 Nov 2006 09:31:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: noice in SOAP reply Message-ID: <9343991.1162823491046.JavaMail.jboss@colo-br-02.atl.jboss.com> Ah :) Can I disable HTTP chunking? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983447#3983447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983447 From do-not-reply at jboss.com Mon Nov 6 15:54:27 2006 From: do-not-reply at jboss.com (tgoepferd) Date: Mon, 6 Nov 2006 15:54:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - TCP/IP settings for Web Service Client? Message-ID: <9676094.1162846467435.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have an application that launches a SOAP request to a .NET web service. My applcation runs on JBoss 4.0.4 on Redhat vLinux 2.6.9-42.ELsmp (i386) with Java 1.5.0_07_b3 The SOAP messages that I send are being broken into two packets. Using TCPDUMP, I see that the two packets are being sent within a couple milliseconds. However, in a few cases, the second packet is not sent for 2 seconds after the first packet is sent. Since our application requires low latency, a 2 second wait just to get the packet on the wire is too long. Does anyone know of any possible causes for this? Does anyone know if my application can set any flags or config settings to minipulate the TCP/IP stack behavior? Our client is so far removed ( which I am very happy about) from the TCP/IP implementation, that I assume we are at the mercy of the OS and how JBoss interacts with it. Never-the-less, this is an important application for us and any help would be appreciated. Thanks, Todd Goepferd View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983557#3983557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983557 From do-not-reply at jboss.com Mon Nov 6 16:12:35 2006 From: do-not-reply at jboss.com (zurchman) Date: Mon, 6 Nov 2006 16:12:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: TCP/IP settings for Web Service Client? Message-ID: <33454228.1162847555393.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : Using TCPDUMP, I see that the two packets are being sent within a couple milliseconds. Do the tcpdump timestamps show a two second latency between packets? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983564#3983564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983564 From do-not-reply at jboss.com Mon Nov 6 17:37:59 2006 From: do-not-reply at jboss.com (pseudonym) Date: Mon, 6 Nov 2006 17:37:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Client handler chain Message-ID: <2226485.1162852679719.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have created a Jbossws application that is a client to a .NET web service. The applcation runs on JBoss 4.0.4 on Windows XP with Java 1.5.0_09. I need to add a handler to the to the client in order to add some authentication information. Below is a snippet from my application.xml file: | services/testService | javax.xml.rpc.Service | META-INF/wsdl/TestService.wsdl | META-INF/jaxrpc-mapping.xml | | com.test.TestServiceImplSoap | | | LogHandler | com.test.LogHandler | | The application deploys fine without error. When I call the service using a client the handler is not called at all (I've included debug messages in the init method that do not get called). I would very grateful if someone could tell me what I'm doing wrong. Thanks Dave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983587#3983587 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983587 From do-not-reply at jboss.com Mon Nov 6 20:16:06 2006 From: do-not-reply at jboss.com (anand_anan2k) Date: Mon, 6 Nov 2006 20:16:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JB Portal + Web Services. Message-ID: <31412201.1162862166090.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, We are doing some proof of concepts. I have developed a simple portlets using JBoss portal. 2.4. Now using that portlets, i want to invoke a webservice method. (I never worked on webservices before :( ) . Can you please let me know what API i need to use to invoke that. Any sample code will be great help. Thanks Again, Anand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983610#3983610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983610 From do-not-reply at jboss.com Tue Nov 7 00:50:29 2006 From: do-not-reply at jboss.com (aboudank) Date: Tue, 7 Nov 2006 00:50:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Consuming a web service from an EJB3 stateless sb Message-ID: <30552715.1162878629159.JavaMail.jboss@colo-br-02.atl.jboss.com> Please....I would appreciate any help! I am really stuck on this and I have no idea what else to try. Thanks. Regards, mka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983633#3983633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983633 From do-not-reply at jboss.com Tue Nov 7 00:53:40 2006 From: do-not-reply at jboss.com (aboudank) Date: Tue, 7 Nov 2006 00:53:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Consuming a web service from an EJB3 stateless sb Message-ID: <18163098.1162878820723.JavaMail.jboss@colo-br-02.atl.jboss.com> By the way, I was able to consume the web service using Axis from a stand-alone application. Everything works fine and great. However, I was not able to use the Axis stack within JBoss....I was get weird errors...they could be due to JARs conflict. Thanks. Regards, mka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983634#3983634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983634 From do-not-reply at jboss.com Tue Nov 7 04:21:27 2006 From: do-not-reply at jboss.com (vberetti) Date: Tue, 7 Nov 2006 04:21:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problem creating request for wsclient, serializating parame Message-ID: <24372804.1162891287573.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a rpc type webservice. I works perfectly but I tried to do stress tests so I ran 20 calling my webservice with the same args. After some time, the request created(I logged the request on the client side with an handler), is false. Correct is : ... AAAAA BBBBB wrong is : ... BBBBB or ... AAAAA I don't understand why this happens because I execute the axact same code on the client and server side. I found no issue on jira. For me this problem is easily repoducible as soon as I have at least 10 threads calling the ws concurrently. Thanks, Vincent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983668#3983668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983668 From do-not-reply at jboss.com Tue Nov 7 05:00:50 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Tue, 7 Nov 2006 05:00:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <27547276.1162893650909.JavaMail.jboss@colo-br-02.atl.jboss.com> bump ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983680#3983680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983680 From do-not-reply at jboss.com Tue Nov 7 05:04:54 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Tue, 7 Nov 2006 05:04:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Client handler chain Message-ID: <6782107.1162893894713.JavaMail.jboss@colo-br-02.atl.jboss.com> How do you deploy your app? Through a WAR file? Did you build yourself the WAR file? Maybe this thread could help you [url]http://www.jboss.com/index.html?module=bb&op=viewtopic&t=80866&start=-10&postdays=postDays&postorder=postOrder&highlight=highlight[/u View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983681#3983681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983681 From do-not-reply at jboss.com Tue Nov 7 06:09:48 2006 From: do-not-reply at jboss.com (Smilidon) Date: Tue, 7 Nov 2006 06:09:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems consuming a Web Service Message-ID: <15927193.1162897788545.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, i get this error in jboss eclipse ide 2.0 beta 2, too. can somebody explain how to use this workaround please? thx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983704#3983704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983704 From do-not-reply at jboss.com Tue Nov 7 06:45:14 2006 From: do-not-reply at jboss.com (pseudonym) Date: Tue, 7 Nov 2006 06:45:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Client handler chain Message-ID: <3597857.1162899914248.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for the reply. I looked at the URL you sent but I think the handler chain they're setting up is for a jbossws service end point. I'm trying to set up a handler for a client. The application is not deployed as part of a war file. It's deployed in a jar file as a j2ee 1.4 web service client (I think this is called a JSR-109 client - see http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html ). The contents of the jar file includes the following in /META-INF: /META-INF/application-client.xml /META-INF/jaxrpc-mapping.xml /META-INF/jboss-client.xml /META-INF/wsdl/TestService.wsdl I think the jbossws examples (version 1.0.3) includes an example of what I'm trying to do under the handler directory. The handler example connects to a locally hosted web service whilst I connect to a remotely (.NET) hosted web service. As I say I don't get any exceptions on deployment so I'm quite stumped about what jboss is doing. Cheers, Alex[/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983708#3983708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983708 From do-not-reply at jboss.com Tue Nov 7 07:05:54 2006 From: do-not-reply at jboss.com (vberetti) Date: Tue, 7 Nov 2006 07:05:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem creating request for wsclient, serializating pa Message-ID: <30494907.1162901154212.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to describe the configuration : jboss 4.0.4.GA with jbossws 1.0.3.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983715#3983715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983715 From do-not-reply at jboss.com Tue Nov 7 07:51:50 2006 From: do-not-reply at jboss.com (tech.doubts) Date: Tue, 7 Nov 2006 07:51:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Creating client.truststore Message-ID: <10735602.1162903910884.JavaMail.jboss@colo-br-02.atl.jboss.com> I have few doubts on Jboss SSL setup.I was going thru the URL:-http://wiki.jboss.org/wiki/Wiki.jsp?page=SSLSetup and in that content they have mentioned how to setup the Jboss ..In the URL Mentioned there is a topic called "1-SSL enabled on the server-the common case" in that we are creating the server.cer and client.truststore .Please explain the use of that.In that topic there is a subtopic called as "Run the client" java -Djavax.net.ssl.trustStore=client.truststore -Djavax.net.ssl.trustStorePassword=123456 acme/ReadHttpsURL2 https://localhost:8443 I am not sure where to run that command.Please do reply me . Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983727#3983727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983727 From do-not-reply at jboss.com Tue Nov 7 08:24:54 2006 From: do-not-reply at jboss.com (Smilidon) Date: Tue, 7 Nov 2006 08:24:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems consuming a Web Service Message-ID: <10711771.1162905894738.JavaMail.jboss@colo-br-02.atl.jboss.com> i tried jboss 4.0.5GA with JBossWS-1.0.3.GA with jboss-xml-binding.jar RC6 and RC7 i also tried jboss 4.0.5GA with JBossWS-1.0.1.GA(original jboss-xml.binding.jar) what is the right JBossWS Version for jboss 4.0.5GA, and what jboss-xml-binding.jar do I have to use? i'm confused... but the error seems to be a conflict of the jboss-xml-binding.jar and xerces. Can somebody help please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983734#3983734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983734 From do-not-reply at jboss.com Tue Nov 7 09:25:32 2006 From: do-not-reply at jboss.com (alesj) Date: Tue, 7 Nov 2006 09:25:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JAXBDeserializer unmarshalling Message-ID: <13024561.1162909532097.JavaMail.jboss@colo-br-02.atl.jboss.com> I have this unmarshalling problem: | | @XmlRootElement(name = "createAccountReturn") | public class Account implements Serializable { | | @XmlElement(name = "username") public String username; | @XmlElement(name = "password") public String password; | @XmlElement(name = "creationDate") public Date creationDate; | | public String toString() { | return "Account{" + | "username='" + username + '\'' + | ", password='" + password + '\'' + | ", creationDate=" + creationDate + | '}'; | } | | } | | public static void main(String[] args) { | Class javaType = Account.class; | String xml = "password122006-11-07T13:44:01.515Zcreator"; | try { | JAXBContext jaxbContext = JAXBContext.newInstance(javaType); | Unmarshaller unmarshaller = jaxbContext.createUnmarshaller(); | ByteArrayInputStream ins = new ByteArrayInputStream(xml.getBytes("UTF-8")); | JAXBElement jbe = unmarshaller.unmarshal(new StreamSource(ins), javaType); | Object value = jbe.getValue(); | System.out.println("value = " + value); | } catch (Exception e) { | e.printStackTrace(); | } | } | trying to unmarshall this xml: | | password12 | 2006-11-07T13:44:01.515Z | creator | | But I always get value = Account{username='null', password='null', creationDate=null}. No idea what I'm doing wrong... Rgds, Ales View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983764#3983764 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983764 From do-not-reply at jboss.com Tue Nov 7 10:15:42 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Tue, 7 Nov 2006 10:15:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <11346583.1162912542552.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, further info. This is from a very similar webservice, only difference in this one is that it deals with JPEGs. These are TCPmon captures. My Client (attachment output ommited): POST /MediationAttachPic HTTP/1.1 | Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | Content-Type: multipart/related; | type="text/xml"; | boundary="----=_Part_1_17933220.1162911613951" | Content-Length: 4228 | SOAPAction: "" | Cache-Control: no-cache | Pragma: no-cache | User-Agent: Java/1.5.0_08 | Host: 127.0.0.1:8081 | Connection: keep-alive | | ------=_Part_1_17933220.1162911613951 | Content-Type: text/xml; charset=utf-8 | | | | | 1 | xml-pic | | | ------=_Part_1_17933220.1162911613951 | Content-Type: image/jpeg | Content-ID: SOAPui (attachment output ommited): POST /MediationAttachPic HTTP/1.1 | SOAPAction: "" | Content-Type: multipart/related; | type="text/xml"; | start=""; | boundary="----=_Part_0_26490427.1162911728786" | MIME-Version: 1.0 | User-Agent: Jakarta Commons-HttpClient/3.0.1 | Host: 127.0.0.1:8081 | Content-Length: 4381 | | | ------=_Part_0_26490427.1162911728786 | Content-Type: text/xml; charset=UTF-8 | Content-Transfer-Encoding: 8bit | Content-ID: | | | | | 2 | xml_pic | | | | ------=_Part_0_26490427.1162911728786 | Content-Type: image/jpeg | Content-Transfer-Encoding: binary | Content-ID: | The main difference to me is this line, which I believe is the one causing errors: start=""; How can I define this in my client? SAAJ_ATTACH_CLIENT | public class SAAJ_Attach_Client | { | public static final String NAMESPACE_URI = "com.mediation"; | public static final String PREFIX = "urn"; | public static final String METHOD = "depositAttach"; | public static final File attach = new File("xml-pic.jpg"); | public static final String WS_URI = "http://localhost:8081/MediationAttachPic"; | | public static void main(String[] args) | { | | try | { | MessageFactory msgFactory = MessageFactory.newInstance(); | SOAPMessage msg = msgFactory.createMessage(); | SOAPPart soapPart = msg.getSOAPPart(); | SOAPEnvelope soapEnvelope = soapPart.getEnvelope(); | | soapEnvelope.addNamespaceDeclaration(PREFIX,PREFIX+":"+NAMESPACE_URI); | | // for this tutorial web service, we don't have any headers, | // so detach the one we get for "free": | SOAPHeader soapHeader = soapEnvelope.getHeader(); | soapHeader.detachNode(); | | // to the body, add the document we want to send to the | // profile update web service: | SOAPBody body = msg.getSOAPBody(); | SOAPFactory soapFactory = SOAPFactory.newInstance(); | Name bodyName = soapFactory.createName(METHOD,PREFIX, ""); | SOAPBodyElement bodyElement = body.addBodyElement(bodyName); | | // add the "profileID" element: | Name profileIDParamName = soapFactory.createName("id_lote"); | SOAPElement profileID = bodyElement.addChildElement(profileIDParamName); | profileID.addTextNode("1"); | | // add the "profilePhotoRef" reference to the photo we will attach: | Name profilePhotoRefParamName = soapFactory.createName("file_name"); | SOAPElement profilePhotoRef = bodyElement.addChildElement(profilePhotoRefParamName); | | profilePhotoRef.addTextNode("xml-pic"); | | // get the image file and attach it: | AttachmentPart binaryAttachPart = null; | | FileDataSource binaryFds = new FileDataSource(attach); | DataHandler binaryFileHandler = new DataHandler(binaryFds); | binaryAttachPart = msg.createAttachmentPart(binaryFileHandler); | binaryAttachPart.setContentType("image/jpeg"); | | binaryAttachPart.setContentId(""); | msg.addAttachmentPart(binaryAttachPart); | | if (msg.saveRequired()) | { | msg.saveChanges(); | } | | // echo the document first: | System.out.println("\nAbout to send the following SOAPMessage:\n"); | msg.writeTo(System.out); | System.out.println("\nto endpoint URL " + WS_URI + "\n"); | | // ...then send it, and echo the response: | SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance(); | SOAPConnection soapConn = soapConnFactory.createConnection(); | SOAPMessage responseMsg = soapConn.call(msg, WS_URI); | System.out.println("\nGot the following SOAPMessage in response:\n"); | responseMsg.writeTo(System.out); | | // in real life, declare outside of block and close in finally | soapConn.close(); | } | catch (IOException ioe) | { | System.err.println("IOException writing SOAPMessage: '" + ioe.getMessage() + "'"); | } | catch (SOAPException se) | { | System.err.println("SOAPException: '" + se.getMessage() + "'"); | System.err.println(" Cause: '" + se.getCause().getClass().getName() + "': " + se.getCause().getMessage()); | } | | } | | public SAAJ_Attach_Client() | { | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983789#3983789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983789 From do-not-reply at jboss.com Tue Nov 7 11:04:37 2006 From: do-not-reply at jboss.com (jgilbert) Date: Tue, 7 Nov 2006 11:04:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - org.jboss.remoting.CannotConnectException: Can not connect h Message-ID: <23916433.1162915477049.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to call a secured web service from a SLSB. I have injected the port using @Resource but get a connection exception because the credentials are not set. I have come up with a workaround to propagate the credentials (see below). But I would like to know if there is a standards based way to propagate credentials to the jaxrpc stub. Do I just need to wait for the full JaxWS implementation in JBossWS 2.0? @Stateless | @RolesAllowed(value = { "User" }) | @SecurityDomain("portal") | public class AuthorizationCallbackServiceAdapterBean implements AuthorizationCallbackServiceLocal { | | @Resource(mappedName = "jbossws-client/service/AuthorizationCallbackService") | protected AuthorizationCallbackService_PortType port; | | public void authorizationResponse(Long paymentId, Boolean status) { | try { | Stub stub = (Stub) port; | stub._setProperty(Stub.USERNAME_PROPERTY, SecurityAssociation.getCallerPrincipal().getName()); | stub._setProperty(Stub.PASSWORD_PROPERTY, SecurityAssociation.getCredential()); | | port.authorizationResponse(paymentId, status); | | } catch (Exception e) { | throw new RuntimeException(e); | } | } | } | Calling SecurityAssociation and setting the properties on the stub is the prioritary workaround that i would like to avoid. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983812#3983812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983812 From do-not-reply at jboss.com Tue Nov 7 11:19:58 2006 From: do-not-reply at jboss.com (vberetti) Date: Tue, 7 Nov 2006 11:19:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem creating request for wsclient, serializating pa Message-ID: <11303829.1162916398682.JavaMail.jboss@colo-br-02.atl.jboss.com> I check the source again and I still don't understand what's going on. Should I post a bug report in jira ? Vincent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983824#3983824 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983824 From do-not-reply at jboss.com Tue Nov 7 12:49:49 2006 From: do-not-reply at jboss.com (anand_anan2k) Date: Tue, 7 Nov 2006 12:49:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBOSS Portal + WS Message-ID: <32082591.1162921789013.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using JBOSS portal. Now i want to invoke WS Method. But the host WS is not using JBOSS. How can i invoke the WS method from the JBOSS portal ? Any sample code for web services client should be of great help. Thanks, Elangovan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983861#3983861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983861 From do-not-reply at jboss.com Tue Nov 7 13:08:53 2006 From: do-not-reply at jboss.com (tgoepferd) Date: Tue, 7 Nov 2006 13:08:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: TCP/IP settings for Web Service Client? Message-ID: <5358287.1162922933722.JavaMail.jboss@colo-br-02.atl.jboss.com> Here is the TCPDump output when it is working correctly. There are many examples of this: Initial 3-way handshake | SYN | 18:01:30.769521 IP alpha.abc.com.58548 > 163.130.1.201.http: S 4126902008:4126902008(0) win 5840 | SYN-ACK | 18:01:30.918689 IP 163.130.1.201.http > alpha.abc.com.58548: S 63388846:63388846(0) ack 4126902009 win 8760 | ACK | 18:01:30.918721 IP alpha.abc.com.com.58548 > 163.130.1.201.http: . ack 1 win 5840 | | POST - First half of message | 18:01:30.919050 IP alpha.abc.com.58548 > 163.130.1.201.http: . 1:1461(1460) ack 1 win 5840 | Continuation - 2nd Half of Message with push flag | 18:01:30.919074 IP alpha.abc.com > 163.130.1.201.http: P 1461:1779(318) ack 1 win 5840 | | TCP level ACK | 18:01:31.101948 IP 163.130.1.201.http > alpha.abc.com.58548: . ack 1779 win 64240 | ACK Resent????, (Final Flag set) | 18:01:31.387309 IP 163.130.1.201.http > alpha.abc.com.58548: F 204:204(0) ack 1779 win 64240 | handshake... we got your ack. | 18:01:31.387342 IP alpha.abc.com.58548 > 163.130.1.201.http: . ack 1 win 5840 | | | 202 Accepted - (Final Flag set) | 18:01:34.428663 IP 163.130.1.201.http >alpha.abc.com.58548: FP 1:204(203) ack 1779 win 64240 | Got your 202 | 18:01:34.469118 IP alpha.abc.com.58548 > 163.130.1.201.http: . ack 205 win 6432 | | Bye - Closing Connection | 18:02:53.064082 IP alpha.abc.com.58548 > 163.130.1.201.http: F 1779:1779(0) ack 205 win 6432 | Bye - Ack connection closing. | 18:02:53.211680 IP 113.130.1.201.http > alpha.abc.com.58548: . ack 1780 win 64240 Here is an example of one where the 2nd half of the message is delayed by 5 seconds: Initial 3 way handshake... SYN was resent after 3 seconds. | 18:00:44.099506 IP alpha.abc.com.58525 > 163.130.1.201.http: S 4080391120:4080391120(0) win 5840 | 18:00:47.099218 IP alpha.abc.com.58525 > 163.130.1.201.http: S 4080391120:4080391120(0) win 5840 | 18:00:47.286140 IP 163.130.1.201.http > alpha.abc.com.58525: S 4104645:4104645(0) ack 4080391121 win 8760 | 18:00:47.286188 IP alpha.abc.com.58525 > 163.130.1.201.http: . ack 1 win 5840 | | | POST - First Half of Message | 18:00:47.286588 IP alpha.abc.com.58525 > 163.130.1.201.http: . 1:1461(1460) ack 1 win 5840 | 2nd Half of message | 18:00:52.286766 IP alpha.abc.com.58525 > 163.130.1.201.http: FP 1461:1774(313) ack 1 win 5840 | 18:00:52.432341 IP 163.130.1.201.http > alpha.abc.com.58525: . ack 1775 win 63927 | 202 Accepted | 18:00:52.433752 IP 163.130.1.201.http > alpha.abc.com.58525: P 1:204(203) ack 1775 win 63927 | Reset COnnection | 18:00:52.433780 IP alpha.abc.com.58525 > 163.130.1.201.http: R 4080392895:4080392895(0) win 0 | AcK with /Final | 18:00:52.434478 IP 163.130.1.201.http > alpha.abc.com.58525: F 204:204(0) ack 1775 win 63927 | Reset Connection | 18:00:52.434501 IP alpha.abc.com.58525 > 163.130.1.201.http: R 4080392895:4080392895(0) win 0 NOTE: I am no TCP guru.... so I am not sure if my comments between the messages are accurate. However, from the message body, I could tell which packets contianed the SOAP messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983870#3983870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983870 From do-not-reply at jboss.com Tue Nov 7 14:03:01 2006 From: do-not-reply at jboss.com (bwkennedy) Date: Tue, 7 Nov 2006 14:03:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Getting the WSDL for a pojo endpoint at compile time Message-ID: <27373257.1162926181355.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I've developed a JSR 181 POJO endpoint (annotated pojo and web.xml), and I can get the WSDL from the running app server no problem . My question is is there a way to get the wsdl at compile time rather than just runtime? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983885#3983885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983885 From do-not-reply at jboss.com Tue Nov 7 16:16:22 2006 From: do-not-reply at jboss.com (qiliu) Date: Tue, 7 Nov 2006 16:16:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.util.xml.DOMWriter error Message-ID: <6390880.1162934182656.JavaMail.jboss@colo-br-02.atl.jboss.com> I was able to fix the problem. It was due to the order of libraries being called. Sorry and thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983922#3983922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983922 From do-not-reply at jboss.com Tue Nov 7 18:10:25 2006 From: do-not-reply at jboss.com (zeOliverFT) Date: Tue, 7 Nov 2006 18:10:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Restful web service with JBoss WS ? Message-ID: <7897665.1162941025688.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have read that with JAX-WS 2.0, you can publish easily a Resftul web service. Does Jboss WS support this feature ? "Will Java EE 5 bring REST to Java?": http://blog.noelios.com/2006/05/24/will-java-ee-5-bring-rest-to-java/ "Publishing a RESTful Web Service with JAX-WS" http://weblogs.java.net/blog/kohlert/archive/2006/01/publishing_a_re.html Thanks. Olivier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983940#3983940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983940 From do-not-reply at jboss.com Tue Nov 7 18:39:47 2006 From: do-not-reply at jboss.com (joshua_hj) Date: Tue, 7 Nov 2006 18:39:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Urgent Help requested ...support for enums..update jboss Message-ID: <23010096.1162942787937.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I was trying to develop a parlay X web service, the MultimediaMessaging one. I have managed to generate all java classes from the wsdl and xsd files provided by the specification. Allthough, i am having a problem with enumerations. I have a type, named "MessagePriority" (see below) that is mapped into a java enum file "MessagePriority" (see below) . JBoss complains about the Enumeration type at deploy time. When i remove the references to that type it works fine. Does the generated code below is supported by JBossWS? Can i use enumeration at all? PS: Can you explain better how did you managed to get your enums work Best Regards Joshua | | EXCEPTION | | 23:31:27,785 ERROR [MainDeployer] Could not create deployment: file:/C:/Java/jboss-4.0.5.GA/server/all/deploy/MultimediaMessaging.war | org.jboss.ws.WSException: JAX-RPC Enumeration type did not conform to expectations | at org.jboss.ws.tools.schema.SchemaTypeCreator.handleJAXRPCEnumeration(SchemaTypeCreator.java:374) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:317) | at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:273) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:132) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:127) | at org.jboss.ws.tools.schema.SchemaTypeCreator.createFieldParticle(SchemaTypeCreator.java:607) | at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:592) | | ############################## | ############################## | | SCHEMA | | | | | | | | | | | | ############################## | ############################## | | JAVA | | @XmlEnum | public enum MessagePriority { | | @XmlEnumValue("Default") | DEFAULT("Default"), | @XmlEnumValue("High") | HIGH("High"), | @XmlEnumValue("Low") | LOW("Low"), | @XmlEnumValue("Normal") | NORMAL("Normal"); | private final String value; | | MessagePriority(String v) { | value = v; | } | | public String value() { | return value; | } | | public static MessagePriority fromValue(String v) { | for (MessagePriority c: MessagePriority.values()) { | if (c.value.equals(v)) { | return c; | } | } | throw new IllegalArgumentException(v.toString()); | } | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983950#3983950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983950 From do-not-reply at jboss.com Tue Nov 7 18:45:02 2006 From: do-not-reply at jboss.com (anand_anan2k) Date: Tue, 7 Nov 2006 18:45:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Webservices client and Dynamic Invocation Interface. Message-ID: <7902537.1162943102147.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I used Dynamic Invocation Interface (DII) in web services client. Configuration Details: 1. JBOSS portal 2.4: using this portal, i'm performing web services invocation. The web services is running in another machine using webobjects framework. 2. Please refer the below client code i used, URL url = new URL(urlstr); String ns = "http://vg0601f-dhcp147.apple.com:9999/cgi-bin/WebObjects/ProvisioningWebServices.woa/ws/ProvisioningWS"; QName qname = new QName(ns, "ProvisioningWS"); QName port = new QName(ns, "ProvisioningWS"); QName operation = new QName(ns,"selectAuthorizedItemsForMerlin"); ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(url, qname); Call call = service.createCall(port, operation); System.out.println("After gettting the call "+call); Object o = call.invoke(new Object[] {argument}); I got the o/p until "After gettting the call" and call object also is not null. But while executing the invoke method call.invoke(new Object[] {argument}) , i'm getting the below error: 15:27:33,586 ERROR [STDERR] java.lang.ClassCastException: org.jboss.ws.soap.SOAPMessageImpl 15:27:33,589 ERROR [STDERR] at com.sun.xml.rpc.client.dii.CallInvokerImpl._postSendingHook(CallInvokerImpl.java:305) 15:27:33,589 ERROR [STDERR] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324) 15:27:33,589 ERROR [STDERR] at com.sun.xml.rpc.client.dii.CallInvokerImpl.doInvoke(CallInvokerImpl.java:103) 15:27:33,590 ERROR [STDERR] at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:492) 15:27:33,590 ERROR [STDERR] at org.jboss.rpc.WSClient.WSClient.getWSOutput(WSClient.java:39) 15:27:33,590 ERROR [STDERR] at org.jboss.porlet.iproject.iprojectportlet.doView(iprojectportlet.java:25) 15:27:33,590 ERROR [STDERR] at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) 15:27:33,590 ERROR [STDERR] at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) PLease help me to resolve this issue. Thanks, Elangovan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983953#3983953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983953 From do-not-reply at jboss.com Tue Nov 7 19:39:50 2006 From: do-not-reply at jboss.com (zarzar) Date: Tue, 7 Nov 2006 19:39:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - SOAP 1.2 WSDL Message-ID: <31670793.1162946390774.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm having problems building a web service using a WSDL with a SOAP 1.2 binding. (The WSDL is given at the bottom.) The web service works fine when using the SOAP 1.1 binding. Problems arise only when changing to SOAP 1.2. I'm using JBoss version 4.0.5.GA and generating code from WSDL using wstools. There are problems at both the client- and server- side. On the client-side, the code doesn't complain about the SOAP 1.2 WSDL, but sends the SOAP message using the SOAP 1.1 namespace. On the server-side, I get a NullPointerException when I deploy the web service war file. The stack trace is given below. Is there a SOAP 1.2 setting to turn on that I'm missing? Thanks, Zar ========================= Server-side stack trace java.lang.NullPointerException at java.net.URI$Parser.parse(URI.java:3010) at java.net.URI.(URI.java:578) at org.jboss.ws.deployment.AbstractMetaDataBuilder.getUriScheme(Abstract MetaDataBuilder.java:277) at org.jboss.ws.deployment.AbstractMetaDataBuilder.replaceAddressLocatio n(AbstractMetaDataBuilder.java:166) at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR 109ServerMetaDataBuilder.java:210) at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpoin tDeployer.java:78) at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInt erceptor.java:80) at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(Deployer InterceptorJSE.java:74) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor. create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce ptor.java:91) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $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.GeneratedMethodAccessor54.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:610) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. run(AbstractDeploymentScanner.java:225) =========================== WSDL | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983960#3983960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983960 From do-not-reply at jboss.com Tue Nov 7 20:05:05 2006 From: do-not-reply at jboss.com (fcheng) Date: Tue, 7 Nov 2006 20:05:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Create multiple web services with same SLSB ejb Message-ID: <6412831.1162947905411.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am using JBoss 4.0.4GA with EJB3 and JBoss WS 1.0.3GA. How do I use one SLSB bean (EJB3.0) to create multiple web services that each web service references to different service so that when a certain web service is called, it loads the desired service? Is it feasible? If yes, I am new to WS, can anyone show me the example? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983963#3983963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983963 From do-not-reply at jboss.com Tue Nov 7 21:37:23 2006 From: do-not-reply at jboss.com (summer.hill) Date: Tue, 7 Nov 2006 21:37:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: How do you access UsernameTokens? Message-ID: <15874405.1162953443129.JavaMail.jboss@colo-br-02.atl.jboss.com> What if I want to do some of my own authorisation processing using the token? I would like to access the token from within an EJB interceptor somehow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983985#3983985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983985 From do-not-reply at jboss.com Wed Nov 8 00:47:22 2006 From: do-not-reply at jboss.com (jgilbert) Date: Wed, 8 Nov 2006 00:47:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JSR-181 Annotation Based UDDI Registration Message-ID: <24894833.1162964842912.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been looking at the following wiki entries: http://wiki.jboss.org/wiki/Wiki.jsp?page=UDDIExample http://wiki.jboss.org/wiki/Wiki.jsp?page=UDDIAccesspointLocator And I am wondering if there are any plans to roll this into the product? For example, I can envision a deployer that automatically registers services annotated with @WebService. I don't want to duplicate any existing efforts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983998#3983998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983998 From do-not-reply at jboss.com Wed Nov 8 05:25:54 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:25:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBOSS Portal + WS Message-ID: <29518573.1162981554700.JavaMail.jboss@colo-br-02.atl.jboss.com> http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984041#3984041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984041 From do-not-reply at jboss.com Wed Nov 8 05:27:41 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:27:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jaxrpc interop Message-ID: <2337762.1162981661181.JavaMail.jboss@colo-br-02.atl.jboss.com> http://repository.jboss.com/jboss/jbossws/1.0.3.SP1/ http://repository.jboss.com/jboss/jbossws14/1.0.3.SP1/ (jdk1.4) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984044#3984044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984044 From do-not-reply at jboss.com Wed Nov 8 05:29:39 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:29:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: When we can get JBossWS 1.4? Message-ID: <3833610.1162981779537.JavaMail.jboss@colo-br-02.atl.jboss.com> It's running through QA. Expect it any time soon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984045#3984045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984045 From do-not-reply at jboss.com Wed Nov 8 05:31:22 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:31:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JB Portal + Web Services. Message-ID: <26069751.1162981882243.JavaMail.jboss@colo-br-02.atl.jboss.com> http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html The samples ship with the distribution: http://labs.jboss.com/portal/jbossws/downloads View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984047#3984047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984047 From do-not-reply at jboss.com Wed Nov 8 05:38:31 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:38:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <28640040.1162982311987.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, i cannot dig into your problem in great detail right now, but did you checkout the following: http://labs.jboss.com/portal/jbossws/user-guide/en/html/attachments.html http://labs.jboss.com/portal/jbossws/user-guide/en/html/mtom-xop.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984051#3984051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984051 From do-not-reply at jboss.com Wed Nov 8 05:39:22 2006 From: do-not-reply at jboss.com (alesj) Date: Wed, 8 Nov 2006 05:39:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JAXBDeserializer unmarshalling Message-ID: <31243625.1162982362065.JavaMail.jboss@colo-br-02.atl.jboss.com> If I remove xmlns='http://localhost:8080/jaxrpc/axis/AccountService' from root tag, it works. How do I achieve the removal in WS. Defining WebResult on the method return? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984052#3984052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984052 From do-not-reply at jboss.com Wed Nov 8 05:40:19 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:40:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Restful web service with JBoss WS ? Message-ID: <16379061.1162982420031.JavaMail.jboss@colo-br-02.atl.jboss.com> Maybe in the future. The JAX-WS implementation is in beta stage right now. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984054#3984054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984054 From do-not-reply at jboss.com Wed Nov 8 05:45:18 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:45:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Annotation Based UDDI Registration Message-ID: <27390914.1162982718575.JavaMail.jboss@colo-br-02.atl.jboss.com> Thats an interesting topic. I was thinking about something similiar. Currently there are no efforts know to me. If you like, this discussion should be continued at the design forum: http://www.jboss.org/index.html?module=bb&op=viewforum&f=174 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984055#3984055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984055 From do-not-reply at jboss.com Wed Nov 8 05:51:10 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 8 Nov 2006 05:51:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JAXBDeserializer unmarshalling Message-ID: <4827994.1162983070781.JavaMail.jboss@colo-br-02.atl.jboss.com> The XMLRootElement is not name space qualified. Try adding the NS to it: | @XmlRootElement(name = "createAccountReturn", namespace="http://localhost:8080/jaxrpc/axis/AccountService") | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984061#3984061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984061 From do-not-reply at jboss.com Wed Nov 8 06:13:57 2006 From: do-not-reply at jboss.com (alesj) Date: Wed, 8 Nov 2006 06:13:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JAXBDeserializer unmarshalling Message-ID: <33256083.1162984437050.JavaMail.jboss@colo-br-02.atl.jboss.com> Nope. No change - still null values. | @XmlRootElement(name = "createAccountReturn", namespace="http://localhost:8081/jaxrpc/axis/AccountService") | public class Account implements Serializable { | | -- | | value = Account{username='null', password='null', creationDate=null} | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984068#3984068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984068 From do-not-reply at jboss.com Wed Nov 8 06:35:16 2006 From: do-not-reply at jboss.com (alesj) Date: Wed, 8 Nov 2006 06:35:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JAXBDeserializer unmarshalling Message-ID: <4159949.1162985716482.JavaMail.jboss@colo-br-02.atl.jboss.com> Can I set that the namespace is ignored? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984080#3984080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984080 From do-not-reply at jboss.com Wed Nov 8 06:49:21 2006 From: do-not-reply at jboss.com (dimitar_todorov) Date: Wed, 8 Nov 2006 06:49:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - ERROR [EngineConfigurationFactoryServlet] Message-ID: <25240476.1162986561870.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I`m using JBOSS as a server and installed Axis so I can use it to create a Web Service. I tryed to create a simple Web Service (Hello service) but I get the following error while JBOSS is starting : ERROR [EngineConfigurationFactoryServlet] Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd Well I assume that the problem has something to do with the JBOSS - Axis configuration but I followed the instructions which seem to be right: "Axis can be obtained from http://ws.apache.org/axis/. You can either obtain the Axis source and build the binary distribution from the source or obtain the binary distribution directly. In either case, the end result will include a webapps directory. Within this is a subdirectory called axis. Copy this subdirectory to the appropriate deployment directory for your JBoss 3.2.x run-time instance, JBOSS_HOME/server/instance/deploy where instance is the run-time instance. Normally this would be JBOSS_HOME/server/default/deploy but adjust this for your situation. Change the subdirectory name from axis to axis.war. This allows JBoss 3.2.x to identify the deployment as a web application and appropriately delegate run-time deployment to the servlet container. The Axis includes most of the necessary libraries required to support Web services into the WEB-INF/lib directory of the WAR. These include saaj.jar and jaxrpc.jar. In a standalone Tomcat 4.1.x distribution, these libraries would need to be situated CATALINA_HOME/common/lib due to the Tomcat constraints for loading classes in the java.* and javax.* hierarchy. Notes regarding this were included in the earlier Axis Release Candidates (RCs). With JBoss 3.2.x, users have discovered that Axis will not correctly deploy if saaj.jar and jaxrpc.jar are contained in the axis.war/WEB-INF/lib directory while using the standard Java 2 compliant class-loading scheme in JBoss. We moved saaj.jar and jaxrpc.jar to server/instance/deploy/jbossweb-tomcat.sar for JBoss-Tomcat distributions." After these instructions are done I get ERROR that we spoke about above: ERROR [EngineConfigurationFactoryServlet] Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd It seems that JBOSS cannot create the server-config.wsdd Due to this error my simple WebService HelloService ends up with the following exception: exception: The AXIS engine could not find a target service to invoke! targetService is Hello! Additional information - I use Eclipse3.2.1 I'll be glad if I get any kind of help ideas! Regards Dimitar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984087#3984087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984087 From do-not-reply at jboss.com Wed Nov 8 07:10:35 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Wed, 8 Nov 2006 07:10:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <1680264.1162987835932.JavaMail.jboss@colo-br-02.atl.jboss.com> "heiko.braun at jboss.com" wrote : Sorry, i cannot dig into your problem in great detail right now, but did you checkout the following: | | http://labs.jboss.com/portal/jbossws/user-guide/en/html/attachments.html | http://labs.jboss.com/portal/jbossws/user-guide/en/html/mtom-xop.html Hi Heiko, I've seen those documents before. My service and client are even partially based on the samples provided by jbossws13 (all the way to wsdl and jax-mapping). I'm not using MTOM at this moment. I'm starting to consider that I may have some JAR problems with my libraries but can't confirm it. It's just plain weird that I can do a upload with SoapUI and can't with any of my SAAJ clients. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984101#3984101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984101 From do-not-reply at jboss.com Wed Nov 8 07:13:24 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Wed, 8 Nov 2006 07:13:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <4878968.1162988004544.JavaMail.jboss@colo-br-02.atl.jboss.com> Current JARs that I'm using to call this client: | activation.jar | mail.jar | saaj-api.jar | saaj-impl.jar | xercesImpl.jar | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984102#3984102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984102 From do-not-reply at jboss.com Wed Nov 8 07:56:39 2006 From: do-not-reply at jboss.com (alesj) Date: Wed, 8 Nov 2006 07:56:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JAXBDeserializer unmarshalling Message-ID: <16036994.1162990599381.JavaMail.jboss@colo-br-02.atl.jboss.com> Adding namespace to property solved the problem: | @XmlElement(namespace="http://localhost:8081/jaxrpc/axis/AccountService") | public String getUsername() { | return username; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984118#3984118 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984118 From do-not-reply at jboss.com Wed Nov 8 09:14:29 2006 From: do-not-reply at jboss.com (alesj) Date: Wed, 8 Nov 2006 09:14:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: web services client Message-ID: <19861981.1162995269381.JavaMail.jboss@colo-br-02.atl.jboss.com> "heiko.braun at jboss.com" wrote : The JSR-181 preview under JAX-RPC doesn't have a client programming model. This means there is no annotation support for authenticated client call? To put so annotated authentification info in this classes? | @WebServiceClient( | name = "AccountServiceEndpointService", | wsdlLocation = "http://localhost:8081/jaxrpc/axis/AccountService?wsdl", | targetNamespace = "http://localhost:8081/jaxrpc/axis/AccountService" | ) | public class AccountServiceImpl extends javax.xml.ws.Service { | | public AccountServiceImpl() throws MalformedURLException { | this( | new URL("http://localhost:8081/jaxrpc/axis/AccountService?wsdl"), | new QName("http://localhost:8081/jaxrpc/axis/AccountService", "AccountServiceEndpointService") | ); | } | | public AccountServiceImpl(URL url, QName qName) { | super(url, qName); | } | | @WebEndpoint(name = "AccountService") | public AccountService getSimplePort() { | return (AccountService) super.getPort( | new QName("http://localhost:8081/jaxrpc/axis/AccountService", "AccountService"), | AccountService.class); | } | | } | | -- | | @WebService | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) | public interface AccountService { | | @WebMethod | @WebResult(name = "createAccountReturn") | Account createAccount(String username); | | @WebMethod | @Oneway | void insertAccount(Account account); | | } | | -- | | @WebServiceRef(AccountServiceImpl.class) | private AccountService simpleService; | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984149#3984149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984149 From do-not-reply at jboss.com Wed Nov 8 13:26:05 2006 From: do-not-reply at jboss.com (lexsoto@gmail.com) Date: Wed, 8 Nov 2006 13:26:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Could not dereference object Message-ID: <10633322.1163010365375.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm also experiencing this problem. Can anybody give me directions? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984264#3984264 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984264 From do-not-reply at jboss.com Wed Nov 8 13:27:40 2006 From: do-not-reply at jboss.com (sursha) Date: Wed, 8 Nov 2006 13:27:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Urgent Help requested ...support for enums..update jboss Message-ID: <11058546.1163010460648.JavaMail.jboss@colo-br-02.atl.jboss.com> create your enum class in the following format. public class SortingTypes implements java.io.Serializable { private java.lang.String _value_; private static java.util.HashMap _table_ = new java.util.HashMap(); // Constructor protected SortingTypes(java.lang.String value) { _value_ = value; _table_.put(_value_,this); } public static final java.lang.String _ASC = "ASC"; public static final java.lang.String _DESC = "DESC"; public static final SortingTypes ASC = new SortingTypes(_ASC); public static final SortingTypes DESC = new SortingTypes(_DESC); public java.lang.String getValue() { return _value_;} public static SortingTypes fromValue(java.lang.String value) throws java.lang.IllegalArgumentException { SortingTypes enumeration = (SortingTypes) _table_.get(value); if (enumeration==null) throw new java.lang.IllegalArgumentException(); return enumeration; } public static SortingTypes fromString(java.lang.String value) throws java.lang.IllegalArgumentException { return fromValue(value); } public boolean equals(java.lang.Object obj) {return (obj == this);} public int hashCode() { return toString().hashCode();} public java.lang.String toString() { return _value_;} public java.lang.Object readResolve() throws java.io.ObjectStreamException { return fromValue(_value_);} } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984265#3984265 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984265 From do-not-reply at jboss.com Wed Nov 8 13:36:03 2006 From: do-not-reply at jboss.com (sursha) Date: Wed, 8 Nov 2006 13:36:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Get remote client IP address in the ejb3 exposed web service Message-ID: <28622577.1163010963169.JavaMail.jboss@colo-br-02.atl.jboss.com> How to get client's IP address in an ejb3 exposed web service? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984266#3984266 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984266 From do-not-reply at jboss.com Wed Nov 8 13:37:05 2006 From: do-not-reply at jboss.com (lexsoto@gmail.com) Date: Wed, 8 Nov 2006 13:37:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Could not dereference object Message-ID: <9976912.1163011025765.JavaMail.jboss@colo-br-02.atl.jboss.com> Never mind. I've solved it. In my case the interface in the client code had a different package clause than the one in the server. For example: SERVER: ======= package a.b.c; public interface MyBeanInterface {...} CLIENT: ====== package d.e.f; public interface MyBeanInterface {...} That caused the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984267#3984267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984267 From do-not-reply at jboss.com Wed Nov 8 13:38:31 2006 From: do-not-reply at jboss.com (sursha) Date: Wed, 8 Nov 2006 13:38:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: How to retrieve client IP address? Message-ID: <22616513.1163011111539.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you find a solution for this? Please let me know View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984269#3984269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984269 From do-not-reply at jboss.com Wed Nov 8 14:58:51 2006 From: do-not-reply at jboss.com (gofish88) Date: Wed, 8 Nov 2006 14:58:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Access ejb 3.0 exposed web service using https Message-ID: <30092072.1163015931100.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you please elaborate on what do you mean by saying"I am able to access web service from http'? I am learning JBossWS and from what I understand, it can be accessed using HTTP post, not HTTP get. I can see the SOAP request and response from Web service explorer in Eclipse. Are you accessing the web service from a browser? Are you using POST in your client code? If yes, how do you use it? I appreciate your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984290#3984290 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984290 From do-not-reply at jboss.com Wed Nov 8 15:06:54 2006 From: do-not-reply at jboss.com (gofish88) Date: Wed, 8 Nov 2006 15:06:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Access web service from html/javaScript Message-ID: <25597793.1163016414397.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am trying to access my JSR181-ejb3 web service from html/javaScript and not sure on how to do it. I searched web and it looks like using XMLHTTP, AJAX, is the most popular way. There is also a solution to use webservice behavior, which includes a webservice.htc file. I would appreciate if someone has the experience can share some information, or could point me to the correct direction. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984295#3984295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984295 From do-not-reply at jboss.com Wed Nov 8 22:34:59 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 22:34:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS basic auth only for post requests Message-ID: <20518625.1163043299720.JavaMail.jboss@colo-br-02.atl.jboss.com> There is good reason, why we protect access to the wsdl. Please see http://jira.jboss.org/jira/browse/JBWS-723 and vote for making this configurable. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984371#3984371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984371 From do-not-reply at jboss.com Wed Nov 8 22:42:01 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 22:42:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: URGENT ....Duplicate names in the generated WSDL !! cann Message-ID: <23839994.1163043721018.JavaMail.jboss@colo-br-02.atl.jboss.com> Please create a jira issue together with a test case that replicates this issue. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstallJBoss40xEJB3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984372#3984372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984372 From do-not-reply at jboss.com Wed Nov 8 22:46:49 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 22:46:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Passing complex EJB to WS Message-ID: <29007511.1163044009591.JavaMail.jboss@colo-br-02.atl.jboss.com> Please rethink your design. Webservices is about the exchange of comples business documents defined by xml schema. An entity bean is an implementation detail of some persistence aspect. BTW, XML schema can only express object trees - no graphs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984373#3984373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984373 From do-not-reply at jboss.com Wed Nov 8 22:52:38 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 22:52:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR 181-document style-DII not working Message-ID: <8465536.1163044358907.JavaMail.jboss@colo-br-02.atl.jboss.com> Call.setReturnType(QName) If this does not work for you, please create a jira issue and a small test case View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984376#3984376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984376 From do-not-reply at jboss.com Wed Nov 8 22:55:39 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 22:55:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws-1.0.3.GA released Message-ID: <25302421.1163044539049.JavaMail.jboss@colo-br-02.atl.jboss.com> Please do not hijack Heiko's announcement post. Instead start new threads that deal with your specific issues. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984377#3984377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984377 From do-not-reply at jboss.com Wed Nov 8 22:59:11 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 22:59:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS Stack and Polymorphic SEI Message-ID: <7172640.1163044751504.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a tools issue, that is not implemented. Please create a jira feature request that links to this form post and tell your friends to vote for it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984379#3984379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984379 From do-not-reply at jboss.com Wed Nov 8 23:01:06 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 23:01:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Document/Literal enpoint & MTOM/XOP attachments Message-ID: <26862997.1163044866089.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Alessio, I'll give this to our MTOM folks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984380#3984380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984380 From do-not-reply at jboss.com Wed Nov 8 23:07:41 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 23:07:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Incomplete Deployment Listing Error in JBoss 4.0.4 Message-ID: <22058524.1163045261843.JavaMail.jboss@colo-br-02.atl.jboss.com> Generally, you should remove any services that are not needed so they want consume resources. Is there any relevant stack trace for me to look at? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984381#3984381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984381 From do-not-reply at jboss.com Wed Nov 8 23:29:38 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 8 Nov 2006 23:29:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: @SecurityDomain must be used? Message-ID: <3760327.1163046578461.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1339 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984387#3984387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984387 From do-not-reply at jboss.com Thu Nov 9 03:38:45 2006 From: do-not-reply at jboss.com (martinwhs) Date: Thu, 9 Nov 2006 03:38:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Error in WSDL with complex type (EJB3 WebService) Message-ID: <10807584.1163061525619.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I use EJB3-annotated Webservices in JBoss 4.0.4 GA. This worked fine, even with rather complex types, up until now. I have an Interface | public interface EntityAware { | | /** | * @return an entity of type E | * @throws EntityConversionException | */ | E getEntity() throws EntityConversionException; | | } | which I want my DTOs to implement. Like this: | | public class PersonInfo implements EntityAware { | | ... | | public Person getEntity() throws EntityConversionException { | // TODO Auto-generated method stub | return null; | } | | } | | If then, such a DTO (implementing the interface) is used as a type in my Webservice, the WSDL gets very complex. It would then include all affected namespaces in the java class hierachy down to java.lang.Class. Example: | ... | | | | | | | | | | ... | Is this a desired behaviour? To my understanding a DTO should be able to implement any kind of interface without the datatypes of that very interface having any kind of impact on the schema-representation of the DTO in the WSDL. Is there a way to change that behaviour by configuration or do I need a newer version of jbossws? Best regards and many thanks, Martin Hesse View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984433#3984433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984433 From do-not-reply at jboss.com Thu Nov 9 04:44:21 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 9 Nov 2006 04:44:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Document/Literal enpoint & MTOM/XOP attachments Message-ID: <5830334.1163065461901.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks alessio. I few things already changed in 1.0.4. See the comments in your blog. Regarding the example: That would have been a great contribution, but i already changed the mtom samples to doc/lit a while ago: http://anonsvn.jboss.org/repos/jbossws/branches/jbossws-1.0/src/test/java/org/jboss/test/ws/jaxrpc/samples/mtom/ http://anonsvn.jboss.org/repos/jbossws/branches/jbossws-1.0/src/test/resources/jaxrpc/samples-override/mtom/WEB-INF/wsdl/ Still if you think this does not suffice, i'd happily update the samples accordingly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984450#3984450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984450 From do-not-reply at jboss.com Thu Nov 9 06:22:43 2006 From: do-not-reply at jboss.com (vberetti) Date: Thu, 9 Nov 2006 06:22:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Is Jbossws rpc Call impl Threadsafe ? Message-ID: <10400167.1163071363606.JavaMail.jboss@colo-br-02.atl.jboss.com> I found where the problem is comming from. My 20 threads were using the same Call instance. When I create 1 call instance for each thread there is no problem. Is javax.xml.rpc.Call implementation in Jbossws 1.0.3.GA threasafe ? Vincent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984472#3984472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984472 From do-not-reply at jboss.com Thu Nov 9 09:30:52 2006 From: do-not-reply at jboss.com (RikardF) Date: Thu, 9 Nov 2006 09:30:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: implementing wsse:UserNameToken Message-ID: <12429178.1163082652359.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same issue as 'rayymlai'. I can't add the Security header with UserNameToken to an outgoing call with JAX-RPC. I have tested with JBoss 4.04 and 4.05. I have added the following stuff: 1) Added the 'jboss-wsse-client.xml' in the 'meta-inf' dir in the jar file. 2) Added the following in the code for the outgoing call: | Stub stub = (Stub) aStub; | stub._setProperty(Stub.USERNAME_PROPERTY, "Rikard"); | stub._setProperty(Stub.PASSWORD_PROPERTY, "RikardPWD"); | ... | aStub.someWsMethod(...); | Should that be enough? Or did I miss anything? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984532#3984532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984532 From do-not-reply at jboss.com Thu Nov 9 09:58:25 2006 From: do-not-reply at jboss.com (tapeshag) Date: Thu, 9 Nov 2006 09:58:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NullPointerException which generating the WSDL file using ws Message-ID: <17127478.1163084305377.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am trying to generate the descriptiors using the wstools. When I try to run it with my config file, I get the following error --------------------------------------------------------- Exception in thread "main" java.lang.NullPointerException at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:303) at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:122) 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.WSTools.main(WSTools.java:61) --------------------------------------------------------------- I am using wstools which gets shipped default with JBOSS-4.0.4GA release. Attaching the contents of the interface and config files wstools-config.xml ============= TrivialServiceInterface.java ==================== import java.rmi.Remote; import java.rmi.RemoteException; public interface TrivialServiceInterface extends Remote { String purchase (String person) throws RemoteException; } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984540#3984540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984540 From do-not-reply at jboss.com Thu Nov 9 10:23:48 2006 From: do-not-reply at jboss.com (malmit) Date: Thu, 9 Nov 2006 10:23:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Saving the Web Service Request as XML Message-ID: <32548188.1163085828504.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been searching all over trying to figure out how to save a web service request as XML. I know that JBoss receives the XML SOAP request and translates this into the appropriate Java Object for the call, so I would assume that I can easily take that same Java Object and translate/serialize that back to XML. To me this sounds like a very simple task, but I don't seem to be able find out how to do this. Example: The method execute(MyRequest request) is called from a web service client. I want to be able to save request as XML. Could someone please point me in the right direction or provide the details in a reply. Thanks in advanced! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984550#3984550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984550 From do-not-reply at jboss.com Thu Nov 9 11:26:20 2006 From: do-not-reply at jboss.com (jshrinivas) Date: Thu, 9 Nov 2006 11:26:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - DayTrader benchmark deployment Message-ID: <17350140.1163089580928.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to deploy DayTrader (aka Trade 6 from IBM, now open sourced and hosted on Apache Geronimo website) http://cwiki.apache.org/confluence/display/GMOxDOC10/Day+Trader on JBoss 4.0.5 GA, Sun JDK 1.5 update 9 for x_64, and WebServices: jbossws-1.0.3.SP1. The ear is built using maven and is supposed to be JBoss compatible. I get following error during startup: ERROR [MainDeployer] Could not create deployment: file:/opt/jboss-4.0.5.GA/server/default/tmp/deploy/tmp20510daytrader-ear-optV61-astk-v3noAppClient.ear-contents/web.war org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://daytrader.samples.geronimo.apache.org}>getMarketSummary at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:451) at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200) I tried looking up at forum posts and I got one post which had similar problem http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958608 So it looked like bug/unsupported feature with the WebServices module. I tried building JBoss from source (JBoss 5.0 Beta), that did not worked either. Can someone help with this? Thanks much -Shrinivas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984584#3984584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984584 From do-not-reply at jboss.com Thu Nov 9 12:34:53 2006 From: do-not-reply at jboss.com (tapeshag) Date: Thu, 9 Nov 2006 12:34:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException which generating the WSDL file usin Message-ID: <9262740.1163093693964.JavaMail.jboss@colo-br-02.atl.jboss.com> I found the reason behind the Exception. I was not defining the interface in any package. Looks like it is required. So I added package org.myapp; and it started working. is it a bug in wstools? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984603#3984603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984603 From do-not-reply at jboss.com Thu Nov 9 12:37:30 2006 From: do-not-reply at jboss.com (Zgluteks) Date: Thu, 9 Nov 2006 12:37:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Basic J2EE 1.4 tutorial sample not working. Message-ID: <18451893.1163093850218.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I currently trying to make webservices using the "standard" libraries. Our company make webapps, focusing on customers still using J2EE 1.4 app servers, but of course we'd like our apps to work on EE 1.5 app servers too. Anyway, I just downloaded J2EE 1.4 and the tutorial and did everything described on this page: http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JAXRPC3.html It produces a .war file, that I put on JBoss AS' "deploy" directory. Then I continued the tutorial, trying to make a simple client communicate with the service I deployed. Unfortunatelly it didn't work, with this resulting error: run-client: | [java] Endpoint address = http://localhost:8080/hello-jaxrpc/hello | [java] java.rmi.RemoteException: Runtime exception; nested exception is: | [java] Style de codage inattendu : attendu = http://schemas.xmlsoap.org/soap/encoding/, r?el = | [java] at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:331) | [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:313) | [java] at staticstub.HelloIF_Stub.sayHello(HelloIF_Stub.java:70) | [java] at staticstub.HelloClient.main(Unknown Source) | [java] Caused by: Style de codage inattendu : attendu = http://schemas.xmlsoap.org/soap/encoding/, r?el = | [java] at com.sun.xml.rpc.encoding.SOAPDeserializationContext.verifyEncodingStyle(SOAPDeserializationContext.java:168) | [java] at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:175) | [java] at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:155) | [java] at staticstub.HelloIF_Stub._deserialize_sayHello(HelloIF_Stub.java:118) | [java] at staticstub.HelloIF_Stub._readFirstBodyElement(HelloIF_Stub.java:105) | [java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:228) | [java] ... 2 more What could be the problem? Thank you very much for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984605#3984605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984605 From do-not-reply at jboss.com Thu Nov 9 13:09:31 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Thu, 9 Nov 2006 13:09:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Saving the Web Service Request as XML Message-ID: <22575933.1163095771223.JavaMail.jboss@colo-br-02.atl.jboss.com> If your're talking about saving a copy of the SOAP message on the server, then a Handler would do that for you. You could program your HandleResponse part of the handler to save the incoming message into a xml file. You will need to add the handler declaration to webservices.xml, setting your handler class (extending Handler or GenericHandler) in a separate java class (to be included in the WAR file as well). ..... | | | ServiceHandler | pakage.name.ServiceHandler | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984612#3984612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984612 From do-not-reply at jboss.com Thu Nov 9 14:22:59 2006 From: do-not-reply at jboss.com (zurchman) Date: Thu, 9 Nov 2006 14:22:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jaxrpc interop Message-ID: <2663278.1163100179876.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : This is fixed in jbossws-1.0.3.SP1 Or maybe not. I'm seeing the same behavior with 1.0.3.SP1 Do I have to change jboss-xml-binding.jar with this release? | 2006-11-09 14:02:01,181 DEBUG [org.jboss.ws.server.StandardEndpointServlet] doPost: /jbossws-samples-rpcstyle | 2006-11-09 14:02:01,181 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl at 5579a1 | 2006-11-09 14:02:01,182 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=jbossws-samples-rpcstyle,endpoint=TrivialEndpoint | 2006-11-09 14:02:01,183 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml] | 2006-11-09 14:02:01,185 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: Kermit | 2006-11-09 14:02:01,185 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: Ferrari | 2006-11-09 14:02:01,185 DEBUG [jbossws.SOAPMessage] Incomming SOAPMessage | | | | | | Kermit | Ferrari | | | | | 2006-11-09 14:02:01,186 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: null | 2006-11-09 14:02:01,186 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: null | 2006-11-09 14:02:01,189 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=Endpoint {http://org.jboss.ws/samples/rpcstyle}TrivialServicePort does not contain operation meta data for: purchase,actor=null,detail=null] | 2006-11-09 14:02:01,196 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/samples/rpcstyle}TrivialServicePort does not contain operation meta data for: purchase | at org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984633#3984633 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984633 From do-not-reply at jboss.com Thu Nov 9 15:36:15 2006 From: do-not-reply at jboss.com (malmit) Date: Thu, 9 Nov 2006 15:36:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Saving the Web Service Request as XML Message-ID: <14953482.1163104575795.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks this works! Does anyone know another way to serialize the Java Object to Xml within the web service implementation? I'm not sure if this is even possible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984649#3984649 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984649 From do-not-reply at jboss.com Thu Nov 9 16:58:05 2006 From: do-not-reply at jboss.com (mnsharif) Date: Thu, 9 Nov 2006 16:58:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - tool support for Stub based client programming model Message-ID: <13825317.1163109485243.JavaMail.jboss@colo-br-02.atl.jboss.com> I have successfuly deployed a web service and i can see the WSDL file thru the http://localhost:8080/rpcStyle/SampleService?wsdl URL. But when i went thru the documentation about consuming web services (getting started with jboss4.0, jboss AS guide, jbossWS user guide), the impression that i gathered was that the prefered way to consume web services is by running application client on jboss. But still there are certain scenarios where a client would be a standalone java client. Before trying web services on jboss, i have deployed web services on tomcat using JWSDP and there i used a standalone java client based on stubs generated from published WSDL file to consume the web services. But i cudnt find a single such example (where client stub is generated) in above mentioned jboss docs. So, can somebody provide me a link or simple howTo of client stub generation using jboss specific tools (wstools or whatever)? Secondly, is there any documentation available on wstools ant task? I mean, just a simple doc listing all attributes and their semantics. Thanks for yor time all! PS: I am using the following: jboss-4.0.4.GA jbossws (and not jbossws14 which is default in 4.0.4) JDK 1.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984666#3984666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984666 From do-not-reply at jboss.com Thu Nov 9 17:37:22 2006 From: do-not-reply at jboss.com (rdtully) Date: Thu, 9 Nov 2006 17:37:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBWS-1138 - DOMEnvelopeBuilder misses global namespace d Message-ID: <2743499.1163111842055.JavaMail.jboss@colo-br-02.atl.jboss.com> Has anyone found a solution to this? Since the webservice i integrate with is not under my control there isnt anything i can do about how their namespace declarations are implemented. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984669#3984669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984669 From do-not-reply at jboss.com Thu Nov 9 18:46:06 2006 From: do-not-reply at jboss.com (zarzar) Date: Thu, 9 Nov 2006 18:46:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WS-Security: keystores and truststores Message-ID: <12742177.1163115966269.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using WS-Security to sign and encrypt SOAP messages. I'm signing with the sender's private key and encrypting with the receiver's public key. | | | | | The problem is that JBoss doesn't look for the receiver's cert in the truststore, but in the keystore. My understanding of keystores and truststores is that keystores contain your own private and public keys, while truststores contain public certs of others you trust. So I'm wondering why I've got to put certs of others that I want to send to in my keystore. Is there a way around this? Or does the keystore have to be a duplicate of the truststore plus your own private key? Thanks for any help. Zar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984691#3984691 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984691 From do-not-reply at jboss.com Thu Nov 9 19:00:18 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:00:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jaxrpc interop Message-ID: <9765594.1163116818220.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, the request might be comming from a careless client that misses to namespace qualify the operation name. If is valid, we dont not have provision for an invalid rpc element. What is fixed in SP1 is, that the namespace can also be defined on the envelope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984698#3984698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984698 From do-not-reply at jboss.com Thu Nov 9 19:04:44 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:04:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: deploy two web services (jsr-181) in same war file Message-ID: <26878541.1163117084801.JavaMail.jboss@colo-br-02.atl.jboss.com> If this is an EJB endpoint use @PortComponent If this is an JSE endpoint, specify a differnet in web.xml If this does not work for you, please create a jira issue that is linked to this post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984699#3984699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984699 From do-not-reply at jboss.com Thu Nov 9 19:06:53 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:06:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: getting ip address from webservice Message-ID: <30898170.1163117213961.JavaMail.jboss@colo-br-02.atl.jboss.com> javax.xml.ws.servlet.request should get you at the information you want. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984700#3984700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984700 From do-not-reply at jboss.com Thu Nov 9 19:12:21 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:12:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: hibernate and web services Message-ID: <387609.1163117541985.JavaMail.jboss@colo-br-02.atl.jboss.com> This will be supported in jbossws-2.0.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984703#3984703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984703 From do-not-reply at jboss.com Thu Nov 9 19:13:00 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:13:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: port binding name has Message-ID: <18986574.1163117580264.JavaMail.jboss@colo-br-02.atl.jboss.com> @WebService.portName View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984704#3984704 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984704 From do-not-reply at jboss.com Thu Nov 9 19:16:12 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:16:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Trouble accessing a simple webservice Message-ID: <9916462.1163117772564.JavaMail.jboss@colo-br-02.atl.jboss.com> HTTP GET cannot deliver a valid SOAP payload, because it does not have a payload. All information in in the URL. Use HTTP POST View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984706#3984706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984706 From do-not-reply at jboss.com Thu Nov 9 19:19:23 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:19:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS and .NET client Message-ID: <16207776.1163117963739.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1346 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984707#3984707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984707 From do-not-reply at jboss.com Thu Nov 9 19:22:05 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:22:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: using Enum with Java version 131_08 Message-ID: <3941285.1163118125547.JavaMail.jboss@colo-br-02.atl.jboss.com> Its not supported in jaxrpc either, see the jaxrpc spec on enums View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984708#3984708 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984708 From do-not-reply at jboss.com Thu Nov 9 19:25:06 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:25:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JAX-RPC Enumeration type did not conform to expectations Message-ID: <17876877.1163118306403.JavaMail.jboss@colo-br-02.atl.jboss.com> Read the jaxrpc spec, its referenced from the wiki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984711#3984711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984711 From do-not-reply at jboss.com Thu Nov 9 19:27:09 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 9 Nov 2006 19:27:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossXSErrorHandler: cannot resolve XSD name when loadin Message-ID: <28922496.1163118429372.JavaMail.jboss@colo-br-02.atl.jboss.com> jaxws will be supported by jbossws-2.0.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984717#3984717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984717 From do-not-reply at jboss.com Thu Nov 9 19:47:57 2006 From: do-not-reply at jboss.com (tomsontom) Date: Thu, 9 Nov 2006 19:47:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Newbie needs help to Consume A WebService Message-ID: <18876850.1163119677810.JavaMail.jboss@colo-br-02.atl.jboss.com> I've create a webservice using annotations in jboss-4.0.4.GA using Netbeans 5.5 the webservice deployed without problems on the server and generating the files for the client also worked without problems but now I'm stuck how do I manage to proceed. I have the following files: - META-INF/wsdl/Hello.wsdl - META-INF/wsdl/Hello-config.xml - META-INF/Hello-mapping.xml - META-INF/application-client.xml - META-INF/jboss-client.xml - at/bestsolution/test/Hello interface - at/bestsolution/test/HelloService interface - at/bestsolution/test/Hello_Impl class How do I now manage to communicate with my webservice? I read the various tutorials on http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWS but configuring using JNDI doesn't seem to work like it showed all over there. Any help would be greatly appreciated. A short sample about the client code would really help me out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984732#3984732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984732 From do-not-reply at jboss.com Thu Nov 9 21:22:39 2006 From: do-not-reply at jboss.com (mvitale) Date: Thu, 9 Nov 2006 21:22:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Axis problems on jboss 4.0.1sp1 Message-ID: <2101693.1163125359522.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi folks. I'm trying to deploy the Apache Axis jars into JBoss 4.0.1sp1 on HP/UX, and I'm running into a few issues. I'm trying to have my JBoss server interact with a SOAP Server at Melissa Data corporation (an Address Validation service.) It shouldn't matter, but in the interest of full information...They're running IIS at MD, and their SOAP server is written in .NET. My code is, obviously, Java. First, the error that I'm receiving in the server logs is: 16:33:30,713 ERROR [Engine] StandardWrapperValve[action]: Servlet.service() for servlet action threw exception java.lang.NoSuchMethodError: org.apache.axis.description.TypeDesc.(Ljava/lang/Class;Z)V I have removed the jboss-ws4ee.sar directory from the $JBOSS_HOME/server/default/deploy directory. I have followed Vishal's instructions noted in http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866172#3866172 Neither of the above seem to help. I have deployed the Apache Axis version 1.4 JARs inside my war file. For various reasons, we are unable to upgrade JBoss past version 4.0.1sp1 at this time. If anyone has any ideas about something that might help me out, I'm very interested in hearing them. Thanks, Mike Vitale View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984788#3984788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984788 From do-not-reply at jboss.com Fri Nov 10 03:33:37 2006 From: do-not-reply at jboss.com (dma_k) Date: Fri, 10 Nov 2006 03:33:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossXSErrorHandler: cannot resolve XSD name when loadin Message-ID: <6850080.1163147617871.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you very much for the reply. I've found the relative information in http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93758 and http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93381. By the way, is it possible to download the nightly build of JBoss-WS (pre-2.0) to try (of course, without any guarantee, it will work)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984818#3984818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984818 From do-not-reply at jboss.com Fri Nov 10 04:03:19 2006 From: do-not-reply at jboss.com (ge0ffrey) Date: Fri, 10 Nov 2006 04:03:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - How do I disable HTTP chunking? Message-ID: <9218166.1163149399847.JavaMail.jboss@colo-br-02.atl.jboss.com> How do I disable HTTP chunking for my EJB3 webservices? I am using @WebMethod etc. I need to disable HTTP chunking because my J2ME client (the wireless toolkit) can't handle chunking yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984823#3984823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984823 From do-not-reply at jboss.com Fri Nov 10 06:05:43 2006 From: do-not-reply at jboss.com (alesj) Date: Fri, 10 Nov 2006 06:05:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS basic auth only for post requests Message-ID: <2197723.1163156743612.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a way to currently get a BASIC auth secured .wsdl with JBossWS? | WSDLDefinitionsFactory | | private Document getDocument(URL wsdlLocation) throws WSDLException | { | try | { | InputStream wsdlInputStream = wsdlLocation.openStream(); | try | { | DocumentBuilder builder = DOMUtils.getDocumentBuilder(); | return builder.parse(wsdlInputStream); | } | finally | { | wsdlInputStream.close(); | } | } | catch (ConnectException ex) | { | throw new WSDLException("Cannot connect to: " + wsdlLocation); | } | catch (Exception ex) | { | throw new WSDLException("Cannot parse wsdlLocation: " + wsdlLocation, ex); | } | } | This is probably the code that fetches .wsdl? How to push username / password in? Should be using something like this then: | if(!wsdlurl.getProtocol().startsWith("http")) | return new InputSource(uri); | java.net.URLConnection connection = wsdlurl.openConnection(); | if(!(connection instanceof HttpURLConnection)) | return new InputSource(uri); | HttpURLConnection uconn = (HttpURLConnection)connection; | String userinfo = wsdlurl.getUserInfo(); | uconn.setRequestMethod("GET"); | uconn.setAllowUserInteraction(false); | uconn.setDefaultUseCaches(false); | uconn.setDoInput(true); | uconn.setDoOutput(false); | uconn.setInstanceFollowRedirects(true); | uconn.setUseCaches(false); | String auth = null; | if(userinfo != null) | auth = userinfo; | else | if(username != null) | auth = password != null ? username + ":" + password : username; | if(auth != null) | uconn.setRequestProperty("Authorization", "Basic " + base64encode(auth.getBytes("ISO-8859-1"))); | uconn.connect(); | return new InputSource(uconn.getInputStream()); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984851#3984851 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984851 From do-not-reply at jboss.com Fri Nov 10 07:33:09 2006 From: do-not-reply at jboss.com (Smilidon) Date: Fri, 10 Nov 2006 07:33:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Newbie needs help to Consume A WebService Message-ID: <24063871.1163161989612.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, i try this one http://www.sappenin.com/softwareblog/index.php/jboss-tutorials/jboss-404ga-jbossws-tutorial/ greetings View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984863#3984863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984863 From do-not-reply at jboss.com Fri Nov 10 07:59:22 2006 From: do-not-reply at jboss.com (croisfert) Date: Fri, 10 Nov 2006 07:59:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - how to application-client.xml e jboss-client.xml for sessio Message-ID: <32875220.1163163562362.JavaMail.jboss@colo-br-02.atl.jboss.com> I am working with jboss-4.0.5.GA (jems-installer-1.2.0.BETA3) and self contained jbossws (jbossws-1.0.3.GA), i am trying to develop an enterprise stateless session bean(2.x) as a client for a public webservice on an internet. I have created a standalone client (simple java class with main method not deployed in jboss) and it work fine. The session bean client not work, it not bound the service JNDI handler the error is "javax.servlet.ServletException: jbossws-client not bound " Im using application-client.xml and jboss-client.xml in META-INF dir of bean jar to configure the webservice jndi handler but this method not work. In the log file the web service are not binded. If i write the ... directly in the ejb-jar.xml and and not use application-client.xml, in the log file i look "2006-11-10 12:49:19,625 DEBUG [org.jboss.ws.metadata.wsdl.WSDL11DefinitionFactory] parse: jar:file:/C:/jboss-4.0.5.GA/server/default/tmp/deploy/tmp21284wsclients.ear-contents/wsclients-ejb.jar!/META-INF/wsdl/HyperlinkExtractor.wsdl 2006-11-10 12:49:20,234 DEBUG [org.jboss.ws.integration.jboss.WebServiceClientDeployer] Webservice binding: java:comp/env/service/HyperlinkExtractor" Use of application-client.xml and jboss-client.xml are not implemented? Why dont work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984867#3984867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984867 From do-not-reply at jboss.com Fri Nov 10 08:43:26 2006 From: do-not-reply at jboss.com (alesj) Date: Fri, 10 Nov 2006 08:43:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Call properties Message-ID: <14434056.1163166206783.JavaMail.jboss@colo-br-02.atl.jboss.com> Regarding (basic) authentication from annotated web client (@WebServiceClient) I added the following code: | JSR181ClientMetaDataBuilder.rebuildEndpointMetaData | | // Process @CallProperties | if (wsClass.isAnnotationPresent(CallProperties.class)) | processCallProperties(epMetaData, wsClass); | | JSR181MetaDataBuilder | | protected void processCallProperties(EndpointMetaData epMetaData, Class wsClass) | { | CallProperties callProperties = (CallProperties) wsClass.getAnnotation(CallProperties.class); | | int length = callProperties.keys().length; | if (length > 0) | { | Properties properties = epMetaData.getProperties(); | if (properties == null) | { | epMetaData.setProperties(new Properties()); | } | } | | if (length != callProperties.values().length) | { | throw new IllegalArgumentException("Different lenght of call properties: keys != values"); | } | | for(int i = 0; i < length; i++) | { | epMetaData.getProperties().setProperty(callProperties.keys(), callProperties.values()); | } | } | So that when we do SOAPConnectionImpl.getRemotingMetaData we actually get username / password call properties. Example: | @WebService | @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) | @CallProperties( | keys = {"javax.xml.rpc.security.auth.username", "javax.xml.rpc.security.auth.password"}, | values = {"tomcat", "tomcat"} | ) | public interface AccountService { | | @WebMethod | @WebResult(name = "createAccountReturn") | Account createAccount(String username); | | @WebMethod | @Oneway | void insertAccount(Account account); | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984878#3984878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984878 From do-not-reply at jboss.com Fri Nov 10 14:34:08 2006 From: do-not-reply at jboss.com (dsteinbrunn) Date: Fri, 10 Nov 2006 14:34:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - getInitParameter Message-ID: <8249772.1163187248099.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm running jbossws in standalone tomcat, version 5.5.20. I have an endpoint that extends ServiceLifecycle. I can see from my logs that init is being called and I have access to ServletEndpointContext. I have a configuration parameter I'm storing in my web.xml for the web service: | | MyServiceEndpoint | org.service.MyServiceEndpoint | | foo | bar | | | I try to access this in MyServiceEndpoint: | String paramValue = this.getEndpointContext().getServletContext().getInitParameter(foo); | but I get nothing. I noticed that when my service is deployed another initparam is added called ServiceEndpointImpl, which is set to the name of my SEI. I also cannot access this value from within my service. Has anyone else encountered this issue? It's weird that I'm not seeing any of the init-params, not just the ones I added. Thanks in advance for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985013#3985013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985013 From do-not-reply at jboss.com Sat Nov 11 08:56:47 2006 From: do-not-reply at jboss.com (mnsharif) Date: Sat, 11 Nov 2006 08:56:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - deployment exception for document based webservice Message-ID: <1451831.1163253407289.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all! I am using a document style web service (starting from WSDL) and i have complex data types defined in the WSDL. My WSDL file is as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am using this WSDL file to generate service endpoint interface through wscompile tool provided by JWSDP1.6. The webservices.xml file (hand coded) is as follows: | | Gasherbrum | WEB-INF/wsdl/Gasherbrum.wsdl | WEB-INF/jaxrpc-mapping.xml | | TransmulatorInterfacePort | impl:TransmulatorInterfacePort | bla.bla.wsTry.TransmulatorInterface | | path1Name | | | | | Now, when i package and deploy this on my jboss installation (4.0.4 with jbossws), i get the following deployment exception: 16:41:13,233 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://www.w3.org/2001/XMLSchema}string | 16:41:13,233 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.0.4.GA/server/default/deploy/fwExperimenting.war | java.lang.NullPointerException | at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:580) | at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200) | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:223) | at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:78) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) | at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:74) | 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 $Proxy31.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | | and i am going crazy in figuring out what is wrong here. I am using the same WSDL file with tomcat+JWSDP and everything is working fine. Please somebody point out what mistake i am doing here. It would really be a great help for me mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985135#3985135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985135 From do-not-reply at jboss.com Sat Nov 11 12:45:37 2006 From: do-not-reply at jboss.com (tapeshag) Date: Sat, 11 Nov 2006 12:45:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem using .NET Compact Framework Client Message-ID: <16500717.1163267137898.JavaMail.jboss@colo-br-02.atl.jboss.com> I am also facing the similar problem. The generate file 'Reference.cs' doesnt get compiled as it gives compilation error ''System.Xml.Serialization.XmlElementAttribute' does not contain a definition for 'Form'' When I comment all the 'Form' in the file, it gets compiled but web service doesnt work. The server crips for out of sequence error. Just wanted to know if this is resolved in .net compact framework 2.0 version. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985154#3985154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985154 From do-not-reply at jboss.com Sat Nov 11 14:13:03 2006 From: do-not-reply at jboss.com (mnsharif) Date: Sat, 11 Nov 2006 14:13:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Exception while deploying a webservice with attachment (star Message-ID: <28062935.1163272383248.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi All I am trying to create a webservice that can receive an attachment alongwith a few other parameters. I am starting from a WSDL file and i am specifying attachments using mime content element as shown in the code below: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This WSDL generates SEI without any problems and get deploed easily on tomcat using JWSDP1.6, but when i tried the same WSDL file and tried to generate SEI through wscmopile and tried to deploy on JBoss, i get the following deployment exception: 22:11:09,354 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://www.w3.org/2001/XMLSchema}string | 22:11:09,354 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.0.4.GA/server/default/deploy/alhamd.war | org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: {http://www.w3.org/2001/XMLSchema}string | at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:513) | at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200) | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:223) | at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:78) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) | at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.java:74) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.jav | a: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 $Proxy31.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | 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:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:26 | 3) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | I cant seem to figure out what the problem is! Is it that attachments are not supported in JBoss (i am using 4.0.4 with jbossws as add-on)?? or are they not supported when starting from WSDL file? Or am i ignoring something here? Any clues in this regard would be highly appreciated. Regards, mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985159#3985159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985159 From do-not-reply at jboss.com Sat Nov 11 20:26:06 2006 From: do-not-reply at jboss.com (bgrieder) Date: Sat, 11 Nov 2006 20:26:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Mixed SOAP parameter styles not supported - migrating from 4 Message-ID: <11170769.1163294766107.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am getting the following error when deploying webservices (that deploy in 4.0.2) to 4.0.5 anonymous wrote : | org.jboss.ws.WSException: Mixed SOAP parameter styles not supported | org.jboss.ws.metadata.EndpointMetaData.setParameterStyle(EndpointMetaData.java:224) | org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:500) | org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200) | org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:223) | org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:85) | org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) | org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) | The webservices are of the document/literal type. The error seems to be linked to the wsdl file but I cannot see any significant difference with various exmpales I have found. Could you please point me to what could be the possible cause of such an error? Thanks and Regards Bruno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985170#3985170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985170 From do-not-reply at jboss.com Sat Nov 11 23:09:17 2006 From: do-not-reply at jboss.com (swamini2) Date: Sat, 11 Nov 2006 23:09:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossXBException: Failed to parse source Message-ID: <26285306.1163304557507.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBossAS4.0.5 with JBossWS1.0.3. I have followed JBossWS user guide to developed a JSR181 based web service. I started with WSDL and generated Java interface using wstools.sh. After implementing the interface, I packaged the jaxrpc-mapping.xml, application-client.xml, jboss-client.xml, web.xml, WSDL file and compiled classes into a WAR file. The deployment went fine and JBoss 4.0.5 server starts fine. I can access my webservice using a browser. However when I access it using a Java client, I get following error: Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Not supported xsdType: anyType, hashCode=-842881210 at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars er.java:156) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java :126) at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshall erImpl.java:63) ... 32 more Caused by: java.lang.IllegalStateException: Not supported xsdType: anyType, hash Code=-842881210 at org.jboss.xb.binding.SimpleTypeBindings.unmarshal(SimpleTypeBindings. java:940) at org.jboss.xb.binding.sunday.unmarshalling.CharactersHandler.unmarshal (CharactersHandler.java:111) at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHa ndler.unmarshal(RtCharactersHandler.java:64) at org.jboss.xb.binding.sunday.unmarshalling.CharactersHandler.unmarshal (CharactersHandler.java:116) at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHa ndler.unmarshal(RtCharactersHandler.java:64) at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endEle ment(SundayContentHandler.java:599) > more clipboard.txt Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Not su pported xsdType: anyType, hashCode=-842881210 at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars er.java:156) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java :126) at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshall erImpl.java:63) ... 32 more Caused by: java.lang.IllegalStateException: Not supported xsdType: anyType, hash Code=-842881210 at org.jboss.xb.binding.SimpleTypeBindings.unmarshal(SimpleTypeBindings. java:940) at org.jboss.xb.binding.sunday.unmarshalling.CharactersHandler.unmarshal (CharactersHandler.java:111) at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHa ndler.unmarshal(RtCharactersHandler.java:64) at org.jboss.xb.binding.sunday.unmarshalling.CharactersHandler.unmarshal (CharactersHandler.java:116) at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtCharactersHa ndler.unmarshal(RtCharactersHandler.java:64) at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endEle ment(SundayContentHandler.java:599) at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.endEle ment(SundayContentHandler.java:133) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan dler.endElement(SaxJBossXBParser.java:273) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow n Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known 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 Sour ce) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars er.java:152) ... 34 more It looks like some schema has xsd:anyType in it. However neither WSDL nor any imported schema has anyType in it. Please help understand why this error is coming. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985182#3985182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985182 From do-not-reply at jboss.com Sun Nov 12 02:07:27 2006 From: do-not-reply at jboss.com (swamini2) Date: Sun, 12 Nov 2006 02:07:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - bean-deployer:2.0: deployment is not bound as a global eleme Message-ID: <25101795.1163315247746.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss-4.0.5 with JBossWS-2.0.0-CR1 and getting following exception while server startup: Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/space/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jbossws.beans/META-I NF/jboss-beans.xml at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars er.java:125) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java :106) at org.jboss.deployment.SchemaBindingSimpleSubDeployerSupport.parseMetaD ata(SchemaBindingSimpleSubDeployerSupport.java:51) ... 71 more Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Element {urn:jboss:bean-deployer:2.0}deployment is not bound as a global element. at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startE lement(SundayContentHandler.java:436) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHan dler.startElement(SaxJBossXBParser.java:269) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour ce) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn own Source) I looked into jboss-beans.xml and could not find anything wrong. Please help to get this issue resolved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985186#3985186 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985186 From do-not-reply at jboss.com Sun Nov 12 02:27:55 2006 From: do-not-reply at jboss.com (mnsharif) Date: Sun, 12 Nov 2006 02:27:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - anyone from JBoss' working group?? Message-ID: <13361655.1163316475218.JavaMail.jboss@colo-br-02.atl.jboss.com> "mnsharif" wrote : | Is it that attachments are not supported in JBoss (i am using 4.0.4 with jbossws as add-on)?? or are they not supported when starting from WSDL file? Or am i ignoring something here? | Can anyone from JBoss itself answer these question if a certain thing is possible or not under the current jboss release! Thanks a lot! mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985187#3985187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985187 From do-not-reply at jboss.com Sun Nov 12 08:18:18 2006 From: do-not-reply at jboss.com (maeste) Date: Sun, 12 Nov 2006 08:18:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: How do I disable HTTP chunking? Message-ID: <5096496.1163337498610.JavaMail.jboss@colo-br-02.atl.jboss.com> You have to disable it client side setting Connection=close in http header. | HttpURLConnection conn = (HttpURLConnection)endpoint.openConnection(); | [...] | conn.setRequestProperty("Connection","close"); | [...] | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985194#3985194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985194 From do-not-reply at jboss.com Sun Nov 12 11:22:39 2006 From: do-not-reply at jboss.com (mnsharif) Date: Sun, 12 Nov 2006 11:22:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wscompile - Restricted base='xsd:string' mapping issue Message-ID: <25017428.1163348559249.JavaMail.jboss@colo-br-02.atl.jboss.com> The bug id pointed by thomas (JBWS-810) refrences JBWS-710 which is listed as to be fixed in jboss4.0.4GA. But, i am still getting this error. Has anyone got a clue whats the status of this? Has it been fixed or not? mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985245#3985245 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985245 From do-not-reply at jboss.com Sun Nov 12 12:11:14 2006 From: do-not-reply at jboss.com (mnsharif) Date: Sun, 12 Nov 2006 12:11:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Possible JBoss SwA Bug Message-ID: <2384385.1163351474610.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Tim! I am also facing a similar problem when deploying a document/literal webservice with attachment (starting from WSDL). In my case the attachment happens to be text/plain, so my message declaration is as follows: | | | which generates a similar exception as yours: 19:41:55,192 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://www.w3.org/2001/XMLSchema}string | 19:41:55,192 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.0.4.GA/server/default/deploy/alhamd.war | org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: {http://www.w3.org/2001/XMLSchema}string Does this warning, before deployment commences, suggest something? regards, mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985251#3985251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985251 From do-not-reply at jboss.com Sun Nov 12 12:14:12 2006 From: do-not-reply at jboss.com (mnsharif) Date: Sun, 12 Nov 2006 12:14:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Possible JBoss SwA Bug Message-ID: <19108596.1163351652435.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all! In document/literal web services, wscompile (from JWSDP1.6) generally gives error when WSDL has something like ... but wstools stays silent and generates SEI/mappingFile successfully when using a similar construct (shown below) for specifying type for an element defined in | | | Are we doing anything wrong here? Any pointer would be appreciated. mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985253#3985253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985253 From do-not-reply at jboss.com Sun Nov 12 17:15:46 2006 From: do-not-reply at jboss.com (zarzar) Date: Sun, 12 Nov 2006 17:15:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wscompile - Restricted base='xsd:string' mapping issue Message-ID: <14827870.1163369746185.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm also having the same simple type restriction problem on jboss-4.0.5.GA with code generated by wstools on a doc/literal wsdl. I found an article on the wiki on annotations. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossXB_JBXBAnnotations The "jbxb:value" section shows how to specify you own marshalling and unmarshalling code. But I'm not sure if this is implemented yet. It didn't work for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985281#3985281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985281 From do-not-reply at jboss.com Mon Nov 13 04:20:06 2006 From: do-not-reply at jboss.com (alesj) Date: Mon, 13 Nov 2006 04:20:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: bean-deployer:2.0: deployment is not bound as a global e Message-ID: <7385342.1163409606622.JavaMail.jboss@colo-br-02.atl.jboss.com> Do you have jboss-bean.deployer up to version 2.0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985345#3985345 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985345 From do-not-reply at jboss.com Mon Nov 13 05:26:28 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Mon, 13 Nov 2006 05:26:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <23110498.1163413588940.JavaMail.jboss@colo-br-02.atl.jboss.com> To deal with attachments within JBoss WS, you will need the the following files: jax-mapping.xml (maps values to the wsdl) webservices.xml web.xml your_wsdl_file.wsdl your_class_files.class The first three can be generated by wstools, altough from my personal experience, some manual tweaking is necessary. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985360#3985360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985360 From do-not-reply at jboss.com Mon Nov 13 05:28:13 2006 From: do-not-reply at jboss.com (alesj) Date: Mon, 13 Nov 2006 05:28:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Array JAXB binding Message-ID: <9743237.1163413693679.JavaMail.jboss@colo-br-02.atl.jboss.com> How to bind the following object array? My class: | @XmlRootElement(namespace = "www.geoplin.si/Gms") | public class GMSWebSoapServerHistory implements Serializable { | | private HistoryObject[] collection; | private Period period; | private String mestoMeritve; | private String vrstaMeritve; | | @XmlElementWrapper | @XmlElement(namespace = "www.geoplin.si/Gms") | public HistoryObject[] getCollection() { | return collection; | } | | public void setCollection(HistoryObject[] collection) { | this.collection = collection; | } | | @XmlElement(namespace="www.geoplin.si/Gms") | public Period getPeriod() { | return period; | } | | public void setPeriod(Period period) { | this.period = period; | } | | @XmlElement(namespace="www.geoplin.si/Gms") | public String getMestoMeritve() { | return mestoMeritve; | } | | public void setMestoMeritve(String mestoMeritve) { | this.mestoMeritve = mestoMeritve; | } | | @XmlElement(namespace="www.geoplin.si/Gms") | public String getVrstaMeritve() { | return vrstaMeritve; | } | | public void setVrstaMeritve(String vrstaMeritve) { | this.vrstaMeritve = vrstaMeritve; | } | | } | And the coresponding XML (WS return): | | | | | | | | 1939.999872 | 2006-11-12T11:00:00.000Z | | | 1899.999872 | 2006-11-12T12:00:00.000Z | | | alokacije | | 2006-11-13T10:20:00.984Z | 2006-11-12T10:20:00.984Z | | Q-P123 | | | | | All other fields are binded ok, but I get a null on HistoryObject array. Any annotation that I should use / overlooked? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985362#3985362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985362 From do-not-reply at jboss.com Mon Nov 13 05:31:34 2006 From: do-not-reply at jboss.com (alesj) Date: Mon, 13 Nov 2006 05:31:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: anyone from JBoss' working group?? Message-ID: <20056570.1163413894722.JavaMail.jboss@colo-br-02.atl.jboss.com> "mnsharif" wrote : Can anyone from JBoss itself answer these question if a certain thing is possible or not under the current jboss release! | This kind of attitude will get you nowhere. It's all open source - look it up yourself - if it is possible to do certain things. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985366#3985366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985366 From do-not-reply at jboss.com Mon Nov 13 05:45:09 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Mon, 13 Nov 2006 05:45:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <14911555.1163414709260.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, after all this time I've did the following test: Build and deployed jbossws-samples-swa.war from jbossws/samples to my JBoss Server. Then I used AttachmentSAAJTestCase.java, again from jbossws/samples removing the Junit part, and it FAILED again with the same message: multipart/related type specified a root type other than the one that was found. I'm feeling that something is wrong here, but I cannot accert to what it is? Is it my SAAJ libraries, is it Jboss SAAJ implementation? Heikko, Diesler, could you please share some insight into this? It would be much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985372#3985372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985372 From do-not-reply at jboss.com Mon Nov 13 05:57:36 2006 From: do-not-reply at jboss.com (xavaa) Date: Mon, 13 Nov 2006 05:57:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Date of release of Jbossws 1.0.4 Message-ID: <13470572.1163415456812.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I would like to know the date of release of Jbossws 1.0.4. In the road map, the 31th of october 2006 was planned. As I do not find any announce or link for download, I supposed this version is not available yet. Regards. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985376#3985376 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985376 From do-not-reply at jboss.com Mon Nov 13 06:01:11 2006 From: do-not-reply at jboss.com (alesj) Date: Mon, 13 Nov 2006 06:01:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Date of release of Jbossws 1.0.4 Message-ID: <25236720.1163415671155.JavaMail.jboss@colo-br-02.atl.jboss.com> You can build it yourself. Follow the guidline: - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstallJBoss40xEJB3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985378#3985378 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985378 From do-not-reply at jboss.com Mon Nov 13 07:32:15 2006 From: do-not-reply at jboss.com (xavaa) Date: Mon, 13 Nov 2006 07:32:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Date of release of Jbossws 1.0.4 Message-ID: <28953844.1163421135736.JavaMail.jboss@colo-br-02.atl.jboss.com> Good idea, but the Jbossws project is not tagged with the wanted version tag ie 1.0.4 as I saw in fisheye... I guess that the version has not been released. When it wil be relaeased, Will Jbossws 1.0.4 be available in donwload section or will we have to download source and build it ourselves ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985406#3985406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985406 From do-not-reply at jboss.com Mon Nov 13 07:53:14 2006 From: do-not-reply at jboss.com (alesj) Date: Mon, 13 Nov 2006 07:53:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Date of release of Jbossws 1.0.4 Message-ID: <4920640.1163422394550.JavaMail.jboss@colo-br-02.atl.jboss.com> >> Will Jbossws 1.0.4 be available in donwload section or will we have to download source and build it ourselves ? Like all versions - it probably will be available as a simple download. I just mentioned 'build it yourself' as a last resort - since all release dates for open source stuff is changeable. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985410#3985410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985410 From do-not-reply at jboss.com Mon Nov 13 08:33:09 2006 From: do-not-reply at jboss.com (yperey) Date: Mon, 13 Nov 2006 08:33:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WS4EEDOCClientStepByStep problem Message-ID: <7547997.1163424789472.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I've followed the tutorial but I still have some problem during server launch. anonymous wrote : 12:55:45,711 WARN [MainDeployer] Found non-jar deployer for ./lib/ws_client.jar: org.jboss.deployment.Client | Deployer at 8deb8a and when I try to acces the remote web service I've got a ws4ee client not bound exception. The jar I'm trying to deploy (ws_client.jar) contains: anonymous wrote : meta-inf/application-client.xml | meta-inf/Index.list | meta-inf/jaxrpc-mapping-client.xml | meta-inf/jboss-client.xml | meta-inf/Manifest.mf | meta-inf/wsdl/PutIntoTargetSystems.wsdl | com/ws/client/LHUB_PutIntoTargetSystems_PortType.class | com/ws/client/LHUB_PutIntoTargetSystems_Service.class | com/ws/client/LHUB_PutIntoTargetSystems_Consumer.class | com/ws/client/LHUB_PutIntoTargetSystemsProcessRequest.class | com/ws/client/LHUB_PutIntoTargetSystemsProcessResponse.class where application-client.xml contains: | | PutIntoTargetSystems client app | | service/LHUB_PutIntoTargetSystems_Service | com.ws.client.LHUB_PutIntoTargetSystems_Service | META-INF/wsdl/PutIntoTargetSystems.wsdl | META-INF/jaxrpc-mapping-client.xml | | and jboss-client.xml contains: | | | ws4ee-client | | can anyone help me ? please. I'm using JBoss 4.0.2 and jdk 1.4.2_12 thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985421#3985421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985421 From do-not-reply at jboss.com Mon Nov 13 09:02:47 2006 From: do-not-reply at jboss.com (alesj) Date: Mon, 13 Nov 2006 09:02:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Array JAXB binding Message-ID: <32513789.1163426567185.JavaMail.jboss@colo-br-02.atl.jboss.com> "alesj" wrote : How to bind the following object array? | | My class: | | | | @XmlRootElement(namespace = "www.geoplin.si/Gms") | | public class GMSWebSoapServerHistory implements Serializable { | | | | private HistoryObject[] collection; | | private Period period; | | private String mestoMeritve; | | private String vrstaMeritve; | | | | @XmlElementWrapper | | @XmlElement(namespace = "www.geoplin.si/Gms") | | public HistoryObject[] getCollection() { | | return collection; | | } | | | | Missing anonymous wrote : | @XmlElementWrapper(name = "collection", namespace = "www.geoplin.si/Gms") | @XmlElement(name = "HistoryObject", namespace = "www.geoplin.si/Gms") | public HistoryObject[] getCollection() { | return collection; | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985430#3985430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985430 From do-not-reply at jboss.com Mon Nov 13 10:48:11 2006 From: do-not-reply at jboss.com (sursha) Date: Mon, 13 Nov 2006 10:48:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Get remote client IP address in the ejb3 exposed web ser Message-ID: <30589268.1163432891922.JavaMail.jboss@colo-br-02.atl.jboss.com> Any one? I saw some reponses saying to write a handler. But that requires deployment descriptors like webservices.xml to be packaged right? I was thinking in ejb3 web service, you can not package deployment descriptors. Please advise.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985480#3985480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985480 From do-not-reply at jboss.com Mon Nov 13 11:19:29 2006 From: do-not-reply at jboss.com (yperey) Date: Mon, 13 Nov 2006 11:19:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS4EEDOCClientStepByStep problem Message-ID: <18776478.1163434769496.JavaMail.jboss@colo-br-02.atl.jboss.com> I've solve the warning about the non-jar deployer. It was a error in a class path. I now have no error message during the launch of the app server but i still have the w4ee-client not bound problem when i try to reach the web service. The jar I was describing in my first post is included in a more complete ear file containing a lot of other jars and ejbs... Please, I've no ideas whats going wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985498#3985498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985498 From do-not-reply at jboss.com Mon Nov 13 12:54:33 2006 From: do-not-reply at jboss.com (jshrinivas) Date: Mon, 13 Nov 2006 12:54:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Bug/Missing feature in JBossWS build.xml Message-ID: <32567072.1163440473637.JavaMail.jboss@colo-br-02.atl.jboss.com> Instructions on http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall have a step for svn checkout for JBossWS src. The "main" ant target depends on thirdparty jars and the build.xml doesnt looks like taking care of proxy.host and proxy.port properties. How can one use proxy settings for thirdparty.get to work? Thanks, -Shrinivas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985549#3985549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985549 From do-not-reply at jboss.com Mon Nov 13 13:02:06 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Mon, 13 Nov 2006 13:02:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Bug/Missing feature in JBossWS build.xml Message-ID: <11870914.1163440926277.JavaMail.jboss@colo-br-02.atl.jboss.com> Add these bellow your Replace with appropriate settings View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985553#3985553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985553 From do-not-reply at jboss.com Mon Nov 13 13:03:40 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Mon, 13 Nov 2006 13:03:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Bug/Missing feature in JBossWS build.xml Message-ID: <18575979.1163441020980.JavaMail.jboss@colo-br-02.atl.jboss.com> Forgot to say, in build.xml of course ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985555#3985555 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985555 From do-not-reply at jboss.com Mon Nov 13 13:14:01 2006 From: do-not-reply at jboss.com (jshrinivas) Date: Mon, 13 Nov 2006 13:14:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Bug/Missing feature in JBossWS build.xml Message-ID: <22882233.1163441641472.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you Romeu for your quick reply. It works. -Shrinivas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985561#3985561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985561 From do-not-reply at jboss.com Mon Nov 13 13:32:39 2006 From: do-not-reply at jboss.com (kristof.taveirne) Date: Mon, 13 Nov 2006 13:32:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Encryption and Signature from .Net client Message-ID: <29787988.1163442759585.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm in urgent need of some help. I'm having the biggest problems in the world creating just a simple HelloWorld webservice. I've seen every possible exception and I've tried every possible configuration. The only conclusion I can take at the moment is that ws-security in JBoss is completely not interoperable with .Net clients using WSE 3.0. I'm afraid that I don't get this fixed I'm gonna have to transfer our complete system to another application server or throw the complete ws-security stack of jboss overboard and implement the security handler myself from scratch tailored to what the .Net client is sending out. What I'm trying to do is realy simple I'm looking for a way to do ws-encryption of the data being transfered and have somekind of authentication on the server. I need to know who send me the data, and I want it encrypted over the wire. I'm not gonna post here all the things I've tried over the last few weeks because this mail would be way to long. My question is simple: Has anyone on this globe ever done this before? And how did he do it? Thanks alot! Kristof. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985567#3985567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985567 From do-not-reply at jboss.com Mon Nov 13 16:01:51 2006 From: do-not-reply at jboss.com (maeste) Date: Mon, 13 Nov 2006 16:01:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Tcp Monitor like tool for jboss Message-ID: <26725384.1163451711896.JavaMail.jboss@colo-br-02.atl.jboss.com> We (me and Alessio, palin on this forum) have just released Lms. What is Lms? Lms is an acronym for Logging Meta Service; Lms' goal and use are very similar to the axis' tcp monitor ones: it logs any tcp communication and gives developers the opportunity to review any request-response communications. Lms is a JBoss deployable application (an ear) and have a jmx mbean as application core and a seam user interface to make its use easy. If you are interested in a deeper description with screenshots or in download binary and source code take a look here: http://www.javalinux.it/blogs/index.php?title=lms_released&more=1&c=1&tb=1&pb=1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985613#3985613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985613 From do-not-reply at jboss.com Mon Nov 13 17:53:59 2006 From: do-not-reply at jboss.com (kevglass) Date: Mon, 13 Nov 2006 17:53:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: schema import fails for relative schemaLocation Message-ID: <24283604.1163458439784.JavaMail.jboss@colo-br-02.atl.jboss.com> Has this been raised as a bug as yet? Kev View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985636#3985636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985636 From do-not-reply at jboss.com Mon Nov 13 20:47:33 2006 From: do-not-reply at jboss.com (jgilbert) Date: Mon, 13 Nov 2006 20:47:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Reliable Messaging Message-ID: <1043454.1163468853763.JavaMail.jboss@colo-br-02.atl.jboss.com> Is anyone aware of a good example for this scenario? I want to make an asynchronous call to a @Oneway operation in a fire and forget fashion. All the examples I have found for WS-RM seem to be focused on conversational sessions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985669#3985669 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985669 From do-not-reply at jboss.com Mon Nov 13 21:10:31 2006 From: do-not-reply at jboss.com (swamini2) Date: Mon, 13 Nov 2006 21:10:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSDL modified after deployment Message-ID: <15161961.1163470231095.JavaMail.jboss@colo-br-02.atl.jboss.com> I have deployed a web services WAR file into JBoss 4.0.5. After deployment when I checked the WSDL (http://localhost:8080/myservice?wsdl), found that JBoss server has modified it and added an import statement in it: How can I prevent this import? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985676#3985676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985676 From do-not-reply at jboss.com Mon Nov 13 21:13:41 2006 From: do-not-reply at jboss.com (swamini2) Date: Mon, 13 Nov 2006 21:13:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL modified after deployment Message-ID: <19931757.1163470421928.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, looks like earlier post did not show the import statement I pasted from WSDL. Here is what I wanted to mention import namespace="http://www.w3.org/2001/XMLSchema" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985677#3985677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985677 From do-not-reply at jboss.com Tue Nov 14 08:46:32 2006 From: do-not-reply at jboss.com (vbatista) Date: Tue, 14 Nov 2006 08:46:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - base64Binary: jbossws client serialize problem Message-ID: <5191862.1163511992402.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I am using JBoss 4.0.4 with jbossws 1.0.3GA. I am developing a WS DII client which talks with a third party Web Service. I am having problems serializing one field which is specified as "base64Binary" on the WSDL: The "data" field should be sent as a Base64 String. Although, the Request SOAP message has the following data: -1 -40 -1 -32 ...... image/jpeg false I have implemented a client using jboss.net (org.jboss.axis...) and I have the same problem. I have implemented a standalone client using axis (org.apache.axis...) and I can call the Web Service correctly. The Request SOAP message contains: < data> < data>j/4AAQSkZ..... < mimeType>image/gif < URL xsi:nil="true"/> < removeOnUpdate>false < /data> In this case, the "data" field is correctly encoded as a Base64 String. Am i missing any configuration with jbossws? What must I do to have the correct behavior? Any help would really be appreciated. Thanks in advance, Victor Batista View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985777#3985777 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985777 From do-not-reply at jboss.com Tue Nov 14 09:15:05 2006 From: do-not-reply at jboss.com (mnsharif) Date: Tue, 14 Nov 2006 09:15:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <31637693.1163513705200.JavaMail.jboss@colo-br-02.atl.jboss.com> People post their problems here when they run short of ideas on their own and they expect others to help. Anyway, thanks for all the help that was provided (my issue is still unresolved though). RomeuFigueira! As you mentioned about the files required for dealing with attachments in JBoss WS, i have created them all (but havent tweaked any of them manually). It looks like that http://jira.jboss.com/jira/browse/JBWS-269 suggest that wstools (the tool from JBoss) does not currently support attachments. In either case, i am using wscompile (from JWSDPv1.6) to generate SEI and mapping file from a hand-written WSDL file. Then i write a web.xml and webservices.xml file by hand as well to complete the deployment package. So, technically i have everything in place and i used same WSDL file to generate artifacts and published web service successfully on tomcat using JWSDP. To frustrate me enough, the error that i get is org.jboss.ws.WSException: | Cannot obtain java/xml type mapping for: {http://www.w3.org/2001/XMLSchema}string where we all know that the given schema DOES contain a data type with the name string So, what's wrong with my implementation? any clues? anyone? mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985784#3985784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985784 From do-not-reply at jboss.com Tue Nov 14 09:54:14 2006 From: do-not-reply at jboss.com (micho) Date: Tue, 14 Nov 2006 09:54:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WS does not understand my Client Message-ID: <23589700.1163516054352.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I try to call a webservice with the signatur: public int addzwo(int a, int b, int c); and get the following exception, java.lang.NumberFormatException: For input string: "" I tried it with a webservice that accepts strings as Parameters @WebMethod | public String concat(String a, String b) | { return a+b; } This works. If I look at the SOAP Call I can see, that the int Parameters are coded as href and then referenced with a multiref Tag. What do I have to tell the webservice (EJB3 style) that it unterstands this kind of int parameters. SOAP call | | | | | | | | | | 4 | | | 8 | | | 2 | WSDL ? | | | ? | | | | ? | | | | | | ? | | | | | | ? | | | | ? | | | | ? | | ? | | | | | ? | | | | | ? | | | | | | ? | | | ? | | | ? | | | | ? | | | | | ? | | | ? | | | | ? | | | | | ? | | | ? | | | | ? | | | | | | ? | | ? | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985794#3985794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985794 From do-not-reply at jboss.com Tue Nov 14 09:57:53 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Tue, 14 Nov 2006 09:57:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <1724136.1163516273765.JavaMail.jboss@colo-br-02.atl.jboss.com> Indeed you are right, wstools does not go along with more complex types necessary for attachment. One has to do them by hand, or using a place holder. As for the mapping error, in your jaxrcp-mapping.xml do you place strings as: java.lang.String? And in your wsdl file, do you have them as: .... type='xsd:string'/>? Note: the prefix xsd is linked with the following namespace (xmlns:xsd='http://www.w3.org/2001/XMLSchema'>) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985797#3985797 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985797 From do-not-reply at jboss.com Tue Nov 14 10:11:09 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Tue, 14 Nov 2006 10:11:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: gSoap client with JBoss Ws. swa problem Message-ID: <23323411.1163517069691.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, have you ever managed to get this problem fixed? I'm having a similar problem, a standalone client that links to a webservice running in JBoss. It also works well without attachments but when attachments ocours, it colapses like yours. My thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93907 Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985804#3985804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985804 From do-not-reply at jboss.com Tue Nov 14 13:58:44 2006 From: do-not-reply at jboss.com (mnsharif) Date: Tue, 14 Nov 2006 13:58:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <21638338.1163530724612.JavaMail.jboss@colo-br-02.atl.jboss.com> Yeah, the generated jaxrpc-mapping.xml does have java.lang.String and Yes, i do have .... type='xsd:string'/> like thing in my part definitions in WSDL. But that is there for a reason, which i will try to explain. As a matter of fact, wscompile does not allow to have primitive types (like xsd:string etc) to be specified like following: | | If used, wscompile gives error and skips mapping for this method. Please note that this behavior is peculiar to document based web wervices _only_ (this is allowed in rpc style). So, in document based services, i have to wrap these primitive types in wrapper types like this | | and then, combination of following fragment in types section of the WSDL gives me the equavilent desired effect. | | | | | | Now everything is fine with attachment-less webservices. But for the web-service where i need attachment support, the message _has_ to be defined as | | | Interestingly enough, the wscompile tool does _not_ show any error/warning while generating mapping. The attachmentContents above is my parameter defined in mime:content (which happens to be of type text/plain), so that could be the possible reason of wscompile staying silent on this part being specified as xsd:string. But at deployment time i get the following warning and then exception (as i mentioned in my first post): anonymous wrote : 22:11:09,354 WARN [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://www.w3.org/2001/XMLSchema}string | 22:11:09,354 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.0.4.GA/server/default/deploy/alhamd.war | org.jboss.ws.WSException: Cannot obtain java/xml type mapping for: {http://www.w3.org/2001/XMLSchema}string | at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:513) | Phew! No wonder, writing this all down is more difficult than explaining on face. mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985912#3985912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985912 From do-not-reply at jboss.com Tue Nov 14 14:01:41 2006 From: do-not-reply at jboss.com (mnsharif) Date: Tue, 14 Nov 2006 14:01:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <17135040.1163530901453.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, the correct third code snippet is as follows: | | notice that it is type = "xsd:string" and not element = "xsd:string", as i wrote in my last post by mistake. mnsharif View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985914#3985914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985914 From do-not-reply at jboss.com Tue Nov 14 14:11:49 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Tue, 14 Nov 2006 14:11:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <22221879.1163531509703.JavaMail.jboss@colo-br-02.atl.jboss.com> Finally managed to fix this. After spending the last hours dealing with JBossWS source-code, I've managed to do a small change that enabled my message to be correctly interpreted. If you remmember I wasn't specifining in my mimeheaders, where my rootpart was. The problem was that the class MultipartRelatedDecoder wasn't computing a valid MIME boundary, the one I was getting was messy, making the code skip my text/xml part into the attachment part, thus giving out those errors. After interpreting both InputStreams, the main difference from any of my standalone clients and the SOAPUi or the Junit test reports was that without a start part, my InputStream started in the first line, while the other started a line below. So, in order to enable a detection of a valid boundary, I had to do the following change to MultipartRelatedDecoder.java: old: | try | { | boundary = ("\r\n--" + boundaryParameter).getBytes("US-ASCII"); | } | new: | try | { | if(start==null) | boundary = ("--" + boundaryParameter).getBytes("US-ASCII"); | else | boundary = ("\r\n--" + boundaryParameter).getBytes("US-ASCII"); | } | This way, both systems work. IMO the old code is a little bit too hard-coded in this aspect, giving a weird error when the simple difference between files was a linefeed (which I didn't program in my code, it was introduced through the communication layer). Perhaps this aspect could be improved. Thanks for making this project opensource, if not it would have been almost impossible to work this out. Regards, Romeu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985919#3985919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985919 From do-not-reply at jboss.com Tue Nov 14 15:28:01 2006 From: do-not-reply at jboss.com (mominaqeel) Date: Tue, 14 Nov 2006 15:28:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: SOAP client does not work in JBoss 4.0.1 Message-ID: <20801521.1163536081807.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm facing the same issue, Can anyone please help. Regards Aqeel.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985934#3985934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985934 From do-not-reply at jboss.com Tue Nov 14 19:30:05 2006 From: do-not-reply at jboss.com (jgilbert) Date: Tue, 14 Nov 2006 19:30:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Ejb3 JMSTransportSupport Message-ID: <8709474.1163550605841.JavaMail.jboss@colo-br-02.atl.jboss.com> Has anyone tried using JMSTransportSupport with an Ejb3 MDB? The error I get is: Cannot find serviceID for: queue/AuthorizationCallbackQueue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985993#3985993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985993 From do-not-reply at jboss.com Wed Nov 15 06:27:19 2006 From: do-not-reply at jboss.com (Jonathan.Martin) Date: Wed, 15 Nov 2006 06:27:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Simple Problem ? - SOAPBody.addDocument() Message-ID: <249590.1163590039039.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I wanted to write a "Raw" style web service as described in the JBoss documentation. But am having problems in adding a org.w3c.dom.Document to the SOAPBody using the SOAPBody.addDocument(Document) method. My client is trying to create a SOAPMessage as follows: MessageFactory mf = MessageFactory.newInstance(); SOAPMessage reqMsg = mf.createMessage(); String request = "" + " Kermit" + " Ferrari" + ""; DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance(); DocumentBuilder builder = builderFactory.newDocumentBuilder(); org.w3c.dom.Document doc = builder.parse(new ByteArrayInputStream(request.getBytes())); reqMsg.getSOAPBody().addDocument(doc); reqMsg.writeTo(System.out); But the request message is never created because of the following error when adding the document to the SOAPBody: 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 If anyone could point me in the correct direction it would be hugely appreciated. Cheers, Jon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986091#3986091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986091 From do-not-reply at jboss.com Wed Nov 15 06:29:47 2006 From: do-not-reply at jboss.com (djhrobinson) Date: Wed, 15 Nov 2006 06:29:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - ws-addressing and jsr-109 Message-ID: <3933703.1163590187706.JavaMail.jboss@colo-br-02.atl.jboss.com> In the documentation and examples for ws-addressing jsr-181 annotations are used. Unfortunately because I need to use attachments I'm stuck with using jsr-109 ejbs for my webservice implementation. Is it possible to use ws-addressing without the annotations and configuring the needed handlers the hard way and if so are there any gotchas to watch out for. Thanks Dave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986092#3986092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986092 From do-not-reply at jboss.com Wed Nov 15 06:46:25 2006 From: do-not-reply at jboss.com (Jonathan.Martin) Date: Wed, 15 Nov 2006 06:46:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Simple Problem ? - SOAPBody.addDocument() Message-ID: <31904934.1163591185668.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Obviously everyone spotted that I hadnt called DocumentBuilderFactory.setNamespaceAware(true); before creating the builder. Cheers, Jon. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986095#3986095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986095 From do-not-reply at jboss.com Wed Nov 15 07:35:04 2006 From: do-not-reply at jboss.com (rmartony) Date: Wed, 15 Nov 2006 07:35:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Encryption and Signature from .Net client Message-ID: <2856481.1163594104620.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm also having interoperability problems with JBossWS and WSE 3.0. I call a JBossWS helloWorld service using a .Net WSE 3 client and it simple does not work with ws-encryption. I tried every possible configuration on the .Net client. Signing only the message, however, the server processes the message correctly and returns the SOAP response to the client. The .Net client then throws an exception while processing the response: "An unsupported signature or encryption algorithm was used". Did anyone try using ws-encryption (encrypting and/or signing messages) with .Net WSE 3.0 and JBossWS (jboss-4.0.5.GA)? Thank you! Rafael M?rtony. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986112#3986112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986112 From do-not-reply at jboss.com Wed Nov 15 11:47:13 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 11:47:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws-1.0.4.GA released Message-ID: <25118139.1163609233499.JavaMail.jboss@colo-br-02.atl.jboss.com> As of this post I am happy to anounce that jbossws-1.0.4.GA is released. It is a drop in replacement for jbossws-1.0.x.GA in JBossAS-4.0.4.GA and also works in standalone Tomcat. This allows you to develop standard portable J2EE1.4 web service endpoints in Tomcat that can be deployed to JBoss whenever full app server support is required. http://labs.jboss.org/file-access/default/members/jbossws/downloads/Install-1.0.4.GA.txt http://labs.jboss.com/portal/jbossws/user-guide/en/html/installation.html What's new ---------- * [JBWS-660] XOP inline base64Binary and sign message * [JBWS-779] Add webservices.xml support to wsdlTojava * [JBWS-868] BPEL in jbossws-samples * [JBWS-1113] Improve performance of Service.getPort() * [JBWS-1178] Multiple virtual host and soap:address problem * [JBWS-1182] Change wsdl-java at file to wsdl-java at location * [JBWS-1200] Provide source download for GA release * [JBWS-1261] Provide support for additional MTOM java types besides byte[] * [JBWS-1299] Add support for wsdl-java at parameter-style * [JBWS-1302] Use EAR name in context root for EJB endpoints * [JBWS-1323] Add JBoss EULA * Bug fixes For details see the change log. http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:changelog-panel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986216#3986216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986216 From do-not-reply at jboss.com Wed Nov 15 12:51:58 2006 From: do-not-reply at jboss.com (jgilbert) Date: Wed, 15 Nov 2006 12:51:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Ejb3 JMSTransportSupport Message-ID: <23890985.1163613118780.JavaMail.jboss@colo-br-02.atl.jboss.com> I extended JMSTransportSupport and overrode processSOAPMessage() to get something to work with Ejb3 MDBs. For starters the the WebService is implements per usual as a SLSB. I am just using the MDB as an alternate path in the WebService. The MDB just defines the ObjectName for the real web service. | @MessageDriven(activationConfig = {...}) | public class AuthorizationCallbackMDB extends MyJmsTransportSupport implements | MessageListener { | ObjectName getObjectName() { | try { | return new ObjectName( | "jboss.ws:context=payment-authorizer-0,endpoint=AuthorizationCallbackServiceMockBean"); | } catch (Exception e) { | throw new RuntimeException(e); | } | } | } | | public abstract class MyJmsTransportSupport extends JMSTransportSupport { | | private static final long serialVersionUID = 1L; | | abstract ObjectName getObjectName(); | | protected SOAPMessage processSOAPMessage(String fromName, | InputStream reqMessage) throws SOAPException, IOException, | RemoteException { | try { | ServiceEndpointManagerFactory factory = ServiceEndpointManagerFactory | .getInstance(); | ServiceEndpointManager epManager = factory | .getServiceEndpointManager(); | ServiceEndpoint sep = epManager | .getServiceEndpointByID(getObjectName()); | return sep.handleRequest(null, null, reqMessage); | } catch (BindingException ex) { | throw new WSException("Cannot bind incomming soap message", ex); | } | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986246#3986246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986246 From do-not-reply at jboss.com Wed Nov 15 13:02:01 2006 From: do-not-reply at jboss.com (jgilbert) Date: Wed, 15 Nov 2006 13:02:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Ejb3 JMSTransportSupport Message-ID: <27956586.1163613721178.JavaMail.jboss@colo-br-02.atl.jboss.com> This could be handle generically without writing code. Just define the mdb in the deployment descriptor with an env-entry for the real service. | | AuthorizationCallbackMDB | | org.jboss.webservice.transport.jms.JMSTransportSupport | | javax.jms.MessageListener | Container | javax.jms.Queue | | | serviceName | String | AuthorizationCallbackServiceMockBean | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986251#3986251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986251 From do-not-reply at jboss.com Wed Nov 15 18:24:28 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 18:24:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Ejb3 JMSTransportSupport Message-ID: <13188843.1163633068439.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, this work should be done against jbossws/trunk and should go into jbossws-2.0.0. Maybe you could create a jira issue and attach a patch against jbossws-2.0.0.CR1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986334#3986334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986334 From do-not-reply at jboss.com Wed Nov 15 18:30:32 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 18:30:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Encryption and Signature from .Net client Message-ID: <33050645.1163633432029.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : | I'm afraid that I don't get this fixed I'm gonna have to transfer our complete system to another application server or throw the complete ws-security stack of jboss overboard and implement the security handler myself from scratch tailored to what the .Net client is sending out. | http://www.jboss.com/services/profsupport Currently the dev team is busy with JAXWS JEE5 certification. This type of interop issue will be addressed as part of the regular MSFT interop workshops. If cost is a concern to your organization, then profsupport might be a valid option. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986335#3986335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986335 From do-not-reply at jboss.com Wed Nov 15 18:31:25 2006 From: do-not-reply at jboss.com (jgilbert) Date: Wed, 15 Nov 2006 18:31:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Ejb3 JMSTransportSupport Message-ID: <28753593.1163633485241.JavaMail.jboss@colo-br-02.atl.jboss.com> one thing that is not right with this approach is that there is no jms address in the wsdl, because only the SLSB is deployed as a web service. any thoughts? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986336#3986336 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986336 From do-not-reply at jboss.com Wed Nov 15 18:32:57 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 18:32:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Simple Problem ? - SOAPBody.addDocument() Message-ID: <27395507.1163633577278.JavaMail.jboss@colo-br-02.atl.jboss.com> You can also create the message directly from the request string View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986337#3986337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986337 From do-not-reply at jboss.com Wed Nov 15 18:34:34 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 18:34:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ws-addressing and jsr-109 Message-ID: <18522302.1163633674045.JavaMail.jboss@colo-br-02.atl.jboss.com> there are wsa tests for jaxrpc in the testsuite View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986339#3986339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986339 From do-not-reply at jboss.com Wed Nov 15 18:42:48 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 18:42:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <32093696.1163634168671.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you please create a jira issue and attach a patch against the 1.0.4 testsuite that allows us to reproduce this issue. cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986341#3986341 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986341 From do-not-reply at jboss.com Wed Nov 15 19:08:18 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:08:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems returning arrays from Webservice Method Message-ID: <10268551.1163635698564.JavaMail.jboss@colo-br-02.atl.jboss.com> For this fix not to get lost we'll need a jira issue with the patch + test case (modificatipon) attached. cheers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986342#3986342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986342 From do-not-reply at jboss.com Wed Nov 15 19:20:57 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:20:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: noice in SOAP reply Message-ID: <17240234.1163636457759.JavaMail.jboss@colo-br-02.atl.jboss.com> [01:17:58] Thomas Diesler: so if the receiver cant handle it, it their problem? [01:18:10] Jason Greene: yeah then they aren't HTTP/1.1 compliant [01:18:20] Thomas Diesler: merci [01:18:34] Jason Greene: in which case we can add them to the restricted agent list [01:18:36] ? in tomcat [01:18:42] ? which will downgrade them to 1.0 [01:19:18] Thomas Diesler: is this a tomcat feature? [01:19:30] Jason Greene: yes its in the server.xml file [01:19:56] ? there might be some other option to always disable chunked [01:20:14] ? but that would cause tomcat to double before the entire response to get the length View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986344#3986344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986344 From do-not-reply at jboss.com Wed Nov 15 19:25:43 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:25:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Consuming a web service from an EJB3 stateless sb Message-ID: <27163555.1163636743504.JavaMail.jboss@colo-br-02.atl.jboss.com> You can use the ServiceFactoryImpl to create a dynamic proxy. (i.e. no need for jndi lookup) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986346#3986346 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986346 From do-not-reply at jboss.com Wed Nov 15 19:31:07 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:31:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Saving the Web Service Request as XML Message-ID: <12041783.1163637067719.JavaMail.jboss@colo-br-02.atl.jboss.com> Romeu is right, the jaxrpc handler willl do the job. With jbossws-2.0.x you will be able to use JAXB. Have a look at the JAXWS spec. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986348#3986348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986348 From do-not-reply at jboss.com Wed Nov 15 19:39:19 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:39:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Client handler chain Message-ID: <18197854.1163637559537.JavaMail.jboss@colo-br-02.atl.jboss.com> Server and client side are fundamentally disconnectd. That the server is on the same host is irrelevant. Please check that the handler shows up in the Unified Meta Data Model (UMDM) in the logfile. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986351#3986351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986351 From do-not-reply at jboss.com Wed Nov 15 19:43:35 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:43:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossXSErrorHandler: cannot resolve XSD name when loadin Message-ID: <155018.1163637815671.JavaMail.jboss@colo-br-02.atl.jboss.com> http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSourceRepository View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986352#3986352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986352 From do-not-reply at jboss.com Wed Nov 15 19:45:20 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:45:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Does jboss-4.0.4 with jbossws-1.0.2 fully support soap12 Message-ID: <17928567.1163637920614.JavaMail.jboss@colo-br-02.atl.jboss.com> jbossws-2.0.x supports soap-1.2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986353#3986353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986353 From do-not-reply at jboss.com Wed Nov 15 19:50:11 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:50:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem creating request for wsclient, serializating pa Message-ID: <11932482.1163638211651.JavaMail.jboss@colo-br-02.atl.jboss.com> Service is threadsafe, Call has state View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986355#3986355 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986355 From do-not-reply at jboss.com Wed Nov 15 19:57:08 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 19:57:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Getting the WSDL for a pojo endpoint at compile time Message-ID: <30939261.1163638628188.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently not. This will be supported in 2.0.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986356#3986356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986356 From do-not-reply at jboss.com Wed Nov 15 20:00:18 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 20:00:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Restful web service with JBoss WS ? Message-ID: <20223965.1163638818942.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1213 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986357#3986357 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986357 From do-not-reply at jboss.com Wed Nov 15 20:01:54 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 20:01:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Webservices client and Dynamic Invocation Interface. Message-ID: <17706606.1163638914871.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a classpath issue. Remove the Sun jars. Better then DII is to use ServiceFactory to create a dynamic proxy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986358#3986358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986358 From do-not-reply at jboss.com Wed Nov 15 20:04:24 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 20:04:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: SOAP 1.2 WSDL Message-ID: <4375693.1163639064528.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1378 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986359#3986359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986359 From do-not-reply at jboss.com Wed Nov 15 20:05:32 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 15 Nov 2006 20:05:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Create multiple web services with same SLSB ejb Message-ID: <18617358.1163639132528.JavaMail.jboss@colo-br-02.atl.jboss.com> You can't. One SLSB per endpoint View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986360#3986360 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986360 From do-not-reply at jboss.com Wed Nov 15 20:13:53 2006 From: do-not-reply at jboss.com (croisfert) Date: Wed, 15 Nov 2006 20:13:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - how to select which certificate to use in wsse encryption? Message-ID: <2463498.1163639633407.JavaMail.jboss@colo-br-02.atl.jboss.com> hi, howto select which certificate to use in wsse encryption? in the jboss-wsse-server.xml file we define the alias of the certificate to use for encrypt the response SOAP message. .. .. this is the alias of the certificate of the client. How i select this dynamically? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986361#3986361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986361 From do-not-reply at jboss.com Thu Nov 16 03:39:05 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 03:39:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Annotation Based UDDI Registration Message-ID: <23235733.1163666345121.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, you are welcome to contribute. This work should be done in jbossws/trunk View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986409#3986409 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986409 From do-not-reply at jboss.com Thu Nov 16 03:42:04 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 03:42:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: web services client Message-ID: <15622871.1163666524381.JavaMail.jboss@colo-br-02.atl.jboss.com> This will be supported in jbossws-2.0.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986410#3986410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986410 From do-not-reply at jboss.com Thu Nov 16 03:53:06 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 03:53:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Get remote client IP address in the ejb3 exposed web ser Message-ID: <7381094.1163667186440.JavaMail.jboss@colo-br-02.atl.jboss.com> You can get it from via the ServletRequest from the MessageContext. The MessageContext is available from the endpoint and from handlers. Use @HandlerChain View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986413#3986413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986413 From do-not-reply at jboss.com Thu Nov 16 03:56:50 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 03:56:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Could not dereference object Message-ID: <16207463.1163667410683.JavaMail.jboss@colo-br-02.atl.jboss.com> This should not matter. The client and server are fundamentally disconnected. It's however important that wsdl + mapping + java are in sync. Remember, the abstarct contract defined by wsdl+schema has no notion of java. The jaxrpc-mapping is responsible for namespace <-> package mapping View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986417#3986417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986417 From do-not-reply at jboss.com Thu Nov 16 04:03:02 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:03:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: implementing wsse:UserNameToken Message-ID: <25947729.1163667782803.JavaMail.jboss@colo-br-02.atl.jboss.com> Please start with a working sample from the samples download or have a look at the wsse testsuite View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986419#3986419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986419 From do-not-reply at jboss.com Thu Nov 16 04:06:34 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:06:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException which generating the WSDL file usin Message-ID: <22402016.1163667994759.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1380 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986420#3986420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986420 From do-not-reply at jboss.com Thu Nov 16 04:09:14 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:09:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: DayTrader benchmark deployment Message-ID: <31428200.1163668154594.JavaMail.jboss@colo-br-02.atl.jboss.com> Is the anonymous type {http://daytrader.samples.geronimo.apache.org}>getMarketSummary mapped correctly in jaxrpc-mapping.xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986421#3986421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986421 From do-not-reply at jboss.com Thu Nov 16 04:13:26 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:13:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: tool support for Stub based client programming model Message-ID: <1471965.1163668406560.JavaMail.jboss@colo-br-02.atl.jboss.com> http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQClientModel http://labs.jboss.com/portal/jbossws/user-guide/en/html/appendix-a.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986423#3986423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986423 From do-not-reply at jboss.com Thu Nov 16 04:16:14 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:16:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBWS-1138 - DOMEnvelopeBuilder misses global namespace d Message-ID: <7758884.1163668574682.JavaMail.jboss@colo-br-02.atl.jboss.com> This should be fixed in 1.0.4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986424#3986424 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986424 From do-not-reply at jboss.com Thu Nov 16 04:27:24 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:27:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Newbie needs help to Consume A WebService Message-ID: <31208518.1163669244488.JavaMail.jboss@colo-br-02.atl.jboss.com> Please have a look at the user guide and the samples download View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986428#3986428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986428 From do-not-reply at jboss.com Thu Nov 16 04:37:09 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:37:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: How do I disable HTTP chunking? Message-ID: <22669578.1163669829861.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1381 As a workaround you can install your own service endpoint servlet that does the double buffering and uses the desired HTTP response semantics. Also, see http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981166#3981166 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986430#3986430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986430 From do-not-reply at jboss.com Thu Nov 16 04:38:47 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:38:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS basic auth only for post requests Message-ID: <22689249.1163669927150.JavaMail.jboss@colo-br-02.atl.jboss.com> Please vote here http://jira.jboss.com/jira/browse/JBWS-723 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986431#3986431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986431 From do-not-reply at jboss.com Thu Nov 16 04:41:40 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:41:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: how to application-client.xml e jboss-client.xml for se Message-ID: <29852005.1163670100481.JavaMail.jboss@colo-br-02.atl.jboss.com> application-client.xml only applies to standalone java clients. can appear in ejb-jar.xml, web.xml, application-client.xml depending on the type of component that uses the ref. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986434#3986434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986434 From do-not-reply at jboss.com Thu Nov 16 04:46:58 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:46:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: getInitParameter Message-ID: <15951502.1163670418332.JavaMail.jboss@colo-br-02.atl.jboss.com> The param you show is scoped on the servlet not the context. However it is probably true that from an endpoint bean you cannot access the init params of the ServiceEndpointServlet because the endpoint bean does not have a reference to the servlet. http://jira.jboss.com/jira/browse/JBWS-1382 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986437#3986437 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986437 From do-not-reply at jboss.com Thu Nov 16 04:58:22 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 04:58:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: deployment exception for document based webservice Message-ID: <28620343.1163671102368.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1383 try using document/literal/bare View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986440#3986440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986440 From do-not-reply at jboss.com Thu Nov 16 05:01:00 2006 From: do-not-reply at jboss.com (croisfert) Date: Thu, 16 Nov 2006 05:01:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <20795899.1163671260908.JavaMail.jboss@colo-br-02.atl.jboss.com> with jbossws 1.0.3 bundled in jbossAS 1.0.5GA it work fine with jbossws 1.0.4GA it give me the error "org.jboss.ws.WSException: String passed i s null" this is the webservice: http://www.atomic-x.com/xmlservices/HyperlinkExtractor.asmx?wsdl this is my wstools-config.xml file: ..... ..... this is the error: [exec] . [exec] Exception in thread "main" org.jboss.ws.WSException: String passed i s null [exec] at org.jboss.ws.metadata.wsdl.WSDLUtils.firstLetterUpperCase(WSD LUtils.java:455) [exec] at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava .java:138) [exec] at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava .java:114) [exec] at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.j ava:658) [exec] at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.j ava:651) [exec] at org.jboss.ws.tools.WSDLToJava.unwrapResponse(WSDLToJava.java: 291) [exec] at org.jboss.ws.tools.WSDLToJava.getReturnType(WSDLToJava.java:5 40) [exec] at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:3 42) [exec] at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:4 86) [exec] at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:518) [exec] at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:161 ) [exec] at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGenera tion(ToolsHelper.java:303) [exec] at org.jboss.ws.tools.WSTools.process(WSTools.java:138) [exec] at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) [exec] at org.jboss.ws.tools.WSTools.main(WSTools.java:61) [exec] Result: 1 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986441#3986441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986441 From do-not-reply at jboss.com Thu Nov 16 05:04:05 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:04:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <1003506.1163671445404.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1384 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986442#3986442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986442 From do-not-reply at jboss.com Thu Nov 16 05:14:15 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:14:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Mixed SOAP parameter styles not supported - migrating fr Message-ID: <21706505.1163672055381.JavaMail.jboss@colo-br-02.atl.jboss.com> If this still shows with 1.0.4, please create a jira issue and attach a sample deployment + source to it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986445#3986445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986445 From do-not-reply at jboss.com Thu Nov 16 05:15:54 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:15:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossXBException: Failed to parse source Message-ID: <5903354.1163672154632.JavaMail.jboss@colo-br-02.atl.jboss.com> If this still shows with 1.0.4, please create a jira issue and attach a sample deployment + source to it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986446#3986446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986446 From do-not-reply at jboss.com Thu Nov 16 05:16:43 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:16:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: bean-deployer:2.0: deployment is not bound as a global e Message-ID: <12655400.1163672203513.JavaMail.jboss@colo-br-02.atl.jboss.com> jbossws-2.0.x is for jbossas-5.0.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986447#3986447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986447 From do-not-reply at jboss.com Thu Nov 16 05:22:41 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:22:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wscompile - Restricted base='xsd:string' mapping issue Message-ID: <6945530.1163672561774.JavaMail.jboss@colo-br-02.atl.jboss.com> I reopened http://jira.jboss.com/jira/browse/JBWS-810 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986449#3986449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986449 From do-not-reply at jboss.com Thu Nov 16 05:25:09 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:25:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Date of release of Jbossws 1.0.4 Message-ID: <12655270.1163672709780.JavaMail.jboss@colo-br-02.atl.jboss.com> Stuff gets released when there are no more issues to resolve and when it passes QA. You can monitor the relase issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986451#3986451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986451 From do-not-reply at jboss.com Thu Nov 16 05:25:26 2006 From: do-not-reply at jboss.com (RajeshRamchander) Date: Thu, 16 Nov 2006 05:25:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBWS-1138 - DOMEnvelopeBuilder misses global namespace d Message-ID: <8724942.1163672726042.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks. We will test it out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986452#3986452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986452 From do-not-reply at jboss.com Thu Nov 16 05:32:58 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:32:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Array JAXB binding Message-ID: <32574065.1163673178968.JavaMail.jboss@colo-br-02.atl.jboss.com> This will be supported in 2.0.x View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986457#3986457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986457 From do-not-reply at jboss.com Thu Nov 16 05:41:37 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:41:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Tcp Monitor like tool for jboss Message-ID: <25535488.1163673697195.JavaMail.jboss@colo-br-02.atl.jboss.com> Nice , is there public SVN access to it? Maybe you even want to maintain this as part of the jbossws code base. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986460#3986460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986460 From do-not-reply at jboss.com Thu Nov 16 05:43:45 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 05:43:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: schema import fails for relative schemaLocation Message-ID: <14749571.1163673825473.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1385 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986461#3986461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986461 From do-not-reply at jboss.com Thu Nov 16 06:07:05 2006 From: do-not-reply at jboss.com (maeste) Date: Thu, 16 Nov 2006 06:07:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Tcp Monitor like tool for jboss Message-ID: <29619896.1163675225112.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thomas, A svn access doesn't yet exist...we are moving our site to another server to have svn accessibility. Yes would be great for us to integrate Lms in jbossws codebase. We 'd like also to explain you some other ideas and project on the way strictly related to jbossws...take a look to this Alessio's post on our blog: http://www.javalinux.it/blogs/index.php?title=wise&more=1&c=1&tb=1&pb=1 If you are interested send me a private mail. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986469#3986469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986469 From do-not-reply at jboss.com Thu Nov 16 06:19:03 2006 From: do-not-reply at jboss.com (dimelef) Date: Thu, 16 Nov 2006 06:19:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - define namespace in soap response Message-ID: <16126311.1163675943253.JavaMail.jboss@colo-br-02.atl.jboss.com> I have developed a web service using the jsr-181 annotations that produces a response like: 5A2B010EF056BFC695B400D23941 test1 response test2 response The response is an object. The web service uses also a GenericHandler. The problem is that i want to have control and change the namespace values in the response. For example I want to change the namespace ns_tests to ns_1 or ns1. As I see in the log output jbossws uses the JAXBSerializer to create the response message, but it does not give control on that. Are there any ways to change the namespace value in the xml soap response? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986472#3986472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986472 From do-not-reply at jboss.com Thu Nov 16 07:06:29 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 07:06:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: base64Binary: jbossws client serialize problem Message-ID: <13755525.1163678789866.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1386 Please attach the complete wsdl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986485#3986485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986485 From do-not-reply at jboss.com Thu Nov 16 07:09:39 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 07:09:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS does not understand my Client Message-ID: <8966770.1163678979590.JavaMail.jboss@colo-br-02.atl.jboss.com> The wsdl says rpc/literal, the message is rpc/encoded. Hence the message does not conform to the abstract contract. How is this possible? jbossws does not support rpc/encoded View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986486#3986486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986486 From do-not-reply at jboss.com Thu Nov 16 07:11:48 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 07:11:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <11224411.1163679108245.JavaMail.jboss@colo-br-02.atl.jboss.com> Related to http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985804#3985804 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986487#3986487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986487 From do-not-reply at jboss.com Thu Nov 16 07:14:58 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 07:14:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: define namespace in soap response Message-ID: <22681612.1163679298734.JavaMail.jboss@colo-br-02.atl.jboss.com> You want to change the prefix not the namespace, right? Currently, we have no control over the prefixes that jbossxb uses. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986488#3986488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986488 From do-not-reply at jboss.com Thu Nov 16 07:58:45 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 07:58:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <11365904.1163681925864.JavaMail.jboss@colo-br-02.atl.jboss.com> Confirmed http://jira.jboss.org/jira/browse/JBWS-1387 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986501#3986501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986501 From do-not-reply at jboss.com Thu Nov 16 08:15:13 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 08:15:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: define namespace in soap response Message-ID: <1030504.1163682913184.JavaMail.jboss@colo-br-02.atl.jboss.com> Alex sais anonymous wrote : | I, of course, have control over everything in jbossxb. | But you could use the following methods on the marshaller | | public void declareNamespace(String prefix, String uri) | public void removePrefixMapping(String prefix) | public String getPrefix(String ns) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986506#3986506 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986506 From do-not-reply at jboss.com Thu Nov 16 08:40:11 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 08:40:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <8983264.1163684411628.JavaMail.jboss@colo-br-02.atl.jboss.com> Confirmed using | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986520#3986520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986520 From do-not-reply at jboss.com Thu Nov 16 08:45:19 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 08:45:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <3802749.1163684719561.JavaMail.jboss@colo-br-02.atl.jboss.com> Also, please see the dev forum http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3986521#3986521 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986524#3986524 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986524 From do-not-reply at jboss.com Thu Nov 16 08:52:33 2006 From: do-not-reply at jboss.com (micho) Date: Thu, 16 Nov 2006 08:52:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS does not understand my Client Message-ID: <15648686.1163685153331.JavaMail.jboss@colo-br-02.atl.jboss.com> The Clientcall was produced by OpenLaszlo. If I changed my Jboss WS-Implemantation to @SOAPBinding ( style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.ENCODED, parameterStyle =SOAPBinding.ParameterStyle.BARE ) it worked. ??? Are you sure RPC/Encoded is not supported? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986528#3986528 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986528 From do-not-reply at jboss.com Thu Nov 16 09:46:44 2006 From: do-not-reply at jboss.com (jhudson) Date: Thu, 16 Nov 2006 09:46:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JSR-181 Endpoint ClassCastException Message-ID: <18631594.1163688404805.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm new to JSR-181 and was creating a simple test but I am getting a ClassCastException. Can anybody help me? Thanks Test com.test.TestEndpoint Test /* package com.test; import javax.jws.WebMethod; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; @WebService(name = "TestEndpoint") @SOAPBinding(style = SOAPBinding.Style.RPC) public class TestEndpoint { @WebMethod public String test (String param) { System.out.println("Param: " + param); return param; } } javax.servlet.ServletException: Class com.test.TestEndpoint is not a Servlet org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) java.lang.Thread.run(Thread.java:595) root cause java.lang.ClassCastException: com.test.TestEndpoint org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986540#3986540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986540 From do-not-reply at jboss.com Thu Nov 16 10:16:01 2006 From: do-not-reply at jboss.com (oglueck) Date: Thu, 16 Nov 2006 10:16:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - ServiceEndpointInterceptor in 1.0.4 Message-ID: <6872779.1163690161764.JavaMail.jboss@colo-br-02.atl.jboss.com> I wonder what happened to ServiceEndpointInterceptor. It says in the 1.0.4 release notes that it's a drop-in replacement. But I get 2006-11-16 15:51:53,281 [main] WARN org.jboss.ejb.EjbModule - Could not load the org.jboss.ws.server.ServiceEndpointInterceptor interceptor java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.ws.server.ServiceEndpointInterceptor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986553#3986553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986553 From do-not-reply at jboss.com Thu Nov 16 10:34:17 2006 From: do-not-reply at jboss.com (oglueck) Date: Thu, 16 Nov 2006 10:34:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - 1.0.4 integration problem with EJB-3RC8 Message-ID: <20143049.1163691257983.JavaMail.jboss@colo-br-02.atl.jboss.com> javax.jws.WebService is also in ejb3.deployer/jboss-ejb3.jar and this version is incompatible with the one in jbossws.sar/jboss-jaxws.jar. This leads to [exec] java.lang.NoSuchMethodError: javax.jws.WebService.portName()Ljava/lang/String; [exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:143) [exec] at org.jboss.ws.deployment.JSR181MetaDataBuilderEJB3.buildMetaData(JSR181MetaDataBuilderEJB3.java:75) [exec] at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:106) [exec] at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) [exec] at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) [exec] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) [exec] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) The EJB3 package needs to be updated with the new version of the annotation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986563#3986563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986563 From do-not-reply at jboss.com Thu Nov 16 10:36:07 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 10:36:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS does not understand my Client Message-ID: <10223802.1163691367211.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, who else would be sure? There is some very basic support for rpc/encoded. Specifically 1) soap arrays as bean properties 2) references among probably many other things don't work. There is an rpc/encoded marshalling test in the testsuite, beyond that we do not extend our support. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986564#3986564 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986564 From do-not-reply at jboss.com Thu Nov 16 10:38:16 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 10:38:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ServiceEndpointInterceptor in 1.0.4 Message-ID: <10973657.1163691496013.JavaMail.jboss@colo-br-02.atl.jboss.com> The interceptor is injected dynamically, you can remove the declaration from standardjboss.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986566#3986566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986566 From do-not-reply at jboss.com Thu Nov 16 10:40:22 2006 From: do-not-reply at jboss.com (oglueck) Date: Thu, 16 Nov 2006 10:40:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ServiceEndpointInterceptor in 1.0.4 Message-ID: <11007786.1163691622238.JavaMail.jboss@colo-br-02.atl.jboss.com> Okay, excellent. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986567#3986567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986567 From do-not-reply at jboss.com Thu Nov 16 10:40:41 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 10:40:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: 1.0.4 integration problem with EJB-3RC8 Message-ID: <19458807.1163691641087.JavaMail.jboss@colo-br-02.atl.jboss.com> The javax.jws.* classes in jboss-ejb3.jar are stale and should be removed. jboss-jws.xml contains the updated/supported jws annotations. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986568#3986568 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986568 From do-not-reply at jboss.com Thu Nov 16 10:41:25 2006 From: do-not-reply at jboss.com (oglueck) Date: Thu, 16 Nov 2006 10:41:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: 1.0.4 integration problem with EJB-3RC8 Message-ID: <6267866.1163691685416.JavaMail.jboss@colo-br-02.atl.jboss.com> changing the EJB3 package doesn't help: [exec] org.jboss.ws.WSException: No wrapped types available [exec] at org.jboss.ws.jaxrpc.ParameterWrapping.generateWrapper(ParameterWrapping.java:463) [exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.processWebMethod(JSR181MetaDataBuilder.java:437) [exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.processWebMethods(JSR181MetaDataBuilder.java:257) [exec] at org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:173) [exec] at org.jboss.ws.deployment.JSR181MetaDataBuilderEJB3.buildMetaData(JSR181MetaDataBuilderEJB3.java:75) [exec] at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:106) [exec] at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) [exec] at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) [exec] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) [exec] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) Maybe I should upgrade to a later EJB3 release? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986569#3986569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986569 From do-not-reply at jboss.com Thu Nov 16 10:44:20 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 10:44:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <29828317.1163691860931.JavaMail.jboss@colo-br-02.atl.jboss.com> This is because the deployer does not see the @WebService annotation. Does it have to do with the DOCTYPE? Please start with a working sample from the sample download. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986574#3986574 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986574 From do-not-reply at jboss.com Thu Nov 16 11:00:08 2006 From: do-not-reply at jboss.com (micho) Date: Thu, 16 Nov 2006 11:00:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS does not understand my Client Message-ID: <28517678.1163692808838.JavaMail.jboss@colo-br-02.atl.jboss.com> what style/Encoding is prefered in jboss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986586#3986586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986586 From do-not-reply at jboss.com Thu Nov 16 11:07:05 2006 From: do-not-reply at jboss.com (jhudson) Date: Thu, 16 Nov 2006 11:07:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <3335291.1163693225847.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you very much for the response. I just duplicated the sample from: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS181HelloWorld and am running into the same problem. Are there different samples that you are talking about? If so, would you mind giving me a link to them? Thank you very much. Joe javax.servlet.ServletException: Class org.jboss.samples.HelloWorldWS is not a Servlet org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986592#3986592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986592 From do-not-reply at jboss.com Thu Nov 16 11:43:32 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 16 Nov 2006 11:43:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: base64Binary: jbossws client serialize problem Message-ID: <16794561.1163695412481.JavaMail.jboss@colo-br-02.atl.jboss.com> Give it a try using 1.0.4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986609#3986609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986609 From do-not-reply at jboss.com Thu Nov 16 11:45:59 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 16 Nov 2006 11:45:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Tcp Monitor like tool for jboss Message-ID: <24790541.1163695559396.JavaMail.jboss@colo-br-02.atl.jboss.com> cool, exactly what i was looking for ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986613#3986613 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986613 From do-not-reply at jboss.com Thu Nov 16 12:56:11 2006 From: do-not-reply at jboss.com (ge0ffrey) Date: Thu, 16 Nov 2006 12:56:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: noice in SOAP reply Message-ID: <17415143.1163699771976.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks, I tried setting the "Connection: close" parameter on the client side for the HTTP connection, but that didn't work because the WTK webservices don't have any API to access the HttpConnection AFAIK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986636#3986636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986636 From do-not-reply at jboss.com Thu Nov 16 13:34:45 2006 From: do-not-reply at jboss.com (ebrooss) Date: Thu, 16 Nov 2006 13:34:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Missing files in jbossws-1.0.3.GA Message-ID: <1317678.1163702085067.JavaMail.jboss@colo-br-02.atl.jboss.com> In jbossws-1.0.3.GA, the following files are missing: jsr173_1.0_api.jar jaxb1-impl.jar activation.jar (found this in \client AND default\lib directories) Where are they? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986644#3986644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986644 From do-not-reply at jboss.com Thu Nov 16 13:57:05 2006 From: do-not-reply at jboss.com (ebrooss) Date: Thu, 16 Nov 2006 13:57:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems returning arrays from Webservice Method Message-ID: <1911404.1163703425249.JavaMail.jboss@colo-br-02.atl.jboss.com> The questions is whether jbossw do collection or array AND the answer is NO Take a look at the following line from jbossAS console output: 18:47:51,328 WARN [SchemaTypeCreator] JAX-RPC does not allow collection types skipping: com.xxxx.yyy.zzz..Users.roles where roles is a List View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986647#3986647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986647 From do-not-reply at jboss.com Thu Nov 16 14:57:13 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 16 Nov 2006 14:57:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS-Eventing - sending notification Message-ID: <27425177.1163707033476.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, let's do it then. I would simply call it DispatchException. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986658#3986658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986658 From do-not-reply at jboss.com Thu Nov 16 14:58:56 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Thu, 16 Nov 2006 14:58:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS-Eventing - sending notification Message-ID: <4133123.1163707136972.JavaMail.jboss@colo-br-02.atl.jboss.com> I did create a JIRA for this: http://jira.jboss.com/jira/browse/JBWS-1388 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986659#3986659 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986659 From do-not-reply at jboss.com Thu Nov 16 15:12:15 2006 From: do-not-reply at jboss.com (wconroy) Date: Thu, 16 Nov 2006 15:12:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Interfaces and Webservice Message-ID: <24010455.1163707935612.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an EJB method that I want to expose where all of its methods take and return interfaces. Is there a way that I can expose these methods through a webservice and specify that requests should use a specific implementation of the interfaces that I have created? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986660#3986660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986660 From do-not-reply at jboss.com Thu Nov 16 15:23:57 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 15:23:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS does not understand my Client Message-ID: <27839049.1163708637407.JavaMail.jboss@colo-br-02.atl.jboss.com> Both rpc/literal and document/literal are fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986664#3986664 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986664 From do-not-reply at jboss.com Thu Nov 16 15:25:13 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 16 Nov 2006 15:25:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <30443482.1163708713454.JavaMail.jboss@colo-br-02.atl.jboss.com> http://labs.jboss.com/portal/jbossws/downloads View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986665#3986665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986665 From do-not-reply at jboss.com Thu Nov 16 15:29:49 2006 From: do-not-reply at jboss.com (jhudson) Date: Thu, 16 Nov 2006 15:29:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <16416183.1163708989035.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you very much Thomas... sorry I didn't know about that. Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986666#3986666 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986666 From do-not-reply at jboss.com Thu Nov 16 15:54:31 2006 From: do-not-reply at jboss.com (mo_ctaylor) Date: Thu, 16 Nov 2006 15:54:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Enabling transport compression with JBossWS Message-ID: <17850731.1163710471849.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss-4.0.4.GA and JBossWS-1.0.1.GA to develop JSR-109 POJO service endpoints using the RPC/literal model. We are currently having performance issues with large objects so I am trying to enable transport compression with Tomcat. I've enabled compression in Tomcat per instructions in the Wiki and on the Tomcat site. I can see that compression is working with a telnet session, if "Accept-Encoding: gzip" is sent. I see using snoop that the J2SE client of the services does not setup HTTP1.1 for compression, the HTTP does not have "Accept-Encoding: gzip, deflate" or anything like that. The HTTP1.1 Transfer-Encoding is also chunked so I hope that the compression will happen before chunking is done, will it? I have search the documentation and forums for information but have not found out how to get JBossWS to do HTTP1.1 compression. How do you enable transport compression with JBossWS? Thanks, Cindy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986672#3986672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986672 From do-not-reply at jboss.com Thu Nov 16 16:37:17 2006 From: do-not-reply at jboss.com (sursha) Date: Thu, 16 Nov 2006 16:37:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: URGENT ....Duplicate names in the generated WSDL !! cann Message-ID: <5232832.1163713037803.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you. Submitted JIRA issue. http://jira.jboss.com/jira/browse/JBWS-1390 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986680#3986680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986680 From do-not-reply at jboss.com Thu Nov 16 17:11:44 2006 From: do-not-reply at jboss.com (jhudson) Date: Thu, 16 Nov 2006 17:11:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <22801522.1163715104970.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks again for your help. I've downloaded the samples (and performed the required steps in the Install.txt document) and receive an error when browsing to http://localhost:8080/jbossws/services I can see http://localhost:8080/jbossws just fine though. Any help would be greatly appreciated. Thank you very much. 17:06:47,775 INFO [Server] Release ID: JBoss [Zion] 4.0.4.CR2 (build: CVSTag=JBoss_4_0_4_CR2 date=200603311500) The error is below: 17:10:50,665 ERROR [[/jbossws]] StandardWrapper.Throwable java.lang.NullPointerException at org.jboss.ws.server.ServiceEndpointManagerFactory.getServiceEndpointManager(ServiceEndpointManagerFactory.java:51) at org.jboss.ws.integration.jboss.JBossContextServlet.initServiceEndpointManager(JBossContextServlet.java:44) at org.jboss.ws.common.CommonContextServlet.init(CommonContextServlet.java:54) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) 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.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) 17:10:50,665 ERROR [[ContextServlet]] Allocate exception for servlet ContextServlet java.lang.NullPointerException at org.jboss.ws.server.ServiceEndpointManagerFactory.getServiceEndpointManager(ServiceEndpointManagerFactory.java:51) at org.jboss.ws.integration.jboss.JBossContextServlet.initServiceEndpointManager(JBossContextServlet.java:44) at org.jboss.ws.common.CommonContextServlet.init(CommonContextServlet.java:54) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:757) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174) 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.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) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986693#3986693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986693 From do-not-reply at jboss.com Thu Nov 16 20:19:25 2006 From: do-not-reply at jboss.com (peixubin) Date: Thu, 16 Nov 2006 20:19:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws4ee call gsoap's webservice problem Message-ID: <21305204.1163726365655.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm testing jbossws4ee client and gsoap server.(jbossws1.0.3 call gsoap's ws successly) the gsoap service header file c2gWS.h: | //gsoap ns service name: C2g | //gsoap ns service style: document | //gsoap ns service encoding: literal | | //gsoap ns service namespace: http://ydxt.c2g/wsdl | //gsoap ns service location: http://localhost:8888/c2g.cgi | | //gsoap ns schema namespace: urn:c2g | | typedef char * xsd__string; | typedef int xsd__int; | typedef long xsd__long; | typedef float xsd__float; | typedef double xsd__double; | | struct ns__csb { | xsd__int *id; | xsd__string mc; | xsd__string sbbm; | xsd__int * dy; | xsd__int * sblx; | xsd__double * xsl; | xsd__double * gdl; | xsd__double * sdl; | xsd__double * edrl; | xsd__double * yhrl; | xsd__double * yhsl; | xsd__string rq; | xsd__string minrq; | xsd__string maxrq; | xsd__string glbz; | }; | | | struct ns__csbArray { | struct ns__csb * __ptr; | int __size; | int __offset; | }; | | | struct ns__C2gException { | xsd__int *code; | }; | | | ns__getGsb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | ns__getSb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | run soapcpp2 -1 -c c2gWS.h,generate c stub file and wsdl. C2g.wsdl: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Service definition of function ns__getGsb | | | | | Service definition of function ns__getSb | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gSOAP 2.7.8c generated service definition | | | | | | | config.xml used by wscompile: | | | | | | | | | | run wscompile -keep -f:documentliteral -f:wsi -import -mapping jaxrpc-mapping.xml config.xml,generate java stub file: the C2G.java: | | | public interface C2G extends javax.xml.rpc.Service { | public ydxt.c2g.C2GPortType getC2G() throws ServiceException; | } | | | the C2GPortType.java: | | | public interface C2GPortType extends java.rmi.Remote { | public ydxt.c2g.GetGsbResponse getGsb(ydxt.c2g.GetGsb parameters) throws | java.rmi.RemoteException; | public ydxt.c2g.GetSbResponse getSb(ydxt.c2g.GetSb parameters) throws | java.rmi.RemoteException; | } | | ejb-jar.xml: | | | | | | C2gSessionBean | ydxt.c2g.C2gSessionHome | ydxt.c2g.C2gSession | ydxt.c2g.C2gSessionLocalHome | ydxt.c2g.C2gSessionLocal | ydxt.c2g.C2gSessionBean | Stateless | Container | | service/C2g | ydxt.c2g.C2G | META-INF/C2g.wsdl | META-INF/jaxrpc-mapping.xml | | | | | | | | | | | | client code: | | | | | ... | | | GetGsbResponse res=null; | | | try { | | | res=getService().getGsb(new GetGsb(dwdm,null)); | | | } catch (Exception e) { | | | e.printStackTrace(); | | | throw new C2GServerException(e.getMessage()); | | | } | | | ... | | | | | | | | | | | | when I call web service ,the jboss print error: | | 08:53:55,761 DEBUG [ServiceProxy] Invoke on jaxrpc service: getPort | | 08:53:55,761 DEBUG [PortProxy] Invoke on service endpoint interface: getGsb | | 08:53:55,762 DEBUG [CallImpl] Fixing style: [was=rpc,is=document] | | 08:53:55,762 DEBUG [CallImpl] Fixing use: [was=encoded,is=literal] | | 08:53:55,764 DEBUG [ClientEngine] invoke: org.jboss.axis.MessageContext at 466b6f5 | | 08:53:55,764 DEBUG [HandlerChainBaseImpl] Create a handler chain for roles: null | | 08:53:55,764 DEBUG [ClientEngine] Using handler chain for port: C2g | | 08:53:55,764 DEBUG [HandlerChainBaseImpl] Create a handler chain for roles: null | | 08:53:55,764 DEBUG [ClientEngine] Using empty handler chain | | 08:53:55,764 DEBUG [HandlerChainBaseImpl] init: [config=null] | | 08:53:55,764 DEBUG [HandlerChainBaseImpl] Enter: doHandleRequest | | 08:53:55,764 DEBUG [HandlerChainBaseImpl] Exit: doHandleRequest with status: tru e | | 08:53:55,774 DEBUG [HandlerChainBaseImpl] Enter: handleResponse | | 08:53:55,774 DEBUG [HandlerChainBaseImpl] Exit: handleResponse with status: true | | 08:53:55,791 ERROR [Call] Exception: | | org.xml.sax.SAXException: Invalid element in ydxt.c2g.GetGsbResponse - return | | at org.jboss.axis.encoding.ser.BeanDeserializer.onStartChild(Ljava.lang. String;Ljava.lang.String;Ljava.lang.String;Lorg.xml.sax.Attributes;Lorg.jboss.ax is.encoding.DeserializationContext;)Lorg.jboss.axis.message.SOAPHandler;(BeanDes erializer.java:432) | | at org.jboss.axis.encoding.DeserializationContextImpl.startElement(Ljava .lang.String;Ljava.lang.String;Ljava.lang.String;Lorg.xml.sax.Attributes;)V(Dese rializationContextImpl.java:1168) | | ... | | | | | | gsoap send.log: | | | | | | | | | | | 1mc111sbbm1111112 | | | 2mc222sbbm22221 | | | 22 | | | | | | | | | | | | | | | | | | | | | | | gsoap recv.log: | | | | | | | | | | | | | | | | | 335401 | | | | | | | | | | | | | | | | | | | | | | | | help me! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986718#3986718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986718 From do-not-reply at jboss.com Thu Nov 16 21:09:20 2006 From: do-not-reply at jboss.com (peixubin) Date: Thu, 16 Nov 2006 21:09:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws4ee call gsoap's webservice problem Message-ID: <30463487.1163729360251.JavaMail.jboss@colo-br-02.atl.jboss.com> | | ns__getGsb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | ns__getSb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | | I replace "_return" with result, "_input" with input, the testcase runs successly!!! why? but when the jbossws4ee client processes null number value,jboss reported error: 09:47:58,246 DEBUG [HandlerChainBaseImpl] init: [config=null] 09:47:58,246 DEBUG [HandlerChainBaseImpl] Enter: doHandleRequest 09:47:58,246 DEBUG [HandlerChainBaseImpl] Exit: doHandleRequest with status: true 09:47:58,254 DEBUG [HandlerChainBaseImpl] Enter: handleResponse 09:47:58,254 DEBUG [HandlerChainBaseImpl] Exit: handleResponse with status: true 09:47:58,330 ERROR [Call] Exception: java.lang.NumberFormatException: empty String at org.jboss.axis.encoding.ser.SimpleDeserializer.onEndElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(SimpleDeserializer.java:242) at org.jboss.axis.encoding.DeserializerImpl.endElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(DeserializerImpl.java:582) at org.jboss.axis.encoding.DeserializationContextImpl.endElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(DeserializationContextImpl.java:1249) at org.jboss.axis.message.SAX2EventRecorder.replay(IILorg.xml.sax.ContentHandler;)V(SAX2EventRecorder.java:252) at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(Lorg.xml.sax.ContentHandler;)V(SOAPElementAxisImpl.java:1389) at org.jboss.axis.message.RPCElement.deserialize()V(RPCElement.java:262) at org.jboss.axis.message.RPCElement.getParams()Ljava.util.Vector;(RPCElement.java:396) ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986726#3986726 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986726 From do-not-reply at jboss.com Thu Nov 16 21:23:43 2006 From: do-not-reply at jboss.com (peixubin) Date: Thu, 16 Nov 2006 21:23:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws4ee call gsoap's webservice problem Message-ID: <8515995.1163730223734.JavaMail.jboss@colo-br-02.atl.jboss.com> "peixubin" wrote : | | | | | ns__getGsb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | | ns__getSb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | | | | | | I replace "_return" with result, "_input" with input, the testcase runs successly!!! why? | | | but when the jbossws4ee client processes null number value,jboss reported error: | 09:47:58,246 DEBUG [HandlerChainBaseImpl] init: [config=null] | 09:47:58,246 DEBUG [HandlerChainBaseImpl] Enter: doHandleRequest | 09:47:58,246 DEBUG [HandlerChainBaseImpl] Exit: doHandleRequest with status: true | 09:47:58,254 DEBUG [HandlerChainBaseImpl] Enter: handleResponse | 09:47:58,254 DEBUG [HandlerChainBaseImpl] Exit: handleResponse with status: true | 09:47:58,330 ERROR [Call] Exception: | java.lang.NumberFormatException: empty String | at org.jboss.axis.encoding.ser.SimpleDeserializer.onEndElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(SimpleDeserializer.java:242) | at org.jboss.axis.encoding.DeserializerImpl.endElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(DeserializerImpl.java:582) | at org.jboss.axis.encoding.DeserializationContextImpl.endElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(DeserializationContextImpl.java:1249) | at org.jboss.axis.message.SAX2EventRecorder.replay(IILorg.xml.sax.ContentHandler;)V(SAX2EventRecorder.java:252) | at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(Lorg.xml.sax.ContentHandler;)V(SOAPElementAxisImpl.java:1389) | at org.jboss.axis.message.RPCElement.deserialize()V(RPCElement.java:262) | at org.jboss.axis.message.RPCElement.getParams()Ljava.util.Vector;(RPCElement.java:396) | ... | jbossWS can process this correctly.no problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986728#3986728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986728 From do-not-reply at jboss.com Thu Nov 16 21:25:42 2006 From: do-not-reply at jboss.com (peixubin) Date: Thu, 16 Nov 2006 21:25:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws4ee call gsoap's webservice problem Message-ID: <11123742.1163730342220.JavaMail.jboss@colo-br-02.atl.jboss.com> 1. | | ns__getGsb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | ns__getSb(char *dwdm,struct ns__csbArray *_input,struct ns__csbArray * _return) ; | | I replace "_return" with result, "_input" with input, the testcase runs successly!!! why? 2. but when the jbossws4ee client processes null number value,jboss reported error: 09:47:58,246 DEBUG [HandlerChainBaseImpl] init: [config=null] 09:47:58,246 DEBUG [HandlerChainBaseImpl] Enter: doHandleRequest 09:47:58,246 DEBUG [HandlerChainBaseImpl] Exit: doHandleRequest with status: true 09:47:58,254 DEBUG [HandlerChainBaseImpl] Enter: handleResponse 09:47:58,254 DEBUG [HandlerChainBaseImpl] Exit: handleResponse with status: true 09:47:58,330 ERROR [Call] Exception: java.lang.NumberFormatException: empty String at org.jboss.axis.encoding.ser.SimpleDeserializer.onEndElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(SimpleDeserializer.java:242) at org.jboss.axis.encoding.DeserializerImpl.endElement(Ljava.lang.String;Ljava.lang.String;Lorg.jboss.axis.encoding.DeserializationContext;)V(DeserializerImpl.java:582) at org.jboss.axis.encoding.DeserializationContextImpl.endElement(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V(DeserializationContextImpl.java:1249) at org.jboss.axis.message.SAX2EventRecorder.replay(IILorg.xml.sax.ContentHandler;)V(SAX2EventRecorder.java:252) at org.jboss.axis.message.SOAPElementAxisImpl.publishToHandler(Lorg.xml.sax.ContentHandler;)V(SOAPElementAxisImpl.java:1389) at org.jboss.axis.message.RPCElement.deserialize()V(RPCElement.java:262) at org.jboss.axis.message.RPCElement.getParams()Ljava.util.Vector;(RPCElement.java:396) ... jbossWS can process null number correctly.no problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986729#3986729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986729 From do-not-reply at jboss.com Thu Nov 16 22:13:40 2006 From: do-not-reply at jboss.com (mslepak) Date: Thu, 16 Nov 2006 22:13:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS installation problem Message-ID: <912158.1163733220856.JavaMail.jboss@colo-br-02.atl.jboss.com> Any help on this matter will be greatly appreciated. I have installed JBossWS. However, when I attempt to start jboss, I am getting org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.ws.integration.jboss.WebServiceClientDeployer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986732#3986732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986732 From do-not-reply at jboss.com Thu Nov 16 23:46:27 2006 From: do-not-reply at jboss.com (jhudson) Date: Thu, 16 Nov 2006 23:46:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <11990064.1163738787398.JavaMail.jboss@colo-br-02.atl.jboss.com> So, I just downloaded a new clean Jboss server (4.0.5) and started over. I replaced the following files: - jbossws14-client.jar - jbossws14.sar I am still hitting the exact same error (shown above) when I try to view a wsdl file. Please, does anybody know what I am doing wrong? Thank you very much in advance for any help that can be offered. Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986734#3986734 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986734 From do-not-reply at jboss.com Fri Nov 17 00:05:12 2006 From: do-not-reply at jboss.com (jhudson) Date: Fri, 17 Nov 2006 00:05:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <27959129.1163739912663.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry I keep posting but I'm truly trying to figure this out... I've made progress but can't get past the following error (on startup). I don't know what to do... I've been through the docs and I feel like I have done everything right... please help. Thanks. Joe ** Java Class package com.test; import javax.jws.WebMethod; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; @WebService( name = "EndpointInterface", targetNamespace = "http://org.jboss.ws/samples/jsr181pojo", serviceName = "TestService") @SOAPBinding(style = SOAPBinding.Style.RPC) public class JSEBean01 { @WebMethod public String echo(String input) { return input; } } ** web.xml TestService com.test.JSEBean01 TestService /* java.lang.NullPointerException at org.jboss.ws.integration.jboss.DeployerInterceptor.getServiceEndpointDeployer(DeployerInterceptor.java:142) at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.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 $Proxy36.create(Unknown Source) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:490) at java.lang.Thread.run(Thread.java:595) 00:01:12,822 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986736#3986736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986736 From do-not-reply at jboss.com Fri Nov 17 04:12:09 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 17 Nov 2006 04:12:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Interfaces and Webservice Message-ID: <10850856.1163754729316.JavaMail.jboss@colo-br-02.atl.jboss.com> As long as the interfaces contain the complete signature and are not extended by the concrete implementation that should be no problem. Otherwise, this is a tools issue. When you go you must find a way to produce the correct abstract contract. i.e. the wsdl contained schema must contain definitions of all concrete types. AFAIK, there is no tool that can guess the transitve closure of an interface View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986770#3986770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986770 From do-not-reply at jboss.com Fri Nov 17 04:18:31 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 17 Nov 2006 04:18:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <4322057.1163755111828.JavaMail.jboss@colo-br-02.atl.jboss.com> Your installation seem completly broken, jbossws cannot even find the microkernel http://fisheye.jboss.com/browse/JBossWS/branches/dboeren/jbossws-1.0/jbossws-1.0/src/main/java/org/jboss/ws/server/ServiceEndpointManagerFactory.java?r=409 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986771#3986771 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986771 From do-not-reply at jboss.com Fri Nov 17 04:23:27 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 17 Nov 2006 04:23:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <19068921.1163755407658.JavaMail.jboss@colo-br-02.atl.jboss.com> Why are you using JBoss [Zion] 4.0.4.CR2 Try 4.0.4.GA or 4.0.5.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986772#3986772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986772 From do-not-reply at jboss.com Fri Nov 17 04:27:18 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 17 Nov 2006 04:27:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS installation problem Message-ID: <4888933.1163755638493.JavaMail.jboss@colo-br-02.atl.jboss.com> On any particular version of jboss? From the installer? From a binary/source download? What version of jbossws? i.e. this post is post is pretty useless View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986773#3986773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986773 From do-not-reply at jboss.com Fri Nov 17 04:39:11 2006 From: do-not-reply at jboss.com (micho) Date: Fri, 17 Nov 2006 04:39:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS does not understand my Client Message-ID: <16640905.1163756351729.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you. I think OpenLaszol doesn?t support RPC-Literal, but I will try. I now tried to change the WS to Document-Literal. Deploying I get the Error ERROR [MainDeployer] Could not create deployment: file:/C:/bin/jboss-4.0.4.GA_1/server/default/tmp/deploy/tmp51974ws1.ear-contents/beans. | jar | org.jboss.ws.WSException: Attempt to map multiple operation inputs to: {http://server/jaws}int Any Ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986774#3986774 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986774 From do-not-reply at jboss.com Fri Nov 17 05:06:52 2006 From: do-not-reply at jboss.com (muted) Date: Fri, 17 Nov 2006 05:06:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: tool support for Stub based client programming model Message-ID: <16693339.1163758012388.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm also looking for information on how to create the client-side stubs. Looking at the (poor) documentation for wstools, it looks like it can only create the server-side stubs. That was my experience, I have a valid wsdl file created with the tools used on the endpoint server, which is running on a different platform. When I use wstools as specified in the WS documentation and wiki, the only code I get is the server-side stubs which do not help me at all. I browsed through the wstools configuration XML and it seems that it only specifies ways to create the server-side java code. I'm really new to web service coding and until now have just used ready modules created by others in the company. However, everyone here is new to JBoss so a few examples or the correct instructions on how to use wstools to create the client-side stubs would be appreciated. -Pekka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986780#3986780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986780 From do-not-reply at jboss.com Fri Nov 17 05:18:45 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 17 Nov 2006 05:18:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: tool support for Stub based client programming model Message-ID: <4540431.1163758725446.JavaMail.jboss@colo-br-02.atl.jboss.com> What specifically don't you understand about http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986782#3986782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986782 From do-not-reply at jboss.com Fri Nov 17 06:20:18 2006 From: do-not-reply at jboss.com (muted) Date: Fri, 17 Nov 2006 06:20:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: tool support for Stub based client programming model Message-ID: <31017464.1163762418301.JavaMail.jboss@colo-br-02.atl.jboss.com> Well, the wstools config file shown in that particular page that should create the client-side stub doesn't seem to work, as I'm only getting the server-side stubs. That's not a problem anymore though, since I've moved on into using DII configured through the wsdl-file and it seems to be working. -Pekka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986800#3986800 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986800 From do-not-reply at jboss.com Fri Nov 17 11:18:39 2006 From: do-not-reply at jboss.com (jhudson) Date: Fri, 17 Nov 2006 11:18:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <5582952.1163780319304.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks again Thomas for your help. I have finally got it working but I am wondering about the generated parameter names. A snipped from the generated WSDL is: Notice the int_1 and int_2 parameter names. The Java parameter names weren't used. Is there any way I tell the service to use the Java method parameter names as WSDL part names? Thanks Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986874#3986874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986874 From do-not-reply at jboss.com Fri Nov 17 11:25:36 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 17 Nov 2006 11:25:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <11255256.1163780736085.JavaMail.jboss@colo-br-02.atl.jboss.com> Before @WebParam in JAXWS there is not, because you cannot get at this information through the java reflection API View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986877#3986877 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986877 From do-not-reply at jboss.com Fri Nov 17 11:27:39 2006 From: do-not-reply at jboss.com (jhudson) Date: Fri, 17 Nov 2006 11:27:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <22865659.1163780859710.JavaMail.jboss@colo-br-02.atl.jboss.com> ok, thank you very much Thomas. I appreciate your help. Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986879#3986879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986879 From do-not-reply at jboss.com Fri Nov 17 11:35:40 2006 From: do-not-reply at jboss.com (jhudson) Date: Fri, 17 Nov 2006 11:35:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR-181 Endpoint ClassCastException Message-ID: <21131516.1163781340846.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I promise this is my last question :) I saw a reference somewhere that jbossws rewrites the web.xml (which I see happening) if you are using an exploded structure but, if I restart the app server and keep the rewritten web.xml file, the endpoint can not be located. So, every time I start the server have to keep replacing the web.xml file with the web.xml.org file. Am I missing something? Is there an easier way to do this? Thank you very much. Joe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986885#3986885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986885 From do-not-reply at jboss.com Fri Nov 17 12:04:34 2006 From: do-not-reply at jboss.com (ge0ffrey) Date: Fri, 17 Nov 2006 12:04:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: How do I disable HTTP chunking? Message-ID: <11758301.1163783074070.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for opening the issue! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986907#3986907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986907 From do-not-reply at jboss.com Fri Nov 17 12:42:49 2006 From: do-not-reply at jboss.com (fcheng) Date: Fri, 17 Nov 2006 12:42:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Create multiple web services with same SLSB ejb Message-ID: <25700593.1163785369276.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986927#3986927 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986927 From do-not-reply at jboss.com Fri Nov 17 12:44:53 2006 From: do-not-reply at jboss.com (mslepak) Date: Fri, 17 Nov 2006 12:44:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS installation problem Message-ID: <2355949.1163785493617.JavaMail.jboss@colo-br-02.atl.jboss.com> We are using JBoss AS 4.0.0 with embedded Tomcat 5.0. We've used JBoss for quite a while, haven't had any problems, and now we are adding WS component which we downloaded from your site. Here is the exact file description: jbossws-1.0.4.GA; Binaries, Docs, Samples; 12 MB; 11/15/06; LGPL I followed the installation instructions, i.e. 1. Extracted jbossws.sar to the newly created directory jbossws.sar under C:\jboss-4.0.0\server\jist\deploy 3. Copied jbossws-client.jar to C:\jboss-4.0.0\client 4. Downloaded jboss-xml-binding.jar file from http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7/lib/ 5. Copied jboss-xml-binding.jar file to C:\jboss-4.0.0\client and C:\jboss-4.0.0\lib Upon completion of these steps, I started JBoss and encountered org.jboss.deployment.DeploymentException: Unexpected error during load of: org.jboss.ws.integration.jboss.WebServiceClientDeployer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986930#3986930 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986930 From do-not-reply at jboss.com Fri Nov 17 12:52:32 2006 From: do-not-reply at jboss.com (ke.ren) Date: Fri, 17 Nov 2006 12:52:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws marshal vector object problem Message-ID: <14991687.1163785952231.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I met some problems when I try to use Vector in wsdl. I checked the log file and found JBoss set the objects correctly: anonymous wrote : DEBUG [org.jboss.ws.binding.EndpointInvocation] setReturnValue: java.util.Vector | | 2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] bindResponseMessage: {http://ws.ebay.autoquake.com/jaws}getVehicleFeaturesInStore | | 2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.binding.EndpointInvocation] getReturnValue | | 2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.binding.EndpointInvocation] transformPayloadValue: java.util.Vector -> java.util.Vector | | 2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.soap.SOAPContentElement] setObjectValue: [com.autoquake.ebay.core.pojo.ValueObjectPOJO at 157a7ec, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 1d18707, com.autoquake.ebay.core.pojo.ValueObjectPOJO at f7f725, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 1829ea2, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 7ca9bd, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 6bb78a, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 1df02c9, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 300f65, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 142e23f, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 13b792, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 78d976, com.autoquake.ebay.core.pojo.ValueObjectPOJO at cead6, com.autoquake.ebay.core.pojo.ValueObjectPOJO at dafa2, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 85ce5a, com.autoquake.ebay.core.pojo.ValueObjectPOJO at ae8764, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 3acf34, com.autoquake.ebay.core.pojo.ValueObjectPOJO at f96845, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 2cb491, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 102d72d, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 17cdd50, com.autoquake.ebay.core.pojo.ValueObjectPOJO at a5b721, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 199ffdd, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 16d383a, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 1868b72, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 2cec33, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 1472b3c, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 167a209, com.autoquake.ebay.core.pojo.ValueObjectPOJO at bf00ab, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 1c4ed65, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 1bdbf51, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 5b7025, com.autoquake.ebay.core.pojo.ValueObjectPOJO at 11fa5f0] However, it failed to marshal this vector: anonymous wrote : DEBUG [org.jboss.ws.soap.SOAPContentElement] Transitioning to dom-valid state, MTOM disabled | | 2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.soap.SOAPContentElement] getXMLFragment from Object [xmlType={http://java.sun.com/jax-rpc-ri/internal}vector,javaType=class java.util.Vector] | | 2006-11-17 17:39:39,234 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBSerializer] serialize: [xmlName=result,xmlType={http://java.sun.com/jax-rpc-ri/internal}vector] | | 2006-11-17 17:39:39,250 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBSerializer] serialized: | | 2006-11-17 17:39:39,250 DEBUG [org.jboss.ws.soap.SOAPContentElement] xmlFragment: | | 2006-11-17 17:39:39,250 DEBUG [jbossws.SOAPMessage] Outgoing SOAPMessage | | | | | The serialized result was empty. Is it a bug or I made any thing wrong? Thanks in advance.anonymous wrote : View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986935#3986935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986935 From do-not-reply at jboss.com Fri Nov 17 14:01:00 2006 From: do-not-reply at jboss.com (aronen) Date: Fri, 17 Nov 2006 14:01:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Generating classes from WSDL for JBoss Message-ID: <9714605.1163790060640.JavaMail.jboss@colo-br-02.atl.jboss.com> Someone please help. We defined WSDL files for a web service. It conforms to the WS-I BP 1.0 (WSDL 1.1, SOAP 1.1) and works in .NET. How do I go about generating the Java class files from these WSDL files? Assume we are using JBoss 4.0.4 (includes JBossWS) and Java SE 1.5 (also known as 5). Is it a command line toll that comes with JBossAS/JBossWS? Is there an Eclipse plug-in specific for JBoss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986961#3986961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986961 From do-not-reply at jboss.com Fri Nov 17 14:15:48 2006 From: do-not-reply at jboss.com (zhi_hui) Date: Fri, 17 Nov 2006 14:15:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS1.0.4 doesn't work with JBossAS4.0.4GA Message-ID: <21059857.1163790948294.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to follow JBossWS1.0.4 installation intructions to install JBossWS1.0.4 on top of JBossAS4.0.4GA. 1. Copy lib/jbossws-client.jar to $JBOSS_HOME/client/ 2. extracted jbossws.sar to jbossws.sar directory under $JBOSS_HOME/server/default/deploy/ 3. download jboss-xml-binding.jar from http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7/lib 4. replace the jboss-xml-binding.jar file in $JBOSS_HOME/client and $JBOSS_HOME/lib with the downloaded one. After that, I tried to start JBoss, but I saw a lot of exceptions, and http://localhost:8080/jbossws could not be reached. Am I missing anything in the steps? any comments are appreciated. Part of the exception messages are ------------------------------------------------------------------------- 2006-11-18 02:37:46,187 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config as XML, url=file:/D:/work/test/jboss-4.0.4.GA/server/default/conf/login-config.xml 2006-11-18 02:37:46,203 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Failed to load config as XML 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.security.auth.login.XMLLoginConfigImpl.loadXMLConfig(XMLLoginConfigImpl.java:319) at org.jboss.security.auth.login.XMLLoginConfigImpl.loadConfig(XMLLoginConfigImpl.java:287) ... ... Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:96) at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:55) at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96) ... 52 more Caused by: javax.xml.parsers.ParserConfigurationException: Feature 'http://apache.org/xml/features/xinclude' is not recognized. at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92) ... 54 more 2006-11-18 02:37:46,203 DEBUG [org.jboss.security.auth.login.XMLLoginConfigImpl] Try loading config as Sun format, url=file:/D:/work/test/jboss-4.0.4.GA/server/default/conf/login-config.xml 2006-11-18 02:37:46,218 WARN [org.jboss.security.auth.login.XMLLoginConfigImpl] End loadConfig, failed to load config: file:/D:/work/test/jboss-4.0.4.GA/server/default/conf/login-config.xml org.jboss.security.auth.login.ParseException: Encountered " I have tried this with jboss 4.0.5 native and with jbossws 1.0.4. I have successfully used an annotated stateless ejb for web services with document / literal / bare configuration. I am now attempting to add a header to each web service request. Here is the class : @WebService(name = "test", targetNamespace = "http://com.test", serviceName = "test") @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE) @Stateless public class TestService { @WebMethod public void logout(@WebParam(name="header", header=true) String value, @WebParam(name="parameters", header=false) String request){ } @WebMethod public void logout2(@WebParam(name="header2", header=true) String value, @WebParam(name="test", header=false) String request){ } } Note that web service logout works fine. logout2 has problems. As I interpret the problem is with the messages The code generation always names the body element "parameters". So the only way to get it to work is to name the body element "parameters". Is there a work around for now> View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986976#3986976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986976 From do-not-reply at jboss.com Fri Nov 17 18:31:17 2006 From: do-not-reply at jboss.com (jshrinivas) Date: Fri, 17 Nov 2006 18:31:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: DayTrader benchmark deployment Message-ID: <30253999.1163806277771.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thomas, I am sorry, I couldnt get back to you on this earlier. Anyways, there is no jaxrpc-mapping.xml in the ear. There is a file named TradeServices_mapping.xml and here is what the file lists for getMarketSumary: getMarketSummary getMarketSummary org.apache.geronimo.samples.daytrader.MarketSummaryDataBeanWS wrvm:getMarketSummaryResponse getMarketSummaryReturn Please let me know if I am missing something here. Thanks, -Shrinivas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987016#3987016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987016 From do-not-reply at jboss.com Fri Nov 17 22:32:41 2006 From: do-not-reply at jboss.com (ericmacau) Date: Fri, 17 Nov 2006 22:32:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - One endpoint but the type appears twice in the WSDL Message-ID: <4550819.1163820761227.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I use JBossWS-1.0.3 to create the web service in Tomcat-5.5. Everything seems fine but meet a strange problem that one of the Java bean in the generated WSDL appearing twice. Please look at the following WSDL. Is it a bug or just like that. And how can I do if I only want one in the WSDL. In fact they are same beans (Role and Group). I tried to generated the web service client from c#, it appears two Role (Role and Role1). Please help. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987038#3987038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987038 From do-not-reply at jboss.com Sun Nov 19 01:12:29 2006 From: do-not-reply at jboss.com (tapeshag) Date: Sun, 19 Nov 2006 01:12:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException which generating the WSDL file usin Message-ID: <18238874.1163916749477.JavaMail.jboss@colo-br-02.atl.jboss.com> I like to correct one of my old comments. "I was not defining the package in my interface" I wrote it other way round. Thomas: Pls update this line in the bug description as well View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987127#3987127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987127 From do-not-reply at jboss.com Sun Nov 19 11:42:15 2006 From: do-not-reply at jboss.com (stewchicken) Date: Sun, 19 Nov 2006 11:42:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Cannot find ServiceFactory implementation Message-ID: <24058791.1163954535927.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear All I publish WebSerivce (vid EJB EntryPoint) sucessfully But When I use a remote client to call it , I always get below exception javax.xml.rpc.ServiceException: Cannot find ServiceFactory implementation 1) Below is a snippet of my remote client code. Could any of you give me some hints ? 2) Is there any easy way to test web service (via EJB Entry Point) like SUN AppServer(glassfish), web service can be tested on Server's Admin console. no need to write remote client to test it Thanks. URL url = new URL("http://bearingp-9o5cye:8080/psm-aapt-AAPT_CD005_V04/ProductServiceMgmtWebServiceBean?wsdl"); QName serviceName = new QName("ProductServiceMgmtWebServiceBean"); ServiceFactory factory = ServiceFactory.newInstance(); Service service = factory.createService(url, serviceName); webService = (ProductServiceMgmtWebService) service.getPort(ProductServiceMgmtWebService.class); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987155#3987155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987155 From do-not-reply at jboss.com Sun Nov 19 13:29:49 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 19 Nov 2006 13:29:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS installation problem Message-ID: <25007102.1163960989965.JavaMail.jboss@colo-br-02.atl.jboss.com> http://wiki.jboss.org/wiki/Wiki.jsp?page=WebServiceStacks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987157#3987157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987157 From do-not-reply at jboss.com Sun Nov 19 13:31:50 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 19 Nov 2006 13:31:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws marshal vector object problem Message-ID: <12177279.1163961110155.JavaMail.jboss@colo-br-02.atl.jboss.com> Its an FAQ http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportedDataTypes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987158#3987158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987158 From do-not-reply at jboss.com Sun Nov 19 13:34:47 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 19 Nov 2006 13:34:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generating classes from WSDL for JBoss Message-ID: <32541731.1163961287980.JavaMail.jboss@colo-br-02.atl.jboss.com> You could read the documentation http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987159#3987159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987159 From do-not-reply at jboss.com Sun Nov 19 13:43:04 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 19 Nov 2006 13:43:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Cannot find ServiceFactory implementation Message-ID: <16158288.1163961784408.JavaMail.jboss@colo-br-02.atl.jboss.com> http://www.soapui.org/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987160#3987160 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987160 From do-not-reply at jboss.com Sun Nov 19 13:57:29 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 19 Nov 2006 13:57:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS1.0.4 doesn't work with JBossAS4.0.4GA Message-ID: <27388888.1163962649980.JavaMail.jboss@colo-br-02.atl.jboss.com> Works for me View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987161#3987161 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987161 From do-not-reply at jboss.com Mon Nov 20 05:49:32 2006 From: do-not-reply at jboss.com (Adeel) Date: Mon, 20 Nov 2006 05:49:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <25910424.1164019772804.JavaMail.jboss@colo-br-02.atl.jboss.com> I also get the same error when generating types from amazon web service at http://www.xmlme.com/WSAmazonBox.asmx?wsdl using jbossws-1.0.4 Adeel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987253#3987253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987253 From do-not-reply at jboss.com Mon Nov 20 06:03:28 2006 From: do-not-reply at jboss.com (bocio) Date: Mon, 20 Nov 2006 06:03:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Tomas why I can't see most of your post? Message-ID: <23513514.1164020608243.JavaMail.jboss@colo-br-02.atl.jboss.com> I' trying as usual to find some useful info on this forums but as usual most of the topic posts do not show up. For example: On this topic I should see 1 reply form Tomas but I can see just the first post. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=95162 On this topic I should see 3 replies but only the first post show up: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=67772 And so on for a lot of posts on the JBoss forums... I posted this question also on the JBoss Website issues but always without reply and my post were deleted too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987256#3987256 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987256 From do-not-reply at jboss.com Mon Nov 20 07:43:27 2006 From: do-not-reply at jboss.com (biroj) Date: Mon, 20 Nov 2006 07:43:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSDL --> EJB3 SEI Message-ID: <8301543.1164026607891.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a very simple question for you, I have a WSDL file, which have to implemented by me using JBoss WS/EJB3 SEI. Do you have any tutorial somewhere how could I create EJB3 SEI-s from it? I've found only guides how can I create WSDLs from existing interfaces, it is nice but I'd need another approach. Thanks a lot, Bye, Janos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987275#3987275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987275 From do-not-reply at jboss.com Mon Nov 20 08:03:39 2006 From: do-not-reply at jboss.com (biroj) Date: Mon, 20 Nov 2006 08:03:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generating classes from WSDL for JBoss Message-ID: <7737386.1164027819784.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, If I uses wstools.bat it will fail with "local part cannot be "null when creating a QName" InvalidArgumentException. Bye, Janos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987277#3987277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987277 From do-not-reply at jboss.com Mon Nov 20 10:05:59 2006 From: do-not-reply at jboss.com (ke.ren) Date: Mon, 20 Nov 2006 10:05:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws marshal vector object problem Message-ID: <17464960.1164035159481.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you very much. I have solved it by using array. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987302#3987302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987302 From do-not-reply at jboss.com Mon Nov 20 10:49:04 2006 From: do-not-reply at jboss.com (RajeshRamchander) Date: Mon, 20 Nov 2006 10:49:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS1.0.4 doesn't work with JBossAS4.0.4GA Message-ID: <3976637.1164037744431.JavaMail.jboss@colo-br-02.atl.jboss.com> Does not work with JBoss 4.0.4 and 4.0.5. See the same exception: org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987323#3987323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987323 From do-not-reply at jboss.com Mon Nov 20 11:00:42 2006 From: do-not-reply at jboss.com (sursha) Date: Mon, 20 Nov 2006 11:00:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: One endpoint but the type appears twice in the WSDL Message-ID: <28625231.1164038442407.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Glad to see that some one else also is experiencing same issue. I have posted a bug to JIRA. Please refer the link below. I'm sure there are other people also experiencing same issue. It is a show stopper issue for me. I think it is time JBOSS comes up with a fix for this. Basically I've to make a decision soon whether to use JBOSS or not based on this. http://jira.jboss.com/jira/browse/JBWS-1390 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987327#3987327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987327 From do-not-reply at jboss.com Mon Nov 20 11:38:18 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Mon, 20 Nov 2006 11:38:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with SAAJ Client for Webservice that receives at Message-ID: <20580996.1164040698067.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : Could you please create a jira issue and attach a patch against the 1.0.4 testsuite that allows us to reproduce this issue. | | cheers | Issue created at http://jira.jboss.org/jira/browse/JBWS-1393 Small test client attached. Solution provided (may not be the best solution, should be more generic) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987343#3987343 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987343 From do-not-reply at jboss.com Mon Nov 20 12:29:09 2006 From: do-not-reply at jboss.com (Ganton) Date: Mon, 20 Nov 2006 12:29:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: how to application-client.xml e jboss-client.xml for se Message-ID: <5210888.1164043749506.JavaMail.jboss@colo-br-02.atl.jboss.com> So, if the element I am using is in my web.xml file, and I want to "override" the element of the reference, where should I be putting jboss-client.xml so it will find my reference ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987365#3987365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987365 From do-not-reply at jboss.com Mon Nov 20 12:47:04 2006 From: do-not-reply at jboss.com (RajeshRamchander) Date: Mon, 20 Nov 2006 12:47:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS1.0.4 doesn't work with JBossAS4.0.4GA Message-ID: <5231360.1164044824144.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry! False alarm. We had older versions of Xerces JARs in the classpath that were preventing the ones from jboss/lib/endorsed from getting loaded. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987368#3987368 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987368 From do-not-reply at jboss.com Mon Nov 20 13:51:24 2006 From: do-not-reply at jboss.com (croisfert) Date: Mon, 20 Nov 2006 13:51:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <18090559.1164048684443.JavaMail.jboss@colo-br-02.atl.jboss.com> same error at Wolfram Research: http://webservices.wolfram.com/services/SearchServices/WolframSearch2.wsdl and (new) other error: Exception in thread "main" org.jboss.ws.metadata.wsdl.WSDLException: WSDLException (at /definitions/binding/operation[1]/input): faultCode=INVALID_WSDL: Element '{http://schemas.xmlsoap.org/wsdl/}input' contained unexpected attributes: 'message': here: http://www.ebob42.com/cgi-bin/Romulan.exe/wsdl/IRoman View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987382#3987382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987382 From do-not-reply at jboss.com Mon Nov 20 14:11:22 2006 From: do-not-reply at jboss.com (biroj) Date: Mon, 20 Nov 2006 14:11:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - wstools bug? Message-ID: <9942601.1164049882311.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using JBoss AS 4.0.4 GA with the bundled JBossWS and the corresponding wstools. I tried to compile a valid WSDL file (see below) but it failed with the following exception: | Exception in thread "main" java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName | at javax.xml.namespace.QName.(Unknown Source) | at javax.xml.namespace.QName.(Unknown Source) | at org.jboss.ws.tools.XSDTypeToJava.handleAttributes(XSDTypeToJava.java:418) | at org.jboss.ws.tools.XSDTypeToJava.getVARList(XSDTypeToJava.java:198) | at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:153) | at org.jboss.ws.tools.XSDTypeToJava.createVARforXSElementDeclaration(XSDTypeToJava.java:632) | at org.jboss.ws.tools.XSDTypeToJava.createVARsForElements(XSDTypeToJava.java:519) | at org.jboss.ws.tools.XSDTypeToJava.createVARsforXSParticle(XSDTypeToJava.java:446) | at org.jboss.ws.tools.XSDTypeToJava.getVARList(XSDTypeToJava.java:248) | at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:153) | at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:113) | at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:497) | at org.jboss.ws.tools.WSDLToJava.getReturnType(WSDLToJava.java:377) | at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:220) | at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:333) | at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:355) | at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:174) | at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:326) | at org.jboss.ws.tools.WSTools.process(WSTools.java:132) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) | at org.jboss.ws.tools.WSTools.main(WSTools.java:61) | WSDL | ?xml version="1.0" encoding="UTF-8"?> | | | | | | | | | | | | Get EM info. | | | | | Get EM info response. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I can also include the XSDs if it is neccessary. The wstools config file was the simpliest one: | | | | Could you help me? Thanks a lot, Bye, Janos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987388#3987388 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987388 From do-not-reply at jboss.com Mon Nov 20 14:48:50 2006 From: do-not-reply at jboss.com (bocio) Date: Mon, 20 Nov 2006 14:48:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSTOOLS: WSException: String passed is null on jbossws 1.0.4 Message-ID: <7558515.1164052130373.JavaMail.jboss@colo-br-02.atl.jboss.com> Same error on the WSDL below. WSDL is generated by Axis 1.2.1 Given that soap encoding is not supported we tried with document/literal and wrapped but always with the same results... The problem lies in a simple string[] description Our WSDL: anonymous wrote : | - | - | - | - | - | - | - | | | | | | | | - | | | - | - | | | | | - | | - | | - | | | - | | | | | - | - | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987393#3987393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987393 From do-not-reply at jboss.com Mon Nov 20 15:04:34 2006 From: do-not-reply at jboss.com (stewchicken) Date: Mon, 20 Nov 2006 15:04:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Cannot find ServiceFactory implementation Message-ID: <33036106.1164053074640.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello Thanks for your pointer to link I guess it is answear for my question 2) Could you give me some hints for Question 1) ? Thanks and Rgds View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987396#3987396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987396 From do-not-reply at jboss.com Mon Nov 20 15:05:04 2006 From: do-not-reply at jboss.com (swamini2) Date: Mon, 20 Nov 2006 15:05:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Glassfish vs. JBossWS - no JAXWS support in JBossWS? Message-ID: <12076.1164053104499.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been working with Glassfish and JBossWS and found that Glassfish is better in a few areas. One of them is supporting latest JAXWS out-of-box. Their WSDL compile tool generates JAXWS specific artifacts and also supports backward compatibility with JAXRPC. JBossWS 1.0.x seems to support only JAXPRC. Which version of JBossWS supports JAXWS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987397#3987397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987397 From do-not-reply at jboss.com Mon Nov 20 16:00:04 2006 From: do-not-reply at jboss.com (lafr) Date: Mon, 20 Nov 2006 16:00:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but not Message-ID: <12670988.1164056404417.JavaMail.jboss@colo-br-02.atl.jboss.com> Running the identical code on the current checkout of Branch_4_0 gives me an exception not seen with our current production version JBoss-4.0.4-GA. 2006-11-20 21:46:32,954 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mbi-ws/mbi2e-lafr-sb2000-ipc/core].[MessageServiceWS]] Servlet.service() for servlet MessageServiceWS threw exception | java.lang.ExceptionInInitializerError | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:164) | at org.jboss.ws.soap.attachment.ContentHandlerRegistry.(ContentHandlerRegistry.java:51) | at org.jboss.ws.xop.XOPUnmarshallerImpl.(XOPUnmarshallerImpl.java:59) | at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:60) | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92) | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) | at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) | at org.jboss.ws.server.ServiceEndpointInvokerJSE.invokeServiceEndpoint(ServiceEndpointInvokerJSE.java:94) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp | at java.awt.datatransfer.DataFlavor.(DataFlavor.java:292) | at javax.activation.ActivationDataFlavor.(ActivationDataFlavor.java:81) | at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.java:77) | at org.jboss.ws.soap.attachment.ImageDataContentHandler.(ImageDataContentHandler.java:63) | But we don't use any attachments. What's wrong here or what did change here? How to avoid this error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987414#3987414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987414 From do-not-reply at jboss.com Mon Nov 20 16:18:29 2006 From: do-not-reply at jboss.com (klease) Date: Mon, 20 Nov 2006 16:18:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <21540827.1164057509950.JavaMail.jboss@colo-br-02.atl.jboss.com> It looks like this is the same error reported earlier (http://jira.jboss.org/jira/browse/JBWS-1260), but that was only occurring on wsdl-java when the unwrap=true attribute was used. It appears from the new stack trace that wsdl-java is using unwrap even when it is NOT specified. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987415#3987415 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987415 From do-not-reply at jboss.com Mon Nov 20 16:46:21 2006 From: do-not-reply at jboss.com (reinerka) Date: Mon, 20 Nov 2006 16:46:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Issue with JASS on JBossWS (1.0.3 & 1.0.4) Message-ID: <1097534.1164059181199.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm receiving a Premature end of File exception with the following Input XML on createMessage (on MessageFactory). I've tried this on JBoss 4.0.5.GA release and again after upgrading to JBossWS-1.0.4.GA. I broke it into seperate lines for easier reading. | | | | Somebody | 9999 | Somebody | 1234567890 | | | | 1 BOOT | | | | 4 VALUE CHANGE | | | | 1 | 0000-00-00T00:04:49 | 1 | | | InternetGatewayDevice.DeviceInfo.SpecVersion | 1.0 | | | InternetGatewayDevice.DeviceInfo.HardwareVersion | 1.0002.0 | | | InternetGatewayDevice.DeviceInfo.SoftwareVersion | 1.01.38 | | InternetGatewayDevice.DeviceInfo.ProvisioningCode | | | | InternetGatewayDevice.ManagementServer.ConnectionRequestURL | http://123.123.123.123:12345/ | | | InternetGatewayDevice.ManagementServer.ParameterKey | parameterkey | | | InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.ExternalIPAddress | 192.168.0.101 | | | | | | | What could cause this issue. It used to work fine using the Apache AXIS implementation. But right it seems that JBossWS is causing a big amount of problems for this application. | | Thanks, | Reiner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987420#3987420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987420 From do-not-reply at jboss.com Mon Nov 20 16:57:33 2006 From: do-not-reply at jboss.com (fcheng) Date: Mon, 20 Nov 2006 16:57:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Cannot find ServiceFactory implementation Message-ID: <28736998.1164059853175.JavaMail.jboss@colo-br-02.atl.jboss.com> You need include jbossws-client.jar when you run your remote client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987421#3987421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987421 From do-not-reply at jboss.com Mon Nov 20 17:11:00 2006 From: do-not-reply at jboss.com (reinerka) Date: Mon, 20 Nov 2006 17:11:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Using Axis SAAJ Implementation instead of JBossWS Message-ID: <9011726.1164060660480.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, is there a way to use the Apache AXIS SAAJ implementation on an application level (not as full replacement for JBossWS). We're having so many problems with the JBossWS SAAJ implementation that it renders our application useless. Since we know that the Apache AXIS SAAJ implementation works flawlessly for what we need we would rather switch to that. Any help/pointers? Thanks, Reiner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987425#3987425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987425 From do-not-reply at jboss.com Tue Nov 21 03:26:45 2006 From: do-not-reply at jboss.com (ishq) Date: Tue, 21 Nov 2006 03:26:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WS-RF support Message-ID: <15317989.1164097605742.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I would like to know if jboss-ws is going to rovide implementation for WS-RF in near future? Thanks, ishq View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987484#3987484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987484 From do-not-reply at jboss.com Tue Nov 21 03:38:54 2006 From: do-not-reply at jboss.com (maeste) Date: Tue, 21 Nov 2006 03:38:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Glassfish vs. JBossWS - no JAXWS support in JBossWS? Message-ID: <82528.1164098334452.JavaMail.jboss@colo-br-02.atl.jboss.com> AFAIK jbossws 2.0 will support jaxws. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987486#3987486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987486 From do-not-reply at jboss.com Tue Nov 21 03:52:08 2006 From: do-not-reply at jboss.com (biroj) Date: Tue, 21 Nov 2006 03:52:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools bug? Message-ID: <29851253.1164099128526.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, After I've resolved all the xs:includes, it compiles. Does it mean that wstools does not support it at all? Bye, Janos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987490#3987490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987490 From do-not-reply at jboss.com Tue Nov 21 04:26:49 2006 From: do-not-reply at jboss.com (mavalla) Date: Tue, 21 Nov 2006 04:26:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException using wstools Message-ID: <27461523.1164101209089.JavaMail.jboss@colo-br-02.atl.jboss.com> I found that the error is in lines like this in the schema files: If I change the type from StringLength0to128 to xs:string and now it passes the error. The new lines are like this: The StringLength0to128 is a type defined by the OTA specification as: Used for Character Strings, length 0 to 128 It seems that the wstools doesn't support "xs:extension base" with types defined in the schema but only simple types. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987499#3987499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987499 From do-not-reply at jboss.com Tue Nov 21 04:39:04 2006 From: do-not-reply at jboss.com (muted) Date: Tue, 21 Nov 2006 04:39:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Deploying JDeveloper/Oracle webservices on JBossWS Message-ID: <23952233.1164101944852.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've been trying to deploy a webservice created in JDeveloper on JBoss. I've tried to search for other messages on both these boards and Oracle's forums but haven't had much luck. The .war file doesn't deploy properly, the error message given is: 2006-11-21 11:31:38,351 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/jboss-4.0.5.GA/server/default/deploy/DashboardWS.war | java.lang.ClassCastException: oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl | at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:142) | at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:263) | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:90) | at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:78) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) | at org.jboss.ws.integration.jboss.DeployerInterceptorJSE.create(DeployerInterceptorJSE.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.GeneratedMethodAccessor54.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $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) | I'm running JBoss AS 4.0.5GA on Sun JDK 1.5.0_01, with JBossWS 1.0.4. Is it even possible to deploy the web service and if it is, what steps should I take to accomplish it? As a related note, I got the same ClassCastException when trying to implement a JBoss DII webservice client based on the same WSDL file we're using on the JDeveloper webservice. -Pekka View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987504#3987504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987504 From do-not-reply at jboss.com Tue Nov 21 08:00:26 2006 From: do-not-reply at jboss.com (atquake) Date: Tue, 21 Nov 2006 08:00:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Standlone Client access jbossws over ssl Message-ID: <11346486.1164114026546.JavaMail.jboss@colo-br-02.atl.jboss.com> As I know, I can set Standlone Client System Properties to enable ssl accessing: | System.setProperty("javax.net.ssl.trustStore", sslstore); | System.setProperty("javax.net.ssl.trustStorePassword", pass); | However, if the client need to use two different ssl connections, this will cause the problem. I just wonder whether there is an alternative way to create a web service over ssl. I saw there is a method in org.jboss.ws.jaxrpc.ServiceFactoryImpl as following: | /** | * Create a Service instance. | * | * @param wsdlURL URL for the WSDL document location | * @param serviceName QName for the service. | * @param mappingURL URL for the jaxrpc-mapping.xml document location | * @param securityURL URL for the jboss-ws-security.xml file | * @return Service. | * @throws ServiceException If any error in creation of the specified service | */ | public Service createService(URL wsdlURL, QName serviceName, URL mappingURL, URL securityURL) throws ServiceException I guess maybe this is the solution but I have no idea about jboss-ws-security.xml. Can anybody help me? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987543#3987543 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987543 From do-not-reply at jboss.com Tue Nov 21 09:14:17 2006 From: do-not-reply at jboss.com (wconroy) Date: Tue, 21 Nov 2006 09:14:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Interfaces in Webmethods Message-ID: <19200407.1164118457418.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an EJB that exposes only interfaces that I want to wrap with a webservice. I made the following to illustrate what I am trying to do. I have an app that invokes the web service that gives me the following exception. | 07:59:52,873 ERROR [SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Class com.bo.valueobjects.PersonRequest has no public constructors or the class reflects a primitive type or void | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:292) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) | at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) | at org.jboss.ws.integration.jboss.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:115) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:115) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:219) | 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.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) | Caused by: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Class com.bo.valueobjects.PersonRequest hasno public constructors or the class reflects a primitive type or void | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:100) | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:229) | ... 29 more | Caused by: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Class com.bo.valueobjects.PersonRequest has no public constructors or the class reflects a primitive type or void | at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:67) | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92) | ... 30 more | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Class com.bo.valueobjects.PersonRequest has no public constructors or the class reflects a primitive type or void | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:178) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126) | at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63) | ... 31 more | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Class com.bo.valueobjects.PersonRequest has no public constructors or the class reflects a primitive type or void | at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.newInstance(RtElementHandler.java:961) | at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.startElement(RtElementHandler.java:728) | at org.jboss.xb.binding.sunday.unmarshalling.impl.runtime.RtElementHandler.startParticle(RtElementHandler.java:89) | at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:504) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:323) | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:174) | ... 33 more | Is there a way that I can generate the WSDL in a way that the request can be properly resolved? Are there different annotations I could be using? For now, I am just deploying a jar with this service and letting JBoss generate the wsdl at deploy time. | public interface PersonRequest { | | public String getSsn(); | public void setSsn(String ssn); | | } | | public class PersonRequestImpl implements PersonRequest { | | private String ssn; | | public String getSsn() { | return ssn; | } | | public void setSsn(String ssn) { | this.ssn = ssn; | } | | } | | @Local | public interface PeopleService { | | public String getPersonName(PersonRequest request); | | } | | @Stateless | @WebService(name="PeopleService", targetNamespace="http://com.bo/peopleService") | public class PeopleServiceImpl implements PeopleService { | | @WebMethod | public String getPersonName(PersonRequest request) { | Logger.getLogger(getClass()).info("Request class: " + request.getClass()); | return "MyName"; | } | | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987557#3987557 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987557 From do-not-reply at jboss.com Tue Nov 21 10:17:50 2006 From: do-not-reply at jboss.com (mo_ctaylor) Date: Tue, 21 Nov 2006 10:17:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enabling transport compression with JBossWS Message-ID: <15619878.1164122270574.JavaMail.jboss@colo-br-02.atl.jboss.com> Any suggestions as to where to modify the client of a service to announce that it supports compression (sending "Accept-Encoding: gzip, deflate") and where to modify the client to do the actual compression and decompression? This is a J2SE client. Please help! TIA, Cindy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987575#3987575 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987575 From do-not-reply at jboss.com Tue Nov 21 11:31:30 2006 From: do-not-reply at jboss.com (nmohanbabu) Date: Tue, 21 Nov 2006 11:31:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL modified after deployment Message-ID: <18693217.1164126690457.JavaMail.jboss@colo-br-02.atl.jboss.com> why would you want to do that? you need that namespace to refer to basic data types. AFAIK, if you remove it, you won't be able to use basic data types in your webservice. It's OK to import it. what is the reason for you to remove it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987616#3987616 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987616 From do-not-reply at jboss.com Tue Nov 21 12:03:05 2006 From: do-not-reply at jboss.com (ste) Date: Tue, 21 Nov 2006 12:03:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <23871005.1164128585632.JavaMail.jboss@colo-br-02.atl.jboss.com> Using an AXIS2 WSDL I fall in a slight variation the error: 17:29:35,379 WARN [WSDL11Reader] Unprocessed extension element: {http://schemas.xmlsoap.org/wsdl/http/}address Exception in thread "main" org.jboss.ws.WSException: String passed is null | at org.jboss.ws.metadata.wsdl.WSDLUtils.firstLetterUpperCase(WSDLUtils.java:455) | at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:138) | at org.jboss.ws.tools.XSDTypeToJava.createJavaFile(XSDTypeToJava.java:114) | at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:658) | at org.jboss.ws.tools.WSDLToJava.generateJavaSource(WSDLToJava.java:651) | at org.jboss.ws.tools.WSDLToJava.unwrapResponse(WSDLToJava.java:291) | at org.jboss.ws.tools.WSDLToJava.getReturnType(WSDLToJava.java:540) | at org.jboss.ws.tools.WSDLToJava.appendMethods(WSDLToJava.java:342) | at org.jboss.ws.tools.WSDLToJava.createSEIFile(WSDLToJava.java:486) | at org.jboss.ws.tools.WSDLToJava.createSEI(WSDLToJava.java:518) | at org.jboss.ws.tools.WSDLToJava.generateSEI(WSDLToJava.java:161) | at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:303) | at org.jboss.ws.tools.WSTools.process(WSTools.java:138) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) | at org.jboss.ws.tools.WSTools.main(WSTools.java:61) with this WSDL: anonymous wrote : | Version | - | - | - | - | - | | | | | - | - | - | | | | | | | | - | | | - | | | - | - | | | | | | - | | - | | - | | | - | | | - | | | | | - | | - | | - | | | - | | | - | | | | | - | | - | | - | | | - | | | | | - | - | | | - | | | - | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987630#3987630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987630 From do-not-reply at jboss.com Tue Nov 21 12:07:18 2006 From: do-not-reply at jboss.com (osganian) Date: Tue, 21 Nov 2006 12:07:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Creating keystore/truststore files Message-ID: <1124427.1164128838995.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I'm having trouble creating my own server keystore and client truststore files. Using the wsse.keystore and wsse.truststore files that comes with the jbossws-samples-1.0.4.GA samples work fine. But when I use the procedure described in: http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/transport.html to produce the keystore and truststore files my outgoing messages from my web services client is radically different (no headers in soap message) which results in a NPE in the WSSecurityDispatcher.handleInbound() method. How is the sample keystore/truststore files generated that is different than using the 3 keytool commands described in the above resource? Any help would be greatly appreciated, Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987634#3987634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987634 From do-not-reply at jboss.com Tue Nov 21 12:53:40 2006 From: do-not-reply at jboss.com (osganian) Date: Tue, 21 Nov 2006 12:53:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Creating keystore/truststore files Message-ID: <3070262.1164131620775.JavaMail.jboss@colo-br-02.atl.jboss.com> Oh, I'm using JBoss 4.0.4GA and JDK 1.5. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987651#3987651 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987651 From do-not-reply at jboss.com Tue Nov 21 13:18:55 2006 From: do-not-reply at jboss.com (jgilbert) Date: Tue, 21 Nov 2006 13:18:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - UsernameToken and Basic Auth Message-ID: <14520316.1164133135870.JavaMail.jboss@colo-br-02.atl.jboss.com> I have succesfully setup a webservice to use BASIC auth: @PortComponent(authMethod = "BASIC") And I have sucessfully setup a webservice to use UsernameToken: | | But I can not get both to work together. Does this same like a reasonable requirement? It is a little redundant, but it looks like the only way to get complete security. Because just using UsernameToken doesn't look like it invokes a JAAS login module on the server side. It just sets up the SecurityAssociation. I'll create an issue in jira if anyone thinks this is a bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987662#3987662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987662 From do-not-reply at jboss.com Tue Nov 21 14:13:55 2006 From: do-not-reply at jboss.com (darlan) Date: Tue, 21 Nov 2006 14:13:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - "Port" does not contain operation meta data for "Envelope" Message-ID: <5253594.1164136435300.JavaMail.jboss@colo-br-02.atl.jboss.com> I?ve been getting the exception javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/samples/jsr109ejb}JaxRpcTestServicePort does not contain operation meta data for: {http://schemas.xmlsoap.org/soap/envelope/}Envelope when i use a web service proxy generated by Wscompile tool on JBossWS 1.0.3SP1 (jbossws14.sar) bundled in JBossAS 4.0.5GA. Below the exception that I got: ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.soap.SOAPFaultException: Endpoint {http://org.jboss.ws/samples/jsr109ejb}JaxRpcTestServicePort does not contain operation meta data for: {http://schemas.xmlsoap.org/soap/envelope/}Envelope | at org.jboss.ws.server.ServiceEndpointInvoker.getDispatchDestination(ServiceEndpointInvoker.java:181) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:107) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:209) | at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) | at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) | at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) | at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245) | at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50) | at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156) | at java.security.AccessController.doPrivileged(Native Method) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at sun.reflect.GeneratedMethodAccessor133.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) | at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275) | at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:217) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:197) | at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50) | at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156) | at java.security.AccessController.doPrivileged(Native Method) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152) | 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) | When I tried to access my web service with the below implementation it went all right: private void testEchoString() { | try { | final String TARGET_ENDPOINT_ADDRESS = "http://localhost:8080/jbossws-samples-jsr109ejb-doc"; | final String TARGET_NAMESPACE = "http://org.jboss.ws/samples/jsr109ejb/types"; | final QName TYPE_LITERAL_STRING = new QName( | "http://www.w3.org/2001/XMLSchema", "string"); | | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(new QName( | "ANY_SERVICE_NAME")); | | Call call = service.createCall(); | call.setOperationName(new QName(TARGET_NAMESPACE, "echoString")); | call.addParameter("String_1", TYPE_LITERAL_STRING, ParameterMode.IN); | call.addParameter("String_2", TYPE_LITERAL_STRING, ParameterMode.IN); | call.setReturnType(TYPE_LITERAL_STRING); | | call.setTargetEndpointAddress(TARGET_ENDPOINT_ADDRESS); | | String text = "text"; | System.out.println("Send...: " + text); | Object retObj = call.invoke(new Object[] { getInputText1Value(), | getInputText1Value() }); | text = (String) retObj; | System.out.println("Recevie: " + text); | } catch (Throwable t) { | t.printStackTrace(); | } | } | With JBossAS 4.0.3 SP1 both of them are work fine, but with JBossAS 4.0.5GA not. What the difference between those implementations? What am I doing wrong? -- Darlan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987686#3987686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987686 From do-not-reply at jboss.com Tue Nov 21 16:23:51 2006 From: do-not-reply at jboss.com (mjrother) Date: Tue, 21 Nov 2006 16:23:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Error With WSDL Generation For JSR-181 EJB Endpoint With Hea Message-ID: <2606159.1164144231675.JavaMail.jboss@colo-br-02.atl.jboss.com> I am try to add headers to existing web services curently deployed as a stateless session EJB with JSR-181. The WSDL generated names the body part of the message is "parameters" instead of the supplied name. This results in a invalid WSDL that must be hand edited for it to work. | @WebService(name = "test", targetNamespace = "http://com.test", serviceName = "test") | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE) | @Stateless | public class SecureService { | | @WebMethod | public void logout(@WebParam(name="logoutRequest") LogoutRequest request, @WebParam(name="SecHeader", header=true) String headerValue ){ | } | | @WebMethod | public void logout2(@WebParam(name="SecHeader2", header=true) String headerValue, @WebParam(name="test") String request){ | } | } | The resulting WSDL is : | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is in the message definition where the name of "parameters" is used. If I hand edit the WSDL to the following it works as planned: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Am I doing something wrong or is there a work around? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987722#3987722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987722 From do-not-reply at jboss.com Tue Nov 21 17:05:39 2006 From: do-not-reply at jboss.com (wpfeiffe) Date: Tue, 21 Nov 2006 17:05:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Rewriting of soap address in JBoss 4.0.5/JBossWS 1.0.3 Message-ID: <20810066.1164146739041.JavaMail.jboss@colo-br-02.atl.jboss.com> When using JBossWS 1.0 with JBoss 4.0.4.GA, I modified the jbossws14.sar/meta-inf/jboss-service.xml to change the WebServiceHost attribute of the ServiceEnpointManager mbean to use the hard coded URL of my production web site (rather than use the machine name which is not exposed externally). How is this accomplished in the new jbossws 1.0.3 and JBoss 4.0.5? I haven't seen anything in the change log that discusses this. The Wiki mentions a jbossws.beans/jboss-beans.xml which I can't seem to locate. I tried declaring the mbean in the 4.0.5 jbossws jboss-service.xml file, but, as I suspected, it is now being loaded from another config file and my entry errors out as a duplicate mbean. Any ideas on how to accomplish the rewrite of the soap address in the new release? Thanks, Bill Pfeiffer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987732#3987732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987732 From do-not-reply at jboss.com Tue Nov 21 17:55:21 2006 From: do-not-reply at jboss.com (wpfeiffe) Date: Tue, 21 Nov 2006 17:55:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Solved: Rewriting of soap address in JBoss 4.0.5/JBossWS 1.0 Message-ID: <14702323.1164149721727.JavaMail.jboss@colo-br-02.atl.jboss.com> I found the jbossws14.sar/jbossws.beans that is actually a zip archive. I exploded the archive into a directory of the same name and edited the jboss-beans.xml as is documented in the wiki. All is good. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987742#3987742 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987742 From do-not-reply at jboss.com Tue Nov 21 21:46:56 2006 From: do-not-reply at jboss.com (reinerka) Date: Tue, 21 Nov 2006 21:46:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Missing Encoding Style in SAAJ message Message-ID: <2978872.1164163616983.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm having the problem that in a message that has been created using SAAJ on JBoss 4.0.5.GA (with JBossWS 1.0.4, same with JBossWS 1.0.3) that even so I set the encoding style manually it doesn't show up in the transmitted message. Here's snipet of the code that creates the message: | response = fac.createMessage(); | SOAPPart = response.getSOAPPart(); | SOAPEnvelope = part.getEnvelope(); | envelope.setEncodingStyle(ENCODING_STYLE); | envelope.addNamespace(ns, ns_uri); | ..... | The client doesn't understand the message without the SOAP Encoding style being transmitted. Thanks in advance for any input on this urgent problem. Reiner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987770#3987770 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987770 From do-not-reply at jboss.com Wed Nov 22 02:44:11 2006 From: do-not-reply at jboss.com (swamini2) Date: Wed, 22 Nov 2006 02:44:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jaxws artifacts using Jboss 5.0.0-Beta Message-ID: <6258143.1164181451295.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Good to see that JBoss 5.0.0-Beta is available for download. I did not find user guide for that anywhere. When will that be available? I tried to compile my WSDL using bundled wstools.sh and saw that it generates JAXRPC artifacts. When will wstools support generation of JAXWS artifacts? Also, any idea when will JBossWS 2.0 be available for download? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987810#3987810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987810 From do-not-reply at jboss.com Wed Nov 22 04:29:43 2006 From: do-not-reply at jboss.com (dpocock) Date: Wed, 22 Nov 2006 04:29:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Troubles with JBossWS and Persistence Message-ID: <16868111.1164187783110.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I use hibernate generated objects throughout much of my application. I can successfully use these with Java RMI, however, I am facing many challenges with web services. a) is it necessary for me to rewrite all the classes using arrays instead of the collections that are created by HibernateTool? b) when and why is it necessary to encapsulate an array in an object? I've seen this design pattern in some examples in the forums and elsewhere. c) Is JBossWS eventually going to allow Hibernate style object graphs to be transferred seamlessly over a web services endpoint as an argument or return type? d) I've created an EJB3 class annotated @Stateless and @WebService. The @PersistenceContext annotation is ignored and the entity manager is not injected. I've seen this issue documented elsewhere, but without a clear solution. Is this issue fixed in the current release? For the moment, I've had to write a wrapper bean to lookup the real bean with JNDI and proxy the function calls. At present, I'm using Jboss 4.0.4.GA installed by JEMS installer with the EJB3 profile. Regards, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987829#3987829 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987829 From do-not-reply at jboss.com Wed Nov 22 05:16:45 2006 From: do-not-reply at jboss.com (minime) Date: Wed, 22 Nov 2006 05:16:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Deployment fails with 1.0.4 - NPE in DeployerInterceptor Message-ID: <22436868.1164190605740.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, the web services I have developed fail to deploy with JBossWS 1.0.4. This worked flawlessly with JBossWS 1.0.0 to 1.0.3 I'm using JBoss 4.0.4 GA with EJB3. I have also tried 4.0.5 with the same result -> NPE. The web service I have developed are quite simple using only annotations like @WebService, @Webmethod and are deployed as statless bean (also tried deployment as servlet, same result, worked in 1.0.3 doesn't work in 1.0.4). Any help? anonymous wrote : 2006-11-21 17:04:01,058 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/D:/jzx/zxdev_jboss/server/default/deploy/deploy.last/zxapp_webservices.ear | 2006-11-21 17:04:02,199 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/jzx/zxdev_jboss/server/default/tmp/deploy/tmp21556zxapp_webservices.ear-contents/zxapp_webservices_logic.jar | java.lang.NullPointerException | at org.jboss.ws.integration.jboss.DeployerInterceptor.getServiceEndpointDeployer(DeployerInterceptor.java:142) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) | at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) | 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 $Proxy35.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor13.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 $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.start(Unknown Source) | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy5.deploy(Unknown Source) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | at org.jboss.Main.boot(Main.java:200) | at org.jboss.Main$1.run(Main.java:464) | at java.lang.Thread.run(Thread.java:595) | 2006-11-21 17:04:02,402 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment listing: | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987840#3987840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987840 From do-not-reply at jboss.com Wed Nov 22 06:54:00 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Wed, 22 Nov 2006 06:54:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Troubles with JBossWS and Persistence Message-ID: <16791785.1164196440637.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, we are working on that. Hibernate / EJB3 entities should be seamlessly used as request/response wrapper. Still at this point we are limited to what the JAX-RPC specs mandate, especially when it comes to collections. Lookout for improved hibernate integration early next year. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987861#3987861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987861 From do-not-reply at jboss.com Wed Nov 22 09:40:20 2006 From: do-not-reply at jboss.com (minime) Date: Wed, 22 Nov 2006 09:40:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Deployment fails with 1.0.4 - NPE in DeployerInterceptor Message-ID: <13395231.1164206420211.JavaMail.jboss@colo-br-02.atl.jboss.com> Fixed this by unzip JBossWS.sar into the deploy directory, instead putting the sar file in the folder. don't know why this makes a difference or why there is even a sar file, if you have to unzip it anyway. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987892#3987892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987892 From do-not-reply at jboss.com Wed Nov 22 10:20:25 2006 From: do-not-reply at jboss.com (minime) Date: Wed, 22 Nov 2006 10:20:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - BUG JBossWS 1.0.4 : WsdlGenerator crashes on void-methods. Message-ID: <3102075.1164208825400.JavaMail.jboss@colo-br-02.atl.jboss.com> The automatic generation of a wsdl to deploy time crashes, if there is a method which returns void. Changing the return parameter to everything else besides void (i.e. String, boolean, ..) fixes the problem. Using JBoss 4.04 with JBossWS 1.0.4 + jboss-xml-binding.jar 1.0.0.CR7. Seems this bug http://jira.jboss.org/jira/browse/JBWS-647 is back in 1.0.4 again. anonymous wrote : 2006-11-22 16:16:35,181 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/D:/jzx/zxdev_jboss/server/default/tmp/deploy/tmp19079zxapp_webservices.ear-contents/zxapp_webservices_logic.jar | java.lang.NullPointerException | at java.lang.Class.isAssignableFrom(Native Method) | at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:559) | at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:146) | at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:249) | at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:170) | at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:321) | at org.jboss.ws.deployment.AnnotationsMetaDataBuilder.processOrGenerateWSDL(AnnotationsMetaDataBuilder.java:93) | at org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:177) | at org.jboss.ws.deployment.JSR181MetaDataBuilderEJB3.buildMetaData(JSR181MetaDataBuilderEJB3.java:75) | at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:106) | at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80) | at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) | 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 $Proxy35.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) | at sun.reflect.GeneratedMethodAccessor13.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 $Proxy6.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987912#3987912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987912 From do-not-reply at jboss.com Wed Nov 22 12:15:25 2006 From: do-not-reply at jboss.com (bocio) Date: Wed, 22 Nov 2006 12:15:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <940649.1164215725339.JavaMail.jboss@colo-br-02.atl.jboss.com> We are still stuck into this. It's a new project so we tried to write the server with different vendors. AFAIK for WS which returns arrays JBossWS seems to be able to generate a client only for WSDL generated from a JBossWS stack. Comparing different WSDL, I saw that when array comes in, other vendors generates the WSDL in this way: while JBossWS: So the WSTOOLS complain about the anonymous wrote : String passed is null When do you foresee a new version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987943#3987943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987943 From do-not-reply at jboss.com Wed Nov 22 12:25:56 2006 From: do-not-reply at jboss.com (atquake) Date: Wed, 22 Nov 2006 12:25:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL SOAP ADDRESS REPLACE_WITH_ACTUAL_URL Message-ID: <8577022.1164216356784.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi ovidiucn, Do you know the solution for JSR109? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987947#3987947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987947 From do-not-reply at jboss.com Wed Nov 22 12:28:59 2006 From: do-not-reply at jboss.com (atquake) Date: Wed, 22 Nov 2006 12:28:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL SOAP ADDRESS REPLACE_WITH_ACTUAL_URL Message-ID: <32577956.1164216539748.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I found the solution. http://jboss.com/index.html?module=bb&op=viewtopic&t=62229&view=previous View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987948#3987948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987948 From do-not-reply at jboss.com Wed Nov 22 12:37:23 2006 From: do-not-reply at jboss.com (osganian) Date: Wed, 22 Nov 2006 12:37:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Securing POJO Web Service in 4.0.3 SP1 Message-ID: <3501016.1164217043263.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Sanjay, I am having a similar problem that I was hoping you could help me with. How do you have your client setup to access your web services wsdl files? Do you bundle the wsdl files on the client? Currently I have the client accessing my wsdl files by going to: https://localhost:8443/service/MyService?wsdl My problem is when I secure my POJO web service in web.xml like: | | | SecureServer | /service/* | GET | POST | | | USER | | | CONFIDENTIAL | | | The problem is since my wsdl url is protected just like the service itself. So I end up getting the following error on the client: | [java] Caused by: java.io.IOException: Server returned HTTP response code: | 401 for URL: https://localhost:8443/service/MyService?wsdl | [java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1153) | [java] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234) | [java] at java.net.URL.openStream(URL.java:1007) | [java] at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.getDocument(WSDLDefinitionsFactory.java:181) | Thanks for any help, Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987951#3987951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987951 From do-not-reply at jboss.com Wed Nov 22 13:45:57 2006 From: do-not-reply at jboss.com (osganian) Date: Wed, 22 Nov 2006 13:45:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Securing POJO Web Service in 4.0.3 SP1 Message-ID: <18938482.1164221157635.JavaMail.jboss@colo-br-02.atl.jboss.com> What are people doing out there about their wsdl files? Do they need to be protected? If so how do you create a Service on the client if you need the url to the wsdl file? If not then where do you place the wsdl files since to protect your web service you have to protect http://localhost/service/MyService and the wsdl file is accessed via http://localhost/service/MyService?wsdl Also, can you have set an empty password like: stub._setProperty(Stub.PASSWORD_PROPERTY, ""); Seems like it doesn't even try to authenicate if you don't provide a password. Is there a way to open it up to allow empty passwords? Thanks again, Mike View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987970#3987970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987970 From do-not-reply at jboss.com Wed Nov 22 15:28:37 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 22 Nov 2006 15:28:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: One endpoint but the type appears twice in the WSDL Message-ID: <22087882.1164227317458.JavaMail.jboss@colo-br-02.atl.jboss.com> http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportForJSR181 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987991#3987991 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987991 From do-not-reply at jboss.com Wed Nov 22 15:53:33 2006 From: do-not-reply at jboss.com (greenbean) Date: Wed, 22 Nov 2006 15:53:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NumberFormatException From StubExt.PROPERTY_CLIENT_TIMEOUT Message-ID: <1077277.1164228813195.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to set the client timeout for a jbossws. I get the exception show below. The number before the '?' is the port I set. How do I fix this? 20:51:37,052 ERROR [STDERR] Caused by: java.lang.NumberFormatException: For input string: "8999?timeout=999999999" 20:51:37,053 ERROR [STDERR] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) 20:51:37,053 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:456) 20:51:37,053 ERROR [STDERR] at java.lang.Integer.parseInt(Integer.java:497) 20:51:37,053 ERROR [STDERR] at org.jboss.remoting.InvokerLocator.(InvokerLocator.java:159) 20:51:37,054 ERROR [STDERR] at org.jboss.ws.soap.SOAPConnectionImpl.createRemotingClient(SOAPConnectionImpl.java:203) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987995#3987995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987995 From do-not-reply at jboss.com Thu Nov 23 03:40:21 2006 From: do-not-reply at jboss.com (yperey) Date: Thu, 23 Nov 2006 03:40:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS4EEDOCClientStepByStep problem Message-ID: <45616.1164271221319.JavaMail.jboss@colo-br-02.atl.jboss.com> To be more concrete in how I solved the "non-jar deployer" warning, It was the java path of the element in the application-client.xml that was wrong. And as i've had no response for the w4ee-client not bound problem, meaning that the service was not deployed, I've found another solution. The solution I've found is more complicated but it works. My solution was to include the service deployement with a bean definition. Hope this help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988078#3988078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988078 From do-not-reply at jboss.com Thu Nov 23 03:44:42 2006 From: do-not-reply at jboss.com (ppgogo) Date: Thu, 23 Nov 2006 03:44:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - BUG: WSDL generate wrong java file when service port name co Message-ID: <31893609.1164271482194.JavaMail.jboss@colo-br-02.atl.jboss.com> the wsdl file is like below, it has a port named "SoapPortTypePort" anonymous wrote : | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use the wstools to generate the java files, then it will generate 2 files: Soap.java (it should be SoapPortType.java) MainIM_ServiceProxy.java But in the MainIM_ServiceProxy, it generate the right type name. see the java code below: package com.ydeng.ws; | | | import javax.xml.rpc.*; | | | public interface MainIM_ServiceProxy extends javax.xml.rpc.Service | { | | public com.ydeng.ws.SoapPortType getSoapPortTypePort() throws ServiceException; | | } | package com.ydeng.ws; | public interface Soap extends java.rmi.Remote | { | | public int getCount(java.lang.String string_1) throws java.rmi.RemoteException; | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988079#3988079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988079 From do-not-reply at jboss.com Thu Nov 23 03:47:35 2006 From: do-not-reply at jboss.com (ppgogo) Date: Thu, 23 Nov 2006 03:47:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: BUG: WSDL generate wrong java file when service port nam Message-ID: <6975337.1164271655590.JavaMail.jboss@colo-br-02.atl.jboss.com> re-attach the wsdl file: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988080#3988080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988080 From do-not-reply at jboss.com Thu Nov 23 03:52:01 2006 From: do-not-reply at jboss.com (ppgogo) Date: Thu, 23 Nov 2006 03:52:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - BUG: wsdl-java should generate the java types implement java Message-ID: <10310091.1164271921052.JavaMail.jboss@colo-br-02.atl.jboss.com> It is more reasonable. If the type is used in the client and sent to server, the type should be serializable, or the invocation will fail, NotSerializableException is thrown at runtime. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988084#3988084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988084 From do-not-reply at jboss.com Thu Nov 23 03:53:17 2006 From: do-not-reply at jboss.com (ppgogo) Date: Thu, 23 Nov 2006 03:53:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: BUG: wsdl-java should generate the java types implement Message-ID: <4332011.1164271998004.JavaMail.jboss@colo-br-02.atl.jboss.com> ohhh.... i said that the java types should implement java.io.serializable View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988085#3988085 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988085 From do-not-reply at jboss.com Thu Nov 23 04:16:53 2006 From: do-not-reply at jboss.com (darran.lofthouse@jboss.com) Date: Thu, 23 Nov 2006 04:16:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: BUG: WSDL generate wrong java file when service port nam Message-ID: <9277417.1164273413286.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1253 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988091#3988091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988091 From do-not-reply at jboss.com Thu Nov 23 04:18:27 2006 From: do-not-reply at jboss.com (darran.lofthouse@jboss.com) Date: Thu, 23 Nov 2006 04:18:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: BUG: wsdl-java should generate the java types implement Message-ID: <6419693.1164273507563.JavaMail.jboss@colo-br-02.atl.jboss.com> The following feature request has been created for this. http://jira.jboss.com/jira/browse/JBWS-1278 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988092#3988092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988092 From do-not-reply at jboss.com Thu Nov 23 05:25:33 2006 From: do-not-reply at jboss.com (bbredohl) Date: Thu, 23 Nov 2006 05:25:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Creating a response from an existing DOM document Message-ID: <13029481.1164277533173.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a DOM object in my JSR-181 Endpoint. This DOM is validated against my xsd. How can I tell JBoss (if it's possible), that the DOM represents my xsd file, so that the ws client gets a validated DOM object to work with? Ore is the only way to do this with javax.xml.soap.SOAPBody.addDocument()? (And how is this working?) Thanks for your help and sorry for my bad English. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988108#3988108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988108 From do-not-reply at jboss.com Thu Nov 23 06:30:13 2006 From: do-not-reply at jboss.com (darran.lofthouse@jboss.com) Date: Thu, 23 Nov 2006 06:30:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <28971592.1164281413765.JavaMail.jboss@colo-br-02.atl.jboss.com> The reason this is suddenly apeared for JBossWS 1.0.4.GA is because we now unwrap the parameters by default. While we are working on this you can workaround the problem by setting the parameter-style to 'bare' e.g. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988125#3988125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988125 From do-not-reply at jboss.com Thu Nov 23 06:56:20 2006 From: do-not-reply at jboss.com (minime) Date: Thu, 23 Nov 2006 06:56:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: BUG JBossWS 1.0.4 : WsdlGenerator crashes on void-method Message-ID: <21917636.1164282980697.JavaMail.jboss@colo-br-02.atl.jboss.com> any answer, help, comment on that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988139#3988139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988139 From do-not-reply at jboss.com Thu Nov 23 07:05:02 2006 From: do-not-reply at jboss.com (bocio) Date: Thu, 23 Nov 2006 07:05:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws 1.0.4GA + Tomcat standalone fails: KernelRegistryEnt Message-ID: <27978737.1164283502997.JavaMail.jboss@colo-br-02.atl.jboss.com> I installed jbossws 1.0.4GA on a standalone tomcat 5.5.20. I followed instructions and release notes on: http://labs.jboss.com/portal/jbossws/user-guide/en/html/installation.html#install-tomcat Tomcat start and successfully install a jbossws context. Then as explained on istructions I should see a {tomcat.home}/jbossws-deploy directory... This directory is NOT created. I connect on http://127.0.0.1:8080/jbossws/ and I can see the Welcome page. When I try to list the deployed Web Services I get: | javax.servlet.ServletException: Servlet.init() for servlet ContextServlet threw exception | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | java.lang.Thread.run(Thread.java:595) | | root cause | | org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: ServiceEndpointManager | org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:99) | org.jboss.ws.server.ServiceEndpointManagerFactory.getServiceEndpointManager(ServiceEndpointManagerFactory.java:52) | org.jboss.ws.integration.tomcat.TomcatContextServlet.initServiceEndpointManager(TomcatContextServlet.java:77) | org.jboss.ws.common.CommonContextServlet.init(CommonContextServlet.java:54) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | java.lang.Thread.run(Thread.java:595) | Where I'm wrong? Thank you in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988141#3988141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988141 From do-not-reply at jboss.com Thu Nov 23 07:27:25 2006 From: do-not-reply at jboss.com (Lotos_66) Date: Thu, 23 Nov 2006 07:27:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Couldn't find SOAPException in JBossWS 1.0.4 (jdk1.5) Message-ID: <27544605.1164284845286.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an application, written with JBossWS 1.0.3, and it is using javax.xml.soap.SOAPException, but after migrating to JBossWS 1.0.4 I found that it is no such class in the jbossws-client.jar (for jdk1.5). I couldn't find any explain about it, so would anybody say what I have to use instead of SOAPException? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988149#3988149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988149 From do-not-reply at jboss.com Thu Nov 23 09:05:34 2006 From: do-not-reply at jboss.com (minime) Date: Thu, 23 Nov 2006 09:05:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Couldn't find SOAPException in JBossWS 1.0.4 (jdk1.5) Message-ID: <4858026.1164290734042.JavaMail.jboss@colo-br-02.atl.jboss.com> its in jbossall-client.jar and NOT in jbossws-client.jar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988178#3988178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988178 From do-not-reply at jboss.com Thu Nov 23 10:00:22 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 23 Nov 2006 10:00:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Tomas why I can't see most of your post? Message-ID: <26515729.1164294022510.JavaMail.jboss@colo-br-02.atl.jboss.com> works for me, how about other folks? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988189#3988189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988189 From do-not-reply at jboss.com Thu Nov 23 10:03:51 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 23 Nov 2006 10:03:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL --> EJB3 SEI Message-ID: <28126850.1164294231194.JavaMail.jboss@colo-br-02.atl.jboss.com> wstools is still not up to the job for jaxws wsdl -> java Have a look at https://jax-ws.dev.java.net/jax-ws-ea3/docs/wsimport.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988191#3988191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988191 From do-not-reply at jboss.com Thu Nov 23 10:05:18 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 23 Nov 2006 10:05:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generating classes from WSDL for JBoss Message-ID: <24823036.1164294318090.JavaMail.jboss@colo-br-02.atl.jboss.com> The post is useless, if you don't show us the input. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988193#3988193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988193 From do-not-reply at jboss.com Thu Nov 23 10:10:40 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 23 Nov 2006 10:10:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: how to application-client.xml e jboss-client.xml for se Message-ID: <7729294.1164294640972.JavaMail.jboss@colo-br-02.atl.jboss.com> application-client.xml, jboss-client.xml only applies to standalone java clients Have you looked at jboss-web.xml? application-client.xml + jboss-client.xml web.xml + jboss-web.xml ejb-jar.xml + jboss.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988196#3988196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988196 From do-not-reply at jboss.com Thu Nov 23 10:14:54 2006 From: do-not-reply at jboss.com (sklerche) Date: Thu, 23 Nov 2006 10:14:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - java.lang.UnsupportedOperationException when connecting to a Message-ID: <28629617.1164294894910.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm relatively new to web services so that may be the main problem. Anyway, I've created an EJB which I want to expose as both a stateless session bean and a webservice. The deployment itself works fine and connecting to the session bean works, too. But when I want to connect to the Bean as a web service I get this exception on the JBoss server. [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(SOAPMessage.java:424) at org.jboss.ws.soap.SOAPMessageImpl.(SOAPMessageImpl.java:77) at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:208) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:145) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:176) at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:373) at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:116) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:77) 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:619) My setup: I'm using a JDK 1.6-beta, jboss-4.0.5.GA and jbossws-1.0.4.GA. The session bean/ web service looks like this: @Stateless | @RemoteBinding(jndiBinding = "MyTestBean") | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC, use=SOAPBinding.Use.LITERAL) | public class BusinessTestBean implements IBusinessTestRemote { | | private static final String answer = ">>>>>>>> Jboss printed: "; | | /* | * (non-Javadoc) | * | * @see com.lowteq.ejb.IBusinessTest#roundTrip(java.lang.String) | */ | @WebMethod() | @WebResult(name = "TestDataContainer") | public TestDataContainer roundTrip( | @WebParam String input, | @WebParam Long longValue) throws RemoteException { | TestDataContainer container = new TestDataContainer(); | container.setLongValue(++longValue); | container.setStringValue("Jboss answers: " + input); | return container; | } | | /* | * (non-Javadoc) | * | * @see com.lowteq.ejb.IBusinessTest#toConsole(java.lang.String) | */ | @WebMethod() | @WebResult(name="Print") | public String toConsole(@WebParam | String input) throws RemoteException { | System.out.println(answer+ input); | return answer + input; | } | } As you can see the bean is EJB 3.0 and JSR-181 compliant. The client artifacts are created by the JDK's wsimport tool. That's the web service client: public class WebClient { | | static BusinessTestBeanService service = new BusinessTestBeanService (); | | public static void main(String[] args) throws Exception { | BusinessTestBean port = service.getBusinessTestBeanPort(); | System.out.println(port.toConsole("test")); | } | | } As I got the same exception on a jboss-4.0.4.GA I presume there is something wrong in the implementation but I couldn't figure out what the problem is. Any help would be great! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988197#3988197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988197 From do-not-reply at jboss.com Thu Nov 23 10:15:00 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 23 Nov 2006 10:15:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools bug? Message-ID: <12414323.1164294900477.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.org/jira/browse/JBWS-1400 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988198#3988198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988198 From do-not-reply at jboss.com Thu Nov 23 10:30:38 2006 From: do-not-reply at jboss.com (maeste) Date: Thu, 23 Nov 2006 10:30:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Tomas why I can't see most of your post? Message-ID: <13315325.1164295838104.JavaMail.jboss@colo-br-02.atl.jboss.com> Works for me too View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988205#3988205 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988205 From do-not-reply at jboss.com Thu Nov 23 10:42:28 2006 From: do-not-reply at jboss.com (ste) Date: Thu, 23 Nov 2006 10:42:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA - wstools fail on a webervice Message-ID: <1750154.1164296548687.JavaMail.jboss@colo-br-02.atl.jboss.com> "darran.lofthouse at jboss.com" wrote : The reason this is suddenly apeared for JBossWS 1.0.4.GA is because we now unwrap the parameters by default. | | While we are working on this you can workaround the problem by setting the parameter-style to 'bare' e.g. | | With the same WSDL as before I was able to generate the client but when I invoke the web service I get this exception: 16:13:18,323 DEBUG [CommandFactory] Command called: it.sogei.testweb.web.command.TestCommand | 16:13:18,383 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,383 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,393 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,403 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,403 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,413 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://neo.sogei.com}BaseWebAdapterPortType | 16:13:18,504 WARN [ServiceMetaData] Multiple possible endpoints implementing SEI: com.sogei.neo.BaseWebAdapter_PortType | 16:13:18,504 WARN [ServiceMetaData] Multiple possible endpoints implementing SEI: com.sogei.neo.BaseWebAdapter_PortType | 16:13:18,504 ERROR [ServiceProxy] Service error | javax.xml.rpc.ServiceException: Cannot create proxy | at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:380) | at org.jboss.ws.jaxrpc.ServiceImpl.getPort(ServiceImpl.java:329) | 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.ws.jaxrpc.ServiceProxy.invoke(ServiceProxy.java:130) | at $Proxy57.getBaseWebAdapterSOAP11port_http(Unknown Source) | at it.sogei.testweb.web.command.TestCommand.execute(TestCommand.java:49) | at com.sogei.lib.web.FrontController.processRequest(FrontController.java:107) | at com.sogei.lib.web.FrontController.doGet(FrontController.java:73) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.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) | Caused by: org.jboss.ws.WSException: Unexpected number of input parameters: 0 | at org.jboss.ws.jaxrpc.ParameterWrapping.assertOperationMetaData(ParameterWrapping.java:68) | at org.jboss.ws.jaxrpc.ParameterWrapping.matchRequestParameters(ParameterWrapping.java:79) | at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:182) | at org.jboss.ws.metadata.EndpointMetaData.getOperation(EndpointMetaData.java:324) | at org.jboss.ws.jaxrpc.MetaDataSynchronization.synchronizeServiceEndpointInterface(MetaDataSynchronization.java:57) | at org.jboss.ws.jaxrpc.ServiceImpl.createProxy(ServiceImpl.java:365) | ... 30 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988207#3988207 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988207 From do-not-reply at jboss.com Thu Nov 23 10:58:11 2006 From: do-not-reply at jboss.com (bocio) Date: Thu, 23 Nov 2006 10:58:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA + Tomcat standalone fails: KernelRegistr Message-ID: <11495510.1164297491543.JavaMail.jboss@colo-br-02.atl.jboss.com> I saw this bug: http://jira.jboss.com/jira/browse/JBWS-1305 Am I experiencing the same problem? On JIIRA I see that the affected/fixed version is the same. Could somone help me? Thank you in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988213#3988213 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988213 From do-not-reply at jboss.com Thu Nov 23 11:00:53 2006 From: do-not-reply at jboss.com (bocio) Date: Thu, 23 Nov 2006 11:00:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Tomas why I can't see most of your post? Message-ID: <9689843.1164297653859.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : works for me, how about other folks? Sorry about that, I'm behind a proxy and sometime I get these errors. >From home everithing is ok. bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988215#3988215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988215 From do-not-reply at jboss.com Thu Nov 23 11:09:48 2006 From: do-not-reply at jboss.com (reinerka) Date: Thu, 23 Nov 2006 11:09:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Usage of single quotes in Namespace declarations Message-ID: <24202599.1164298188169.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, after digging around for a long while I think I've come to the point where I might have found the interoperability issue that we've experienced using the JBossWS service. In the SOAP messages JBossWS uses single quotes for namespace declarations, which is perfectly fine according to the SOAP and XML specifications, however multiple client systems that connect to our server do not understand the single quotes and can only parse correctly when using double quotes. Please understand that this isn't a bug per se, but an interoperability issue that causes a major headache for us as we don't have influence on the service subscribers on our end. Is there a way to change the default behaviour to double quotes? Thank you, Reiner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988218#3988218 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988218 From do-not-reply at jboss.com Fri Nov 24 02:03:46 2006 From: do-not-reply at jboss.com (bocio) Date: Fri, 24 Nov 2006 02:03:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws + Tomcat standalone fails Message-ID: <16851402.1164351826532.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there someone that sccessfully installed JBossWS 1.0.4 on Tomcat standalone? Please help, I'm really stuck on this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988338#3988338 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988338 From do-not-reply at jboss.com Fri Nov 24 03:09:58 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 24 Nov 2006 03:09:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Glassfish vs. JBossWS - no JAXWS support in JBossWS? Message-ID: <30931706.1164355798512.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, we have a CR2 out now. This final release is targeted for Q1/2007 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988347#3988347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988347 From do-not-reply at jboss.com Fri Nov 24 03:13:14 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 24 Nov 2006 03:13:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but Message-ID: <20563339.1164355994408.JavaMail.jboss@colo-br-02.atl.jboss.com> Branch_4_0 is there for maintenance only. Use Branch_4_2. Could you pls debug this a little further, I have not seen this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988348#3988348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988348 From do-not-reply at jboss.com Fri Nov 24 03:18:04 2006 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 24 Nov 2006 03:18:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Using Axis SAAJ Implementation instead of JBossWS Message-ID: <33469825.1164356284903.JavaMail.jboss@colo-br-02.atl.jboss.com> No, there is not. What specifically are your issues? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988349#3988349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988349 From do-not-reply at jboss.com Fri Nov 24 03:56:42 2006 From: do-not-reply at jboss.com (johlu) Date: Fri, 24 Nov 2006 03:56:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Consuming .net web service with NTLM authentication? Message-ID: <19554289.1164358602368.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, We have a JBoss 4.0.2 install and I have developed a service to consume a .net web service with NTLM authentication (handshake). I used Axis2 for this and I cannot figure out how to add the library files to use Axis2 libraries for this application. The deployed application is a 3rd party product, which has extensibility capabilities, i.e. add *.jar files and then configure a scheduler to execute. Anyone now how to add support for Axis2 in JBoss 4.0.2 ? is it possible? If not can anyone give me any pointers who to generate the proxy and to be able to use NTLM logg in ? (Can I switch the HttpClient jar?) since it is in the httpclient the ntlm handshake accours. Best regards, /johan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988353#3988353 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988353 From do-not-reply at jboss.com Fri Nov 24 05:47:17 2006 From: do-not-reply at jboss.com (atquake) Date: Fri, 24 Nov 2006 05:47:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Cannot find WebServiceHost in jbossws1.0.3 Message-ID: <12424700.1164365237591.JavaMail.jboss@colo-br-02.atl.jboss.com> I can change the WebServiceHost of ServiceEndpointManager in jbossws1.0.1 in file: jbossws.sar/META-INF/jboss-service.xml. However, I cannot find ServiceEndpointManager in jbossws1.0.3 anymore. Can anybody help? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988377#3988377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988377 From do-not-reply at jboss.com Fri Nov 24 09:49:23 2006 From: do-not-reply at jboss.com (darlan) Date: Fri, 24 Nov 2006 09:49:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: "Port" does not contain operation meta data for "Envelop Message-ID: <23247414.1164379763528.JavaMail.jboss@colo-br-02.atl.jboss.com> I saw this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=93882, but a I don't know if this problem was really fixed. It is a big problem to me. Could anyone help me? Please post any information about that. Thanks! -- Darlan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988419#3988419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988419 From do-not-reply at jboss.com Fri Nov 24 13:47:11 2006 From: do-not-reply at jboss.com (ste) Date: Fri, 24 Nov 2006 13:47:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSTOOLS BUG error resolving component Message-ID: <16834063.1164394031789.JavaMail.jboss@colo-br-02.atl.jboss.com> When I run WSTOOLS against a document/literal WSDL describing an arbitrary object, it fails with this error: anonymous wrote : ERROR [JBossXSErrorHandler] JBossWS_weather.samples_xsd41009.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve.4.2]::Message=src-resolve.4.2: Error resolving component 'ax21:Weather'. It was detected that 'ax21:Weather' is in namespace 'http://data.pojo.sample/xsd', but co | mponents from this namespace are not referenceable from schema document 'file:/c:/temp/JBossWS_weather.samples_xsd41009.xsd'. If this is the incorrect namespace, perhaps the prefix of 'ax21:Weather' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/c:/temp/JBossWS_weather.samples_xsd41009.xsd'. Using WSCOMPILE everything is ok. I have already updated my wstools-config.xml file with: WSDL is taken from Axis2 WeatherService sample: anonymous wrote : - | WeatherService | - | - | - | - | - | | | | | - | - | - | | | | | | - | | - | - | | | | | | | | | | - | | | - | | | - | - | | | | - | | | | - | | - | | - | | | - | | | | - | | - | | | | | - | | - | | - | | | - | | | | - | | - | | | | | - | - | | | - | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988444#3988444 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988444 From do-not-reply at jboss.com Fri Nov 24 14:15:36 2006 From: do-not-reply at jboss.com (bocio) Date: Fri, 24 Nov 2006 14:15:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4GA + Tomcat standalone fails: KernelRegistr Message-ID: <22069738.1164395736414.JavaMail.jboss@colo-br-02.atl.jboss.com> I opened a bug report http://jira.jboss.com/jira/browse/JBWS-1401 bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988450#3988450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988450 From do-not-reply at jboss.com Sat Nov 25 15:32:48 2006 From: do-not-reply at jboss.com (Ganton) Date: Sat, 25 Nov 2006 15:32:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: how to application-client.xml e jboss-client.xml for se Message-ID: <13884421.1164486768774.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Thomas, that worked. The documentation in regards to 109 clients is a little vague in this area, or I am looking at the wrong documentation. It worked great. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988567#3988567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988567 From do-not-reply at jboss.com Sat Nov 25 20:01:40 2006 From: do-not-reply at jboss.com (Ganton) Date: Sat, 25 Nov 2006 20:01:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS 2.0 CR2 Message-ID: <29718248.1164502900778.JavaMail.jboss@colo-br-02.atl.jboss.com> Should we post potential issues about 2.0.0.CR2 here ? I was testing a very simple WS (Stateful EJB SEI), and it does not show up under JBoss 5.0.0.Beta1. Here is the important stuff: application.xml | | Test50 | Test50 | | test50.jar | | | jboss-app.xml | | | test50:app=ejb3 | | Service Endpoint (Interface class matches) /** | * | */ | package com.company.test50; | | import javax.ejb.Stateful; | import javax.ejb.Stateless; | import javax.jws.WebService; | import javax.jws.WebMethod; | import javax.jws.soap.SOAPBinding; | import java.util.*; | | /** | * @author Owner | * | */ | @WebService(name="TestWSService", targetNamespace="http://com.company.test50") | @SOAPBinding(style=SOAPBinding.Style.DOCUMENT) | @Stateful | public class TestWSServerBean implements TestWSServer | { | private Collection entities; | | @WebMethod | public Collection getEntities() | { | return entities; | } | | @WebMethod | public void addEntity(TestEntity add) | { | entities.add(add); | } | | @WebMethod | public TestEntity getEntity(int id) | { | return null; | } | | @WebMethod | public void updateEntity(TestEntity updated) | { | | } | | @WebMethod | public void deleteEntity(int id) | { | | } | } | Any ideas ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988579#3988579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988579 From do-not-reply at jboss.com Sat Nov 25 21:23:35 2006 From: do-not-reply at jboss.com (zhi_hui) Date: Sat, 25 Nov 2006 21:23:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS1.0.4 doesn't work with JBossAS4.0.4GA Message-ID: <22411365.1164507815414.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, the problem is the old version xcerse jar file. and it works for me now. Thank you all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988581#3988581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988581 From do-not-reply at jboss.com Sun Nov 26 11:41:04 2006 From: do-not-reply at jboss.com (Christopher_P) Date: Sun, 26 Nov 2006 11:41:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: 1.0.4 integration problem with EJB-3RC8 Message-ID: <9392662.1164559264016.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I'm having exactly the same exception as oglueck when trying to run JBossWS 1.0.4 on JBoss 4.0.4.GA (running on Win32). I tried removing javax.jws package from ejb3.deployer/jboss-ejb3.jar and also got oglueck's "No wrapped types available" exception. Did anyone find a solution to this problem? Cheers, Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988627#3988627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988627 From do-not-reply at jboss.com Sun Nov 26 15:27:43 2006 From: do-not-reply at jboss.com (reinerka) Date: Sun, 26 Nov 2006 15:27:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Using Axis SAAJ Implementation instead of JBossWS Message-ID: <30302825.1164572863641.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thomas, it probably isn't the SAAJ implementation alone but as well the XML parsing components that cause more problem than they solve. Right now we've isolated those key items: 1. Chunked transfers 2. Encapsulation namespaces with single quotes Neither of them are against XML/HTTP rules, but they casue a large number of users of our services to fail due to interoperability issues (a key importance to us). 1. Chunked transfers We were able to remove this by adding a couple of additional classes to handle IO (which just shouldn't be needed). 2. Namesapces Using those specialiced classes we were able to resolve this issue as well. Overall a lot of our subscribers are running embedded systems that rely on minimal overhead for parsing XML and thus will sometimes choose a parser that is not 100% compliant but allows them to save memory footprint. Our objective is to make sure they work. SAAJ (and the required XML parser) were far more tolerant on receiving as well as providing a wider interoperability than what we now have. Regards, Reiner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988676#3988676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988676 From do-not-reply at jboss.com Mon Nov 27 00:29:19 2006 From: do-not-reply at jboss.com (Ganton) Date: Mon, 27 Nov 2006 00:29:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws-1.0.4 build/test problem Message-ID: <23512676.1164605359177.JavaMail.jboss@colo-br-02.atl.jboss.com> I attempted to build 1.0.4 out of the repository, using ant-1.6.5, and got the null pointer exception mentioned in the wiki at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall I upgraded to ant-1.7.0RC1, which includes Xerces 2.8.2, and now when attempting to run the test suite, I get the following | BUILD FAILED | C:\jboss_build\jbossws-1.0\src\test\build.xml:291: The following error occurred | while executing this line: | C:\jboss_build\jbossws-1.0\src\test\ant\build-jars-jaxrpc.xml:1759: No WEB-INF/w | eb.xml file was added. | If this is your intent, set needxml='false' | This didn't look like it would be an issue with the ant version. I checked out the build.xml in src/test, and it wasn't readily apparent where I was supposed to set this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988719#3988719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988719 From do-not-reply at jboss.com Mon Nov 27 06:50:46 2006 From: do-not-reply at jboss.com (satya1978) Date: Mon, 27 Nov 2006 06:50:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Jboss WS configuration on JBoss 4.0.5 - Security exception Message-ID: <25547453.1164628246378.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to configure Jboss WS on JBoss 4.0.5 AS. I have simplly unzipped the JBoss 4.0.5 AS. I completed the configuration. While I tried to access "http://localhost:8080/jbossws/" and tried to view the webservices list, It has flagged me the following exception. I think some security configurations have to be done. Please help me how to come out of this exception. Exception: javax.servlet.ServletException: Servlet.init() for servlet ContextServlet threw exception org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) root cause org.jboss.kernel.spi.registry.KernelRegistryEntryNotFoundException: Entry not found with name: ServiceEndpointManager org.jboss.kernel.plugins.registry.AbstractKernelRegistry.getEntry(AbstractKernelRegistry.java:99) Thanks, Satyanarayana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988815#3988815 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988815 From do-not-reply at jboss.com Mon Nov 27 12:19:55 2006 From: do-not-reply at jboss.com (goran381) Date: Mon, 27 Nov 2006 12:19:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problem with java.sql.Data Message-ID: <1708717.1164647995279.JavaMail.jboss@colo-br-02.atl.jboss.com> I have been using jboss 4.0.4 and jbossws 1.0.3 If I try to use java.sql.Data type in my DTO I got trace like this: I am sure that that's a problem with mapping. Can you help me with it ? Thanks 17:29:03,937 ERROR [SOAPFaultExceptionHelper] SOAP request exception javax.xml.rpc.JAXRPCException: Cannot create or send response message at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:286) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:211) 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.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. :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) Caused by: javax.xml.rpc.JAXRPCException: java.lang.ClassCastException: java.sql.Date at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:986) at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:171) at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) at org.jboss.ws.soap.SAAJElementWriter.writeElement(SAAJElementWriter.java:184) at org.jboss.ws.soap.SAAJElementWriter.printInternal(SAAJElementWriter.java:163) at org.jboss.ws.soap.SAAJElementWriter.print(SAAJElementWriter.java:142) at org.jboss.ws.soap.SAAJElementWriter.printSOAPElement(SAAJElementWriter.java:91) at org.jboss.ws.server.ServiceEndpoint.postProcessResponse(ServiceEndpoint.java:280) ... 24 more Caused by: java.lang.ClassCastException: java.sql.Date at org.jboss.xb.binding.SimpleTypeBindings.marshal(SimpleTypeBindings.java:1150) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalCharacters(MarshallerImpl.java:995) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalSimpleType(MarshallerImpl.java:471) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:415) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:331) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:311) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:730) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroupSequence(MarshallerImpl.java:920) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroup(MarshallerImpl.java:860) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:641) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalComplexType(MarshallerImpl.java:608) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:419) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:331) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:311) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:730) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroupSequence(MarshallerImpl.java:920) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalModelGroup(MarshallerImpl.java:860) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalParticle(MarshallerImpl.java:641) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalComplexType(MarshallerImpl.java:608) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementType(MarshallerImpl.java:419) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElement(MarshallerImpl.java:331) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshalElementOccurence(MarshallerImpl.java:311) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshallInternal(MarshallerImpl.java:210) at org.jboss.xb.binding.sunday.marshalling.MarshallerImpl.marshal(MarshallerImpl.java:168) at org.jboss.ws.jaxb.JBossXBMarshallerImpl.marshal(JBossXBMarshallerImpl.java:146) at org.jboss.ws.jaxrpc.encoding.JAXBSerializer.serialize(JAXBSerializer.java:107) at org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:157) at org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:817) at org.jboss.ws.soap.SOAPContentElement.handleMTOMTransitions(SOAPContentElement.java:1015) at org.jboss.ws.soap.SOAPContentElement.write(SOAPContentElement.java:968) ... 31 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988967#3988967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988967 From do-not-reply at jboss.com Mon Nov 27 12:53:44 2006 From: do-not-reply at jboss.com (jgilbert) Date: Mon, 27 Nov 2006 12:53:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Ejb3 JMSTransportSupport Message-ID: <20176801.1164650024627.JavaMail.jboss@colo-br-02.atl.jboss.com> JIRA Issue created: http://jira.jboss.com/jira/browse/JBWS-1402 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988973#3988973 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988973 From do-not-reply at jboss.com Mon Nov 27 13:40:36 2006 From: do-not-reply at jboss.com (sursha) Date: Mon, 27 Nov 2006 13:40:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws1.0.x is a preview implementation with support for on Message-ID: <19129553.1164652836804.JavaMail.jboss@colo-br-02.atl.jboss.com> According to the link below, jbossws1.0.x is a preview implementation with support for only primitive types. http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportForJSR181 I'm using it already with complex object types in document/literal mode. We are planning to move this to production soon. Isn't it true that jbossws1.0.x supports complex object types ? Also I'm assuming that it is production ready. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988986#3988986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988986 From do-not-reply at jboss.com Mon Nov 27 15:49:28 2006 From: do-not-reply at jboss.com (bocio) Date: Mon, 27 Nov 2006 15:49:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <17230242.1164660568070.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm testing it as client JSR109 style and I'm able (with a lot of strain) just to transfert primitive types. IMHO it's still too immature for a production environment. bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989046#3989046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989046 From do-not-reply at jboss.com Mon Nov 27 16:40:42 2006 From: do-not-reply at jboss.com (stevenh) Date: Mon, 27 Nov 2006 16:40:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with java.sql.Data Message-ID: <17638483.1164663642596.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a known issue although looking at the job it is yet to be fixed. http://jira.jboss.org/jira/browse/JBWS-800 The work around is to pass a java.util.date ( not any of the sub classes). Steve. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989073#3989073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989073 From do-not-reply at jboss.com Mon Nov 27 19:58:14 2006 From: do-not-reply at jboss.com (kpalsson) Date: Mon, 27 Nov 2006 19:58:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - expose jboss mbeans as a webservice? Message-ID: <828118.1164675494100.JavaMail.jboss@colo-br-02.atl.jboss.com> Is it possible to use jbossws, (or anything else really) to expose builtin jboss services (jboss mail in particular) as a regular soap web service? I started writing my own little mail service, and decided that that was some serious wheel reinvention. Am I way off base here? Cheers, Karl P View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989134#3989134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989134 From do-not-reply at jboss.com Mon Nov 27 20:35:58 2006 From: do-not-reply at jboss.com (iaperez) Date: Mon, 27 Nov 2006 20:35:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ClassNotFoundException using wscompile task Message-ID: <26188340.1164677758751.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm not sure of this answer in this case, but it was a good solution with the same error message in another circumstances (wsdp 1.6). Put .class files of OrderIF_Service in folders with a tree structure, in this case, the folders are com->example->services-> files .class (i.e. the package descriptor?). When eclipse IDE with wtools generate the sources and the binaries for a web service with top down methodology, the IDE put the folders with this structure. saludos Ignacio P.D sorry for my english :p View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989145#3989145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989145 From do-not-reply at jboss.com Mon Nov 27 20:39:06 2006 From: do-not-reply at jboss.com (kksenthil76) Date: Mon, 27 Nov 2006 20:39:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Communication with client Message-ID: <29159717.1164677946156.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am into JBOSS research, I would like to know how the Message passed from SOAP client or Java client to apache AXIS through JBOSS. Is that through socket or rmi communication between SOAP client/java client to JBOSS. Let me know the API also. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989146#3989146 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989146 From do-not-reply at jboss.com Tue Nov 28 04:12:32 2006 From: do-not-reply at jboss.com (goran381) Date: Tue, 28 Nov 2006 04:12:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with java.sql.Data Message-ID: <31263060.1164705152687.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks I assumed that it could be a work around. new java.util.Date(rset.getDate(4).getTime()) Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989196#3989196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989196 From do-not-reply at jboss.com Tue Nov 28 05:29:48 2006 From: do-not-reply at jboss.com (bocio) Date: Tue, 28 Nov 2006 05:29:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Incomplete Deployment: 4.0.5 and 1.0.4 Message-ID: <20673195.1164709788359.JavaMail.jboss@colo-br-02.atl.jboss.com> During my tests I downloaded a brand new 4.0.5 and I followed the instructions and release notes to install JBossWS 1.0.4 When I start JBoss I get: | 11:17:32,732 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.ws:service=DeployerInterceptorEJB3 | State: CONFIGURED | I Depend On: | jboss.ejb3:service=EJB3Deployer | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: jboss.ejb3:service=EJB3Deployer | State: NOTYETINSTALLED | Depends On Me: | jboss.ws:service=DeployerInterceptorEJB3 | | | 11:17:33,700 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 | 11:17:34,341 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 | 11:17:34,357 INFO [JkMain] Jk running ID=0 time=0/94 config=null | 11:17:34,388 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 47s:655ms JBossWS seems correctly installed and it works. Giving taht I do not need EJB3, is there any way to eliminate this problem? Thank you in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989215#3989215 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989215 From do-not-reply at jboss.com Tue Nov 28 05:32:46 2006 From: do-not-reply at jboss.com (stewchicken) Date: Tue, 28 Nov 2006 05:32:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - The problem with @WebServiceRef Message-ID: <5819059.1164709966378.JavaMail.jboss@colo-br-02.atl.jboss.com> Dear All I publish my webserivce wsdl on my localhost successfully Then i wrote a testclient(following JAVAEE tutorial) but i could not get HelloServiceBeanService instance via @WebServiceRef I always get nullpoint exception when i try to use service. Anyone can give me some hints on it? Thanks and Rgds import javax.xml.ws.WebServiceRef; import webservice.test.*; public class HelloClient { @WebServiceRef(wsdlLocation="http://localhost:8080/helloservice/HelloServiceBean?wsdl") HelloServiceBeanService service; public static void main(String[] args) { try { HelloClient client = new HelloClient(); client.doTest(args); } catch (Exception e) { e.printStackTrace(); } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989216#3989216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989216 From do-not-reply at jboss.com Tue Nov 28 05:49:55 2006 From: do-not-reply at jboss.com (bocio) Date: Tue, 28 Nov 2006 05:49:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Incomplete Deployment: 4.0.5 and 1.0.4 Message-ID: <19430776.1164710995208.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok I resolved: I commented the deployer service for EJB3 endpoints of the META-INF/jboss-service.xml inside the jbossws.sar. Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989220#3989220 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989220 From do-not-reply at jboss.com Tue Nov 28 07:13:13 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Tue, 28 Nov 2006 07:13:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: expose jboss mbeans as a webservice? Message-ID: <29298242.1164715993785.JavaMail.jboss@colo-br-02.atl.jboss.com> actually we talked about this a while ago. but it's currently not on the roadmap. any contribution is welcome though... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989234#3989234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989234 From do-not-reply at jboss.com Tue Nov 28 07:17:16 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Tue, 28 Nov 2006 07:17:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: The problem with @WebServiceRef Message-ID: <5791732.1164716236859.JavaMail.jboss@colo-br-02.atl.jboss.com> webserviceRef doesnt work with standalone java clients. It requires a managed environment that's capable of injecting the service stub. These capabilities will be provided with jboss5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989235#3989235 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989235 From do-not-reply at jboss.com Tue Nov 28 07:20:58 2006 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Tue, 28 Nov 2006 07:20:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <6963915.1164716458865.JavaMail.jboss@colo-br-02.atl.jboss.com> read it more carefully: anonymous wrote : | In jbossws-1.0.x we provide a preview implementation for JSR-181 | JSR-181 is an annoatation driven approach that can be used insetad of JSR-109. jbossws-1.0.x is production ready since 1.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989238#3989238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989238 From do-not-reply at jboss.com Tue Nov 28 07:57:51 2006 From: do-not-reply at jboss.com (stewchicken) Date: Tue, 28 Nov 2006 07:57:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: The problem with @WebServiceRef Message-ID: <25361633.1164718671792.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for you input what do you mean by JBoss5 supports it? It means A) Should I run this client in JBoss5 container? B) or I can run this client against Webservice published in JBoss5 container? If it is A how do i run it? with which command? Rgds View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989273#3989273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989273 From do-not-reply at jboss.com Tue Nov 28 08:28:38 2006 From: do-not-reply at jboss.com (bashburn) Date: Tue, 28 Nov 2006 08:28:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: BUG JBossWS 1.0.4 : WsdlGenerator crashes on void-method Message-ID: <16258927.1164720518741.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm having this same issue with JBossAS 4.0.4.GA, JBossWS 1.0.4, and jboss-xml-bindings.jar 1.0.1.TEST. Does anyone have any information on this. These were deploying on 1.0.3, but the executions were failing because of previous bugs. That is why I need to be on 1.0.4. -BA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989301#3989301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989301 From do-not-reply at jboss.com Tue Nov 28 09:20:01 2006 From: do-not-reply at jboss.com (bocio) Date: Tue, 28 Nov 2006 09:20:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <29847041.1164723601860.JavaMail.jboss@colo-br-02.atl.jboss.com> "heiko.braun at jboss.com" wrote : | | jbossws-1.0.x is production ready since 1.0 | | ROTFL :-) So recent posts are just my fantasy outcomes. Thank you indeed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989327#3989327 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989327 From do-not-reply at jboss.com Tue Nov 28 10:49:42 2006 From: do-not-reply at jboss.com (maeste) Date: Tue, 28 Nov 2006 10:49:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <12693255.1164728982411.JavaMail.jboss@colo-br-02.atl.jboss.com> Probably you didn't understand what here and in other post was said. Just jsr-181 is a preview. Jbossws is production ready and we use it in our production environment with something like 200 operations in 49 wsdls. And jsr-181 implementation is a good preview, because we are using in a lot of these operations. Of course we made some investments to understand in deep ws standards and jboss' implementations. regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989365#3989365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989365 From do-not-reply at jboss.com Tue Nov 28 11:12:13 2006 From: do-not-reply at jboss.com (Cipherous) Date: Tue, 28 Nov 2006 11:12:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Streaming over Webservices Message-ID: <1463241.1164730333122.JavaMail.jboss@colo-br-02.atl.jboss.com> hey guys Please excuse me if I am sounding naive, I am no SOA expert. I need a way to constantly feed data to a client, its almost as if the client was a stock ticker. I was wondering if you ever heard of streaming soap over a webservice (or if its actually possible). Is this more of a ESB level paradigm? there is a streaming XML parser called STax but you need to open a socket stream in order to get access to the source. However, opening sockets defeats the purpose of a SOA architecture and will cause some firewall issues. any information would be greatly apperciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989383#3989383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989383 From do-not-reply at jboss.com Tue Nov 28 11:16:49 2006 From: do-not-reply at jboss.com (Cipherous) Date: Tue, 28 Nov 2006 11:16:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Streaming over Webservices Message-ID: <31292369.1164730609692.JavaMail.jboss@colo-br-02.atl.jboss.com> I found that jbossWS does not support Stax, STax is supported in glassfish and axis2 comparison can be found here http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWSStackComparison View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989385#3989385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989385 From do-not-reply at jboss.com Tue Nov 28 11:35:28 2006 From: do-not-reply at jboss.com (mo_ctaylor) Date: Tue, 28 Nov 2006 11:35:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enabling transport compression with JBossWS Message-ID: <32104592.1164731728073.JavaMail.jboss@colo-br-02.atl.jboss.com> I discovered that there were performance fixes with JBossWS and with JBossXB so I have followed the upgrade instructions and have upgraded to JBossWS-1.0.4.GA. The Web Services do work faster now but we will still have a performance issue. I would like to get transport compression working with JBossWS but still have not figured out how to do so. I am wondering if JBoss Remoting can be used to get compression working. As far as I can tell it seems like JBoss Web Services uses JBoss Remoting. JBoss Remoting has pluggable data marshallers and on the JBoss Remoting Wiki it states that there exists data compression marshallers/unmarshallers for compression of large payloads. Is there a configuration file that I can modify so that my JBoss Web Services Clients and Providers use the CompressingMarshaller and CompressingUnMarshaller? Is there another way to get transport compression to work with JBoss Web Services? Thanks, CIndy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989395#3989395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989395 From do-not-reply at jboss.com Tue Nov 28 13:24:27 2006 From: do-not-reply at jboss.com (bocio) Date: Tue, 28 Nov 2006 13:24:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <10962337.1164738267496.JavaMail.jboss@colo-br-02.atl.jboss.com> "maeste" wrote : Probably you didn't understand what here and in other post was said. | Just jsr-181 is a preview. | | Jbossws is production ready and we use it in our production environment with something like 200 operations in 49 wsdls. | | Of course we made some investments to understand in deep ws standards and jboss' implementations. | Stefano, probably you didn't read my first reply: I'm testing it as JSR109 client and it has a lot of problem. Please read my recent posts on this. For me worked nearly flowless only in a JBoss - JBoss environment. But... giving that, on production site I have to face with server endpoints running on websphere 6.1 and, of course, I cannot change the Italy Ministry of Finance WS interface, I stated that current version simply doesn't work for me. Same thing with webservices exposed by another legacy application here. They are generated with Axis2 and again, jbossws 1.0.4 client simply does not work. All operations returns or accepts custom value objects. I posted some messages for this. On another side project I have to implement both endpoints. The only requirement to meet is tomcat standalone. I said "Ok, on this I will use a pure jbossws implementation..." Unfortunately the installation is broken and I opened a bug report on jiira. Nobody replied and maybe I'm asking things answered 10000 times. I found nothing on docs, wiki and forums. Maybe I'm wrong but this should be the goal of these forums. I just expressed my opinion (IMHO). And I'm patiently waiting that these problems will be solved or someone will have some spare time to reply me. Even a "you wrote a lot of bullshits" would be enough :-) "maeste" wrote : | Of course we made some investments to understand in deep ws standards and jboss' implementations. | I'm using JBoss in production sites since 2.4.6 version many years ago, and I brought it with me across three companies. On summer 2004 we spent about 17.000 Euro for training from the only jboss certified italian company. Is it enough? You see, while I know I didn't pay the car, I'm becoming a little tired to wear an "engineer white coat" each time just to drive this car ;-) And reading Jboss mailing lists and forum since so many years I can assure you that a lot of things changed. JBoss AS became very popular and consequently background noise increased. Quality on forums lowered on both sides and the jboss staff attitude has changed a lot. Moderators, please feel free to move this message to the useless rants corner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989434#3989434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989434 From do-not-reply at jboss.com Tue Nov 28 16:26:24 2006 From: do-not-reply at jboss.com (ian.griggs) Date: Tue, 28 Nov 2006 16:26:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Using JBoss Web Services in the jbpm-starters-kit-3.1.2 Message-ID: <3062471.1164749184317.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to demonstrate an XML/SOAP Web Service operation that starts a jBPM process instance I want advice on which JBoss tools to use to do this. I installed jbossws-1.0.3.GA in the JBoss server supplied with the jBPM starters kit 3.1.2. (I am running Windows XP.) Is this an appropriate combination? Should I use the "standard" Jboss server instead? I followed the installation instructions, copying in jboss-xml-binding.jar from the CV7 directory. I tried to build the "Duke's Bank" example supplied with jbossws. The ant compile worked, but the ant wstool didn't. I googled the class name and found posts indicating that the problem had been fixed by alex.loubyansky at jboss.com in CR 6. (http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959866) C:\j2eetutorial14\examples\bank>ant -f jboss-build.xml compile Buildfile: jboss-build.xml prepare: compile: BUILD SUCCESSFUL Total time: 0 seconds C:\j2eetutorial14\examples\bank>ant -f jboss-build.xml wstool Buildfile: jboss-build.xml wstool: [wstools] log4j:WARN No appenders could be found for logger (org.jboss.ws.too s.WSTools). [wstools] log4j:WARN Please initialize the log4j system properly. BUILD FAILED java.lang.NoSuchMethodError: org.jboss.xb.binding.Unmarshaller.setSchemaValidat on(Z)V View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989488#3989488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989488 From do-not-reply at jboss.com Tue Nov 28 17:06:55 2006 From: do-not-reply at jboss.com (zurchman) Date: Tue, 28 Nov 2006 17:06:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jboss-4.0.5 jbossws-1.0.3.SP1 deployment exceptions Message-ID: <21130059.1164751615633.JavaMail.jboss@colo-br-02.atl.jboss.com> I know you don't want to read long stack traces, so here's the synopsis: jboss-4.0.5 has problems resolving three jbossws jars. I've noticed several posts calling attention to this problem, but have not found references to any resolutions. | 2006-11-28 14:18:13,260 DEBUG [org.jboss.deployment.MainDeployer] resolveLibraries: jaxb-api.jar activation.jar jsr173_1.0_api.jar jaxb1-impl.jar | I installed jboss-4.0.5 with the "jems-installer". The configuration is "ejb-clustered" and named "default". Here are some relevant portions of the stack trace: | 2006-11-28 14:18:12,668 DEBUG [org.jboss.deployment.JARDeployer] looking for nested deployments in : file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jaxb-impl.jar | 2006-11-28 14:18:13,257 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] Added url: file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp8839jaxb-impl.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at 12922f6{ url=file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/ ,addedOrder=12} | 2006-11-28 14:18:13,260 DEBUG [org.jboss.deployment.MainDeployer] resolveLibraries: jaxb-api.jar activation.jar jsr173_1.0_api.jar jaxb1-impl.jar | 2006-11-28 14:18:13,260 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at jaxb-impl.jar entry is jaxb-api.jar | 2006-11-28 14:18:13,260 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at jaxb-impl.jar entry is activation.jar | 2006-11-28 14:18:13,267 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jaxb-impl.jar references URL file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/activation.jar which could not be opened, entry ignored | 2006-11-28 14:18:13,277 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true | 2006-11-28 14:18:13,277 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false | 2006-11-28 14:18:13,278 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true | org.jboss.deployment.DeploymentException: url file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/activation.jar could not be opened, does it exist? | at org.jboss.deployment.DeploymentInfo.(DeploymentInfo.java:214) | | | 2006-11-28 14:18:13,285 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at jaxb-impl.jar entry is jsr173_1.0_api.jar | 2006-11-28 14:18:13,285 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jaxb-impl.jar references URL file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jsr173_1.0_api.jar which could not be opened, entry ignored | org.jboss.deployment.DeploymentException: url file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jsr173_1.0_api.jar could not be opened, does it exist? | | | 2006-11-28 14:18:13,291 DEBUG [org.jboss.deployment.MainDeployer] new manifest entry for sdi at jaxb-impl.jar entry is jaxb1-impl.jar | 2006-11-28 14:18:13,292 DEBUG [org.jboss.deployment.MainDeployer] The manifest entry in file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jaxb-impl.jar references URL file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jaxb1-impl.jar which could not be opened, entry ignored | org.jboss.deployment.DeploymentException: url file:/usr/local/JBoss/jboss-4.0.5.GA/server/default/deploy/jbossws.sar/jaxb1-impl.jar could not be opened, does it exist? | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989498#3989498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989498 From do-not-reply at jboss.com Tue Nov 28 18:00:58 2006 From: do-not-reply at jboss.com (lafr) Date: Tue, 28 Nov 2006 18:00:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but Message-ID: <20739852.1164754858614.JavaMail.jboss@colo-br-02.atl.jboss.com> I enabled DEBUG for org.jboss.ws and got this: 2006-11-28 23:45:49,480 DEBUG [org.jboss.ws.server.StandardEndpointServlet] doPost: /mbi-ws/mbi2e-lafr-sb2000-ipc/core/MessageServic | eWS | 2006-11-28 23:45:49,488 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContext | Impl at 171cb85 | 2006-11-28 23:45:49,525 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=mbi-ws/mbi2e-lafr-sb2000-i | pc/core,endpoint=MessageServiceWS | 2006-11-28 23:45:49,525 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers | 2006-11-28 23:45:49,547 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: [] | 2006-11-28 23:45:49,547 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null] | 2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers | 2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: [] | 2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null] | 2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers | 2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: [] | 2006-11-28 23:45:49,548 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null] | 2006-11-28 23:45:49,568 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml] | 2006-11-28 23:45:49,693 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: 3sb2000dembi02684876302006-11-28 23:45:49 | 2006-11-28 23:45:49,694 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: 13573Start Reorganisation mit folgenden Funktionen:- L\303\266schen Bestellvorschl\303\244ge- L\303\266schen Propositionskonto, Bestellvorschl\303\244ge -> Neuaufbau- Neuaufbau - Dispokonto (mbi_dispo, dispo_serial)- Neuaufbau Bedarfsdec | ker - Dispokonto (mbi_dispo, dispo_serial)- Neuaufbau Reservierungen aus Lager | best\303\244nden (mbi_dires)- Neuaufbau Reservierungen aus Fertigungsauft | r\303\244gen (mbi_dires)- Neuaufbau Reservierungen aus Nachbearbeitung (mb | i_dires)- Neuaufbau Reservierungen aus Bestellungen (mbi_dires)- Neuaufbau Reservierungen aus Vorabdispo -> Neuaufbau BV- Neuaufbau Reservierungen aus Transport (mbi_dires) | - Anonymisieren Bedarfsdeckermbi_proini.ec2006-1 | 1-28 23:45:49 | 2006-11-28 23:45:49,717 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: {http://core.ws.fn.mbisoftware.biz}c | reateMultiInfo | 2006-11-28 23:45:49,735 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindRequestMessage: {http://core.ws.fn.mbisoftware.b | iz}createMultiInfo | 2006-11-28 23:45:49,741 DEBUG [org.jboss.ws.binding.EndpointInvocation] setRequestParamValue: [name=MessageHead_1,value=org.jboss.ws | .soap.SOAPContentElement] | 2006-11-28 23:45:49,741 DEBUG [org.jboss.ws.binding.EndpointInvocation] setRequestParamValue: [name=MessagePart_2,value=org.jboss.ws | .soap.SOAPContentElement] | 2006-11-28 23:45:49,742 DEBUG [org.jboss.ws.metadata.OperationMetaData] Get java method for: {http://core.ws.fn.mbisoftware.biz}crea | teMultiInfo | 2006-11-28 23:45:49,748 DEBUG [org.jboss.ws.metadata.OperationMetaData] Found best matching java method: public abstract biz.mbisoft | ware.fn.wstypes.ServiceIntegerResponse biz.mbisoftware.fn.ws.core.MessageServiceWSI.createMultiInfo(biz.mbisoftware.fn.wstypes.core. | MessageHead,biz.mbisoftware.fn.wstypes.core.MessagePart) throws java.rmi.RemoteException | 2006-11-28 23:45:49,748 DEBUG [org.jboss.ws.server.ServiceEndpointInvokerJSE] invokeServiceEndpoint: createMultiInfo | 2006-11-28 23:45:49,749 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestPayload | 2006-11-28 23:45:49,750 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestParamValue: MessageHead_1 | 2006-11-28 23:45:49,750 DEBUG [org.jboss.ws.soap.SOAPContentElement] getObjectValue [xmlType={http://core.ws.fn.mbisoftware.biz}Mess | ageHead,javaType=class biz.mbisoftware.fn.wstypes.core.MessageHead] | 2006-11-28 23:45:49,764 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBDeserializer] deserialize: [xmlName=MessageHead_1,xmlType={http://co | re.ws.fn.mbisoftware.biz}MessageHead] | 2006-11-28 23:45:50,110 DEBUG [org.jboss.ws.server.ServiceEndpoint] END handleRequest: jboss.ws:context=mbi-ws/mbi2e-lafr-sb2000-ipc | /core,endpoint=MessageServiceWS | 2006-11-28 23:45:50,124 DEBUG [org.jboss.ws.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.soap.SOAPMessageContextI | mpl at 171cb85 | 2006-11-28 23:45:50,128 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/mbi-ws/mbi2e-lafr-sb2000-ipc/core].[ | MessageServiceWS]] Servlet.service() for servlet MessageServiceWS threw exception | java.lang.ExceptionInInitializerError | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:164) | ... | My wsdl file generated with jwsdp-2.0: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989508#3989508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989508 From do-not-reply at jboss.com Wed Nov 29 03:51:45 2006 From: do-not-reply at jboss.com (maeste) Date: Wed, 29 Nov 2006 03:51:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <27307510.1164790305584.JavaMail.jboss@colo-br-02.atl.jboss.com> I didn' want to start a flame. In fact I didn't understand you refer to client. It seems to have trouble, we don't use it except in some little use case. We works mainly on the server side. IMHO opinion jboss still the best AS on the market. And I mean the best one, not the best open source. I started to use jboss since 2.0 (first production environment 2.4.1) and I read forums and ML since the beginning. I agree with you, a lot of things changed, community is changed (more noise) and jboss' staff become more and more busy. Before someone other of the staff will tell you: The only sure way to get immediately feed back is the professional support. The community support is not so responsive, and mainly intend for guys wearing "engineer white coat". :) This is just my humble opinion, my impression and I'm just a user like you...really passionated end user. Next days we have to implement ws clients and I'll keep you post of our result or problem. Well the goal of project is 2nd quarter 07 and I don't exclude to use jbossws 2.0CR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989592#3989592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989592 From do-not-reply at jboss.com Wed Nov 29 05:07:09 2006 From: do-not-reply at jboss.com (PhFery) Date: Wed, 29 Nov 2006 05:07:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.ws.WSException: Cannot obtain UnifiedBeanMetaD Message-ID: <19409981.1164794829537.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I think you should replace: with following code: I think you must use the ejb-name to locate your bean ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989617#3989617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989617 From do-not-reply at jboss.com Wed Nov 29 05:20:27 2006 From: do-not-reply at jboss.com (bocio) Date: Wed, 29 Nov 2006 05:20:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <6122971.1164795627804.JavaMail.jboss@colo-br-02.atl.jboss.com> "maeste" wrote : | IMHO opinion jboss still the best AS on the market. And I mean the best one, not the best open source. | I started to use jboss since 2.0 (first production environment 2.4.1) and I read forums and ML since the beginning. I agree with you, a lot of things changed, community is changed (more noise) and jboss' staff become more and more busy. | I 100% agree "maeste" wrote : | Before someone other of the staff will tell you: The only sure way to get immediately feed back is the professional support. The community support is not so responsive, and mainly intend for guys wearing "engineer white coat". :) | I know but here I definitively go OT ;-) Inside my company we have so many websphere installations that we pay ibm just flat-rate. I could install how much websphere as I would. So price is not a problem. Even so up to now my group was able to mantain a little entrenched JBoss Island. Now would be impossible for me to ask for a professional support while we have two ibm guys free of charge all the year inside the company. So my island must be self contained :-) "maeste" wrote : | Next days we have to implement ws clients and I'll keep you post of our result or problem. Well the goal of project is 2nd quarter 07 and I don't exclude to use jbossws 2.0CR | I'll look forward to hear about your tests Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989626#3989626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989626 From do-not-reply at jboss.com Wed Nov 29 08:08:27 2006 From: do-not-reply at jboss.com (vijay simha joshi) Date: Wed, 29 Nov 2006 08:08:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <18633745.1164805707952.JavaMail.jboss@colo-br-02.atl.jboss.com> "sursha" wrote : According to the link below, jbossws1.0.x is a preview implementation with support for only primitive types. | http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQSupportForJSR181 | I'm using it already with complex object types in document/literal mode. | We are planning to move this to production soon. | Isn't it true that jbossws1.0.x supports complex object types ? | Also I'm assuming that it is production ready. | Hi Sursha, I m very new to the web-service field. I tried installing jbossWS1.0.4 on JBOSS4.0.4 as per the instructions given in the installation doc, but i m getting exceptions. Please let me know where i m going wrong and if possible a simple example of web service using JBOSS-WS. Thanks in advance Vijay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989676#3989676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989676 From do-not-reply at jboss.com Wed Nov 29 09:44:56 2006 From: do-not-reply at jboss.com (boppi77) Date: Wed, 29 Nov 2006 09:44:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Deploying JDeveloper/Oracle webservices on JBossWS Message-ID: <19673970.1164811496547.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Pekka, I'm having exactly same problem when i try to deploy a webservice from JDeveloper to JBoss. Did you solve this problem?. Please let me know how, If you did. Thanks Praveen View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989712#3989712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989712 From do-not-reply at jboss.com Wed Nov 29 11:08:15 2006 From: do-not-reply at jboss.com (sursha) Date: Wed, 29 Nov 2006 11:08:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <28659605.1164816495638.JavaMail.jboss@colo-br-02.atl.jboss.com> Vijay, Did you try with jboss 4.0.4 installation? jbossws 1.0.x comes with jboss 4.0.4. I would recommend just trying with that first before installling jbossws1.0.4 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989752#3989752 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989752 From do-not-reply at jboss.com Wed Nov 29 11:33:47 2006 From: do-not-reply at jboss.com (ppetit) Date: Wed, 29 Nov 2006 11:33:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - NoSuchMethodError: portName() while exposing EJB3 in WS1.0.4 Message-ID: <19680980.1164818027581.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi guys I'm getting a NoSuchMethodError: javax.jws.WebService.portName()Ljava/lang/String; while deploying a WS based upon an annoted SLSB EJB3.(jsr181) I deployed a 1.0.4 JBossWS within a 4.0.4GA JBoss AS. Is there an issue in this association ? thanks Philippe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989766#3989766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989766 From do-not-reply at jboss.com Wed Nov 29 11:57:04 2006 From: do-not-reply at jboss.com (MmarcoM) Date: Wed, 29 Nov 2006 11:57:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - java.lang.NoSuchMethodError: javax.jws.WebService.portName() Message-ID: <25248712.1164819424157.JavaMail.jboss@colo-br-02.atl.jboss.com> hi all, been havign this exception after upgrading jbossws to 1.0.4 i have read similar threads that suggest to replace ejb3 files.... i have downloaded ejb3-rc9, replaced ejb3-persistence.jar and jboss-ejb3-client wherever i could, but i am still getting same exception... i think i am missing something... mayb some jboss-j2ee jars? can anyone help me out? thanks in advance and regards Marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989773#3989773 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989773 From do-not-reply at jboss.com Wed Nov 29 12:07:00 2006 From: do-not-reply at jboss.com (MmarcoM) Date: Wed, 29 Nov 2006 12:07:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa Message-ID: <1282257.1164820020207.JavaMail.jboss@colo-br-02.atl.jboss.com> hi all, i found solution (and i apologize for not being more proactive..) i have downloaded ejb3.0-rc9fd and haveupdated followign files: - ejb3-persistence.jar - jboss-ejb3-client.jar - ejb3.deployer (directory) - jboss-aop-jdk50.deployer (directory) in jbossAS 4.0.4GA. all files above comes with ejb3.0-rc9fd or with microcontainer rc9 hth marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989775#3989775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989775 From do-not-reply at jboss.com Wed Nov 29 12:10:13 2006 From: do-not-reply at jboss.com (MmarcoM) Date: Wed, 29 Nov 2006 12:10:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: 1.0.4 integration problem with EJB-3RC8 Message-ID: <1299448.1164820213963.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, got same problems and found solution it is in this thread http://www.jboss.com/index.html?module=bb&op=viewtopic&t=95953 hth marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989776#3989776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989776 From do-not-reply at jboss.com Wed Nov 29 14:38:18 2006 From: do-not-reply at jboss.com (mo_ctaylor) Date: Wed, 29 Nov 2006 14:38:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws-1.0.4.GA drop in replacement in JBossAS-4.0.4.GA got Message-ID: <3394134.1164829098602.JavaMail.jboss@colo-br-02.atl.jboss.com> There is a gotcha when you follow the install instructions and drop in jbossws-1.0.4.GA into jbossas-4.0.4.GA and it has to do with updating the jboss-xml-binding.jar library from jbossxb/1.0.0.CR7. The JBossAS contains a library called jbossall-client.jar which a client of the JbossWS should use according to the wiki: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQClientJars Using jar tvf on jbossall-client.jar it looks like it is built from several jar files, including an older version of jboss-xml-binding.jar . I had to add jboss-xml-binding.jar to my client's class path but I had to put it before jbossall-client.jar. I would prefer to use the individual jar files that are used to build jbossall-client.jar. Is it possible for someone to post that list here or in the Wiki??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989805#3989805 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989805 From do-not-reply at jboss.com Wed Nov 29 15:21:23 2006 From: do-not-reply at jboss.com (thomson@fhlb-of.com) Date: Wed, 29 Nov 2006 15:21:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Log4j and Web Service question Message-ID: <22551668.1164831683948.JavaMail.jboss@colo-br-02.atl.jboss.com> Currently, I only receive the SOAP messages when I have DEBUG mode enabled. I want to be able to log the SOAP calls in INFO mode..how do I set up an appender to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989812#3989812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989812 From do-not-reply at jboss.com Wed Nov 29 21:24:27 2006 From: do-not-reply at jboss.com (stevenh) Date: Wed, 29 Nov 2006 21:24:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Log4j and Web Service question Message-ID: <3215031.1164853467190.JavaMail.jboss@colo-br-02.atl.jboss.com> actually you wont be able to move the soap messages to the info level as such. You will need to set the level on your appender to debug and use categories to filter out what you dont want. http://docs.jboss.org/process-guide/en/html/logging.html Also do you really want your soap messages going to the info level, some of them can be fairly substanital (depending on your code). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989902#3989902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989902 From do-not-reply at jboss.com Thu Nov 30 03:04:16 2006 From: do-not-reply at jboss.com (erahamim) Date: Thu, 30 Nov 2006 03:04:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - web service address on jboss 4.0.5 Message-ID: <32344276.1164873856625.JavaMail.jboss@colo-br-02.atl.jboss.com> I recently upgrade from jboss AS 4.0.4 to 4.0.5. In jboss 4.0.4, there were jmx attributes: WebServicePort, WebServiceHost in jboss-service.xml . The values were exposed as the ServiceEndpointAddress. These attributes were removed from the new jbossw on jboss as 4.0.5. Where can I configure it now? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989942#3989942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989942 From do-not-reply at jboss.com Thu Nov 30 04:37:42 2006 From: do-not-reply at jboss.com (biroj) Date: Thu, 30 Nov 2006 04:37:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - EJB3 endpoint with predefined WSDL contract Message-ID: <24571346.1164879462469.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Dev. environment: JBoss AS 4.0.4 GA with the bundled JBossWS (1.0.0) JRE 1.5.0_9 Windows XP SP2 We use EJB3. Our problem is would be the following: We have a predefined WSDL contract (for test purposes we used a redically simplified one which contains only one operation called "abort") which should be implemented by us. WSDL for test | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We've tried several approaches but no one is working: 1. a, we compiled the WSDL file (see above) with wstools.bat it made some minor syntactic errors in the generated .java files (e.g. class names used lowercase (e.g. abortType) instead of the correct uppercase AbortType, "[Byte;" instead of "Byte[]") but I corrected it manually b, we specified that we'd like to use a predefined WSDL instead of autogenerated one using JSR181 annotations | @WebService(serviceName="EMServices", targetNamespace="http://siemens.com/ws/request/beans",wsdlLocation="META-INF/wsdl/EMServices.wsdl") | c, the deployment was successfull, the original WSDL was published d, but when we tried to invoke the operation it dropped an exception (the relevant part is emphasized) LOG from the deployment to the exception 2006-11-30 09:38:23,097 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,097 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,113 DEBUG [org.jboss.deployment.MainDeployer] Copying file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar -> D:\jboss-4.0.4.GA\server\default\tmp\deploy\tmp61680eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.ejb3:service=EJB3Deployer] | 2006-11-30 09:38:23,128 DEBUG [org.jboss.ejb3.EJB3Deployer] looking for nested deployments in : file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) | 2006-11-30 09:38:23,128 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 17ce4e7, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 10064a4{ url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp61680eti_reloaded_rt1.jar ,addedOrder=0} | 2006-11-30 09:38:23,128 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 17ce4e7, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 10064a4{ url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp61680eti_reloaded_rt1.jar ,addedOrder=0} | 2006-11-30 09:38:23,128 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3 at 10064a4{ url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp61680eti_reloaded_rt1.jar ,addedOrder=0} | 2006-11-30 09:38:23,128 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] create: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.ejb3.EJB3Deployer] create, eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.ejb3.EJB3Deployer] Deploying: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.ejb3.Ejb3Module] Creating jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.ejb3.security.JaccHelper] Initialising JACC Context for deployment: eti_reloaded_rt1.jar | 2006-11-30 09:38:23,128 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] found ejb-jar.xml jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp61680eti_reloaded_rt1.jar!/META-INF/ejb-jar.xml | 2006-11-30 09:38:23,144 DEBUG [org.jboss.ejb3.Ejb3DescriptorHandler] found jboss.xml jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp61680eti_reloaded_rt1.jar!/META-INF/jboss.xml | 2006-11-30 09:38:23,144 INFO [org.jboss.ejb3.Ejb3DescriptorHandler] adding class annotation javax.ejb.TransactionManagement to siemens.com.ws.request.beans.ReceiverBean org.jboss.ejb.TransactionManagementImpl at 1386751 | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ejb3.Ejb3AnnotationHandler] found EJB3: ejbName=ReceiverBean, class=siemens.com.ws.request.beans.ReceiverBean, type=STATELESS | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ejb3.ProxyDeployer] no declared remote bindings for : ReceiverBean | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ejb3.ProxyDeployer] there is remote interfaces for ReceiverBean | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ejb3.ProxyDeployer] default remote binding has jndiName of ReceiverBean/remote | 2006-11-30 09:38:23,160 INFO [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 32 | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ejb3.Ejb3Module] Created jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar | 2006-11-30 09:38:23,160 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar dependents are: [] | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ws.metadata.AnnotationsMetaDataBuilderEJB3] START buildMetaData: [canonicalName=eti_reloaded_rt1.jar] | 2006-11-30 09:38:23,160 WARN [org.jboss.ws.metadata.EndpointMetaData] Cannot obtain style, using default: document | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] Generating wrapper: siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abort | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] Generating wrapper: siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abortResponse | 2006-11-30 09:38:23,160 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory] parse: jar:file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/tmp61680eti_reloaded_rt1.jar!/META-INF/wsdl/EMServices.wsdl | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] new WSDLInterface | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setName: EMServices | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setQName: {http://siemens.com/ws/request/beans}EMServices | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] new WSDLBinding | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setQName: {http://siemens.com/ws/request/beans}EMServicesSOAP | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setName: EMServicesSOAP | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setInterfaceName: EMServicesSOAP | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.AbstractMetaDataBuilder] Replace service endpoint address 'http://localhost:8081/axis2/services/EMServices' with 'http://hu3cbf8c:8080/eti_reloaded_rt1/ReceiverBean' | 2006-11-30 09:38:23,253 DEBUG [org.jboss.ws.metadata.ServerEndpointMetaData] getEndpointConfig: [name=Standard Endpoint,url=META-INF/standard-jbossws-endpoint-config.xml] | 2006-11-30 09:38:23,316 DEBUG [org.jboss.ws.metadata.config.WSConfigFactory] parse: file:/D:/jboss-4.0.4.GA/server/default/deploy/jbossws.sar/META-INF/standard-jbossws-endpoint-config.xml | 2006-11-30 09:38:23,363 DEBUG [org.jboss.ws.metadata.AnnotationsMetaDataBuilderEJB3] END buildMetaData: | UnifiedMetaData: | securityDomain: null | | | ServiceMetaData: | name={http://siemens.com/ws/request/beans}EMServices | wsdName=null | wsdlFile=META-INF/wsdl/EMServices.wsdl | jaxrpcFile=null | publishLocation=null | properties=null | | TypesMetaData: | [complexType={http://siemens.com/ws/request/beans}AbortInput,javaType=siemens.com.ws.request.beans.AbortInput] | [complexType={http://siemens.com/ws/request/beans}AbortResponse,javaType=siemens.com.ws.request.beans.AbortResponse] | | | | | | | | | | | | | | | | | | | ServerEndpointMetaData: | name={http://siemens.com/ws/request/beans}EMServicesPort | id=jboss.ws:di=eti_reloaded_rt1.jar,port=EMServicesPort,service=EMServices | address=http://hu3cbf8c:8080/eti_reloaded_rt1/ReceiverBean | linkName=ReceiverBean | implName=siemens.com.ws.request.beans.ReceiverBean | seiName=siemens.com.ws.request.beans.EMServices_PortType | annotated=true | portComponentName=null | contextRoot=/eti_reloaded_rt1 | urlPattern=/ReceiverBean | configFile=META-INF/standard-jbossws-endpoint-config.xml | configName=Standard Endpoint | authMethod=null | transportGuarantee=null | properties=null | | OperationMetaData: | xmlName={http://siemens.com/ws/request/beans}abort | javaName=abort | style=document/literal/wrapped | oneWay=false | soapAction= | ParameterMetaData: | xmlName={http://siemens.com/ws/request/beans}abort | xmlType={http://siemens.com/ws/request/beans}abort | javaType=siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abort | mode=IN | inHeader=false | wrappedVariables=[abortInput_1] | wrappedTypes=[siemens.com.ws.request.beans.AbortInput] | wrappedElementNames=[{http://siemens.com/ws/request/beans}AbortInput_1] | ReturnMetaData: | xmlName={http://siemens.com/ws/request/beans}abortResponse | xmlType={http://siemens.com/ws/request/beans}abortResponse | javaType=siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abortResponse | mode=OUT | inHeader=false | wrappedVariables=[result] | wrappedTypes=[siemens.com.ws.request.beans.AbortResponse] | wrappedElementNames=[result] | 2006-11-30 09:38:23,566 DEBUG [org.jboss.ws.server.ServiceEndpointManager] WebService created: jboss.ws:di=eti_reloaded_rt1.jar,service=EMServices,port=EMServicesPort | 2006-11-30 09:38:24,050 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,050 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,050 DEBUG [org.jboss.deployment.MainDeployer] using deployer MBeanProxyExt[jboss.web:service=WebServer] | 2006-11-30 09:38:24,081 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] Begin init | 2006-11-30 09:38:24,097 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] webContext: null | 2006-11-30 09:38:24,097 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] warURL: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,113 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] End init | 2006-11-30 09:38:24,113 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) | 2006-11-30 09:38:24,113 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 17ce4e7, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 1fe1da2{ url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ ,addedOrder=0} | 2006-11-30 09:38:24,113 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at 17ce4e7, cl=org.jboss.mx.loading.UnifiedClassLoader3 at 1fe1da2{ url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ ,addedOrder=0} | 2006-11-30 09:38:24,113 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3 at 1fe1da2{ url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ ,addedOrder=0} | 2006-11-30 09:38:24,113 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,113 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,113 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] create: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,113 DEBUG [org.jboss.web.tomcat.tc5.Tomcat5] create, eti_reloaded_rt1.jar-ws61682.war | 2006-11-30 09:38:24,159 DEBUG [org.jboss.system.ServiceController] Creating service jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 | 2006-11-30 09:38:24,159 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [] | 2006-11-30 09:38:24,159 DEBUG [org.jboss.web.WebModule] Creating jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 | 2006-11-30 09:38:24,159 DEBUG [org.jboss.web.WebModule] Created jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 | 2006-11-30 09:38:24,159 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 dependents are: [] | 2006-11-30 09:38:24,175 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying eti_reloaded_rt1.jar-ws61682.war | 2006-11-30 09:38:24,175 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,175 DEBUG [org.jboss.ws.server.WebServiceDeployerJSE] start: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,191 DEBUG [org.jboss.system.ServiceController] starting service jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 | 2006-11-30 09:38:24,191 DEBUG [org.jboss.web.WebModule] Starting jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 | 2006-11-30 09:38:24,191 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webContext: null | 2006-11-30 09:38:24,191 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] warURL: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,191 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] webAppParser: org.jboss.web.AbstractWebDeployer$DescriptorParser at 32fb80 | 2006-11-30 09:38:24,206 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]} | 2006-11-30 09:38:24,675 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/eti_reloaded_rt1, warUrl=.../tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:24,691 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, Begin | 2006-11-30 09:38:24,691 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Creating ENC using ClassLoader: java.net.FactoryURLClassLoader at 11daf60 | 2006-11-30 09:38:24,691 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.mx.loading.UnifiedClassLoader3 at 1fe1da2{ url=file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ ,addedOrder=47} | 2006-11-30 09:38:24,691 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..org.jboss.system.server.NoAnnotationURLClassLoader at 186db54 | 2006-11-30 09:38:24,691 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$AppClassLoader at a39137 | 2006-11-30 09:38:24,691 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] ..sun.misc.Launcher$ExtClassLoader at 92e78c | 2006-11-30 09:38:24,691 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Unable to retrieve orbjavax.management.InstanceNotFoundException: jboss:service=CorbaORB is not registered. | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linked java:comp/UserTransaction to JNDI name: UserTransaction | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] addEnvEntries | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceEnvRefs | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkResourceRefs | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkMessageDestinationRefs | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbRefs | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkEjbLocalRefs | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkServiceRefs | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] linkSecurityDomain | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] No security-domain given, using default: java:/jaas/other | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Linking security/securityMgr to JNDI name: java:/jaas/other | 2006-11-30 09:38:24,706 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] AbstractWebContainer.parseWebAppDescriptors, End | 2006-11-30 09:38:25,238 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Using session cookies default setting | 2006-11-30 09:38:26,378 DEBUG [org.jboss.web.tomcat.filters.ReplyHeaderFilter] Adding header name: X-Powered-By='Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5' | 2006-11-30 09:38:26,503 DEBUG [org.jboss.web.tomcat.tc5.TomcatDeployer] Initialized: {WebApplication: /D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/, URL: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/, classLoader: java.net.FactoryURLClassLoader at 11daf60:18722656} jboss.web:j2eeType=WebModule,name=//localhost/eti_reloaded_rt1,J2EEApplication=none,J2EEServer=none | 2006-11-30 09:38:26,503 DEBUG [org.jboss.web.WebModule] Started jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 | 2006-11-30 09:38:26,503 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.web.deployment:war=eti_reloaded_rt1.jar-ws61682.war,id=152043057 dependent components: [] | 2006-11-30 09:38:26,503 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: eti_reloaded_rt1.jar-ws61682.war | 2006-11-30 09:38:26,503 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/jboss-4.0.4.GA/server/default/tmp/deploy/eti_reloaded_rt1.jar-ws61682.war/ | 2006-11-30 09:38:26,503 DEBUG [org.jboss.deployment.MainDeployer] Done with create step of deploying eti_reloaded_rt1.jar | 2006-11-30 09:38:26,503 DEBUG [org.jboss.deployment.MainDeployer] Begin deployment start file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ws.server.WebServiceDeployerEJB3] start: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.EJB3Deployer] start application, deploymentInfo: org.jboss.deployment.DeploymentInfo at a4704526 { url=file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar } | deployer: MBeanProxyExt[jboss.ejb3:service=EJB3Deployer] | status: Starting | state: START_DEPLOYER | watch: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | altDD: null | lastDeployed: 1164875903128 | lastModified: 1164875903113 | mbeans: | , short name: eti_reloaded_rt1.jar, parent short name: null | 2006-11-30 09:38:26,503 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.Ejb3Module] Starting jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.EJBContainer] Initialising interceptors for ReceiverBean... | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.EJBContainer] Default interceptors: [] | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.EJBContainer] Class interceptors: [] | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.EJBContainer] All applicable interceptor classes: [] | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer | 2006-11-30 09:38:26,503 INFO [org.jboss.ejb3.JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 with dependencies: | 2006-11-30 09:38:26,503 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 | 2006-11-30 09:38:26,503 DEBUG [org.jboss.system.ServiceController] adding depends in ServiceController.register: [] | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Creating jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Created jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 | 2006-11-30 09:38:26,503 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 dependents are: [] | 2006-11-30 09:38:26,503 DEBUG [org.jboss.system.ServiceController] starting service jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Starting jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 | 2006-11-30 09:38:26,503 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public siemens.com.ws.request.beans.AbortResponse siemens.com.ws.request.beans.ReceiverBean.abort(siemens.com.ws.request.beans.AbortInput) throws java.rmi.RemoteException - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@1a3bff5 | 2006-11-30 09:38:26,784 DEBUG [org.jboss.ejb3.tx.UserTransactionImpl] new UserTx: org.jboss.ejb3.tx.UserTransactionImpl at 18f73cb | 2006-11-30 09:38:26,800 DEBUG [org.jboss.ejb3.interceptor.EJB3InterceptorsFactory] Bound interceptors for joinpoint: public siemens.com.ws.request.beans.AbortResponse siemens.com.ws.request.beans.ReceiverBean.abort(siemens.com.ws.request.beans.AbortInput) throws java.rmi.RemoteException - [Lorg.jboss.ejb3.interceptor.InterceptorInfo;@1b4d679 | 2006-11-30 09:38:26,800 DEBUG [org.jboss.ejb3.security.JaccHelper] ReceiverBean has no @SecurityDomain - skipping JACC configuration | 2006-11-30 09:38:26,800 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: siemens.com.ws.request.beans.ReceiverBean ejbName: ReceiverBean | 2006-11-30 09:38:26,816 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] createTimerService: org.jboss.ejb.txtimer.TimerServiceImpl at 1ae7b85 | 2006-11-30 09:38:26,816 DEBUG [org.jboss.ejb3.ServiceDelegateWrapper] Started jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 | 2006-11-30 09:38:26,816 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:jar=eti_reloaded_rt1.jar,name=ReceiverBean,service=EJB3 dependent components: [] | 2006-11-30 09:38:26,816 DEBUG [org.jboss.ejb3.Ejb3Deployment] Bound ejb3 container jboss.j2ee:service=EJB3,jar=eti_reloaded_rt1.jar,name=ReceiverBean | 2006-11-30 09:38:26,816 DEBUG [org.jboss.ejb3.security.JaccHelper] JACC Policy Configuration for deployment has been put in service | 2006-11-30 09:38:26,816 DEBUG [org.jboss.ejb3.Ejb3Module] Started jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar | 2006-11-30 09:38:26,816 DEBUG [org.jboss.system.ServiceController] Starting dependent components for: jboss.j2ee:service=EJB3,module=eti_reloaded_rt1.jar dependent components: [] | 2006-11-30 09:38:26,816 INFO [org.jboss.ejb3.EJB3Deployer] Deployed: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:38:26,816 DEBUG [org.jboss.ws.server.WSDLFilePublisher] Publish WSDL file: META-INF/wsdl/EMServices.wsdl | 2006-11-30 09:38:26,878 INFO [org.jboss.ws.server.WSDLFilePublisher] WSDL published to: file:/D:/jboss-4.0.4.GA/server/default/data/wsdl/eti_reloaded_rt1.jar/EMServices.wsdl | 2006-11-30 09:38:26,878 DEBUG [org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory] parse: file:/D:/jboss-4.0.4.GA/server/default/data/wsdl/eti_reloaded_rt1.jar/EMServices.wsdl | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] new WSDLInterface | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setName: EMServices | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.metadata.wsdl.WSDLInterface] setQName: {http://siemens.com/ws/request/beans}EMServices | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] new WSDLBinding | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setQName: {http://siemens.com/ws/request/beans}EMServicesSOAP | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setName: EMServicesSOAP | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.metadata.wsdl.WSDLBinding] setInterfaceName: EMServicesSOAP | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 28135403 [xmlType={http://siemens.com/ws/request/beans}AbortInput,javaType=siemens.com.ws.request.beans.AbortInput,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 159d450,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at 820846] | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 28135403 [xmlType={http://siemens.com/ws/request/beans}AbortResponse,javaType=siemens.com.ws.request.beans.AbortResponse,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at ed3e63,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at 19b0124] | 2006-11-30 09:38:26,956 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] Generating wrapper: siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abort | 2006-11-30 09:38:26,972 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 28135403 [xmlType={http://siemens.com/ws/request/beans}abort,javaType=siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abort,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 1f53293,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at cb800f] | 2006-11-30 09:38:26,972 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] Generating wrapper: siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abortResponse | 2006-11-30 09:38:26,972 DEBUG [org.jboss.ws.jaxrpc.TypeMappingImpl] register: TypeMappingImpl at 28135403 [xmlType={http://siemens.com/ws/request/beans}abortResponse,javaType=siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abortResponse,sf=org.jboss.ws.jaxrpc.encoding.JAXBSerializerFactory at 1637d45,df=org.jboss.ws.jaxrpc.encoding.JAXBDeserializerFactory at b55c7f] | 2006-11-30 09:38:26,972 INFO [org.jboss.ws.server.ServiceEndpointManager] WebService started: http://hu3cbf8c:8080/eti_reloaded_rt1/ReceiverBean | 2006-11-30 09:38:26,972 DEBUG [org.jboss.deployment.MainDeployer] End deployment start on package: eti_reloaded_rt1.jar | 2006-11-30 09:38:26,972 DEBUG [org.jboss.deployment.MainDeployer] Deployed package: file:/D:/jboss-4.0.4.GA/server/default/deploy/eti_reloaded_rt1.jar | 2006-11-30 09:39:39,874 DEBUG [org.jboss.ws.server.ServiceEndpointServlet] doPost: /eti_reloaded_rt1/ReceiverBean | 2006-11-30 09:39:40,139 DEBUG [org.jboss.ws.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl at 6aade | 2006-11-30 09:39:40,139 DEBUG [org.jboss.ws.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:di=eti_reloaded_rt1.jar,service=EMServices,port=EMServicesPort | 2006-11-30 09:39:40,139 DEBUG [org.jboss.ws.server.ServiceEndpoint] Init handler chain with [0] handlers | 2006-11-30 09:39:40,155 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] Create a handler chain for roles: [] | 2006-11-30 09:39:40,155 DEBUG [org.jboss.ws.handler.HandlerChainBaseImpl] init: [config=null] | 2006-11-30 09:39:40,374 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=UTF-8] | 2006-11-30 09:39:51,295 DEBUG [org.jboss.ws.soap.SOAPContentElement] setXMLFragment: | | 4 | | | 2006-11-30 09:39:51,295 DEBUG [org.jboss.ws.server.ServiceEndpoint] Incomming SOAPMessage | | | | | 4 | | | | 2006-11-30 09:39:51,295 DEBUG [org.jboss.ws.soap.SOAPMessageDispatcher] getDispatchDestination: {http://siemens.com/ws/request/beans}abort | 2006-11-30 09:39:51,420 DEBUG [org.jboss.ws.binding.soap.SOAPBindingProvider] unbindRequestMessage: {http://siemens.com/ws/request/beans}abort | 2006-11-30 09:39:51,420 DEBUG [org.jboss.ws.binding.EndpointInvocation] setRequestParamValue: [name={http://siemens.com/ws/request/beans}abort,value=org.jboss.ws.soap.SOAPBodyElementDoc] | 2006-11-30 09:39:51,420 DEBUG [org.jboss.ws.metadata.OperationMetaData] Found java method: public abstract siemens.com.ws.request.beans.AbortResponse siemens.com.ws.request.beans.EMServices_PortType.abort(siemens.com.ws.request.beans.AbortInput) throws java.rmi.RemoteException | 2006-11-30 09:39:51,420 DEBUG [org.jboss.ws.jaxrpc.ParameterWrapping] matchRequestParameters: siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abort | 2006-11-30 09:39:51,436 DEBUG [org.jboss.ws.metadata.OperationMetaData] Found wrapped java method: public abstract siemens.com.ws.request.beans.AbortResponse siemens.com.ws.request.beans.EMServices_PortType.abort(siemens.com.ws.request.beans.AbortInput) throws java.rmi.RemoteException | 2006-11-30 09:39:51,436 DEBUG [org.jboss.ws.server.ServiceEndpointInvokerEJB3] invokeServiceEndpoint: abort | 2006-11-30 09:39:51,436 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestPayload | 2006-11-30 09:39:51,436 DEBUG [org.jboss.ws.binding.EndpointInvocation] getRequestParamValue: {http://siemens.com/ws/request/beans}abort | 2006-11-30 09:39:51,436 DEBUG [org.jboss.ws.soap.SOAPContentElement] getObjectValue [xmlType={http://siemens.com/ws/request/beans}abort,javaType=class siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abort] | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.soap.SOAPContentElement] getXMLFragment from DOM | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.soap.SOAPContentElement] xmlFragment: | | 4 | | | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.jaxrpc.encoding.JAXBDeserializer] deserialize: [xmlName={http://siemens.com/ws/request/beans}abort,xmlType={http://siemens.com/ws/request/beans}abort] | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.jaxrpc.encoding.SerializationContextImpl] Generate jaxrpcMapping from typeMapping | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.jaxrpc.encoding.SerializationContextImpl] Add package mapping: [namespaceURI=http://siemens.com/ws/request/beans,packageType=siemens.com.ws.request.beans] | 2006-11-30 09:39:51,529 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://siemens.com/ws/request/beans}AbortInput | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.jaxrpc.encoding.SerializationContextImpl] Add type mapping: [qname={http://siemens.com/ws/request/beans}AbortInput,javaType=siemens.com.ws.request.beans.AbortInput,scope=complexType] | 2006-11-30 09:39:51,529 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://siemens.com/ws/request/beans}AbortResponse | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.jaxrpc.encoding.SerializationContextImpl] Add type mapping: [qname={http://siemens.com/ws/request/beans}AbortResponse,javaType=siemens.com.ws.request.beans.AbortResponse,scope=complexType] | 2006-11-30 09:39:51,529 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://siemens.com/ws/request/beans}abort | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.jaxrpc.encoding.SerializationContextImpl] Add type mapping: [qname={http://siemens.com/ws/request/beans}abort,javaType=siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abort,scope=complexType] | 2006-11-30 09:39:51,529 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://siemens.com/ws/request/beans}abortResponse | 2006-11-30 09:39:51,529 DEBUG [org.jboss.ws.jaxrpc.encoding.SerializationContextImpl] Add type mapping: [qname={http://siemens.com/ws/request/beans}abortResponse,javaType=siemens.com.ws.request.beans.__JBossWS_EMServices_EMServicesPort_abortResponse,scope=complexType] | | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Type definition not found in schema: {http://siemens.com/ws/request/beans}AbortInput | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Cannot obtain type binding for: {http://siemens.com/ws/request/beans}AbortInput | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Type definition not found in schema: {http://siemens.com/ws/request/beans}AbortResponse | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Cannot obtain type binding for: {http://siemens.com/ws/request/beans}AbortResponse | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Type definition not found in schema: {http://siemens.com/ws/request/beans}abort | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Cannot obtain type binding for: {http://siemens.com/ws/request/beans}abort | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Type definition not found in schema: {http://siemens.com/ws/request/beans}abortResponse | 2006-11-30 09:39:51,811 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Cannot obtain type binding for: {http://siemens.com/ws/request/beans}abortResponse | 2006-11-30 09:39:51,811 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Client,string=org.jboss.ws.WSException: Root type {http://siemens.com/ws/request/beans}abort not found in the schema.,actor=null,detail=null] | 2006-11-30 09:39:51,811 ERROR [org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | org.jboss.ws.WSException: Root type {http://siemens.com/ws/request/beans}abort not found in the schema. | at org.jboss.ws.jaxb.SchemaBindingBuilder.bindParameterToElement(SchemaBindingBuilder.java:421) | at org.jboss.ws.jaxb.JAXBUnmarshallerImpl.getSchemaBinding(JAXBUnmarshallerImpl.java:287) | at org.jboss.ws.jaxb.JAXBUnmarshallerImpl.unmarshal(JAXBUnmarshallerImpl.java:74) | at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:97) | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:262) | at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | at org.jboss.ws.binding.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:103) | at org.jboss.ws.binding.EndpointInvocation.getRequestPayload(EndpointInvocation.java:117) | at org.jboss.ws.server.ServiceEndpointInvokerEJB3.invokeServiceEndpoint(ServiceEndpointInvokerEJB3.java:106) | at org.jboss.ws.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:118) | at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:234) | at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) | 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.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) | 2006-11-30 09:39:51,826 DEBUG [org.jboss.ws.server.ServiceEndpoint] Outgoing SOAPMessage | | | | | env:Client | org.jboss.ws.WSException: Root type {http://siemens.com/ws/request/beans}abort not found in the schema. | | | | 2006-11-30 09:39:51,826 DEBUG [org.jboss.ws.server.ServiceEndpoint] END handleRequest: jboss.ws:di=eti_reloaded_rt1.jar,service=EMServices,port=EMServicesPort | 2006-11-30 09:39:51,904 DEBUG [org.jboss.ws.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.soap.SOAPMessageContextImpl at 6aade 2. When we saw in the forum the the JSR181 is only "preview code" I removed the annoations and used ejb-jar.xml, jboss.xml and webservices.xml (see below) but unf. the webservices.xml was ignored and no webservice is created for the EJB at all. | | | | | | | ReceiverBean | siemens.com.ws.request.beans.EMServices_PortType | siemens.com.ws.request.beans.ReceiverBean | Stateless | Container | | | | | | | | | ReceiverBean | META-INF/wsdl/EMServices.wsdl | META-INF/jaxrpc-mapping.xml | | EMServices_PortTypePort | impl:ReceiverBeanPort | siemens.com.ws.request.beans.EMServices_PortType | | ReceiverBean | | | | | | | | | | | ReceiverBean | | | | However is works e.g. with Glassfish... So as I see this version of JBoss WS is extremely instable... So our questions are: 1. Do you have any idea how to solve this problem? We just want to set up an WS with EJB3 endpoints with a predefined WSDL in JBoss. Is it possible at this moment or should we give up? 2. Is it possible somehow to use another SOAP stack with JBoss? e.g. Axis2. Or at least is it possible to use another WSDL compiler (e.g. WSDP of Sun) instead of wstools? 3. Is it worth to rely on JBoss WS and JBoss AS if we are on to start a big project with EJB3, webservices using all of its functionality (e.g. SOAP attachments) ? Whats your official suggestion? Thanks a lot for your quick help in advance, Bye, Janos Biro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989964#3989964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989964 From do-not-reply at jboss.com Thu Nov 30 07:36:18 2006 From: do-not-reply at jboss.com (stepan1117) Date: Thu, 30 Nov 2006 07:36:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WebService client under Java WebStart sandbox Message-ID: <173913.1164890178255.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to use a ws client from an sandboxed Java WebStart. Under non-restricted webstart environment (providing a certificate), everything works fine, but under restricted env. it is not working. This is because JBossWS client libs are using classloaders during the client configuration, and maybe there are some other issues, which I have not discovered yet. Is it somehow possible to use the webservices client (not necessarily using jbossws client libs) under sandboxed WebStart? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990009#3990009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990009 From do-not-reply at jboss.com Thu Nov 30 08:09:26 2006 From: do-not-reply at jboss.com (RomeuFigueira) Date: Thu, 30 Nov 2006 08:09:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: web service address on jboss 4.0.5 Message-ID: <4000588.1164892166033.JavaMail.jboss@colo-br-02.atl.jboss.com> You need to "explode" the jbossws.sar under server/your_server/deploy Inside it, explode jbossws.beans. Go to \jbossws.beans\META-INF and edit jboss-beans.xml. There you will find your missing properties. If not, you can add them, like I did to run on port 8060. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990013#3990013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990013 From do-not-reply at jboss.com Thu Nov 30 08:10:43 2006 From: do-not-reply at jboss.com (thomson@fhlb-of.com) Date: Thu, 30 Nov 2006 08:10:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Log4j and Web Service question Message-ID: <10379154.1164892243690.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes, I want to log the SOAP request/response for support reasons. If we can see the actual request being sent by a user, we can support any problems more quickly. I was hoping not to have to use DEBUG since it throws in alot more trash than I wanted to filter out. Thanks for the reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990014#3990014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990014 From do-not-reply at jboss.com Thu Nov 30 10:00:23 2006 From: do-not-reply at jboss.com (QPool.Char) Date: Thu, 30 Nov 2006 10:00:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 endpoint with predefined WSDL contract Message-ID: <7757847.1164898823952.JavaMail.jboss@colo-br-02.atl.jboss.com> I dont know if i can help you much but i have exactly the same settings like you and made some experiences. @ 1) i have an own WebService running as EJB3 endpoint that uses a customized wsdl file. That should be the same as to implement an already existing wsdl file. It proves that JBoss does not need to generate its own WSDL file during deployment. You can get your WS running by providing your own WSDL file. @ 2) You can try JAX-WS wsimport tool to generate a Service Endpoint Interface out of your WSDL file. Then you just have to implement it *in theory*. Wsimport works for me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990102#3990102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990102 From do-not-reply at jboss.com Thu Nov 30 10:34:23 2006 From: do-not-reply at jboss.com (biroj) Date: Thu, 30 Nov 2006 10:34:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 endpoint with predefined WSDL contract Message-ID: <21732336.1164900863353.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Thanks a lot, but Could you post me a working example? Thanks a lot in advance, Bye, Janos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990113#3990113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990113 From do-not-reply at jboss.com Thu Nov 30 14:17:32 2006 From: do-not-reply at jboss.com (palin) Date: Thu, 30 Nov 2006 14:17:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws1.0.x is a preview implementation with support fo Message-ID: <3394853.1164914252716.JavaMail.jboss@colo-br-02.atl.jboss.com> "bocio" wrote : "maeste" wrote : | | Next days we have to implement ws clients and I'll keep you post of our result or problem. Well the goal of project is 2nd quarter 07 and I don't exclude to use jbossws 2.0CR | | | I'll look forward to hear about your tests | Just to keep you informed.. up to now we implemented a ws client/server communication in a pure JBoss<-->JBoss environment (1.0.3.GA) and had almost no problem (well, I modified by hand the jaxrpc-mapping.xml created by wstools just to use my own classes instead of the ones generated by the tool in wsdl2java mode). DTOs exchanged include complex types and arrays of complex types. Server side implemented with JSR181, client side JSR109. In future we're going to try jbossws client with .NET webservices. bye Alessio Soldano http://www.javalinux.it/blogs/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990187#3990187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990187 From do-not-reply at jboss.com Thu Nov 30 14:30:41 2006 From: do-not-reply at jboss.com (ajay662) Date: Thu, 30 Nov 2006 14:30:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Consuming from EJB - how to specify port-component-ref using Message-ID: <1336841.1164915041345.JavaMail.jboss@colo-br-02.atl.jboss.com> I am on jboss 4.0.5, trying to implement ws client in one of my EJB, using jbossws-1.0.4.GA. I use xdoclet to generate my ejb-jar.xml. "Consuming Web Services" section of the JBossWS User Guide talks about adding a "service-ref" element to the EJB's deployment decriptor. But XDoclet doesn't seem to support "port-component-ref" element. And merge wouldn't do partial merge. With merge you have to provide complete deployment descriptor for that bean from an external file, which I am hesitant to do. Anybody else ran into this issue? Any suggestions for workaround? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990189#3990189 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990189 From do-not-reply at jboss.com Thu Nov 30 16:35:18 2006 From: do-not-reply at jboss.com (ajay662) Date: Thu, 30 Nov 2006 16:35:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - problem in using ServiceFactoryImpl Message-ID: <28727823.1164922518646.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to consume a remote web service from my EJB running inside JBoss. I want to use ServiceFactoryImp class and am packging "wsdl" and "jaxrpc-mapping.xml" files inside my EJB JAR file as | META-INF/wsdl/ | META-INF/jaxrpc-mapping.xml How do I create the URLs for these files for passing to createService() method of ServiceFactoryImpl class, since EJB specs forbid direct file access? I have tried following, but it returns null URLs ClassLoader cl = Thread.currentThread().getContextClassLoader(); | URL mappingURL = cl.getResource("jaxrpc-mapping.xml"); | URL wsdlLocationUrl = cl.getResource("enms.wsdl"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990270#3990270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3990270