From do-not-reply at jboss.com Tue Jan 2 04:15:33 2007 From: do-not-reply at jboss.com (pkovgan) Date: Tue, 2 Jan 2007 04:15:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JSR 181 and Arrays. WSDL generated during deploy. How to map Message-ID: <15850497.1167729333032.JavaMail.jboss@colo-br-02.atl.jboss.com> I have jsr 181 pojo webservice. I deploy it on JBOSS 4.0.4.GA and wsdl has been generated during deploy. String[] type appeares as XSD:NMTOKENS type in WSDL. How can I influence jboss to generate me WSDL with sequence type instead nmtokens during deployment? If it is impossible, then: how can I generate needed WSDL offline? The condition: I need jsr181 annotations to be working during such generation. Unfortunately if I try to generate WSDL offline using jbossws, annotations do not influence WSDL at all! What is wrong? Thanks a lot!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997191#3997191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997191 From do-not-reply at jboss.com Tue Jan 2 04:15:48 2007 From: do-not-reply at jboss.com (siddharthags) Date: Tue, 2 Jan 2007 04:15:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - type mapping error on String.Array Message-ID: <520498.1167729348858.JavaMail.jboss@colo-br-02.atl.jboss.com> I tried to find some topic similar to this but was not successful hence posting this to see if someone can help. I am running JBoss4.05 GA with the JWS1.04 against a 1.5 JVM. I have a web service that has the following configuration for wstool interface has a method called getFoo(String input):String[] that returns strings. I generated the artifacts on the server side using wstools and it generated the mapping file. The file does not have anything that relates to the String.Array type org.foo.wsg http://org.foo/wsg org.foo.wsg.UserException typeNS:UserException complexType defaultMessage defaultMessage errorCode errorCode message message org.foo.wsg.UserException exMsgNS:UserException org.foo.wsg.TestService serviceNS:TestService TestPort TestPort org.foo.wsg.Test portTypeNS:Test bindingNS:TestBinding getFoo getFoo 0 java.lang.String wsdlMsgNS:Test_getFoo String_1 IN java.lang.String[] wsdlMsgNS:Test_getFooResponse result when I try to use a client that I built using the wstools with the client configuration given as I get the following error on trying to bring up Jboss when this war is being deployed 03:01:56,295 WARN [JSR109ServerMetaDataBuilder] Cannot obtain SEI mapping for: org.foo.Test 03:01:56,305 ERROR [MainDeployer] Could not create deployment: file:/D:/Program Files/jboss/server/default/deploy/test.war/ org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://org.foo/wsg/types}String.Array any pointers at why this is happening? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997192#3997192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997192 From do-not-reply at jboss.com Tue Jan 2 08:09:42 2007 From: do-not-reply at jboss.com (martin.capote) Date: Tue, 2 Jan 2007 08:09:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: generation client-side classes Message-ID: <15908578.1167743382615.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i have the same problem. How can I fix this? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997233#3997233 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997233 From do-not-reply at jboss.com Tue Jan 2 08:29:58 2007 From: do-not-reply at jboss.com (pkovgan) Date: Tue, 2 Jan 2007 08:29:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR 181 and Arrays. WSDL generated during deploy. How to Message-ID: <663375.1167744598677.JavaMail.jboss@colo-br-02.atl.jboss.com> I have workaround for the first problem: Simple wrapper, wrapping string array helps a lot: This complex object produces exact what I need in WSDL: sequence of strings. The second problem: how to enforce jbossws tool to consider jsr 181 annotations and produce WSDL that consider @WebParam and @WebResult remains unsolved. I mean off-line generation of WSDL and mapping file. Could someone help? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997241#3997241 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997241 From do-not-reply at jboss.com Tue Jan 2 09:24:16 2007 From: do-not-reply at jboss.com (greenbean) Date: Tue, 2 Jan 2007 09:24:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NumberFormatException From StubExt.PROPERTY_CLIENT_TIMEO Message-ID: <25244622.1167747856989.JavaMail.jboss@colo-br-02.atl.jboss.com> I believe JBoss starting using a home grown web service stack starting with 4.04. I am using JBoss 4.05 with JBossWS 1.0.4. The API changed slightly as described here: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWS404Compatibility View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997250#3997250 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997250 From do-not-reply at jboss.com Tue Jan 2 10:08:13 2007 From: do-not-reply at jboss.com (henning@ikke.de) Date: Tue, 2 Jan 2007 10:08:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: namespace for ComplexType from Java to WSDL Message-ID: <19834869.1167750493217.JavaMail.jboss@colo-br-02.atl.jboss.com> you can use the targetNamespace attribute of the @WebService annotation: @WebService(name = "Foo", targetNamespace = "http://developer.foo.com") View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997263#3997263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997263 From do-not-reply at jboss.com Tue Jan 2 13:15:21 2007 From: do-not-reply at jboss.com (bertrand.njiipwo) Date: Tue, 2 Jan 2007 13:15:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - invoke called, but our invoker is disconnected Message-ID: <10181900.1167761721446.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello @all, first all my Best wishes for 2007!. I was facing the probem on invoking a web service deployed on axis 1.1. I could partially solve (I'll post the solution in this thread later ). Now i can invoke the deployed web service and it generates the expected output. The problem will be now to feedback the response to the running BPEL process in the PortConsumer - PortProvider Relation. because the effectiv call was routed to a non ws4ee-web-service (runnning axis service) some informations are losed at that time. My opinion is that i'll need to reinit a PortProvider object with the response of generated by the service call. I'll appreciate any suggestion to solve the following error i'm getting after the invoke operation: anonymous wrote : | 2007-01-02 15:46:34,822 DEBUG [org.hibernate.loader.Loader] done entity load | 2007-01-02 15:46:34,822 DEBUG [org.jbpm.bpel.relation.jms.RelationContext] initialized partner reference: instance=org.jbpm.bpel.service.exe.PartnerLinkInstance at 1620d92[name=SchufaLink,id=0], reference=org.jbpm.bpel.service.exe.wsa.WsaEndpointReference at 1110f31[address=http://localhost:8081/creditprocess/schufa,portType={urn:samples:schufa}SchufaWS,service={urn:samples:schufa}SchufaWSService] | 2007-01-02 15:46:34,992 DEBUG [org.jboss.ws.server.ServiceEndpoint] WSDL request, using host: milaine | 2007-01-02 15:46:35,032 DEBUG [org.jboss.ws.server.WSDLRequestHandler] Mapping import from 'schufa.wsdl' to 'http://milaine:8080/schufa/schufaWS?wsdl&resource=schufa.wsdl' | 2007-01-02 15:46:35,032 DEBUG [org.jboss.ws.server.WSDLRequestHandler] Mapping address from 'http://milaine:8080/schufa/schufaWS' to 'http://milaine:8080/schufa/schufaWS' | 2007-01-02 15:46:35,112 DEBUG [org.jboss.ws.server.ServiceEndpoint] WSDL request, using host: milaine | 2007-01-02 15:46:35,162 DEBUG [org.jbpm.bpel.relation.jms.RelationContext] selected partner port: instance=org.jbpm.bpel.service.exe.PartnerLinkInstance at 1620d92[name=SchufaLink,id=0], port=SchufaPort | 2007-01-02 15:46:35,182 INFO [STDOUT] PortConsumer: AddresseLocation configure to: http://milaine:8080/schufa/schufaWS | 2007-01-02 15:46:35,182 INFO [STDOUT] PortConsumer: Swapping URL-Address to :http://127.0.0.1:8081/creditprocess/schufa | 2007-01-02 15:46:35,182 DEBUG [org.hibernate.impl.SessionImpl] initializing proxy: [org.jbpm.bpel.wsdl.impl.OperationImpl#62] | 2007-01-02 15:46:35,182 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache lookup: org.jbpm.bpel.wsdl.impl.OperationImpl#62 | 2007-01-02 15:46:35,182 DEBUG [org.hibernate.cache.EhCache] key: org.jbpm.bpel.wsdl.impl.OperationImpl#62 | 2007-01-02 15:46:35,182 DEBUG [org.hibernate.cache.EhCache] Element for org.jbpm.bpel.wsdl.impl.OperationImpl#62 is null | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache miss | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.loader.Loader] loading entity: [org.jbpm.bpel.wsdl.impl.OperationImpl#62] | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.SQL] select operationi0_.id as id60_0_, operationi0_.NAME_ as NAME2_60_0_, operationi0_.STYLE_ as STYLE3_60_0_, operationi0_.INPUT_ as INPUT4_60_0_, operationi0_.OUTPUT_ as OUTPUT5_60_0_ from WSDL_OPERATION operationi0_ where operationi0_.id=? | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[org.jbpm.bpel.wsdl.impl.OperationImpl#62] | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [org.jbpm.bpel.wsdl.impl.OperationImpl#62] | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.engine.TwoPhaseLoad] adding entity to second-level cache: [org.jbpm.bpel.wsdl.impl.OperationImpl#62] | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Caching: org.jbpm.bpel.wsdl.impl.OperationImpl#62 | 2007-01-02 15:46:35,192 DEBUG [net.sf.ehcache.Cache] org.jbpm.bpel.wsdl.impl.OperationImpl: Is element with key org.jbpm.bpel.wsdl.impl.OperationImpl#61 expired?: false | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [org.jbpm.bpel.wsdl.impl.OperationImpl#62] | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2007-01-02 15:46:35,192 DEBUG [org.hibernate.loader.Loader] done entity load | 2007-01-02 15:46:35,192 DEBUG [org.jbpm.bpel.relation.jms.JmsRelationService] invoking: partnerLink=43, operation=validCustomer, input={_surname=[_surname: null], _firstname=[_firstname: null]} | 2007-01-02 15:46:35,223 INFO [STDOUT] PortConsumer: Builded SOAPMessage: org.jboss.ws.soap.SOAPMessageImpl at 5e305f | 2007-01-02 15:46:35,383 DEBUG [org.jboss.ws.soap.SOAPConnectionImpl] Get locator for: http://127.0.0.1:8081/creditprocess/schufa | 2007-01-02 15:46:35,673 DEBUG [org.jboss.remoting.Client] invoke called, but our invoker is disconnected, discarding and fetching another fresh invoker for: InvokerLocator [http://127.0.0.1:8081/creditprocess/schufa] | 2007-01-02 15:46:35,683 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] connect called for: org.jboss.remoting.transport.http.HTTPClientInvoker at 142db11 | 2007-01-02 15:46:35,683 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with SOAPAction : "urn:samples:schufa:validCustomer" | 2007-01-02 15:46:35,683 DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Setting request header with Content-Type : text/xml; charset=UTF-8 | 2007-01-02 15:46:59,007 INFO [STDOUT] | | ================================================ | 2007-01-02 15:46:59,027 INFO [STDOUT] Schufa web service : Start method validCustomer | 2007-01-02 15:46:59,147 INFO [STDOUT] Schufa web service : End method validCustomer | 2007-01-02 15:46:59,147 INFO [STDOUT] ============================================== | | 2007-01-02 15:46:59,437 DEBUG [org.jboss.ws.binding.soap.SOAPMessageUnMarshaller] getMimeHeaders from: {Content-Length=[399], X-Powered-By=[Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5], ResponseCodeMessage=OK, null=[HTTP/1.1 200 OK], Date=[Tue, 02 Jan 2007 14:46:59 GMT], Content-Type=[text/xml;charset=utf-8], Server=[Apache-Coyote/1.1], HEADER={SOAPAction="urn:samples:schufa:validCustomer", Content-Type=text/xml; charset=UTF-8}, ResponseCode=200} | 2007-01-02 15:46:59,768 DEBUG [org.jboss.ws.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8] | 2007-01-02 15:46:59,788 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache lookup: org.jbpm.graph.def.Node.exceptionHandlers#341 | 2007-01-02 15:46:59,788 DEBUG [org.hibernate.cache.EhCache] key: org.jbpm.graph.def.Node.exceptionHandlers#341 | 2007-01-02 15:46:59,788 DEBUG [org.hibernate.cache.EhCache] Element for org.jbpm.graph.def.Node.exceptionHandlers#341 is null | 2007-01-02 15:46:59,788 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache miss | 2007-01-02 15:46:59,788 DEBUG [org.hibernate.loader.Loader] loading collection: [org.jbpm.graph.def.Node.exceptionHandlers#341] | 2007-01-02 15:46:59,788 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2007-01-02 15:46:59,788 DEBUG [org.hibernate.SQL] select exceptionh0_.NODE_ as NODE9_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_3_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_3_0_, exceptionh0_.TYPE_ as TYPE3_3_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.NODE_=? | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.loader.Loader] result set contains (possibly empty) collection: [org.jbpm.graph.def.Node.exceptionHandlers#341] | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections were found in result set for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.engine.CollectionLoadContext] Caching collection: [org.jbpm.graph.def.Node.exceptionHandlers#341] | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Caching: org.jbpm.graph.def.Node.exceptionHandlers#341 | 2007-01-02 15:46:59,818 DEBUG [net.sf.ehcache.Cache] org.jbpm.graph.def.Node.exceptionHandlers: Is element with key org.jbpm.graph.def.Node.exceptionHandlers#341 expired?: false | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.engine.CollectionLoadContext] collection fully initialized: [org.jbpm.graph.def.Node.exceptionHandlers#341] | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections initialized for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.loader.Loader] done loading collection | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache lookup: org.jbpm.graph.def.Node.exceptionHandlers#336 | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.cache.EhCache] key: org.jbpm.graph.def.Node.exceptionHandlers#336 | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.cache.EhCache] Element for org.jbpm.graph.def.Node.exceptionHandlers#336 is null | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache miss | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.loader.Loader] loading collection: [org.jbpm.graph.def.Node.exceptionHandlers#336] | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2007-01-02 15:46:59,818 DEBUG [org.hibernate.SQL] select exceptionh0_.NODE_ as NODE9_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_3_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_3_0_, exceptionh0_.TYPE_ as TYPE3_3_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.NODE_=? | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.loader.Loader] result set contains (possibly empty) collection: [org.jbpm.graph.def.Node.exceptionHandlers#336] | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections were found in result set for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.engine.CollectionLoadContext] Caching collection: [org.jbpm.graph.def.Node.exceptionHandlers#336] | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Caching: org.jbpm.graph.def.Node.exceptionHandlers#336 | 2007-01-02 15:46:59,828 DEBUG [net.sf.ehcache.Cache] org.jbpm.graph.def.Node.exceptionHandlers: Is element with key org.jbpm.graph.def.Node.exceptionHandlers#341 expired?: false | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.engine.CollectionLoadContext] collection fully initialized: [org.jbpm.graph.def.Node.exceptionHandlers#336] | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections initialized for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.loader.Loader] done loading collection | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache lookup: org.jbpm.graph.def.Node.exceptionHandlers#335 | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.cache.EhCache] key: org.jbpm.graph.def.Node.exceptionHandlers#335 | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.cache.EhCache] Element for org.jbpm.graph.def.Node.exceptionHandlers#335 is null | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache miss | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.loader.Loader] loading collection: [org.jbpm.graph.def.Node.exceptionHandlers#335] | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.SQL] select exceptionh0_.NODE_ as NODE9_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_3_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_3_0_, exceptionh0_.TYPE_ as TYPE3_3_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.NODE_=? | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) | 2007-01-02 15:46:59,828 DEBUG [org.hibernate.loader.Loader] result set contains (possibly empty) collection: [org.jbpm.graph.def.Node.exceptionHandlers#335] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.loader.Loader] result row: EntityKey[org.jbpm.graph.def.ExceptionHandler#25] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.loader.Loader] found row of collection: [org.jbpm.graph.def.Node.exceptionHandlers#335] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.TwoPhaseLoad] resolving associations for [org.jbpm.graph.def.ExceptionHandler#25] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.TwoPhaseLoad] adding entity to second-level cache: [org.jbpm.graph.def.ExceptionHandler#25] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Caching: org.jbpm.graph.def.ExceptionHandler#25 | 2007-01-02 15:46:59,838 DEBUG [net.sf.ehcache.Cache] org.jbpm.graph.def.ExceptionHandler: Is element with key org.jbpm.graph.def.ExceptionHandler#25 expired?: false | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.TwoPhaseLoad] done materializing entity [org.jbpm.graph.def.ExceptionHandler#25] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections were found in result set for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.CollectionLoadContext] Caching collection: [org.jbpm.graph.def.Node.exceptionHandlers#335] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Caching: org.jbpm.graph.def.Node.exceptionHandlers#335 | 2007-01-02 15:46:59,838 DEBUG [net.sf.ehcache.Cache] org.jbpm.graph.def.Node.exceptionHandlers: Is element with key org.jbpm.graph.def.Node.exceptionHandlers#341 expired?: false | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.CollectionLoadContext] collection fully initialized: [org.jbpm.graph.def.Node.exceptionHandlers#335] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections initialized for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.loader.Loader] done loading collection | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache lookup: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21 | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.cache.EhCache] key: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21 | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.cache.EhCache] Element for org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21 is null | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache miss | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.loader.Loader] loading collection: [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21] | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2007-01-02 15:46:59,838 DEBUG [org.hibernate.SQL] select exceptionh0_.PROCESSDEFINITION_ as PROCESSD8_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_3_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_3_0_, exceptionh0_.TYPE_ as TYPE3_3_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.PROCESSDEFINITION_=? | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.loader.Loader] result set contains (possibly empty) collection: [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21] | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections were found in result set for role: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.engine.CollectionLoadContext] Caching collection: [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21] | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Caching: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21 | 2007-01-02 15:46:59,848 DEBUG [net.sf.ehcache.Cache] org.jbpm.graph.def.ProcessDefinition.exceptionHandlers: Is element with key org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21 expired?: false | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.engine.CollectionLoadContext] collection fully initialized: [org.jbpm.graph.def.ProcessDefinition.exceptionHandlers#21] | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections initialized for role: org.jbpm.graph.def.ProcessDefinition.exceptionHandlers | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.loader.Loader] done loading collection | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache lookup: org.jbpm.graph.def.Node.exceptionHandlers#340 | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.cache.EhCache] key: org.jbpm.graph.def.Node.exceptionHandlers#340 | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.cache.EhCache] Element for org.jbpm.graph.def.Node.exceptionHandlers#340 is null | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Cache miss | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.loader.Loader] loading collection: [org.jbpm.graph.def.Node.exceptionHandlers#340] | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2007-01-02 15:46:59,848 DEBUG [org.hibernate.SQL] select exceptionh0_.NODE_ as NODE9_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_3_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_3_0_, exceptionh0_.TYPE_ as TYPE3_3_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_3_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.NODE_=? | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open ResultSet (open ResultSets: 0, globally: 0) | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.loader.Loader] result set contains (possibly empty) collection: [org.jbpm.graph.def.Node.exceptionHandlers#340] | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close ResultSet (open ResultSets: 1, globally: 1) | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections were found in result set for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.engine.CollectionLoadContext] Caching collection: [org.jbpm.graph.def.Node.exceptionHandlers#340] | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.cache.NonstrictReadWriteCache] Caching: org.jbpm.graph.def.Node.exceptionHandlers#340 | 2007-01-02 15:46:59,888 DEBUG [net.sf.ehcache.Cache] org.jbpm.graph.def.Node.exceptionHandlers: Is element with key org.jbpm.graph.def.Node.exceptionHandlers#341 expired?: false | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.engine.CollectionLoadContext] collection fully initialized: [org.jbpm.graph.def.Node.exceptionHandlers#340] | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.engine.CollectionLoadContext] 1 collections initialized for role: org.jbpm.graph.def.Node.exceptionHandlers | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.engine.StatefulPersistenceContext] initializing non-lazy collections | 2007-01-02 15:46:59,888 DEBUG [org.hibernate.loader.Loader] done loading collection | 2007-01-02 15:46:59,888 DEBUG [org.jbpm.bpel.relation.jms.StartListener] caught exception while passing control to process, searching for handler | org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.bpel.def.Activity.enter(Activity.java:88) | at org.jbpm.graph.def.Transition.take(Transition.java:119) | at org.jbpm.graph.def.Node.leave(Node.java:382) | at org.jbpm.bpel.def.Activity.leave(Activity.java:148) | at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43) | at org.jbpm.bpel.def.Receive.accept(Receive.java:64) | at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke() | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163) | at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$7e8cc0f8.accept() | at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:82) | at org.jbpm.bpel.def.Sequence.accept(Sequence.java:84) | at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:29) | at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:110) | at org.jbpm.bpel.relation.jms.StartListener.onMessage(StartListener.java:94) | at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.bpel.def.Activity.enter(Activity.java:88) | at org.jbpm.graph.def.Transition.take(Transition.java:119) | at org.jbpm.graph.def.Node.leave(Node.java:382) | at org.jbpm.bpel.def.Activity.leave(Activity.java:148) | at org.jbpm.bpel.def.Assign.execute(Assign.java:41) | at org.jbpm.bpel.def.Activity.enter(Activity.java:83) | ... 16 more | Caused by: java.lang.NullPointerException | at org.jbpm.bpel.xml.util.XmlUtil.copyAttributes(XmlUtil.java:520) | at org.jbpm.bpel.xml.util.XmlUtil.copy(XmlUtil.java:485) | at org.jbpm.bpel.service.consumer.PortConsumer.readRpcBody(PortConsumer.java:344) | at org.jbpm.bpel.service.consumer.PortConsumer.readMessage(PortConsumer.java:312) | at org.jbpm.bpel.service.consumer.PortConsumer.call(PortConsumer.java:106) | at org.jbpm.bpel.relation.jms.JmsRelationService.invoke(JmsRelationService.java:143) | at org.jbpm.bpel.def.Invoke.execute(Invoke.java:28) | at org.jbpm.bpel.def.Activity.enter(Activity.java:83) | ... 21 more | | 2007-01-02 15:47:00,068 DEBUG [org.jbpm.JbpmContext] closing JbpmContext | 2007-01-02 15:47:00,068 DEBUG [org.jbpm.svc.Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService at 59aa86 | 2007-01-02 15:47:00,068 DEBUG [org.jbpm.persistence.db.DbPersistenceService] rolling back hibernate transaction | 2007-01-02 15:47:00,068 DEBUG [org.hibernate.transaction.JDBCTransaction] rollback | | Thanks in advance Bertrand View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997315#3997315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997315 From do-not-reply at jboss.com Tue Jan 2 15:01:47 2007 From: do-not-reply at jboss.com (lluo) Date: Tue, 2 Jan 2007 15:01:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - log4j and Jboss-4.0.5 GA Message-ID: <10021149.1167768107407.JavaMail.jboss@colo-br-02.atl.jboss.com> I start to use JBoss and have a question on using log4j in JBoss-4.0.5 environment. In my web application /WEB-INF/class foler, I have "log4j.properties" file as follows: # Set root logger level to error, and specify a file appender log4j.rootLogger=error, File ###### File appender definition ####### log4j.appender.File=org.apache.log4j.RollingFileAppender log4j.appender.File.File=c:/logs/myApp.log log4j.appender.File.MaxFileSize=50MB log4j.appender.File.MaxBackupIndex=1 log4j.appender.File.layout=org.apache.log4j.PatternLayout # Pattern to output the caller's file name and line number. log4j.appender.File.layout.ConversionPattern=%d{MM/dd/yyyy HH:mm:ss z} %-5p [%c(1)] (%F:%L) %m%n log4j.logger.com.covisint.hie=DEBUG But in the log, the message are shown as follows: 01/02/2007 14:29:31 EST DEBUG [Welcome] (Log4JLogger.java:84) forward to "Welcome.jsp" The file name (Welcome.java) and its line number are not being shown. correctly. Are there some configuration steps I have missed? Thanks, Laiwu Luo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997351#3997351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997351 From do-not-reply at jboss.com Tue Jan 2 17:51:46 2007 From: do-not-reply at jboss.com (bkatnich) Date: Tue, 2 Jan 2007 17:51:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <18517743.1167778306316.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm just wondering if it is possible to deploy a web service as a stateless session bean on the JBoss 5.0 beta application server at this point in time? I've tried to do this by creating the session bean with the @WebService annotation, put it into an EJB jar and deploying it. I see it being deployed as the EJB in the log, but see no sign of it as a web service. I'm new to JBoss so maybe I'm missing something, not looking in the right place or doing something wrong. Or maybe it's not something that is working currently in the beta. Any help would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997383#3997383 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997383 From do-not-reply at jboss.com Tue Jan 2 18:43:46 2007 From: do-not-reply at jboss.com (siddharthags) Date: Tue, 2 Jan 2007 18:43:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: type mapping error on String.Array Message-ID: <20441321.1167781426453.JavaMail.jboss@colo-br-02.atl.jboss.com> using proprietary jboss api.. for mapping specfication duh! ServiceFactoryImpl factory = new ServiceFactoryImpl(); URL wURL = new URL(wsdlURL); URL mappingURL = new File("jaxrpc-mapping.xml").toURL(); Service service = factory.createService(wURL, serviceQN, mappingURL); //port = (EndpointInterface)service.getPort(EndpointInterface.class); UserDataMgr myProxy = (UserDataMgr)service.getPort(UserDataMgr.class); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997394#3997394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997394 From do-not-reply at jboss.com Tue Jan 2 18:45:54 2007 From: do-not-reply at jboss.com (elcapitan) Date: Tue, 2 Jan 2007 18:45:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Basic Auth Security with DII and Stub Clients Message-ID: <3439427.1167781554977.JavaMail.jboss@colo-br-02.atl.jboss.com> Was there ever a resolution to this problem? I'm having the same one, and I can't believe that having to publicly host the WSDL is the best solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997395#3997395 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997395 From do-not-reply at jboss.com Tue Jan 2 18:56:20 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Tue, 2 Jan 2007 18:56:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Getting JAXWS 2.0 (JbossWS 2.0) to work with Jboss 4.0 Message-ID: <3362586.1167782180130.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey guys I would really like to take advantage of JAXWS 2.0 and would like to know if using JbossWS 2.0 is possible with Jboss AS 4.0. Has anybody attempted this? Is this is even possible? thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997398#3997398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997398 From do-not-reply at jboss.com Wed Jan 3 05:31:22 2007 From: do-not-reply at jboss.com (Sanver) Date: Wed, 3 Jan 2007 05:31:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws.bat doesn't find org/jboss/ws/tools/WSTools Message-ID: <25284702.1167820282089.JavaMail.jboss@colo-br-02.atl.jboss.com> hi I've just installed JbossWS 1.0.4 over a Jboss Server 4.0.4, but it seems that the batch file can't find the main class to start running. I've installed jbossws as it says on the installation notes, but it doesn't seem to work correctly... When i'm trying to execute jbossws.bat, it generates the following output... | Running JBossWS wstools for [ICM] | directory: C:\Documents and Settings\MAT\Escritorio\icm\ICM | command: cmd.exe /C C:\WebServices\jbossws-1.0.4\bin\wstools.bat -cp bin -config C:\DOCUME~1\MAT\CONFIG~1\Temp\wstools-config64318.xml -dest C:\Documents and Settings\MAT\Escritorio\icm\ICM\src\gen | =========================================================================" | . | WSTools Environment | . | JBOSS_HOME: C:\WebServices\jbossws-1.0.4\bin\\.. | . | JAVA: C:\Archivos de programa\Java\jdk1.5.0_09\bin\java | . | JAVA_OPTS: | . | =========================================================================" | . | java.lang.NoClassDefFoundError: org/jboss/ws/tools/WSTools | Exception in thread "main" | I've included the jbossws-client.jar into the classpath and it doesn't work either... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997480#3997480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997480 From do-not-reply at jboss.com Wed Jan 3 06:49:35 2007 From: do-not-reply at jboss.com (MmarcoM) Date: Wed, 3 Jan 2007 06:49:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: J2ME/JBossws 1.0.3 / chunking disabled but still error Message-ID: <30735484.1167824975819.JavaMail.jboss@colo-br-02.atl.jboss.com> Nope No luck Nokia's carbide.j stub creation is screwed up big time.. at least for my WS which is not a simple HelloWorld webservice.. i think i'll go for some J2ME SOAP packages or back to kXML/kSOAP... if anyone has any suggestion, they are all welcome.. thanks and regards marco View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997502#3997502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997502 From do-not-reply at jboss.com Wed Jan 3 08:51:19 2007 From: do-not-reply at jboss.com (Duffcase) Date: Wed, 3 Jan 2007 08:51:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem using .NET Compact Framework Client Message-ID: <9226907.1167832279849.JavaMail.jboss@colo-br-02.atl.jboss.com> AFAIK this has been an issue for a long time, and the folks over at ms say it is a design fault, and mark all the bug reports as false. I posted a bug on connect for this over 6 months ago, but there hasn't been any progress at all. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997544#3997544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997544 From do-not-reply at jboss.com Wed Jan 3 12:26:42 2007 From: do-not-reply at jboss.com (joeh) Date: Wed, 3 Jan 2007 12:26:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: how can I get the soap envelope somewhere in my logs Message-ID: <16187755.1167845202717.JavaMail.jboss@colo-br-02.atl.jboss.com> anonymous wrote : The log4j category "jbossws.SOAPMessage" needs to be set to TRACE This doesn't work for me, or I'm misunderstanding. I've deployed a jsr109 EJB endpoint. I would like jboss to log the SOAP request and response. Are you saying that just enabling this log4j category should cause that to happen, or is there more I need to do (such as installing a handler)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997628#3997628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997628 From do-not-reply at jboss.com Wed Jan 3 12:43:58 2007 From: do-not-reply at jboss.com (Ganton) Date: Wed, 3 Jan 2007 12:43:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Client endpoint address Message-ID: <32491596.1167846238354.JavaMail.jboss@colo-br-02.atl.jboss.com> I found the FAQ about JBossWS URL re-writing, located at: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQURLRewriting and am wondering if the jboss-beans.xml file has moved from jbossws.sar/META-INF/jbossws.beans in 4.0.5GA ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997635#3997635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997635 From do-not-reply at jboss.com Wed Jan 3 18:30:17 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Wed, 3 Jan 2007 18:30:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws.bat doesn't find org/jboss/ws/tools/WSTools Message-ID: <28634969.1167867017939.JavaMail.jboss@colo-br-02.atl.jboss.com> if you have Jboss 4 AS installed, try using the wstools.bat in the /bin give that a shot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997751#3997751 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997751 From do-not-reply at jboss.com Wed Jan 3 18:34:24 2007 From: do-not-reply at jboss.com (siddharthags) Date: Wed, 3 Jan 2007 18:34:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Client endpoint address Message-ID: <13939980.1167867264703.JavaMail.jboss@colo-br-02.atl.jboss.com> It is still there look under for example for the default server \server\default\deploy\jbossws.sar\jbossws.beans\META-INF --Sid View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997753#3997753 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997753 From do-not-reply at jboss.com Thu Jan 4 02:28:54 2007 From: do-not-reply at jboss.com (pkovgan) Date: Thu, 4 Jan 2007 02:28:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: namespace for ComplexType from Java to WSDL Message-ID: <11257737.1167895734524.JavaMail.jboss@colo-br-02.atl.jboss.com> I have the same problem, but in complex types, that my WS references. @WebService(namespace="v") does not affect those types. they remains with like this : with jaws inside: http://entities.customer.xtp.sap.com/jaws View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997846#3997846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997846 From do-not-reply at jboss.com Thu Jan 4 03:41:17 2007 From: do-not-reply at jboss.com (Sanver) Date: Thu, 4 Jan 2007 03:41:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws.bat doesn't find org/jboss/ws/tools/WSTools Message-ID: <27825500.1167900077096.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks david, I've tried that wstools.bat and it works smoothly. So, why did it fail before? org/jboss/ws/tools/WSTools was supposed to exist in the classpath and it didn't seem to recognise it... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997856#3997856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997856 From do-not-reply at jboss.com Thu Jan 4 03:43:39 2007 From: do-not-reply at jboss.com (Duffcase) Date: Thu, 4 Jan 2007 03:43:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Restrict access to wsdl without using ws-security Message-ID: <19717481.1167900219505.JavaMail.jboss@colo-br-02.atl.jboss.com> Is there a way to restrict access to wsdl files without using ws-security? I'm developing a client in .NET compact framework, which afaik doesn't support ws-security yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997857#3997857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997857 From do-not-reply at jboss.com Thu Jan 4 08:25:08 2007 From: do-not-reply at jboss.com (darklight.37) Date: Thu, 4 Jan 2007 08:25:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem with wstools (Endpoint ... cannot be loaded) Message-ID: <11469249.1167917108398.JavaMail.jboss@colo-br-02.atl.jboss.com> I had this problem, it was due to the location of the files. Firstly, I found I had to run the command in the current folder where the config.xml file was located. Inside my /bin folder was the class files and the folders, e.g. /bin/age/service/*.class so in my config.xml file was: I built the files sucessfully using the command: wstools -cp ../bin -config config.xml I was also using wstools on jboss-4.0.5.GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997906#3997906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997906 From do-not-reply at jboss.com Thu Jan 4 08:46:22 2007 From: do-not-reply at jboss.com (santhoshitha) Date: Thu, 4 Jan 2007 08:46:22 -0500 (EST) Subject: [jbossws-users] [JBossWS] - newbie doubt about jbossws client stubs Message-ID: <19058264.1167918382514.JavaMail.jboss@colo-br-02.atl.jboss.com> I have read that web service clients can use the dynamic proxy, dynamic invocation or static stub invocation methods to use the services. I dont find any samples or documentation illustrating the stub and tie invocation mechanism for jbossws. I am trying to use a standalone java application which tries to use the web service running in jboss, using the stub and tie mechanism. I am able to perform look up and invocation using dynamic proxy and DII however. Are there any tools present in jbossws to use this invocation mechanism? Am I missing something? I presume that the client stub contains an implemetaion of the SEI, and wstools does not return any SEI implementation when doing a wsdl to java generation. It returns 2 interfaces, one is the SEI and another is a service interface(which i dont know how to interpret, and where it is used). I am using jboss AS version 4.0.5. Have I misinterpreted something or is my understanding right? Any guidance in this regard will be appreciated. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997914#3997914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997914 From do-not-reply at jboss.com Thu Jan 4 11:21:34 2007 From: do-not-reply at jboss.com (mavalla) Date: Thu, 4 Jan 2007 11:21:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException using wstools Message-ID: <2624210.1167927694600.JavaMail.jboss@colo-br-02.atl.jboss.com> It is JBWS-1174. http://jira.jboss.com/jira/browse/JBWS-1174 Manuel Valladares View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997969#3997969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997969 From do-not-reply at jboss.com Thu Jan 4 16:04:35 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Thu, 4 Jan 2007 16:04:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws.bat doesn't find org/jboss/ws/tools/WSTools Message-ID: <16322704.1167944675468.JavaMail.jboss@colo-br-02.atl.jboss.com> I am not entirely sure, it could be how the batch file is written or it could be that the wstools.bat needs to be in the bin directory that is one folder above the client folder and lib folder. this is pure speculation View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998059#3998059 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998059 From do-not-reply at jboss.com Thu Jan 4 16:07:11 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Thu, 4 Jan 2007 16:07:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Getting JAXWS 2.0 (JbossWS 2.0) to work with Jboss 4.0 Message-ID: <2391617.1167944831149.JavaMail.jboss@colo-br-02.atl.jboss.com> I am still researching this, I am trying to take the WS stack of JBoss 5 and Glassfish (both J5EE) and trying to drop that to JBoss 4 I am still in the process, if anybody has tried this...please let me know thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998061#3998061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998061 From do-not-reply at jboss.com Fri Jan 5 02:54:44 2007 From: do-not-reply at jboss.com (mjea) Date: Fri, 5 Jan 2007 02:54:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Changing EJB endpoint URL Message-ID: <454667.1167983684033.JavaMail.jboss@colo-br-02.atl.jboss.com> It seems that when you deploy an EJB endpoint web service, the SOAP address (or endpoitn url) is http://// Is it possible to define a custom url ? I've tried SOAP address rewriting, but it doesn't seem to work. The wsdl is changed but the endpoint stays linked to the same URL. I'm writing generic ejb-modules which will be used in several applications (ear files) running on the same JBoss instance. For practical reasons, I'd prefer to set a custom URL for each application, if possible, than to rename the EJB module. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998181#3998181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998181 From do-not-reply at jboss.com Fri Jan 5 04:00:59 2007 From: do-not-reply at jboss.com (cinzko) Date: Fri, 5 Jan 2007 04:00:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <3546866.1167987660001.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, i have the same problem. Neither the EJB3-webservices nor the POJO-WebServices seem to be deployed. I have tried it in the Default- and in the All-Configuration with an EAR-File which worked with JBoss 4.05, EJB3-Support an JBossWS 1.04. When i call the URL which lists the deployed webservices (http://localhost:8080/jbossws/services) its always empty and when i call the url of the pojo-webservice-wsdl directy, i get a ClassCastException and the error "the class ... is not a servlet". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998191#3998191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998191 From do-not-reply at jboss.com Fri Jan 5 04:36:36 2007 From: do-not-reply at jboss.com (mjea) Date: Fri, 5 Jan 2007 04:36:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - ws can't map ArrayList to xsd:boolean Message-ID: <3927066.1167989796988.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an EJB with the following method exposed as a web service: public Collection getStatus(Ear data) throws OspMethodException, RemoteException; I generated the wsdl using wstools. I have the following response generated: | ... | | | | ... | | | | | | ... | Now when I trigger the web service, the EJB method is correctly executed but the soap response creation fails with this error: | | 10:00:33 ERROR .71-8080-1 [server.StandardEndpointServlet] Error processing web service request | javax.xml.rpc.JAXRPCException: org.jboss.xb.binding.JBossXBValueFormatException: Java value for XSD boolean type expected to be an instance of java.lang.Boolean or java.lang.Number. But the value is of type java.util.ArrayList | 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.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.SOAPMessageImpl.writeTo(SOAPMessageImpl.java:266) | at org.jboss.ws.server.ServiceEndpointManager.sendResponse(ServiceEndpointManager.java:409) | It seems it tries to map my ArrayList (a Collection of Strings to return) to a boolean. How is that possible? Is there something I missed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998198#3998198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998198 From do-not-reply at jboss.com Fri Jan 5 04:45:37 2007 From: do-not-reply at jboss.com (mjea) Date: Fri, 5 Jan 2007 04:45:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ws can't map ArrayList to xsd:boolean Message-ID: <9432958.1167990337602.JavaMail.jboss@colo-br-02.atl.jboss.com> The following topic says we should not use collections, but arrays instead: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=98061 Is changing the method signature the only way to solve this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998200#3998200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998200 From do-not-reply at jboss.com Fri Jan 5 09:56:04 2007 From: do-not-reply at jboss.com (rkodumagulla1) Date: Fri, 5 Jan 2007 09:56:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WebService does not receive all the parameters passed from t Message-ID: <7946119.1168008964279.JavaMail.jboss@colo-br-02.atl.jboss.com> I am using JBoss IDE Plugin for Eclipse 3.2.1 and running JBoss 4.0.5 GA app server. I am able to create a web service and deploy it to the server. However, when the WSClientProxy sends requests the web service by passing the parameters, the web service only gets the first parameter and the other parameters are always null Did any body else run into this issue? Any help will be appreciated. Here is my WSClient Proxy Class ------------------------------------------------------------------ package localhost.mtcse.services.SimpleWebService; import java.rmi.RemoteException; public class SimpleWebServiceProxy implements localhost.mtcse.services.SimpleWebService.SimpleWebService { private String _endpoint = null; private localhost.mtcse.services.SimpleWebService.SimpleWebService simpleWebService = null; public SimpleWebServiceProxy() { _initSimpleWebServiceProxy(); } private void _initSimpleWebServiceProxy() { try { simpleWebService = (new localhost.mtcse.services.SimpleWebService.SimpleWebServiceServiceLocator()).getSimpleWebService(); if (simpleWebService != null) { if (_endpoint != null) ((javax.xml.rpc.Stub)simpleWebService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); else _endpoint = (String)((javax.xml.rpc.Stub)simpleWebService)._getProperty("javax.xml.rpc.service.endpoint.address"); } } catch (javax.xml.rpc.ServiceException serviceException) {} } public String getEndpoint() { return _endpoint; } public void setEndpoint(String endpoint) { _endpoint = endpoint; if (simpleWebService != null) ((javax.xml.rpc.Stub)simpleWebService)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint); } public localhost.mtcse.services.SimpleWebService.SimpleWebService getSimpleWebService() { if (simpleWebService == null) _initSimpleWebServiceProxy(); return simpleWebService; } public java.lang.String testParameters(java.lang.String parm1, java.lang.String parm2, java.lang.String parm3) throws java.rmi.RemoteException{ if (simpleWebService == null) _initSimpleWebServiceProxy(); return simpleWebService.testParameters(parm1, parm2, parm3); } public static void main(String[] args) throws RemoteException { SimpleWebServiceProxy swsp = new SimpleWebServiceProxy(); System.out.println(swsp.testParameters("Work1", "Work2", "Work3")); } } ----------------------------------------------------------------- Here is my web service ----------------------------------------------------------------- package org.dhhs.mtcse.service; import org.dhhs.mtcse.session.*; import java.util.*; import com.finalist.util.log.*; import org.dhhs.mtcse.exception.GenericBusinessException; import org.apache.commons.beanutils.BeanUtils; import org.dhhs.mtcse.util.log.*; import org.apache.axis.AxisFault; public class SimpleWebService { /** * The logger object. */ private static Logger log = LogService .getLogger(SimpleWebService.class); public String testParameters(String parm1, String parm2, String parm3) throws Exception { log.debug("Parm 1: " + parm1); log.debug("Parm 2: " + parm2); log.debug("Parm 3: " + parm3); return "Returned String is " + parm1 + " " + parm2 + " " + parm3; } } ------------------------------------------------------------ Here is the wsdl generated by Axis in JBoss ------------------------------------------------------------ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Appreciate your help. RK View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998275#3998275 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998275 From do-not-reply at jboss.com Fri Jan 5 11:09:24 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Fri, 5 Jan 2007 11:09:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <822962.1168013364353.JavaMail.jboss@colo-br-02.atl.jboss.com> Just curious, I have no experience with Jboss 5 and JBossWS, do you have to have a webservices.xml in the ejb jar? In JBossWS 1.0, you needed the wsdl, webservices.xml and the jaxrpc-mapping.xml for deploying regular POJOs. I would assume some JBoss specific descriptor is needed to deploy the webservices under the new JBossWS 2.0 (for JBoss 5) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998301#3998301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998301 From do-not-reply at jboss.com Fri Jan 5 11:11:09 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Fri, 5 Jan 2007 11:11:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <2553505.1168013469217.JavaMail.jboss@colo-br-02.atl.jboss.com> I meant to say little experience with JBoss 5 and JBossWS 2.0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998302#3998302 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998302 From do-not-reply at jboss.com Fri Jan 5 12:29:54 2007 From: do-not-reply at jboss.com (pguillot44) Date: Fri, 5 Jan 2007 12:29:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Pbs when consuming a Web Service with JBoss WS 1.0.3 and 1.0 Message-ID: <9254961.1168018194129.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello everybody, I'am trying to consume a web service I wrote - based on the samples provided with JBoss WS. I'm using JBoss 4.0.4.GA with JDK 1.4.2_06 - we are using 1.4 because of some other third party software we are using which do not support 1.5 yet. I have no problem with consuming the web service when the web service client and the web service implmentation share the Java source code of the service end point interface. The case which is of interrest for us is to not have the service end point interface on the client side but rely on WSDL instead - we need to demonstrate that we are able to consume any web service, including the ones for which we don't have the source code of the service endpoint interface. After installing JBoss WS 1.0.3 and JBoss XB 1.0.0.CR7, I have the following error when consuling the web service : 2007-01-05 17:12:33,406 ERROR [STDERR] [SEVERE] [DACC995A4FA18232BEA04A3CE9708A1D] [79d39d9f8f18bfd0b3f6f3bbd51d82f5] [LOG_EXCEPTION] [java.lang.NoSuchMethodError: org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding.setXopUnmarshaller(Lorg/jboss/xb/binding/sunday/xop/XOPUnmarshaller;)V 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.getReturnValue(EndpointInvocation.java:182) at org.jboss.ws.jaxrpc.CallImpl.syncOutputParams(CallImpl.java:873) at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704) at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) at com.ecitiz.mairie.toulouse.ws.TarifCantineWSCall.Invoke(TarifCantineWSCall.java:97) The web service is reached and compute the result, but then things are getting wrong. The strange point is that I checked in the JBoss XB 1.0.0.CR7 source code that this method indeed exist ! I then double checked that I indeed put the right jar file in JBoss's "client" and "lib" directories. I even resintalled JBoss and JBoss WS from scratch to make sure everything is clean - and rebuilt all my application items. I then tried with JBoss WS 1.0.4 and JBoss XB 1.0.0.CR7 : I get another error : this time, I cannot even reach the web service because of this error : 2007-01-05 18:00:33,359 ERROR [STDERR] [SEVERE] Error while invoking Web Service: org.jboss.ws.WSException: Cannot load service endpoint interface: com.ecitiz.mairie.toulouse.cantine.ws.tarif.TarifCantineContract at org.jboss.ws.metadata.EndpointMetaData.getServiceEndpointInterface(EndpointMetaData.java:228) at org.jboss.ws.metadata.EndpointMetaData.initializeInternal(EndpointMetaData.java:467) at org.jboss.ws.metadata.EndpointMetaData.eagerInitialize(EndpointMetaData.java:454) at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:439) at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:183) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:132) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:85) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:158) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:129) at com.ecitiz.mairie.toulouse.ws.TarifCantineWSCall.Invoke(TarifCantineWSCall.java:85) ... at java.lang.Thread.run(Thread.java:534) Caused by: java.lang.ClassNotFoundException: com.ecitiz.mairie.toulouse.cantine.ws.tarif.TarifCantineContract at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198) at org.jboss.ws.metadata.EndpointMetaData.getServiceEndpointInterface(EndpointMetaData.java:219) ... 50 more I tried both installations several time and took care of the following : - deleted jboss-4.0.4.GA\server\default\work\ content - deleted jboss-4.0.4.GA\server\default\tmp\ content - deleted jboss-4.0.4.GA\server\default\jbossws14.sar\ content - unzipped jbossws-1.0.3.GA\lib\jboss-jdk1.4\jbossws14.sar in jboss-4.0.4.GA\server\default\jbossws14.sar\ - copied jbossws-1.0.3.GA\lib\jboss-jdk1.4\jbossws14-client.jar in JBoss' "client" directory - copied jboss-xml-binding.jar - got it here : http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7/lib/ - in JBoss's "client" and "lib" directories. - deleted all the build produced items and rebuild the web service implementation and client app... Note that I changed nothing in my projects when I moved from JBoss WS 1.0.3 to JBoss WS 1.0.4. I simply rebuild everything. Now, I don't see what I can try next... Do you see anything wrong in what I did ? Thanks in advance for any hint you could provide me. Kind regards, Patrick Guillot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998325#3998325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998325 From do-not-reply at jboss.com Fri Jan 5 15:48:07 2007 From: do-not-reply at jboss.com (saegeun) Date: Fri, 5 Jan 2007 15:48:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Support for the Message-ID: <27181730.1168030087799.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I have a fairly critical question for our development team. We are working on a product that uses Microsoft's WS-* library: WSE 3.0 (I'm a long-time Java Dev, but recently have had to work on a .net project. What can you do...). Microsoft's library supports both the "http transport" for sending SOAP messages, and the "tcp transport." For those of you not aware of what the "tcp transport" is, if you set your WS-* library to use the TCP transport, you can create web services outside of a webserver. What happens is the web service will send and receive messages using the TCP protocol, instead of HTTP. We are now checking the compatibility of using JbossWS with MS WSE 3.0. We will be using a JbossWS client to connect to MS WSE 3.0 server app using WS-Messaging and WS-Addressing. The compatibility of the two seems pretty close, but it doesn't seem like JbossWS supports the tcp transport. I checked around the documentation, the forum and the source itself and couldn't find anything (may have missed it). Does anyone know if it supports the TCP Transport? Any help would be greatly appreciated! Thanks in advanced, Peter peter.joh.mrmx at gmail.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998391#3998391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998391 From do-not-reply at jboss.com Fri Jan 5 16:35:14 2007 From: do-not-reply at jboss.com (hitman_in_wis) Date: Fri, 5 Jan 2007 16:35:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - javax.xml.bind.annotation annotations all being ignored Message-ID: <32355698.1168032914119.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, my name is Brett, and my company is pretty new to java web services, but we need to use them to communicate between PowerBuilder and EJB3. As far as I can tell, it looks like the annotations from the javax.xml.bind.annotation are being completely ignored in our deployed web services. Below is an example: The web service class... | package com.nsighttel.ejb.services.validation.creditcard; | | import java.io.Serializable; | | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebParam; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | | import com.nsighttel.domain.MonthYearWS; | | @Stateless | @WebService | @SOAPBinding(style = SOAPBinding.Style.RPC, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED) | public class CreditCardVerificationServiceWS implements Serializable { | private static final long serialVersionUID = 1L; | | @WebMethod | public int isValid( | @WebParam(name = "cardExp")MonthYearWS cardExpWS | ){ | return 1; | } | | } | And the class for the WebParam... | package com.nsighttel.domain; | | import java.io.Serializable; | import javax.xml.bind.annotation.XmlAccessorType; | import javax.xml.bind.annotation.XmlTransient; | import javax.xml.bind.annotation.XmlAccessType; | | @XmlAccessorType(XmlAccessType.FIELD) | public class MonthYearWS implements Serializable { | private static final long serialVersionUID = 1L; | private Boolean isNull; | private Integer month; | private Integer year; | @XmlTransient private MonthYear obj; | | | public MonthYearWS(Boolean isNull, Integer month, Integer year) { | this.isNull = isNull; | this.month = month; | this.year = year; | if (isNull == null || !isNull){ | obj = new MonthYear(month,year); | } | } | | public Boolean getIsNull() { | return isNull; | } | | public void setIsNull(Boolean isNull) { | this.isNull = isNull; | } | | public Integer getMonth() { | return month; | } | | public void setMonth(Integer month) { | this.month = month; | } | | public Integer getYear() { | return year; | } | | public void setYear(Integer year) { | this.year = year; | } | | @XmlTransient | public MonthYear getObj(){ | return obj; | } | | public void setObj(MonthYear obj){ | this.obj = obj; | } | } | No matter what annotations I use, I get isNull, month, year, and obj all in my WSDL file for the above web service. The @XmlTransient annotation on the getObj() function is not being honored, as I am still getting obj in the WSDL file. Furthermore, if I take away all of the public getter functions, then I get no elements in my WSDL file. Therefore, the @XmlAccessorType(XmlAccessType.FIELD) is not being honored either. I have tried a few other annotations from the javax.xml.bind.annotation package, but none of them appear to be working either. Could someone please clue me in to what I may be doing wrong? Does Jboss not support these annotations? Or maybe the annotations do not apply to web services? Any help is greatly appreciated. Thanks! -Brett Birschbach View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998406#3998406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998406 From do-not-reply at jboss.com Fri Jan 5 16:53:04 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Fri, 5 Jan 2007 16:53:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: javax.xml.bind.annotation annotations all being ignored Message-ID: <28434987.1168033984448.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting this too, it appears that the WebParam annotation does not work for me either. Are Web annotations picked up by wstools? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998410#3998410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998410 From do-not-reply at jboss.com Sun Jan 7 10:09:21 2007 From: do-not-reply at jboss.com (pkovgan) Date: Sun, 7 Jan 2007 10:09:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - how to generate WSDL and make it customisable as much as pos Message-ID: <2933136.1168182561064.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! I have 2 "simple" questions: 1) Is there proper way to generate WSDL that fits? This is a simple question, but it seems there is no simple answer. wstools ,for example, produces wsdl that every parameter name in message follows convention Type_1, Type_2... But if I really need real parameter names, or I need customize those names, what can I do? Use annotations of JSR 181? OK, but in such a case I lose my ability to customize wsdl beyond annotation scope! How can I customize ANY or almost ANY aspect of WSDL??? 2) Who(what) is really responsible for automated generation of WSDL on JBOSS AS? I need this handle to (may be) force it to customize its behaviour. Can I? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998687#3998687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998687 From do-not-reply at jboss.com Sun Jan 7 11:00:39 2007 From: do-not-reply at jboss.com (pkovgan) Date: Sun, 7 Jan 2007 11:00:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wscomple--> generate wsdl for all simpletype minOccurs=0 Message-ID: <23092136.1168185639332.JavaMail.jboss@colo-br-02.atl.jboss.com> I need an answer to this question too!!! Can somebody help ??? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998703#3998703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998703 From do-not-reply at jboss.com Mon Jan 8 02:07:29 2007 From: do-not-reply at jboss.com (cinzko) Date: Mon, 8 Jan 2007 02:07:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <961979.1168240049918.JavaMail.jboss@colo-br-02.atl.jboss.com> no, it's not neccessary - you need only the annotations in the ejb-class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998856#3998856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998856 From do-not-reply at jboss.com Mon Jan 8 07:47:11 2007 From: do-not-reply at jboss.com (still_aimless) Date: Mon, 8 Jan 2007 07:47:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <16069235.1168260431969.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm experiencing the same problems. @Web... Annotated EJB3s deploy without a hitch on JBoss 5.0, but the services are nowhere to be found. Anyone would like to comment on this issue? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998977#3998977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998977 From do-not-reply at jboss.com Mon Jan 8 09:31:31 2007 From: do-not-reply at jboss.com (ajay662) Date: Mon, 8 Jan 2007 09:31:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 2.0.0.CR2 - binary version Message-ID: <10227659.1168266691439.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for clarification. My requirements were to implement web services client from EJBs. So I was able to use JAX-WS 2.0 (Glassfish implementation) without problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999026#3999026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999026 From do-not-reply at jboss.com Mon Jan 8 10:59:08 2007 From: do-not-reply at jboss.com (opepin) Date: Mon, 8 Jan 2007 10:59:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Using Java 5 Generics for Webservices Message-ID: <8691206.1168271948722.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, Is it possible with jboss WS and jsr-181 to use Generics in a Webservice interface. ie: @WebMethod public ContentSet getContent() { ... } with: public class ContentSet { T[] items; .... .... } Currently (jboss 4.0.5) the generated wsdl does not generate the correct types and the webservice dos not work. Is it supposed to work ? Thank for your help, Olivier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999066#3999066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999066 From do-not-reply at jboss.com Mon Jan 8 12:03:27 2007 From: do-not-reply at jboss.com (david.k.win@gmail.com) Date: Mon, 8 Jan 2007 12:03:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 2.0.0.CR2 - binary version Message-ID: <10648504.1168275807777.JavaMail.jboss@colo-br-02.atl.jboss.com> hey Ajay Please clarify, do you mean you used GlassFish webservices with JBoss 4.0? Could you point me to some documentation if you have successfully done so? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999098#3999098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999098 From do-not-reply at jboss.com Mon Jan 8 12:08:43 2007 From: do-not-reply at jboss.com (sigitm) Date: Mon, 8 Jan 2007 12:08:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problem deploying a simple web service Message-ID: <19374409.1168276123096.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm studying web services, and I developed this simple one: WebServiceBean.java | /** | * @ejb.bean | * name="WebService" | * jndi-name="ejb/publishingsystem/dipartimento/WebService" | * type = "Stateless" | * display-name = "WebService" | * description = "WebService Session EJB" | * view-type="service-endpoint" | * | * @ejb.interface | * service-endpoint-class="publishingsystem.dipartimento.interfaces.WebServiceEndpoint" | * | * @wsee.port-component | * name="WebServiceEndpointPort" | * | */ | public class WebServiceBean implements SessionBean { | private Dipartimento dip; | | /** | * Hello world business interface method. | * | * @ejb.interface-method view-type = "service-endpoint" | */ | public java.lang.String sayHello(String name) | { | return("Hello " + name); | } | | | public WebServiceBean() { super(); } | | public void setSessionContext(SessionContext ctx) | throws EJBException, RemoteException {} | | public void ejbRemove() throws EJBException, RemoteException {} | public void ejbActivate() throws EJBException, RemoteException {} | public void ejbPassivate() throws EJBException, RemoteException {} | | /** | * Default create method | * | * @throws CreateException | * @ejb.create-method | */ | public void ejbCreate() throws CreateException {} | | } | I used wstools with this configuration file: | | | | | | | | ...and I obtained the following files: WebService.wsdl | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | webservices.xml | | WebService | META-INF/wsdl/WebService.wsdl | META-INF/jaxrpc-mapping.xml | | WebServiceEndpointPort | impl:WebServiceEndpointPort | publishingsystem.dipartimento.interfaces.WebServiceEndpoint | | WebServiceBean | | | | jaxrpc-mapping.xml | | publishingsystem.dipartimento.interfaces | http://www.unibo.it/dip/types | | | publishingsystem.dipartimento.interfaces.WebService | serviceNS:WebService | | WebServiceEndpointPort | WebServiceEndpointPort | | | | publishingsystem.dipartimento.interfaces.WebServiceEndpoint | portTypeNS:WebServiceEndpoint | bindingNS:WebServiceEndpointBinding | | sayHello | sayHello | | 0 | java.lang.String | | wsdlMsgNS:WebServiceEndpoint_sayHello | String_1 | IN | | | | java.lang.String | wsdlMsgNS:WebServiceEndpoint_sayHelloResponse | result | | | | I created the jar package (with these 3 files in META-INF) and I tried to deploy it in JBoss, but it returns the following error: 17:48:01,781 INFO [EjbModule] Deploying WebService | 17:48:03,890 ERROR [MainDeployer] Could not create deployment: file:/C:/Programmi/jboss-4.0.5.GA/server/default/deploy/PublishingSystem.DipartimentoEJB.jar | org.jboss.ws.WSException: Cannot obtain UnifiedBeanMetaData for: WebServiceBean | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:152) | at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:85) | 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 $Proxy26.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | 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) What does it mean? What's wrong with my code? Did I forget something writing the web service? Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999099#3999099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999099 From do-not-reply at jboss.com Mon Jan 8 12:37:09 2007 From: do-not-reply at jboss.com (ajay662) Date: Mon, 8 Jan 2007 12:37:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 2.0.0.CR2 - binary version Message-ID: <11763782.1168277829938.JavaMail.jboss@colo-br-02.atl.jboss.com> David, My jboss instance is only the "client" for web services which are running somewhere else. So I am the "consumer" inside jboss. If your needs are the same, you can just follow the Glassfish documentation. I would start from https://jax-ws.dev.java.net/ and just implement the client side functionality like you would for a standalone Java application. I copied all the client side required libs to my server/lib and didn't even have to deal with class-loader isolation etc. I am on jboss 4.0.5 If you run into issues, post the specifics here. You could also search for "jboss" inside their mailing list. https://jax-ws.dev.java.net/servlets/SummarizeList?list=users&by=thread&count=234&paged=false -Ajay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999116#3999116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999116 From do-not-reply at jboss.com Mon Jan 8 12:49:58 2007 From: do-not-reply at jboss.com (sigitm) Date: Mon, 8 Jan 2007 12:49:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem deploying a simple web service Message-ID: <26296494.1168278598257.JavaMail.jboss@colo-br-02.atl.jboss.com> Sorry, it was my fault in the wstools config file. I had to write WebService instead of WebServiceBean. Now I can see my web service in http://localhost:8080/jbossws/services I have another problem: if I deploy only the .jar file (containing also other EJBs), all works. But if I deploy the ear file (containing the .jar file and also a .war file with jsps, servlets, etc.), JBoss says: 18:39:28,390 INFO [EjbModule] Deploying WebService | 18:39:28,984 INFO [TomcatDeployer] deploy, ctxPath=/PublishingSystem, warUrl=.../tmp/deploy/PublishingSystem.DipartimentoApp.ear-PublishingSystem.DipartimentoEJB.jar-ws47226.war/ | 18:39:29,578 ERROR [MainDeployer] Could not create deployment: file:/C:/Programmi/jboss-4.0.5.GA/server/default/tmp/deploy/tmp47225PublishingSystem.DipartimentoApp.ear-contents/PublishingSystem.DipartimentoWeb.war | java.lang.IllegalArgumentException: Cannot find wsdl in deployment: META-INF/wsdl/WebService.wsdl | at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:270) | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:94) | 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 $Proxy39.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.GeneratedMethodAccessor55.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | 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) | Why? I tried to insert the 3 wstools-generated files (webservices.xml, jaxrpc-mapping.xml, WebService.wsdl) even inside the .war and inside the .ear, but it doesn't work. In which package should I put these 3 files? How can I do to use the web service deploying the entire .ear? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999124#3999124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999124 From do-not-reply at jboss.com Mon Jan 8 15:34:06 2007 From: do-not-reply at jboss.com (palin) Date: Mon, 8 Jan 2007 15:34:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS-Eventing - sending notification Message-ID: <10137421.1168288446939.JavaMail.jboss@colo-br-02.atl.jboss.com> "heiko.braun at jboss.com" wrote : I did create a JIRA for this: | http://jira.jboss.com/jira/browse/JBWS-1388 Hi Heiko, first of all sorry for the long silence, but we (Stefano and me) have been quite busy. Soon we'll work on the ws-eventing clustering issues; in the mean time, speaking of this issue, I attached a patch on jira. As you can read in the comment there, validation MAY fail when more than one schema define the notification message, since the SAX parser seams to require schemas to be provided in the right order so that, when it reads each of them, all types references can be resolved using what it has already read. If you're interested in the implementation provided with the patch, do you have any suggestion regarding this issue? Would you suggest other ways for validation in the SubscriptionManager? Thank you Alessio Soldano http://www.javalinux.it/blogs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999196#3999196 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999196 From do-not-reply at jboss.com Mon Jan 8 17:10:32 2007 From: do-not-reply at jboss.com (zonelion) Date: Mon, 8 Jan 2007 17:10:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: ProxyContext is not visible ffrom the Classloader Message-ID: <14410077.1168294232189.JavaMail.jboss@colo-br-02.atl.jboss.com> This helped. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999224#3999224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999224 From do-not-reply at jboss.com Mon Jan 8 18:25:52 2007 From: do-not-reply at jboss.com (tejasjani) Date: Mon, 8 Jan 2007 18:25:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Schema-first WS development with JBossWS Message-ID: <18980850.1168298752989.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi... I am trying to figure out how to do schema-first development with JBossWS. I have a WSDL that I am starting out with and would like to know the steps in going to the WS implementation and deployment from a WSDL file. Has anyone tried JBossWS with this approach ? Any insights are appreciated. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999254#3999254 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999254 From do-not-reply at jboss.com Mon Jan 8 19:16:21 2007 From: do-not-reply at jboss.com (siddharthags) Date: Mon, 8 Jan 2007 19:16:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - nullpointer in specifying transport guarantee Message-ID: <28279220.1168301781420.JavaMail.jboss@colo-br-02.atl.jboss.com> hi i have a web service that is deployed as a war on the JBoss [Zion] 4.0.5.GA build running the jbosws1.0.3 stack. i am trying to specify the transport guarantee for it to be confidential in the web.xml as | | ..... | | | myservice | | | CONFIDENTIAL | | | | this is following the example specified of securing and enforcing of https mentioned for jmx-console but am getting an error on jboss start up that says | 16:06:31,137 ERROR [MainDeployer] Could not create deployment: file:/D:/Program Files/jboss/server/default/deploy/myservice.war/ | java.lang.NullPointerException | at org.jboss.util.xml.DOMUtils.getTextContent(DOMUtils.java:392) | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.initTransportGuaranteeJSE(JSR109ServerMetaDataBuilder.java:361) | at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:203) | i can enforce the https via https:// prepend before the REPLACE... tag in the wsdl but i guess reading various posts by jason indicate that this should be supported by also just specifying the transport guarantee value in the web.xml from the 4.04 version of the AS? TIA for ay answers View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999262#3999262 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999262 From do-not-reply at jboss.com Mon Jan 8 20:02:46 2007 From: do-not-reply at jboss.com (tejasjani) Date: Mon, 8 Jan 2007 20:02:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL First Model? Message-ID: <11388832.1168304566761.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am looking to do something similar. I have a hand-crafted WSDL from which I want to generate the type classes and other server-side artifacts to deploy. Do I need to use wsimport to generate the type classes ? Also, I assume I would need to run the wstools after that to generate the jaxrpc-mapping.xml file and webservices.xml file (I am assuming that the WSDL file that wstools generates would be a throw away for this purpose?) I am using JBoss 4.0.5GA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999269#3999269 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999269 From do-not-reply at jboss.com Tue Jan 9 03:17:04 2007 From: do-not-reply at jboss.com (performante) Date: Tue, 9 Jan 2007 03:17:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problems deploying a web service with a Session Bean as endp Message-ID: <10568652.1168330624434.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I get this exception when trying to deploy a Session Bean as Web Service: org.jboss.ws.WSException: Cannot obtain servlet mapping for servlet link: null at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.initServicePathJSE(JSR109ServerMetaDataBuilder.java:315) at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:202) 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 $Proxy47.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.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy8.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java: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) JBoss is looking for a servlet link when the deployed webservice uses an ejb link, this are the xml descriptors: configuration.xml: ejb-jar.xml: chapter 12 EJB JAR HelloBean com.servicios.Hello com.servicios.HelloBean Stateless Container HelloBean * HelloBean * Required And this are the generated webservices.xml: HelloService META-INF/wsdl/HelloService.wsdl META-INF/jaxrpc-mapping.xml HelloPort impl:HelloPort com.servicios.Hello HelloBean and jaxrpc-mapping.xml: com.servicios http://servicios.com/types com.servicios.HelloService serviceNS:HelloService HelloPort HelloPort com.servicios.Hello portTypeNS:Hello bindingNS:HelloBinding hello hello 0 java.lang.String wsdlMsgNS:Hello_hello String_1 IN java.lang.String wsdlMsgNS:Hello_helloResponse result The ejb gets correctly deployed as I can see in JBoss console and jmx console. As you can see, the webservices.xml definition file defines an ejb link: HelloBean Why does Jboss tries to look for a servlet link with this configuration... I'm using Jboss 4.0.5 GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999348#3999348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999348 From do-not-reply at jboss.com Tue Jan 9 06:32:17 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 9 Jan 2007 06:32:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Using Java 5 Generics for Webservices Message-ID: <22600769.1168342337582.JavaMail.jboss@colo-br-02.atl.jboss.com> This is not yet supported. You could create a feature request in jira. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999396#3999396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999396 From do-not-reply at jboss.com Tue Jan 9 06:34:29 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 9 Jan 2007 06:34:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problem deploying a simple web service Message-ID: <23118581.1168342469049.JavaMail.jboss@colo-br-02.atl.jboss.com> This should be fixed in 1.2.0.CR2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999397#3999397 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999397 From do-not-reply at jboss.com Tue Jan 9 06:37:02 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 9 Jan 2007 06:37:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Schema-first WS development with JBossWS Message-ID: <18566580.1168342622769.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=3999398#3999398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999398 From do-not-reply at jboss.com Tue Jan 9 06:37:27 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 9 Jan 2007 06:37:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL First Model? Message-ID: <18851346.1168342647128.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=3999399#3999399 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999399 From do-not-reply at jboss.com Tue Jan 9 07:00:38 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 9 Jan 2007 07:00:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: nullpointer in specifying transport guarantee Message-ID: <1186697.1168344038803.JavaMail.jboss@colo-br-02.atl.jboss.com> You are missing the in You can look at the source, it's really easy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999406#3999406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999406 From do-not-reply at jboss.com Tue Jan 9 07:05:59 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 9 Jan 2007 07:05:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems deploying a web service with a Session Bean as Message-ID: <17644387.1168344359503.JavaMail.jboss@colo-br-02.atl.jboss.com> The DeployerInterceptorJSE is picking up. Perhaps you have packaged your webservices.xml in WEB-INF View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999410#3999410 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999410 From do-not-reply at jboss.com Tue Jan 9 09:40:30 2007 From: do-not-reply at jboss.com (siddharthags) Date: Tue, 9 Jan 2007 09:40:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: nullpointer in specifying transport guarantee Message-ID: <33022886.1168353630158.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks..well duh.. knew it had to be something really obvious strange the dtd did not enforce it in the xml editor. did not have access to the source to verify thanks for the information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999469#3999469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999469 From do-not-reply at jboss.com Tue Jan 9 10:17:34 2007 From: do-not-reply at jboss.com (opepin) Date: Tue, 9 Jan 2007 10:17:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Using Java 5 Generics for Webservices Message-ID: <31368364.1168355854433.JavaMail.jboss@colo-br-02.atl.jboss.com> Done: http://jira.jboss.org/jira/browse/JBWS-1444 Thanks, Olivier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999500#3999500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999500 From do-not-reply at jboss.com Tue Jan 9 14:37:46 2007 From: do-not-reply at jboss.com (tejasjani) Date: Tue, 9 Jan 2007 14:37:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Schema-first WS development with JBossWS Message-ID: <29765513.1168371466946.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Thomas, thanks for the reply. This link talks about the client side. I am referring to the server-side on how to implement and deploy the service when one starts out with a WSDL. The JBoss documentation does not seem to address this approach, as it seems to auto-generate WSDL and mapping files using wstools. Also it does not address how does one generate the type classes. I would appreciate if I can get some pointers as we are currently evaluating if JBossWS is the right way for us to go. thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999603#3999603 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999603 From do-not-reply at jboss.com Tue Jan 9 15:08:36 2007 From: do-not-reply at jboss.com (tejasjani) Date: Tue, 9 Jan 2007 15:08:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL First Model? Message-ID: <9243847.1168373316984.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi jdcmember, am I interpreting your response correctly in that: (1) I use JAX-WS wsimport tool to create the stub and type classes (2) implement the endpoint interface (3) package all this up in a war file and deploy it on jboss My questions are: - I will need to run the wstools utility somewhere as well, to generate the jaxrpc-mapping.xml and webservice.xml, right ? - wstools is also going to generate its own wsdl file. What do I do with that file ? and should I also package my own wsdl file with the war file ? - If not, then what do I do with my own wsdl file ? - Have you seen any limitations with this approach ? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999624#3999624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999624 From do-not-reply at jboss.com Tue Jan 9 15:11:27 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 9 Jan 2007 15:11:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Using Java 5 Generics for Webservices Message-ID: <11293861.1168373487754.JavaMail.jboss@colo-br-02.atl.jboss.com> Are generics supported in JBossWS 2.0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999629#3999629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999629 From do-not-reply at jboss.com Tue Jan 9 15:21:00 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 9 Jan 2007 15:21:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Developing services using JBossWS 2.0 Message-ID: <19027873.1168374060953.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey guys I was wondering if there is documentation on developing Web services for JBossWS 2.0 (on JBoss 4.x). Previously, I used the SOAPui plugin (bundled with JBossEclipse) to generate the WSDL and the objects (webservices.xml, the request/response classes, etc) associated with the deployed webservice. The SOAPUi uses wstools to generate the webservice (it also generated the wstool-config.xml) . I am guessing the build process is not exactly the same as JBossWS 1.x due to the absence of the jaxrpc-mapping.xml and webservices.xml. Could somebody help me out with the build process of JBossWS 2.0. Any info or direction towards documentation would be greatly apperciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999634#3999634 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999634 From do-not-reply at jboss.com Tue Jan 9 16:17:26 2007 From: do-not-reply at jboss.com (bkatnich) Date: Tue, 9 Jan 2007 16:17:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <26079885.1168377446676.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi again, Isn't there anybody at JBoss who has the answer to this? Is it currently supported in the 5.0 beta or not? Thanks in advance!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999641#3999641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999641 From do-not-reply at jboss.com Tue Jan 9 18:09:33 2007 From: do-not-reply at jboss.com (siddharthags) Date: Tue, 9 Jan 2007 18:09:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: nullpointer in specifying transport guarantee Message-ID: <12776394.1168384173517.JavaMail.jboss@colo-br-02.atl.jboss.com> well even after I changed it for url pattern I cannot force the transport confidential to state https in the wsdl generated. what else do I need to do? code is same from the previous post with the url pattern updated in the web.xml as /myservice/*, have updated to the 1.04 stack version just to make sure I have the latest of everything View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999662#3999662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999662 From do-not-reply at jboss.com Tue Jan 9 21:14:40 2007 From: do-not-reply at jboss.com (tejasjani) Date: Tue, 9 Jan 2007 21:14:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL-->Java Can JBoss wstool generate both client and se Message-ID: <27965222.1168395280016.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Jason, jjchen, I am trying to do something similar, i.e. going from wsdl --> java for deployment. I would really appreciate if one of you can answer the following for me: (1) If I have a wsdl file hand-crafted, can I use wstool to generate java server and client stubs, binding classes, and jaxrpc-mapping file from the wsdl file I am not able to find a way to use wstool utility when I have a pre-written wsdl file. (2) If not then I how do I approach WSDL-first development on JBoss. thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999729#3999729 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999729 From do-not-reply at jboss.com Tue Jan 9 21:35:06 2007 From: do-not-reply at jboss.com (tejasjani) Date: Tue, 9 Jan 2007 21:35:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Contract-first service endpoint development support Message-ID: <19437773.1168396506589.JavaMail.jboss@colo-br-02.atl.jboss.com> is this resolved ? where can I get this document ? thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999733#3999733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999733 From do-not-reply at jboss.com Wed Jan 10 03:21:45 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 10 Jan 2007 03:21:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: NullPointerException in WSDL11Reader Message-ID: <18641402.1168417305265.JavaMail.jboss@colo-br-02.atl.jboss.com> The binding references an unknown portType | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999782#3999782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999782 From do-not-reply at jboss.com Wed Jan 10 05:07:51 2007 From: do-not-reply at jboss.com (bertrand.njiipwo) Date: Wed, 10 Jan 2007 05:07:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: invoke called, but our invoker is disconnected Message-ID: <604246.1168423671945.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, i'll like to give some feedback that the solution of this problem have been found. More informations read this thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=98256 Thanks Bertrand Njipwo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999816#3999816 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999816 From do-not-reply at jboss.com Wed Jan 10 07:01:03 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 10 Jan 2007 07:01:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Developing services using JBossWS 2.0 Message-ID: <29724735.1168430463639.JavaMail.jboss@colo-br-02.atl.jboss.com> http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999883#3999883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999883 From do-not-reply at jboss.com Wed Jan 10 07:02:04 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 10 Jan 2007 07:02:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <22705139.1168430524089.JavaMail.jboss@colo-br-02.atl.jboss.com> http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999884#3999884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999884 From do-not-reply at jboss.com Wed Jan 10 07:07:23 2007 From: do-not-reply at jboss.com (omatzura) Date: Wed, 10 Jan 2007 07:07:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Schema-first WS development with JBossWS Message-ID: <31696019.1168430843569.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! the jbossws-support in jbosside 2.0 beta2 has initial support for this (ie generating server side java from wsdl).. have a look at the tutorials at http://www.soapui.org/jbossws/topdown.html.. If I remember correctly, you need to; 1) generate java artifacts from your wsdl using wstools wsdl2java 2) implement the generated interface 3) publish the implementaion using wstools java2wstools (for creating the correct descriptors/config files required for deployment) The tutorial covers these step together with a walk-through example.. let me know if you have any troubles.. regards, /Ole eviware.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999888#3999888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999888 From do-not-reply at jboss.com Wed Jan 10 10:49:15 2007 From: do-not-reply at jboss.com (oglueck) Date: Wed, 10 Jan 2007 10:49:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: problem in using ServiceFactoryImpl Message-ID: <20599635.1168444155821.JavaMail.jboss@colo-br-02.atl.jboss.com> Use the full path to the resource: URL wsdl = cl.getResource("META-INF/wsdl/my.wsdl"); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000006#4000006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000006 From do-not-reply at jboss.com Wed Jan 10 11:19:52 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 10 Jan 2007 11:19:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Schema-first WS development with JBossWS Message-ID: <27004390.1168445992596.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Ole, I will definitely check it out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000019#4000019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000019 From do-not-reply at jboss.com Wed Jan 10 12:20:15 2007 From: do-not-reply at jboss.com (sramesha27) Date: Wed, 10 Jan 2007 12:20:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS and UDDI Message-ID: <5086186.1168449615458.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I am running into the same problem. I am using jboss-4.0.5.GA with JDK 1.5.0. Please help me how to update / upgrade the example so that I can run the client successfully. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000065#4000065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000065 From do-not-reply at jboss.com Wed Jan 10 12:22:18 2007 From: do-not-reply at jboss.com (sramesha27) Date: Wed, 10 Jan 2007 12:22:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS and UDDI Message-ID: <27243673.1168449738793.JavaMail.jboss@colo-br-02.atl.jboss.com> Noel / Anil, how to upgrade this example to work with Jboss-4.0.5GA. I am getting the same error as Mreis. Please guide. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000067#4000067 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000067 From do-not-reply at jboss.com Wed Jan 10 14:28:05 2007 From: do-not-reply at jboss.com (greenbean) Date: Wed, 10 Jan 2007 14:28:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Client Side Handler InvalidClassException Message-ID: <33102612.1168457285386.JavaMail.jboss@colo-br-02.atl.jboss.com> i am attempting to include a client side handler with my service call. The client is deployed and the application-client and error are below. Things work fine with a server side handler. When I comment out the handler, the web service works fine. What is wrong here? application-client xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/application-client_1_4.xsd" version="1.4"> webservice client service/s com.s.S META-INF/s.wsdl META-INF/mapping.xml SHandler com.s.SHandler javax.naming.NamingException: Cannot unmarshall service ref meta data, cause: java.io.InvalidClassException: org.jboss.ws.metadata.j2ee.UnifiedHandlerMetaData; local class incompatible: stream classdesc serialVersionUID = -3019416564080333900, local class serialVersionUID = 8000854586742278995 at org.jboss.ws.jaxrpc.ServiceObjectFactory.getObjectInstance(ServiceObjectFactory.java:126) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) 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(InitialContext.java:351) at com.Client.main(Client.java:59) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000107#4000107 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000107 From do-not-reply at jboss.com Wed Jan 10 15:04:46 2007 From: do-not-reply at jboss.com (sramesha27) Date: Wed, 10 Jan 2007 15:04:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Null pointer exception when using JBOSSWS 1.0.4 GA vesio Message-ID: <19085292.1168459486961.JavaMail.jboss@colo-br-02.atl.jboss.com> I am having the same problem. I am not creating the config file, instead I am trying the "JBossIDE JBossWS Web Services -> [[interface node]] -> JBossWS -> Generate" to generate the artifacts. How to over come this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000127#4000127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000127 From do-not-reply at jboss.com Wed Jan 10 17:07:13 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 10 Jan 2007 17:07:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Schema-first WS development with JBossWS Message-ID: <18888896.1168466833577.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I just tried to use this plug-in and I am encountering problems importing the wsdl file from my local machine. It just gives me an exception saying: Error importing wsdl:org.apache.xml.xmlBeans.XMLException:error: Prefix not specified. I have checked the wsdl and am not able to find any issues with it. Any hints on what could be wrong ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000169#4000169 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000169 From do-not-reply at jboss.com Wed Jan 10 17:11:11 2007 From: do-not-reply at jboss.com (omatzura) Date: Wed, 10 Jan 2007 17:11:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Schema-first WS development with JBossWS Message-ID: <31553474.1168467071213.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! Could you mail/show me the WSDL so I can have a look? kind regards, /Ole ole at eviware.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000170#4000170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000170 From do-not-reply at jboss.com Wed Jan 10 17:28:31 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 10 Jan 2007 17:28:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Schema-first WS development with JBossWS Message-ID: <775362.1168468111930.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi Ole, I just sent you the wsdl file in an email. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000177#4000177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000177 From do-not-reply at jboss.com Wed Jan 10 20:19:08 2007 From: do-not-reply at jboss.com (bkatnich) Date: Wed, 10 Jan 2007 20:19:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <22854895.1168478348090.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, Thanks for the response. So am I understanding correctly that I need to install this and it doesn't come bundled with the 5.0 beta? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000221#4000221 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000221 From do-not-reply at jboss.com Thu Jan 11 02:24:43 2007 From: do-not-reply at jboss.com (cinzko) Date: Thu, 11 Jan 2007 02:24:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <9306032.1168500283052.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : Yes, this is supported with jboosws-1.2.0.CR2+ | | http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall but in the jar-version.xml of the JBoss 5.0 Beta1 is specified that the jbossws-2.0.0.CR2.DEV is included... so why should this version be replaced with a 1.2.0-version? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000292#4000292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000292 From do-not-reply at jboss.com Thu Jan 11 05:49:42 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 11 Jan 2007 05:49:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Client Side Handler InvalidClassException Message-ID: <26622979.1168512582185.JavaMail.jboss@colo-br-02.atl.jboss.com> This is a classpath issue. Make sure you have the same jbossws version in your jndi server and client that does the lookup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000337#4000337 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000337 From do-not-reply at jboss.com Thu Jan 11 07:58:16 2007 From: do-not-reply at jboss.com (omatzura) Date: Thu, 11 Jan 2007 07:58:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Developing services using JBossWS 2.0 Message-ID: <8548141.1168520296647.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi! The JBossWS / SoapUI plugin has initial support for generating JAX-WS annotations (JSR 181 compliant), we are working on an updated version with JAX-WS 2.0 specific support.. you could use the current one to generate inital annotations and complement with JAX-WS 2.0 specific ones manually.. there is a tutorial for the existing annotation-support at http://www.soapui.o?rg/jbossws/annotatio?ns_example.html hope this helps a little.. kind regards, /Ole eviware.com View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000400#4000400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000400 From do-not-reply at jboss.com Thu Jan 11 08:48:01 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 11 Jan 2007 08:48:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Null pointer exception when using JBOSSWS 1.0.4 GA vesio Message-ID: <21017275.1168523281676.JavaMail.jboss@colo-br-02.atl.jboss.com> Now the parser is validating, you therefore get | Caused by: org.xml.sax.SAXException: cvc-complex-type.3.2.2: Attribute 'file' is not allowed to appear in element 'wsdl-java'. @ *unknown*[16,56] | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:348) | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000426#4000426 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000426 From do-not-reply at jboss.com Thu Jan 11 08:49:52 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 11 Jan 2007 08:49:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Web Service as an Stateless Session Bean on JBoss 5.0 Message-ID: <9217141.1168523392718.JavaMail.jboss@colo-br-02.atl.jboss.com> http://www.jboss.org/index.html?module=bb&op=viewtopic&t=98635 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000430#4000430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000430 From do-not-reply at jboss.com Thu Jan 11 09:39:44 2007 From: do-not-reply at jboss.com (sramesha27) Date: Thu, 11 Jan 2007 09:39:44 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Null pointer exception when using JBOSSWS 1.0.4 GA vesio Message-ID: <23076089.1168526384647.JavaMail.jboss@colo-br-02.atl.jboss.com> As I mentioned in my post, the JBossWS -> Generate tool creating the config file with the wrong attribute "file" instead of "location". I have changed the attribute to "location" and run the wstools.bat manually and was able to generate the artifacts. I guess this is a bug in JBossWS. Moreover this generation is not generating the implementation class and only the interfaces. Instead the JBoss IDE's create new Web Services Client will create the Java Proxy for us to use it easily. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000464#4000464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000464 From do-not-reply at jboss.com Thu Jan 11 10:02:16 2007 From: do-not-reply at jboss.com (jd_cowan) Date: Thu, 11 Jan 2007 10:02:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSDL Question Message-ID: <10473081.1168527736356.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a couple of web services that I have deployed, one in particular is fairly complex and produces a wsdl that for some reason describes java elements such as: "Constructor" "Field" "ProtectionDomain" "signerCertPath" "ClassLoader" "Class" "Package" as well as many other java objects. Here is an example schema from my wsdl: | | | | | | | | | - | | - | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - | | - | | | | | | - | | - | | | | | - | | - | | | | | | | | | | | | | | | Why does it do this for this particular service and not the others? How can I prevent this behavior? Any suggestions would be appreciated. Thanks in advance, jay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000479#4000479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000479 From do-not-reply at jboss.com Thu Jan 11 10:22:01 2007 From: do-not-reply at jboss.com (gofish88) Date: Thu, 11 Jan 2007 10:22:01 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Generate XML Schema for document Message-ID: <9686272.1168528921449.JavaMail.jboss@colo-br-02.atl.jboss.com> Does JbossWS provides support to generate XML Schema file for document style web services? I created web service endpoint implementation class and JBossWS generated WSDL file. I wanted to have a XSD to validate the response SOAP message. If JBossWS does not generate the schema file, can someone please recommend schema editor(s) to use with Eclipse, JBoss? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000489#4000489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000489 From do-not-reply at jboss.com Thu Jan 11 10:30:17 2007 From: do-not-reply at jboss.com (hugin78) Date: Thu, 11 Jan 2007 10:30:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Failed to set value - argument type mismatch Message-ID: <5873691.1168529418006.JavaMail.jboss@colo-br-02.atl.jboss.com> Hallo In my wsdl file I have a type with enumerations. I have one operation that returns an instance of the type - This one is working fine. I then have another that take an instance of the type as argument and this one fails with the exception: | 2007-01-11 16:09:03,253 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ws.facade.as2007.wmdata.com/jaws}CarType | 2007-01-11 16:09:03,253 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ws.facade.as2007.wmdata.com/jaws}getCar | 2007-01-11 16:09:03,253 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ws.facade.as2007.wmdata.com/jaws}getCarResponse | 2007-01-11 16:09:03,253 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ws.facade.as2007.wmdata.com/jaws}setCar | 2007-01-11 16:09:03,253 WARN [org.jboss.webservice.metadata.jaxrpcmapping.JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ws.facade.as2007.wmdata.com/jaws}setCarResponse | 2007-01-11 16:09:03,253 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Type definition not found in schema: {http://ws.facade.as2007.wmdata.com/jaws}CarType | 2007-01-11 16:09:03,253 WARN [org.jboss.ws.jaxb.SchemaBindingBuilder] Cannot obtain type binding for: {http://ws.facade.as2007.wmdata.com/jaws}CarType | 2007-01-11 16:09:03,253 ERROR[org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper] SOAP request exception | javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: javax.xml.bind.JAXBException: Failed to parse source: Failed to set value java.lang.String at 112785[red] using setter setColor on com.wmdata.as2007.xml.jaxbbindings.CarType at 15580831 (toString=com.wmdata.as2007.xml.jaxbbindings.CarTy | pe at edbe9f) : argument type mismatch | - with linked exception: | [org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to set value java.lang.String at 112785[red] using setter setColor on com.wmdata.as2007.xml.jaxbbindings.CarType at 15580831 (toString=com.wmdata.as2007.xml.jaxbbindings.CarType at edbe9f) : argument type mismatch] | at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:307) | 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) | Caused by: org.jboss.ws.binding.BindingException: javax.xml.bind.JAXBException: Failed to parse source: Failed to set value java.lang.String at 112785[red] using setter setColor on com.wmdata.as2007.xml.jaxbbindings.CarType at 15580831 (toString=com.wmdata.as2007.xml.jaxbbindings.CarType at edbe9f) : argumen | t type mismatch | | My wsdlfile (used the jboss autogenerated one and changed the types): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The webservice class: @Stateless | @WebService(wsdlLocation="META-INF/wsdl/CarWS.wsdl") | @SOAPBinding(style = SOAPBinding.Style.DOCUMENT) | public class CarWS extends WSBean { | | | @WebMethod | public CarType getCar(){ | CarType car = new CarType(); | car.setColor(CarColor.RED); | return car; | } | | @WebMethod | public void setCar(CarType car){ | System.out.println("carcolor = " + car.getColor()); | } | } and the two element type implementations: | @XmlAccessorType(AccessType.FIELD) | @XmlType(name = "CarType", propOrder = { | "color" | }) | public class CarType { | | @XmlElement(name = "color") | protected CarColor color; | | | public CarColor getColor() { | return color; | } | | public void setColor(CarColor color) { | this.color = color; | } | } | | public class CarColor implements java.io.Serializable { | private java.lang.String _value_; | | private static HashMap _table_ = new HashMap(); | | public static final java.lang.String _RED = "red"; | public static final java.lang.String _GREEN = "green"; | | public static final CarColor RED = new CarColor(_RED); | public static final CarColor GREEN = new CarColor(_GREEN); | | | public CarColor(){} | | // Constructor | protected CarColor(java.lang.String value) { | _value_ = value; | _table_.put(_value_, this); | } | | public java.lang.String getValue() { | return _value_; | } | | public static CarColor fromValue(java.lang.String value) throws java.lang.IllegalArgumentException { | CarColor enumeration = (CarColor) _table_.get(value); | if (enumeration == null) | throw new java.lang.IllegalArgumentException(); | return enumeration; | } | | public static CarColor 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_); | } | } Can any of you see what I'm doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000490#4000490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000490 From do-not-reply at jboss.com Thu Jan 11 11:52:06 2007 From: do-not-reply at jboss.com (ericdeshayes) Date: Thu, 11 Jan 2007 11:52:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws: wsdl-java and databing Message-ID: <2427477.1168534326125.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have a couple of XML shemas and some WSDL files that reference these XSD. I have some process that marshall/unmarshall the XML files based on the schemas for some batch process. I would like to reuse some code with the service implementation for the shared objects between the batch processes and the web service processes. Is there a way to do that? As far as I know, JBoss hides the XML unmarshalling/marshalling when a web method is called. Would there be an easy way to have as a method input/output some object defined in an XML schema and for which the marshalling /unmarshalling is handled by any databinding library (castor, jaxb, etc...)? Regards, Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000538#4000538 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000538 From do-not-reply at jboss.com Thu Jan 11 12:07:15 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 11 Jan 2007 12:07:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL Question Message-ID: <30285553.1168535235318.JavaMail.jboss@colo-br-02.atl.jboss.com> Please create a jira issue and attach the sample deployment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000542#4000542 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000542 From do-not-reply at jboss.com Thu Jan 11 12:08:55 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 11 Jan 2007 12:08:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate XML Schema for document Message-ID: <17720881.1168535335682.JavaMail.jboss@colo-br-02.atl.jboss.com> The schema is inlined in the wsdl. If you need an extra file, you can create a feature request in jira. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000544#4000544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000544 From do-not-reply at jboss.com Thu Jan 11 12:10:24 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 11 Jan 2007 12:10:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Failed to set value - argument type mismatch Message-ID: <8628276.1168535424272.JavaMail.jboss@colo-br-02.atl.jboss.com> This should be fixed in 1.2.0.CR2 http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQBuildAndInstall View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000545#4000545 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000545 From do-not-reply at jboss.com Thu Jan 11 12:19:43 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 11 Jan 2007 12:19:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws: wsdl-java and databing Message-ID: <23372902.1168535983843.JavaMail.jboss@colo-br-02.atl.jboss.com> In JAXWS you can use JAXB to go between XML/Java. JBossWS does not support custom serializers/deserializers. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000549#4000549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000549 From do-not-reply at jboss.com Thu Jan 11 14:18:29 2007 From: do-not-reply at jboss.com (opepin) Date: Thu, 11 Jan 2007 14:18:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: in required but not legal? Message-ID: <10933021.1168543109105.JavaMail.jboss@colo-br-02.atl.jboss.com> Did you managed to solve your issue? I'm trying to consume a webservice from an EJB3. (jboss 4.0.5 + EJB3) Cheers, Olivier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000579#4000579 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000579 From do-not-reply at jboss.com Thu Jan 11 14:29:27 2007 From: do-not-reply at jboss.com (jd_cowan) Date: Thu, 11 Jan 2007 14:29:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL Question Message-ID: <13494776.1168543767471.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks Thomas. I have determined that this happens when you include an Object type as either a parameter or a return type for a web method: ex. @webmethod public Object GetObject( Object obj ); Then the wsdl provides a schema for the entire construct of the java.lang.Object type and all of the nested attributes as well. I don't know if this is correct behavior as it seems that the "anytype" element should be used instead. I am a relative SOAP novice though. I will still post it to JIRA though: http://jira.jboss.com/jira/browse/JBWS-1446 Thanks again, jay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000584#4000584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000584 From do-not-reply at jboss.com Thu Jan 11 15:07:03 2007 From: do-not-reply at jboss.com (tejasjani) Date: Thu, 11 Jan 2007 15:07:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - schema validation for xml Message-ID: <33297538.1168546023620.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to find out if incoming xml document for a doc/literal service is going to be validated at runtime against the schema specified in the wsdl file. I am using JBossWS 1.0.4 with JBoss 4.0.5GA. If not then how does one perform this validation. thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000597#4000597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000597 From do-not-reply at jboss.com Thu Jan 11 23:48:35 2007 From: do-not-reply at jboss.com (hugin78) Date: Thu, 11 Jan 2007 23:48:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Failed to set value - argument type mismatch Message-ID: <32605061.1168577315914.JavaMail.jboss@colo-br-02.atl.jboss.com> Thank you very much Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000696#4000696 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000696 From do-not-reply at jboss.com Fri Jan 12 02:01:04 2007 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Fri, 12 Jan 2007 02:01:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: schema validation for xml Message-ID: <21546276.1168585264343.JavaMail.jboss@colo-br-02.atl.jboss.com> Yes it is validated, but it is not as thoroughly validated as an offline schema validation tool. This is mainly because of the large performance overhead that is introduced. Currently we don't have an option to use a strict validator, although feel free to create a feature request for it. You could also implement this yourself using a handler that calls out to JAXP. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000720#4000720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000720 From do-not-reply at jboss.com Fri Jan 12 03:40:36 2007 From: do-not-reply at jboss.com (georgesberscheid) Date: Fri, 12 Jan 2007 03:40:36 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: in required but not legal? Message-ID: <14056018.1168591236279.JavaMail.jboss@colo-br-02.atl.jboss.com> Nope, I added the tags to the web.xml of a servlet that I added to my EAR application. The web-service will still be available through JNDI. That's the only work-around that I could find. Cheers, Georges View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000760#4000760 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000760 From do-not-reply at jboss.com Fri Jan 12 03:59:37 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 12 Jan 2007 03:59:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL Question Message-ID: <29987530.1168592377133.JavaMail.jboss@colo-br-02.atl.jboss.com> merci View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000786#4000786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000786 From do-not-reply at jboss.com Fri Jan 12 04:07:11 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 12 Jan 2007 04:07:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: in required but not legal? Message-ID: <1759873.1168592831076.JavaMail.jboss@colo-br-02.atl.jboss.com> Could you please do a little research on whether JAXRPC clients should be supported in ejb-jar.xml for EJB3? You can always use: | service = Service.create(wsdlURL, serviceQName) | port = service.getPort(MySEI.class); | You have the choice between a JAXRPC/JAXWS Service in jbossws-1.2..0.CR2. We recommed JAXWS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000793#4000793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000793 From do-not-reply at jboss.com Fri Jan 12 08:42:50 2007 From: do-not-reply at jboss.com (gofish88) Date: Fri, 12 Jan 2007 08:42:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Generate XML Schema for document Message-ID: <29246344.1168609370224.JavaMail.jboss@colo-br-02.atl.jboss.com> Thanks for your reply. A Jira feature request was created. http://jira.jboss.com/jira/browse/JBWS-1449 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000938#4000938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000938 From do-not-reply at jboss.com Fri Jan 12 09:33:08 2007 From: do-not-reply at jboss.com (pedro_sf18) Date: Fri, 12 Jan 2007 09:33:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problems with Jboss and Sun's 1.6 JDK Message-ID: <4301206.1168612388265.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! I'm using Jboss 4.0.4GA to deploy a SessionBean-based webservice. When I use 1.5 JDK to run JBoss there's no problem and the webservice and it's clients run smoothly, the problem arises when Jboss is started with Sun's 1.6 (6.0) JDK, then this exception is thrown every time a client tries to consume the service: 14:24:07,046 ERROR [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:65) at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:209) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:142) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:190) at org.jboss.ws.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:355) at org.jboss.ws.server.StandardEndpointServlet.doPost(StandardEndpointServlet.java:115) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.jboss.ws.server.StandardEndpointServlet.service(StandardEndpointServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(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) Seems to me that Jboss has some kind of incompatibility with sun's 1.6 implementation. Is this any known error? thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000956#4000956 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000956 From do-not-reply at jboss.com Fri Jan 12 10:00:00 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Fri, 12 Jan 2007 10:00:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK Message-ID: <30099340.1168614000083.JavaMail.jboss@colo-br-02.atl.jboss.com> Thats, because the jaxrpc API is part of the JDK. Make sure javax.xml.soap.SOAPMessage is pulled from jboss-jaxrpc.jar You can use system properties. The endorsed mechanism should work as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000978#4000978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000978 From do-not-reply at jboss.com Fri Jan 12 13:14:52 2007 From: do-not-reply at jboss.com (ericdeshayes) Date: Fri, 12 Jan 2007 13:14:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws-1.0.4GA with jbossas-1.0.3SP1 Message-ID: <25326419.1168625692312.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, we are going to upgrade jboss AS 1.0.3SP1 pretty soon. I would like to start developing and testing some web services. Is it possible to run jbossws-1.0.x on jboss AS 1.0.3SP1? Thanks in advance! Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001062#4001062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001062 From do-not-reply at jboss.com Fri Jan 12 16:17:03 2007 From: do-not-reply at jboss.com (dwin) Date: Fri, 12 Jan 2007 16:17:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Using JBossWS (JAXWS) and question about nillable web parame Message-ID: <15760509.1168636623364.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey guys I am exposing a stateless session bean as a webservice Is there a way to make a parameter nillable or non nillable via annotations, such that in the wsdl it comes out as a parameter is non-nillable. Although the following class is not valid because @WebParam annotation does not have a nillable feature. But is there a way to do the following? @stateless @Webservice public class foo{ @WebMethod public void bar (@WebParam (name="x", nillable = false)){ System.out.println ("x"); } } I was thinking of maybe predefining the wsdllocation of @WebService annotation to have the wsdl that has the parameter as nillable=false. What do you guys. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001113#4001113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001113 From do-not-reply at jboss.com Fri Jan 12 17:56:46 2007 From: do-not-reply at jboss.com (dwin) Date: Fri, 12 Jan 2007 17:56:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Using JBossWS (JAXWS) and question about nillable web pa Message-ID: <7991673.1168642606223.JavaMail.jboss@colo-br-02.atl.jboss.com> not sure why some of the text is missing but the code should be: @stateless @Webservice public class foo{ @WebMethod public void bar (@WebParam (name="x", nillable = false ) String x){ System.out.println ("x"); } } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001140#4001140 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001140 From do-not-reply at jboss.com Fri Jan 12 17:59:58 2007 From: do-not-reply at jboss.com (dwin) Date: Fri, 12 Jan 2007 17:59:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK Message-ID: <15022532.1168642798138.JavaMail.jboss@colo-br-02.atl.jboss.com> Thomas, with regards to changing out the jax-rpc.jar to use JBoss' implementation, would you say its safe to use 1.6 to run the latest JBoss 4.x AS and JBossWS (JAXWS)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001141#4001141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001141 From do-not-reply at jboss.com Sat Jan 13 22:03:21 2007 From: do-not-reply at jboss.com (michea) Date: Sat, 13 Jan 2007 22:03:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Help: how to consume webservice in ejb3 ? Message-ID: <30044797.1168743801079.JavaMail.jboss@colo-br-02.atl.jboss.com> For days know i try to consume a webservice in a stateless EJB3... with no success. I use jboss4.0.4 with EJB3 RC9 and develop with NetBeans5.5 and SOAPUI plugin In an ejb-module I have jaxws2 jsr-181 webservices in stateless EJB3 that should themselve consume webservices. I tried to use jaxws2 webservice clients created by netbeans but it seems that this is not supported in jboss4.0.4. I tried jbossws clients with no success (got exceptions unsolved in this forum) So i'm trying jaxrpc (this should work as I manage to consume the webservices when I create a client in a webapplication) Using jwsdp-2.0 wscompile I managed to create the SEI. I tried to put the interfaces in JNDI with a service-ref in ejb-jar, with no success (even when i put the service-ref in web.xml) so to obtain the service I use the method ServiceFactoryImpl.newInstance().createService(url,qname) I indeed get the service interface then the port but when I call the webmethod I obtain the following exeptions : - org.jboss.util.NotImplementedException: HTTP GET not supported (for jbossws bundled with jbosAS4.04) - java.io.IOException: Server returned HTTP response code: 405 (for jbossws 1.0.3) and with jbossws1.0.4 I cannot deploy one of the application containing the jaxws2.0 webservices I want to consume... I'm totally lost (I tried to bundle JAXRPC1.6 with the appli, then JAXWS2.0, I even tried to migrate my application in a war, but got other problems). I would be grateful if someone has an idea (I use no proxy, everything is on the same jboss instance) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001446#4001446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001446 From do-not-reply at jboss.com Sat Jan 13 22:11:40 2007 From: do-not-reply at jboss.com (michea) Date: Sat, 13 Jan 2007 22:11:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: in required but not legal? Message-ID: <16396746.1168744300210.JavaMail.jboss@colo-br-02.atl.jboss.com> "thomas.diesler at jboss.com" wrote : | You can always use: | | | service = Service.create(wsdlURL, serviceQName) | | port = service.getPort(MySEI.class); | | | Using this in a stateless EJB3, where should we put the jaxrpc mapping file ? anonymous wrote : | You have the choice between a JAXRPC/JAXWS Service in jbossws-1.2..0.CR2. We recommed JAXWS Is is compatible with jboss4.0.4 ? Is there a binary version somewhere and is it considered stable ? thanks, Sebastien View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001448#4001448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001448 From do-not-reply at jboss.com Sat Jan 13 23:05:51 2007 From: do-not-reply at jboss.com (dwin) Date: Sat, 13 Jan 2007 23:05:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - EJB3 and JBossWS (JAXWS), is WSgen even needed for bottom to Message-ID: <32900360.1168747551761.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey guys I relatively new to web services I am deploying a stateless session bean (EJB 3.0) on JBoss 4.0.5 with JBossWS 1.2 (JAXWS). Bottom to top development. I use the @WebService and @webmethod annotation on my EJB with no real config files (other than the application.xml). I deploy the EJB in a jar which is inside an EAR. I've read some JAXWS (from Sun) and it seems that they use wsgen to generate the WSDL and request/response classes. However, I could deploy the EJB on Jboss with JBossWS 1.2 without doing the wsgen. The WSDL appears without me even generating it and the web service seems to work fine. Basically, to deploy a webservice in the new JAXWS...all I really needed was to mark an EJB with @webservice annotation. No WSDL generation. No need for the response, request classes. I am not sure what goes on internally (run time generation of the handlers and WSDL). >From reading the developer forums, there is work for wsimport but no mention of wsgen. Basically, to do a bottom to top with EJB3.0 and the @webservice annotation...there is no need for wsgen? However, sun's tutorial for jaxws requires an invocation of wsgen to generate the wsdl and handler classes ( found here: http://www.netbeans.org/kb/50/jaxws20.html) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001460#4001460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001460 From do-not-reply at jboss.com Sat Jan 13 23:18:30 2007 From: do-not-reply at jboss.com (michea) Date: Sat, 13 Jan 2007 23:18:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <724254.1168748310364.JavaMail.jboss@colo-br-02.atl.jboss.com> Also when I use JNDI to get the service (adding fake a client application with service-ref), I manage to get the port but obtain the exception : | ERROR [CallImpl] Call invocation failed with unkown Exception | javax.xml.soap.SOAPException: Could not transmit message | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:204) | | ... | | org.jboss.remoting.CannotConnectException: Can not connect http client invoker. | | ... | | java.lang.IllegalArgumentException: protocol = http host = null | at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:146) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001461#4001461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001461 From do-not-reply at jboss.com Sun Jan 14 06:55:34 2007 From: do-not-reply at jboss.com (michea) Date: Sun, 14 Jan 2007 06:55:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <15371003.1168775735002.JavaMail.jboss@colo-br-02.atl.jboss.com> Finally I tried to install jbossws1.2.0 and use a NB generated jaxws2.0 client and I get the same error : | 06:50:14,060 ERROR [STDERR] org.jboss.remoting.CannotConnectException: Can not connect http client invoker. | 06:50:14,060 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:201) | ... | 06:50:19,561 ERROR [STDERR] Caused by: java.lang.IllegalArgumentException: protocol = http host = null | 06:50:19,561 ERROR [STDERR] at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:146 | seems like kind of a proxy error... but I have no proxy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001492#4001492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001492 From do-not-reply at jboss.com Sun Jan 14 18:11:39 2007 From: do-not-reply at jboss.com (dwin) Date: Sun, 14 Jan 2007 18:11:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <3380293.1168816299944.JavaMail.jboss@colo-br-02.atl.jboss.com> hey Michae Perhaps, you could try to @WebServiceRef annotation. Also, you could post the code too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001596#4001596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001596 From do-not-reply at jboss.com Sun Jan 14 18:16:14 2007 From: do-not-reply at jboss.com (dwin) Date: Sun, 14 Jan 2007 18:16:14 -0500 (EST) Subject: [jbossws-users] [JBossWS] - When is the expected binary release of JBossWS 1.2? And wil Message-ID: <24402881.1168816574738.JavaMail.jboss@colo-br-02.atl.jboss.com> When is the expected binary release of JBossWS 1.2? And will it be compatible with all versions of JBoss 4.0.x? I am not too familiar with the version naming scheme of JBoss, I recognize that the current version of JBossWS 1.2 is CR2. Does this mean its almost ready for release? any information would be much apperciated. I ask this because our group definitely want to leverage JAX WS with EJB 3.0. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001597#4001597 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001597 From do-not-reply at jboss.com Sun Jan 14 22:26:56 2007 From: do-not-reply at jboss.com (dwin) Date: Sun, 14 Jan 2007 22:26:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <14317087.1168831616330.JavaMail.jboss@colo-br-02.atl.jboss.com> I made a mistake, I actually meant ties and stubs as opposed to request /response classes...but you guys get the idea :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001637#4001637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001637 From do-not-reply at jboss.com Sun Jan 14 22:48:03 2007 From: do-not-reply at jboss.com (dwin) Date: Sun, 14 Jan 2007 22:48:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <32042778.1168832883335.JavaMail.jboss@colo-br-02.atl.jboss.com> mistake again, ties are actually the response/request classes. Client side still may need the stubs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001640#4001640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001640 From do-not-reply at jboss.com Mon Jan 15 02:45:16 2007 From: do-not-reply at jboss.com (pedro_sf18) Date: Mon, 15 Jan 2007 02:45:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK Message-ID: <19690181.1168847116673.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello! Thanks for your fast answer, but i'm already using the endorsed mechanism and I'm notifying the virtual machine where jboss' endorsed jars are: java -Djava.endorsed.dirs=C:\...\jboss-4.0.5.GA\lib\endorsed -Djavax.xml.rpc.ServiceFactory=org.jboss.ws.jaxrpc.ServiceFactoryImpl -cp build;lib\jboss-saaj.jar;lib\jboss-backport-concurrent.jar;lib\jboss-xml-binding.jar;lib\jbossretro-rt.jar;lib\activation.jar;lib\concurrent.jar;lib\wsdl4j.jar;lib\jboss-jaxrpc.jar;lib\jbossws14-client.jar;lib\jboss-common-client.jar;... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001680#4001680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001680 From do-not-reply at jboss.com Mon Jan 15 05:27:56 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 15 Jan 2007 05:27:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <17760290.1168856876432.JavaMail.jboss@colo-br-02.atl.jboss.com> The code first approach leverages our own tools codebase internally that does all the magic. However it's not yet ready to do WSDL first. In this case we still point the people to wsimport. Does this answer your question? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001717#4001717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001717 From do-not-reply at jboss.com Mon Jan 15 05:30:09 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Mon, 15 Jan 2007 05:30:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: When is the expected binary release of JBossWS 1.2? And Message-ID: <31808636.1168857009838.JavaMail.jboss@colo-br-02.atl.jboss.com> CR stands for "Candidate release". Yes "almost ready for release". JBossWS 1.2 will be compatible with 4.0.5, but not any prior version. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001720#4001720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001720 From do-not-reply at jboss.com Mon Jan 15 06:41:16 2007 From: do-not-reply at jboss.com (rkpathak) Date: Mon, 15 Jan 2007 06:41:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JSR 181-document style-DII not working Message-ID: <4527210.1168861276462.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi I had exactly same problem, although with Jboss-4.0.5 GA version. It seems Jboss -Jars issue. I simply pointed the client JARs to Jboss-4.0.2 and everything works fine. Hope this helps. Ram Pathak View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001737#4001737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001737 From do-not-reply at jboss.com Mon Jan 15 09:06:10 2007 From: do-not-reply at jboss.com (tallesbrito) Date: Mon, 15 Jan 2007 09:06:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.lang.NoSuchMethodError: javax.jws.WebService.portNa Message-ID: <25609129.1168869970018.JavaMail.jboss@colo-br-02.atl.jboss.com> JB 3.0 Preview RC9 only works with JBoss 4.0.4.GA. An ANT build script has been supplied to patch an existing JBoss 4.0.4.GA distribution. * download ANT from apache.org if you don't have it already * set a JBOSS_HOME environment variable to point to the directory JBoss is installed in $ cd jboss-EJB-3.0_RC9-FD $ ant -f install.xml -Djboss.server.config=[server directory you want to patch] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001791#4001791 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001791 From do-not-reply at jboss.com Mon Jan 15 10:03:26 2007 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Mon, 15 Jan 2007 10:03:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS 1.2.0CR2 with JEMS 1.2 (and JBoss 4.0.5) fails Message-ID: <14360267.1168873406428.JavaMail.jboss@colo-br-02.atl.jboss.com> I upgraded JEMS 1.2 (and therefore JBoss 4.0.5) to use JBossWS 1.2.0CR2 and JBossXB1.0.0CR8. 1) wsdl4j.jar was missing in server/default/deploy/jbossws.sar. I copied it from the client directory 2) When invoking a web service I get the following stack trace. Any hint is appreciated!2007-01-15 15:56:04,284 INFO [org.jboss.system.server.Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 1m:25s:593ms | 2007-01-15 15:56:24,884 DEBUG [org.jboss.ws.core.server.AbstractServiceEndpointServlet] doPost: /hska/KundenverwaltungService | 2007-01-15 15:56:24,904 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 158fd70 (Thread http-0.0.0.0-8080-1) | 2007-01-15 15:56:24,904 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] BEGIN handleRequest: jboss.ws:context=hska/KundenverwaltungService,endpoint=KundenverwaltungService | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [authorization=Basic MjoycGFzc3dvcmQ=] | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [soapaction=] | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-type=text/xml; charset="utf-8"] | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [accept=text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2] | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [user-agent=Java/1.5.0_10] | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [host=localhost:8080] | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [connection=keep-alive] | 2007-01-15 15:56:24,914 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] [content-length=207] | 2007-01-15 15:56:24,954 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=text/xml; charset=utf-8] | 2007-01-15 15:56:24,954 TRACE [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage | 71 | 2007-01-15 15:56:24,994 DEBUG [javax.xml.soap.SOAPFactory] Cannot load factory: org.jboss.axis.soap.SOAPFactoryImpl | 2007-01-15 15:56:24,994 DEBUG [org.jboss.ws.metadata.umdm.EndpointMetaData] Configure SOAPBinding | 2007-01-15 15:56:25,004 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception | javax.xml.soap.SOAPException: Cannot find SOAPFactory implementation | at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:96) | at org.jboss.ws.core.soap.SOAPFactoryImpl.createElement(SOAPFactoryImpl.java:113) | at org.jboss.ws.core.soap.SAAJPayloadBuilderDOM.build(SAAJPayloadBuilderDOM.java:86) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:254) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:171) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:184) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2007-01-15 15:56:25,014 DEBUG [javax.xml.soap.MessageFactory] Cannot load factory: org.jboss.axis.soap.MessageFactoryImpl | 2007-01-15 15:56:25,014 ERROR [org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] Error creating SOAPFault message | javax.xml.soap.SOAPException: Cannot find MessageFactory implementation | at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:111) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:230) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:160) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:101) | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:515) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:220) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2007-01-15 15:56:25,014 DEBUG [org.jboss.ws.core.server.ServiceEndpoint] END handleRequest: jboss.ws:context=hska/KundenverwaltungService,endpoint=KundenverwaltungService | 2007-01-15 15:56:25,024 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] popMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 158fd70 (Thread http-0.0.0.0-8080-1) | 2007-01-15 15:56:25,024 ERROR [org.jboss.ws.core.server.AbstractServiceEndpointServlet] Error processing web service request | javax.xml.ws.WebServiceException: Cannot create SOAPFault message for: javax.xml.soap.SOAPException: Cannot find SOAPFactory implementation | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:168) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:101) | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:515) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:220) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2007-01-15 15:56:25,034 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/hska/KundenverwaltungService].[KundenverwaltungService]] Servlet.service() for servlet KundenverwaltungService threw exception | javax.xml.ws.WebServiceException: Cannot create SOAPFault message for: javax.xml.soap.SOAPException: Cannot find SOAPFactory implementation | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:168) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:101) | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:515) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:220) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(ServiceEndpointManager.java:383) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(AbstractServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(AbstractServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | 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) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001810#4001810 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001810 From do-not-reply at jboss.com Mon Jan 15 10:10:00 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 15 Jan 2007 10:10:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: getMessageContext -> NOT IMPLEMENTED Message-ID: <32595957.1168873801009.JavaMail.jboss@colo-br-02.atl.jboss.com> http://jira.jboss.com/jira/browse/JBWS-1443 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001811#4001811 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001811 From do-not-reply at jboss.com Mon Jan 15 10:17:16 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 15 Jan 2007 10:17:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws-1.0.4GA with jbossas-1.0.3SP1 Message-ID: <25245657.1168874236682.JavaMail.jboss@colo-br-02.atl.jboss.com> jboss AS 1.0.3SP1 does not exist View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001812#4001812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001812 From do-not-reply at jboss.com Mon Jan 15 10:24:43 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 15 Jan 2007 10:24:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK Message-ID: <27233543.1168874683360.JavaMail.jboss@colo-br-02.atl.jboss.com> I have not tried jdk1.6 with jbossws. I know however that there are several issues with running jbossas with jdk1.6 Make sure jboss-jaxrpc.jar actually is in lib/endorsed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001817#4001817 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001817 From do-not-reply at jboss.com Mon Jan 15 10:32:24 2007 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Mon, 15 Jan 2007 10:32:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: When is the expected binary release of JBossWS 1.2? And Message-ID: <27056994.1168875144979.JavaMail.jboss@colo-br-02.atl.jboss.com> The road map tells you the expected release date + status http://jira.jboss.com/jira/browse/JBWS?report=com.atlassian.jira.plugin.system.project:roadmap-panel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001821#4001821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001821 From do-not-reply at jboss.com Mon Jan 15 11:27:58 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 15 Jan 2007 11:27:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <27384748.1168878478894.JavaMail.jboss@colo-br-02.atl.jboss.com> hey Heiko thanks for the info. Yes it does answer my question! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001837#4001837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001837 From do-not-reply at jboss.com Mon Jan 15 11:28:43 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 15 Jan 2007 11:28:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <14821327.1168878523658.JavaMail.jboss@colo-br-02.atl.jboss.com> please clarify for me, this "magic" that happens behind the scene is specific to JBossWS 1.2 or to any implementation of JAX-WS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001838#4001838 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001838 From do-not-reply at jboss.com Mon Jan 15 14:01:33 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 15 Jan 2007 14:01:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Enforcing a WSDL without doing WSDL first development (top t Message-ID: <8357740.1168887693335.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey guys Some aspects of the WSDL can be enforced via annotations such as webParam and @WebService but some things cannot be enforced via annotations such as adding non-nillable arguments to specific web parameters. Is it possible to modify the generated WSDL (at runtime) and use @WebService (wsdlLocation="xxx/xxx.wsdl) as long as the java code and WSDL do not contradict each other? I guess what would be helpful is to know if JBossWS checks (compiles) WSDL against the Java class at runtime or if JBossWS generates a WSDL every time when an wsimport is not done? thanks for any information View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001875#4001875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001875 From do-not-reply at jboss.com Mon Jan 15 14:37:31 2007 From: do-not-reply at jboss.com (michea) Date: Mon, 15 Jan 2007 14:37:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help: how to consume webservice in ejb3 ? Message-ID: <23231263.1168889851954.JavaMail.jboss@colo-br-02.atl.jboss.com> this annotation seems to be available in the next release of EJB3 only (http://jira.jboss.com/jira/browse/EJBTHREE-477) Is there a working example somewhere of a stateless EJB3 calling a webservice ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001888#4001888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001888 From do-not-reply at jboss.com Mon Jan 15 16:37:48 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 15 Jan 2007 16:37:48 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enforcing a WSDL without doing WSDL first development (t Message-ID: <4369437.1168897068051.JavaMail.jboss@colo-br-02.atl.jboss.com> Also, this maybe a very trivial question to some but I am kinda lost Is there a place in an ejb jar or ear to store the WSDL file so that the annotation @Webservice(wsdlLocation="") such that I can place it so that it doesn't need an absolute URL. For example, if I could make a folder called wsdl in the ear or jar file so that the ejb with @WebService(wsdlLocation="myWsdl.wsdl"). wsdLocation="http://myurl../myApp/" works but I want to make it so that the ejb finds the wsdl without knowing the full url. Is this possible? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001944#4001944 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001944 From do-not-reply at jboss.com Mon Jan 15 17:22:47 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 15 Jan 2007 17:22:47 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enforcing a WSDL without doing WSDL first development (t Message-ID: <12268935.1168899767421.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, just found a way... you put the wsdl in the META-INF folder which is the root, so if you have a file META-INF/wsdl/myWSDL.wsdl your annotation would look like such @WebService (wsdlLocation='META-INF/wsdl/myWSDL.wsdl") However, it seems that the changes I made to META-INF/wsdl/myWSDL.wsdl do not make it to the http://myurl.../myapp?wsdl. Thus, the wsdlLocation the actual wsdl document that is used by JBossWS. It appears that the WSDL is generated (at runtime) regardless of whether wsdlLocation is present or not. can the JBoss guys clarify this for me? Basically, wsdlLocation is the not the wsdl used, that the WSDL is generated regardless of whether wsdlLocation is there or not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001972#4001972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001972 From do-not-reply at jboss.com Mon Jan 15 17:27:00 2007 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Mon, 15 Jan 2007 17:27:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <6706746.1168900020055.JavaMail.jboss@colo-br-02.atl.jboss.com> "mnsharif" wrote : 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 With document literal, all parts must be referenced using element= and not type=. This of course requires that you create an element definition with a type of xsd:string. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4001974#4001974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4001974 From do-not-reply at jboss.com Mon Jan 15 18:50:34 2007 From: do-not-reply at jboss.com (aschmidt1978) Date: Mon, 15 Jan 2007 18:50:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - SchemaTypeCreator.introspectJavaProperties Exception w/ POJO Message-ID: <17593159.1168905034177.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I've created a simple POJO web service which has a method that returns a generated data type from an XML schema (using xjc). On deploying the web application that contains the service, I get the following exception: java.lang.NullPointerException | at org.jboss.ws.tools.schema.SchemaTypeCreator.introspectJavaProperties(SchemaTypeCreator.java:578) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:332) | 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) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:332) | 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) | at org.jboss.ws.tools.schema.SchemaTypeCreator.generateNewType(SchemaTypeCreator.java:332) | 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.JavaToXSD.generateForSingleType(JavaToXSD.java:109) | at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:556) | at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:141) | at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:245) | at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:168) | at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:318) | at org.jboss.ws.deployment.JSR181MetaDataBuilder.processOrGenerateWSDL(JSR181MetaDataBuilder.java:289) | at org.jboss.ws.deployment.JSR181MetaDataBuilder.setupEndpointFromAnnotations(JSR181MetaDataBuilder.java:231) | at org.jboss.ws.deployment.JSR181MetaDataBuilderJSE.buildMetaData(JSR181MetaDataBuilderJSE.java:72) | at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:92) | 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 $Proxy105.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.GeneratedMethodAccessor103.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) Schema is as follows (classes generated with package com.example.message): | | | | | | | | | | | POJO Web service code is as follows: package com.example.service; | | import java.util.GregorianCalendar; | | import javax.jws.*; | import javax.xml.datatype.*; | import com.example.message.*; | | @WebService(name="Example", serviceName="ExampleService", targetNamespace="http://www.example.org/MessageService") | public class ExampleService implements ExampleServiceSEI { | | @WebMethod(operationName="EchoMessage") | public @WebResult(name="OutMessage") String echoMessage(@WebParam(name="InMessage") String message) { | return "Hello, " + message; | } | | @WebMethod(operationName="EchoComplexMessage") | public @WebResult(name="OutMessage") ComplexMessageType echoComplexMessage(@WebParam(name="InMessage") String message) { | ComplexMessageType result = new ObjectFactory().createComplexMessageType(); | result.setMessageContent("Hello, " + message); | try { | result.setServerTime(DatatypeFactory.newInstance().newXMLGregorianCalendar(new GregorianCalendar())); | } catch (DatatypeConfigurationException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | return result; | } | | } | This deployment was done on a clean install of jboss-4.0.5.GA from the jems-installer-1.2.0.GA installer package. Is there something I've missed, or is this feature slated for the next JBossWS release? If there's something that needs to be done re: configuration or updating software, what is it? Has anyone else experienced this problem? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002017#4002017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002017 From do-not-reply at jboss.com Mon Jan 15 19:17:04 2007 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Mon, 15 Jan 2007 19:17:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception while deploying a webservice with attachment ( Message-ID: <9317363.1168906624242.JavaMail.jboss@colo-br-02.atl.jboss.com> "jason.greene at jboss.com" wrote : "mnsharif" wrote : 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 | | With document literal, all parts must be referenced using element= and not type=. This of course requires that you create an element definition with a type of xsd:string. Nevermind, type should be allowed according to AP 1.0. I will look into the error further. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002030#4002030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002030 From do-not-reply at jboss.com Mon Jan 15 20:50:45 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 15 Jan 2007 20:50:45 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enforcing a WSDL without doing WSDL first development (t Message-ID: <29338525.1168912245474.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, correction...some ant scripts did not deploy right. enforcing the WSDL through wsdlLocation does work and it is used. You just have to ensure that the wsdl in wsdl location does not contradict the web service implementation. So if you want to add comments using xs:documentation, you can do so or want to use nillable=false (which by default if attribute it not present). I must say...web service development has never been easier! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002052#4002052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002052 From do-not-reply at jboss.com Tue Jan 16 03:18:11 2007 From: do-not-reply at jboss.com (pedro_sf18) Date: Tue, 16 Jan 2007 03:18:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Problems with Jboss and Sun's 1.6 JDK Message-ID: <7329463.1168935491419.JavaMail.jboss@colo-br-02.atl.jboss.com> OK, I wasn't including jboss' jax-rpc implementation as a jdk-endorsed jar (I thought Jboss' implementation should be compatible with Sun's included one). But unfortunately when I include jboss-jaxrpc.jar in the endorsed lib claims that org.jboss.logging.Logger is not found and when that class is included in classpath to fullfill the requirement a long list of messages are thrown (this only means that I'm loosing log, not funtionality), but the problem (the exception at webservice invocation) remains unsolved: Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1f934ad, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1d05c81, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 26d4f1, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 82701e, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 8fce95, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 143c8b3, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 6e70c7, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at a6aeed, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 126804e, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 64f6cd, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 47393f, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1ff7a1e, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 763f5d, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 186768e, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at d19bc8, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1e8a1f6, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1e152c5, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1319c, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 6025e7, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 15b0afd, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 2e7820, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 14c1103, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at f11404, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1592174, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at a352a5, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 704baa, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 77a7f9, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at c7b00c, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 5329c5, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1db699b, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 10f11b8, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 18f6235, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1c282a1, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 10e3293, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 11a64ed, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1c9a690, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 13ad085, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 4fce71, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 698403, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 15a0305, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 7c4c51, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 765a16, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 148bd3, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 12bb7e0, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 12d15a9, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 1238bd2, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at a761fe, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 4f80d6, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 193722c, cause: org/apache/log4j/LogManager Failed to initalize plugin: org.jboss.logging.Log4jLoggerPlugin at 12cc95d, cause: org/apache/log4j/LogManager Seems that JBoss is having serious issues with JDK 1.6, so going back to JDK 1.5 where all runs OK. I would offer my assistance to debug this issues if asked. I can provide several use cases that reproduce this kind of problems (all related to jbossws). Greets, Pedro View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002150#4002150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002150 From do-not-reply at jboss.com Tue Jan 16 05:14:35 2007 From: do-not-reply at jboss.com (Sanver) Date: Tue, 16 Jan 2007 05:14:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS tutorial Message-ID: <3126162.1168942475248.JavaMail.jboss@colo-br-02.atl.jboss.com> Will you finally release a userguide? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002212#4002212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002212 From do-not-reply at jboss.com Tue Jan 16 07:36:49 2007 From: do-not-reply at jboss.com (RomeuFigueira) Date: Tue, 16 Jan 2007 07:36:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS tutorial Message-ID: <28276077.1168951009565.JavaMail.jboss@colo-br-02.atl.jboss.com> "Sanver" wrote : Will you finally release a userguide? http://labs.jboss.com/portal/jbossws/user-guide/en/html/index.html It's been there for quite some time now. (Reference obtained through the wiki) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002249#4002249 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002249 From do-not-reply at jboss.com Tue Jan 16 16:30:05 2007 From: do-not-reply at jboss.com (Kevin.H.Turner) Date: Tue, 16 Jan 2007 16:30:05 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSDL-JAVA - How do you generate both server and client artif Message-ID: <12871973.1168983005271.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to find examples on how to generate server ties and client stubs from a WSDL file. I have been able to find examples on how to generate a WSDL from Java code using wstools but not on how to generate Java code from a WSDL file. Any help will be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002453#4002453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002453 From do-not-reply at jboss.com Wed Jan 17 06:12:49 2007 From: do-not-reply at jboss.com (Sanver) Date: Wed, 17 Jan 2007 06:12:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBossWS tutorial Message-ID: <32791209.1169032369044.JavaMail.jboss@colo-br-02.atl.jboss.com> thanks RomeuFigueira, i didn't notice it before.. I'll take a look at it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002710#4002710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002710 From do-not-reply at jboss.com Wed Jan 17 07:25:20 2007 From: do-not-reply at jboss.com (Doug.Palmer) Date: Wed, 17 Jan 2007 07:25:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws 1.0.4 kills my MBean Message-ID: <1427208.1169036720867.JavaMail.jboss@colo-br-02.atl.jboss.com> I guess something has changed that you weren't expecting to affect users. I have written a Deployer MBean that reads an xml file; builds a war file based on the xml file and then deploys the war file as a JSR109 web service. This MBean works with all previous versions of JBossWS from 1.0.0 to 1.0.3. Unfortunately, upgrading to JBossWS breaks the MBean. When my MBean has built the new war file it calls: | mainDeployer.deploy(new DeploymentInfo(warFile.toURL(), di, server)); | mainDeployer is inherited from org.jboss.deployment.SubDeployerSupport. warFile is a java.io.File created in the tempDeployDir (which is also inherited from org.jboss.deployment.SubDeployerSupport). di is the DeploymentInfo passed by the main deployer to my MBeans create method. server is the javax.management.MBeanServer inherited from org.jboss.system.ServiceMBeanSupport. In all previous versions of JBossWS this would result in the war file being deployed as a web service by the appropriate deployer. However, in 1.0.4, the main deployer hands the war to the tomcat deployer and skips the web service deployment. Does anyone know what has change to cause this problem? Is there a workaround that I can use? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002730#4002730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002730 From do-not-reply at jboss.com Wed Jan 17 08:01:49 2007 From: do-not-reply at jboss.com (Doug.Palmer) Date: Wed, 17 Jan 2007 08:01:49 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4 kills my MBean Message-ID: <19655139.1169038909874.JavaMail.jboss@colo-br-02.atl.jboss.com> Ignore my original diagnosis; the web service is removed when the start method fails. The problem appears to be the same as this http://jira.jboss.com/jira/browse/JBWS-1407?page=all. Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002744#4002744 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002744 From do-not-reply at jboss.com Wed Jan 17 08:04:46 2007 From: do-not-reply at jboss.com (Doug.Palmer) Date: Wed, 17 Jan 2007 08:04:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4 kills my MBean Message-ID: <18015548.1169039086149.JavaMail.jboss@colo-br-02.atl.jboss.com> "Doug.Palmer" wrote : Ignore my original diagnosis; the web service is removed when the start method fails. The problem appears to be the same as this http://jira.jboss.com/jira/browse/JBWS-1407?page=all. | | Regards | Doug No it isn't but it is similar but the "premature end of file" occurs in maindeployer.start(). Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002745#4002745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002745 From do-not-reply at jboss.com Wed Jan 17 08:58:16 2007 From: do-not-reply at jboss.com (Doug.Palmer) Date: Wed, 17 Jan 2007 08:58:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4 kills my MBean Message-ID: <10123858.1169042296938.JavaMail.jboss@colo-br-02.atl.jboss.com> Now I'm really confused. If I use any of the following mainDeployer.deploy(warFile.toString()); mainDeployer.deploy(warFile.toURL()); mainDeployer.deploy(warFile.toURL().toString()); then the war is deployed correctly but if I call mainDeployer.deploy(new DeploymentInfo(warFile.toURL(), di, server)) I get org.jboss.ws.metadata.wsdl.WSDLException: org.xml.sax.SAXParseException: Premature end of file. Does anyone know why this would happen? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002784#4002784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002784 From do-not-reply at jboss.com Wed Jan 17 09:06:07 2007 From: do-not-reply at jboss.com (Doug.Palmer) Date: Wed, 17 Jan 2007 09:06:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4 kills my MBean Message-ID: <27353607.1169042767134.JavaMail.jboss@colo-br-02.atl.jboss.com> Calling mainDeployer.deploy(new DeploymentInfo(warFile.toURL(), null, server)); also results in the war file being deployed correctly but I still get premature end of file errors if I nest the deployment and I need to nest the deployment. Do I need to set anything on the DeploymentInfo? Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002790#4002790 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002790 From do-not-reply at jboss.com Wed Jan 17 09:53:58 2007 From: do-not-reply at jboss.com (kc7bfi) Date: Wed, 17 Jan 2007 09:53:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - ClassLoader not available in meta data Message-ID: <30195456.1169045638598.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm trying to deploy a web service in JBoss 4.0.4GA. When I start up JBoss, I get the following error: org.jboss.ws.WSException: ClassLoader not available in meta data | at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:370) | at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:147) | at org.jboss.ws.server.ServiceEndpoint.start(ServiceEndpoint.java:106) | at org.jboss.ws.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:529) | at org.jboss.ws.deployment.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:144) | at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:104) | Any idea what the problem might be? I have deployed other web services with out any problem. Thanks in advance, David Robison View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002823#4002823 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002823 From do-not-reply at jboss.com Wed Jan 17 09:56:03 2007 From: do-not-reply at jboss.com (michea) Date: Wed, 17 Jan 2007 09:56:03 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL-JAVA - How do you generate both server and client a Message-ID: <19866970.1169045763756.JavaMail.jboss@colo-br-02.atl.jboss.com> If you want to consume a webservice in a webapp (having only the wsdl), this is extremely easy with Netbeans 5.5 : look here http://wiki.netbeans.org/wiki/view/JAXWSJBoss for the server side it is easier to first code the webservice using annotations in a stateless ejb, then generate the wsdl (same link) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002827#4002827 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002827 From do-not-reply at jboss.com Wed Jan 17 10:00:31 2007 From: do-not-reply at jboss.com (michea) Date: Wed, 17 Jan 2007 10:00:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WSDL-JAVA - How do you generate both server and client a Message-ID: <27777931.1169046031783.JavaMail.jboss@colo-br-02.atl.jboss.com> If you want to consume a webservice in a webapp (having only the wsdl), this is extremely easy with Netbeans 5.5 : look here http://wiki.netbeans.org/wiki/view/JAXWSJBoss for the server side it is easier to first code the webservice using annotations in a stateless ejb, then generate the wsdl (same link) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002833#4002833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002833 From do-not-reply at jboss.com Wed Jan 17 11:02:18 2007 From: do-not-reply at jboss.com (PhFery) Date: Wed, 17 Jan 2007 11:02:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Disable /jbossws/services page Message-ID: <31323299.1169049738208.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all! I'm a newbie in web services development and I'd like to know if I can disable the /jbossws/services page for a (obvious) security reason. I think to something like jmx-console that may be disabled. Thaks for you help ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002884#4002884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002884 From do-not-reply at jboss.com Wed Jan 17 12:12:32 2007 From: do-not-reply at jboss.com (ericdeshayes) Date: Wed, 17 Jan 2007 12:12:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - ws4ee invalid xml response Message-ID: <7973841.1169053952304.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have the very strange behaviour. I have created a web service from a WSDL. Here is the request sent by a .NET client: -- POST /referenceWS/ HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42) Content-Type: text/xml; charset=utf-8 SOAPAction: "" Host: kassia:17001 Content-Length: 387 Expect: 100-continue Currency -- And here is the response: -- HTTP/1.1 100 Continue HTTP/1.1 200 OK Server: Apache-Coyote/1.1 X-Powered-By: Servlet 2.4; JBoss-4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)/Tomcat-5.5 Content-Type: text/xml;charset=utf-8 Transfer-Encoding: chunked Date: Wed, 17 Jan 2007 17:06:56 GMT 1eb myId myName ok 0 -- What are these 1eb and 0 that are seen around the soap message?? Regards, Eric View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002940#4002940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002940 From do-not-reply at jboss.com Wed Jan 17 12:55:31 2007 From: do-not-reply at jboss.com (pguillot44) Date: Wed, 17 Jan 2007 12:55:31 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Pbs when consuming a Web Service with JBoss WS 1.0.3 and Message-ID: <29888081.1169056531132.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, After adding jboss-xml-binding.jar to the web-inf/lib directory of my app WAR, everything worked fine. Still, I don't understand why it used to work without this... Cheers, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002955#4002955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002955 From do-not-reply at jboss.com Wed Jan 17 13:47:50 2007 From: do-not-reply at jboss.com (Doug.Palmer) Date: Wed, 17 Jan 2007 13:47:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jbossws 1.0.4 kills my MBean Message-ID: <21033309.1169059670225.JavaMail.jboss@colo-br-02.atl.jboss.com> Ok, I've found a workaround. Possibly even a more appropriate solution. I now build the war in the MBean init() method (instead of in the create method) and call deployUrl() instead of mainDeployer.deploy(). This works with JBossWS 1.0.0 to JBossWS 1.0.4 on JBoss 4.0.4 and JBoss 4.0.5. Regards Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002976#4002976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002976 From do-not-reply at jboss.com Wed Jan 17 21:07:09 2007 From: do-not-reply at jboss.com (atulksh) Date: Wed, 17 Jan 2007 21:07:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - java.lang.ClassCastException: javax.naming.Reference while a Message-ID: <4920082.1169086029833.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am fresh to webservices under jboss. I have jboss4.0.4 with ejb3 and jdk 1.5 setup. I have downloaded the jboss web services 1.0.4 package and deployed it to the jboss instance. I then compiled the samples and was successful at it. I wanted to run the rpcstyle-client example (jaxrpc endpoint) and access the webservice using a standalone java client. I deployed the generated jaxrpc-samples-rpcstyle.war jaxrpc-samples-rpcstyle-client.jar and wrote a simple client as follows - import javax.naming.*; import java.util.*; import javax.xml.rpc.*; import javax.rmi.*; import org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialService; public class TestWSClient { public void testTrivialAccess() throws Exception { InitialContext iniCtx = getInitialContext(); Service service = (Service)iniCtx.lookup("java:comp/env/service/TrivialService"); TrivialService port = (TrivialService)service.getPort(TrivialService.class); String person = "Kermit"; String product = "Ferrari"; String status = port.purchase(person, product); System.out.println("Status: " + status); } protected InitialContext getInitialContext() throws NamingException { Properties env = new Properties(); env.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); env.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client:org.jboss.naming"); env.setProperty(Context.PROVIDER_URL, "jnp://localhost:1099"); env.setProperty("j2ee.clientName", "jbossws-client"); Properties p = System.getProperties(); p.put("com.sun.xml.namespace.QName.useCompatibleSerialVersionUID", "1.0"); System.setProperties(p); return new InitialContext(env); } public static void main(String[] args) { try { TestWSClient wsClient = new TestWSClient(); wsClient.testTrivialAccess(); } catch (Exception e) { e.printStackTrace(); } } } But on running the code I got the following exception java.lang.ClassCastException: javax.naming.Reference When I looked at the object returned by JNDI lookup it is of type org.jboss.ws.jaxrpc.ServiceReferenceable According to the documentation - http://labs.jboss.com/portal/jbossws/user-guide/en/html/clients.html this should work and return a Service refrence. What am I doing wrong? Your help is greatly appreciated. Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003126#4003126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003126 From do-not-reply at jboss.com Thu Jan 18 08:42:29 2007 From: do-not-reply at jboss.com (moensie) Date: Thu, 18 Jan 2007 08:42:29 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jbossws.sar in jbossws1.0.4.GA fails to deploy on jboss 4.0. Message-ID: <8247537.1169127749660.JavaMail.jboss@colo-br-02.atl.jboss.com> When I try to deploy the SAR (followed the instructions in the install.txt) I get the following error: 14:37:20,293 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 What can this be??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003301#4003301 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003301 From do-not-reply at jboss.com Thu Jan 18 09:13:00 2007 From: do-not-reply at jboss.com (kapil.singhal) Date: Thu, 18 Jan 2007 09:13:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools not generating Java for enum pattern Message-ID: <33331151.1169129580928.JavaMail.jboss@colo-br-02.atl.jboss.com> I am creating a Web Service using Java 1.5 and JBoss 4.0.5 GA. I want to use enumeration in my Web service but I am not able to pass it to the client-side. It is not visible in the generated WSDL also. It is not showing the values of the enum class in the wsdl file. Through JAX-RPC as suggested, we can get the values in RMI Client but not in the case of JBossWS for SOAP Client. Can you please provide some information if any support is available now for using enums in Java 1.5 ? Please suggest how to proceed. Regards, Kapil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003320#4003320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003320 From do-not-reply at jboss.com Thu Jan 18 15:22:07 2007 From: do-not-reply at jboss.com (atulksh) Date: Thu, 18 Jan 2007 15:22:07 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi Message-ID: <20527417.1169151727404.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have still not figured the problem. I tried to run all jboss-ws 1.0.4 samples which use a standard java client (JSE client) and use jndi to access a web-service deployed on the server - the samples are - samples/jaxrpc/rpcstyle samples/jaxrpc/jsr109pojo Both give the same exact response [junit] javax.naming.NamingException: Could not dereference object [Root exception is java.lang.ClassCastException: org.jboss.webservice.metadata.serviceref.ServiceRefMetaData] [junit] at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure (NamingContext.java:1150) [junit] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:70 5) [junit] at org.jboss.naming.client.java.javaURLContextFactory$EncContextProxy.invoke(javaURLContextFactory.java135) [junit] at $Proxy1.lookup(Unknown Source) [junit] at javax.naming.InitialContext.lookup(InitialContext.java:351) [junit] at org.jboss.test.ws.jaxrpc.samples.rpcstyle.TrivialServiceRpcTestCase.setUp(TrivialServiceRpcTestCase.java:64) [junit] at junit.framework.TestCase.runBare(TestCase.java:125) Can anybody help please? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003515#4003515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003515 From do-not-reply at jboss.com Thu Jan 18 18:49:24 2007 From: do-not-reply at jboss.com (atulksh) Date: Thu, 18 Jan 2007 18:49:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java.lang.ClassCastException: javax.naming.Reference whi Message-ID: <25214656.1169164164278.JavaMail.jboss@colo-br-02.atl.jboss.com> Finally found my answer. This is a simple classpath issue. The jse client that I am running needs the following classes in it's classpath (including the jar which contains the service interface on whom methods are to be called) jbossall-client.jar jbossws14-client.jar activation.jar xml-apis.jar xercesImpl.jar mail.jar jboss-backport-concurrent.jar jbossretro-rt.jar It is frustrating that it gives such a vague exception providing no clue as to what might be the issue. I got the clue from ExpertsExchange http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_21317023.html?qid=21317023 Thank you folks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003567#4003567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003567 From do-not-reply at jboss.com Thu Jan 18 20:31:58 2007 From: do-not-reply at jboss.com (tejasjani) Date: Thu, 18 Jan 2007 20:31:58 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Type class generation in JBoss WS 1.0.4 Message-ID: <22905852.1169170318328.JavaMail.jboss@colo-br-02.atl.jboss.com> I have a fairly complex wsdl and xsd from which I am trying to generate the webservice artifacts. I am trying to use wstools (via Soapui eclipse plug-in) to generate the JBossWS artifacts. I am seeing some strange behaviour which I had some questions about: (1) If I generate type classes using JAXB xjc compiler, from the XSD file, can I use these classes to map to xml elements in the schema ? If yes, how do I do that ? OR am I forced to use the type classes generated by wstools ? (2) Looks lke wstools also generates type classes as part of the artifact generation process. Am I forced to used these classes in the service implementation ? (3) If I were to try and use the JAXB generated classes instead of wstools generated classes, is it possible in 1.0.4 ? thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003585#4003585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003585 From do-not-reply at jboss.com Fri Jan 19 04:22:46 2007 From: do-not-reply at jboss.com (moensie) Date: Fri, 19 Jan 2007 04:22:46 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WS Eventing client - basics question Message-ID: <30092231.1169198566255.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I am currently trying to write a ws-eventing client application. It is a swing application that should be notified of updates that occur on my server (is this possible??). I followed the SysmonTestCase example and I am able to subscribe to events. I am wondering now how can I read the events???? I mean, ok, I subscribed to something. But I have to supply an endpoint when subscribing! What should this address be? And how do I receive events there???? Thanx Manu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003712#4003712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003712 From do-not-reply at jboss.com Fri Jan 19 10:46:56 2007 From: do-not-reply at jboss.com (mo_ctaylor) Date: Fri, 19 Jan 2007 10:46:56 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Enabling transport compression with JBossWS Message-ID: <21555673.1169221616283.JavaMail.jboss@colo-br-02.atl.jboss.com> Are there any plans for JBossWS to upgrade to Remoting 2.0.x and use the new feature http://jira.jboss.com/jira/browse/JBREM-425;jsessionid=506E94EEC425428E9D0B647DBCB56E7C so that clients can indicate that they accept compressed transport data and actually use the compression unmarshaller if data is received that is compressed? It would be nice if this was exposed to a configuration file. Also I'm not sure if it is possible for a J2SE web service client easily send its transport data as compressed, but if it is and can be made configurable that would be usesful too. Another reference is from the Remoting User forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=96233 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003872#4003872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003872 From do-not-reply at jboss.com Fri Jan 19 11:11:27 2007 From: do-not-reply at jboss.com (heiko.braun@jboss.com) Date: Fri, 19 Jan 2007 11:11:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: WS Eventing client - basics question Message-ID: <20875137.1169223087660.JavaMail.jboss@colo-br-02.atl.jboss.com> Eventing uses the remoting subsystem to send notifications. It should be possible to to trigger a, let's socket invocation by passing an according remoting URL within the EPR. In order to consume this on the client side, your swing app would need set up a corresponding server socket. See http://labs.jboss.com/portal/jbossremoting/docs/guide/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003893#4003893 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003893 From do-not-reply at jboss.com Fri Jan 19 12:51:50 2007 From: do-not-reply at jboss.com (JoeKiller) Date: Fri, 19 Jan 2007 12:51:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Help using Client Certificates with Web Services Message-ID: <16025484.1169229110322.JavaMail.jboss@colo-br-02.atl.jboss.com> We are using jboss-4.0.1sp1 along with AXIS web services. I have been successful in getting the jboss server to use its server certificate where if you connect via a web browser it prompts you with the certificate. The problem we are running into, I believe, is getting the web service to authenticate to the remote server using a client certificate. That is, if we connect to the remote server using our browser, we are prompted to select a Client Certificate to use, however we are unsure how to make our AXIS service actually send the certificate to the remote server. Any suggestions, questions, or comments are appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4003945#4003945 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4003945 From do-not-reply at jboss.com Fri Jan 19 15:15:02 2007 From: do-not-reply at jboss.com (hitman_in_wis) Date: Fri, 19 Jan 2007 15:15:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Help using Client Certificates with Web Services Message-ID: <29031148.1169237702571.JavaMail.jboss@colo-br-02.atl.jboss.com> Use this guide. I have extremely limited knowledge of Webservices and SSL, and I was able to get my java client talking to my WS thru SSL using it: http://java.sys-con.com/read/216388.htm The only confusing part of the guide is at the end where he instructs you to create your own SSLSocketFactory for Axis to use. He references Listing 5, but the code referenced is not a complete class. What I did was encapsulated the code in a new class: public class MySocketFactory extends JSSESocketFactory { | ... code from Listing 5 ... | } You will get one compile error on the line that says: factory = context.getSocketFactory(); Simply change 'factory' to sslFactory, which is inherited from JSSESocketFactory. Then, in order to have Axis use your new SSLSocketFactory, you simply need to set the system property: "axis.socketSecureFactory" to "com.****.MySocketFactory" Hope that helps! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004021#4004021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004021 From do-not-reply at jboss.com Fri Jan 19 16:06:37 2007 From: do-not-reply at jboss.com (jeffsbryan) Date: Fri, 19 Jan 2007 16:06:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: namespace for ComplexType from Java to WSDL Message-ID: <4056776.1169240797656.JavaMail.jboss@colo-br-02.atl.jboss.com> Any resolution to this issue? I'm having the same problem and the targetNamespace is defined in the WebService annotation. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004039#4004039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004039 From do-not-reply at jboss.com Sat Jan 20 16:18:34 2007 From: do-not-reply at jboss.com (wpower) Date: Sat, 20 Jan 2007 16:18:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - wstools Duplicate operation with name ... Message-ID: <26103408.1169327914477.JavaMail.jboss@colo-br-02.atl.jboss.com> Does anyone know if wstools can process a .wsdl file with overloaded operations? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004382#4004382 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004382 From do-not-reply at jboss.com Mon Jan 22 08:37:04 2007 From: do-not-reply at jboss.com (wahmed) Date: Mon, 22 Jan 2007 08:37:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - unable to run webservice as window service Message-ID: <3962500.1169473024741.JavaMail.jboss@colo-br-02.atl.jboss.com> i am using jboss.i am able to run the webservice from cmd.but when i am running the same code as windows service i am geeting the follwing exception org.apache.axis.ConfigurationException: org.apache.axis.deployment.wsdd.WSDDException: Must include type attribute for Handler deployment! org.apache.axis.deployment.wsdd.WSDDException: Must include type attribute for Handler deployment! at org.apache.axis.deployment.wsdd.WSDDHandler.(WSDDHandler.java:50) at org.apache.axis.deployment.wsdd.WSDDChain.(WSDDChain.java:66) at org.apache.axis.deployment.wsdd.WSDDRequestFlow.(WSDDRequestFlow.java:44) at org.apache.axis.deployment.wsdd.WSDDGlobalConfiguration.(WSDDGlobalConfiguration.java:62) at org.apache.axis.deployment.wsdd.WSDDDeployment.(WSDDDeployment.java:230) at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139) at org.apache.axis.deployment.wsdd.WSDDDocument.(WSDDDocument.java:65) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179) at org.apache.axis.AxisEngine.init(AxisEngine.java:172) at org.apache.axis.AxisEngine.(AxisEngine.java:156) at org.apache.axis.client.AxisClient.(AxisClient.java:52) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.(Service.java:144) at systemlookup.SystemLookupRemoteServiceLocator.(SystemLookupRemoteServiceLocator.java:17) 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 com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.RemoteUtils.createServiceOfType(RemoteUtils.java:182) at com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.RemoteUtils.getServiceOfType(RemoteUtils.java:98) at com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.RemoteStubProvider.getRemoteService(RemoteStubProvider.java:49) at com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.WebserviceClient.(WebserviceClient.java:40) at com.doubleclick.dart.ui.dfptool.wolf.wolfadcreation.WolfAdCreationAction.processWolfShow(WolfAdCreationAction.java:490) at com.doubleclick.dart.ui.dfptool.wolf.wolfadcreation.WolfAdCreationAction.perform(WolfAdCreationAction.java:99) at com.doubleclick.struts.action.Action.execute(Action.java:420) at com.doubleclick.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:485) at com.doubleclick.thinclient.action.ThinClientRequestProcessor.processActionPerform(ThinClientRequestProcessor.java:64) at com.doubleclick.struts.action.RequestProcessor.process(RequestProcessor.java:276) at com.doubleclick.struts.action.ActionServlet.process(ActionServlet.java:1485) at com.doubleclick.thinclient.action.ThinClientActionServlet.process(ThinClientActionServlet.java:928) at com.doubleclick.thinclient.action.ThinClientActionServlet.doPost(ThinClientActionServlet.java:265) 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 com.doubleclick.dart.ui.dfptool.filter.PreEntryFilter.doFilter(PreEntryFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.doubleclick.thinclient.filter.EntryFilter.doFilter(EntryFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) 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.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 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:856) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) 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(Unknown Source) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004812#4004812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004812 From do-not-reply at jboss.com Mon Jan 22 11:50:12 2007 From: do-not-reply at jboss.com (zhijun) Date: Mon, 22 Jan 2007 11:50:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: xml encription and signature in JBossWS Message-ID: <20603574.1169484612332.JavaMail.jboss@colo-br-02.atl.jboss.com> We have JBoss 4.0.5, which includes JBossWS. >From the following page http://labs.jboss.com/portal/jbossws/user-guide/en/html/wssecurity.html it looks like I should be able to do XML signing of Web Service requests. Is it true or do I need additional components to digitally sign my SOAP request? Thanks. "thomas.diesler at jboss.com" wrote : WS-Security is only available in HEAD, where Apache Axis does not enter the game. There is no backport to jboss-4.0.x, yet. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4004879#4004879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4004879 From do-not-reply at jboss.com Tue Jan 23 11:44:09 2007 From: do-not-reply at jboss.com (kc7bfi) Date: Tue, 23 Jan 2007 11:44:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Exception with JBoss-4.0.5-SP1 and JBossWS-1.0.3-SP1 but Message-ID: <9839126.1169570649993.JavaMail.jboss@colo-br-02.atl.jboss.com> Have you solved this problem? I'm having the same problem: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-windows-bmp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005389#4005389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005389 From do-not-reply at jboss.com Tue Jan 23 12:39:00 2007 From: do-not-reply at jboss.com (wpower) Date: Tue, 23 Jan 2007 12:39:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools Duplicate operation with name ... Message-ID: <32665381.1169573940778.JavaMail.jboss@colo-br-02.atl.jboss.com> I am getting the following error while trying to generate JbossWS artifacts from a .wsdl file. The .wsdl file is from an existing Axis based application, and I am trying to migrate it to JBoss. Does anyone know if the problem is with the .wsdl or wstools or the settings passed to wstools. Thanks. Running JBossWS wstools for [PSXAPI_r06_03] directory: C:\jboss-4.0.5.GA\bin command: cmd.exe /C wstools.bat -config C:\DOCUME~1\POWER~1.WIL\LOCALS~1\Temp\wstools-config18085.xml -dest C:\jide\Test\src =========================================================================" . WSTools Environment . JBOSS_HOME: C:\jboss-4.0.5.GA\bin\\.. . JAVA: C:\Program Files\Java\jdk1.5.0_09\\bin\java . JAVA_OPTS: . =========================================================================" . Exception in thread "main" java.lang.IllegalArgumentException: Duplicate operation with name=delete, found in portType '{http://www.testnet.com/test/intf}PSXAPI/r06_03SoapBinding'. at com.ibm.wsdl.BindingImpl.getBindingOperation(BindingImpl.java:224) at org.jboss.ws.metadata.wsdl.WSDL11Reader.messagePartToElementName(WSDL11Reader.java:652) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processOperationInput(WSDL11Reader.java:487) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortTypeOperations(WSDL11Reader.java:460) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPortType(WSDL11Reader.java:446) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processBinding(WSDL11Reader.java:728) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPort(WSDL11Reader.java:1071) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processPorts(WSDL11Reader.java:1054) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processServices(WSDL11Reader.java:1027) at org.jboss.ws.metadata.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:119) at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:145) at org.jboss.ws.tools.WSDLToJava.convertWSDL2Java(WSDLToJava.java:120) at org.jboss.ws.tools.helpers.ToolsHelper.handleWSDLToJavaGeneration(ToolsHelper.java:324) 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) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005416#4005416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005416 From do-not-reply at jboss.com Tue Jan 23 12:40:06 2007 From: do-not-reply at jboss.com (wpower) Date: Tue, 23 Jan 2007 12:40:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: wstools Duplicate operation with name ... Message-ID: <6750632.1169574006575.JavaMail.jboss@colo-br-02.atl.jboss.com> .wsdl file | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [/code] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005595#4005595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005595 From do-not-reply at jboss.com Wed Jan 24 01:14:42 2007 From: do-not-reply at jboss.com (dwin) Date: Wed, 24 Jan 2007 01:14:42 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Using JBossWS 1.2 (JAX-WS) and SOAP 1.2 Message-ID: <2360383.1169619282763.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey guys I was wondering how I could leverage SOAP 1.2 along with JBossWS 1.2? Does the annotation @BindingType for a SEI work? @BindingType (value=SOAPBinding.SOAP12HTTP) I am kinda lost as to how to map fault codes to specific java exceptions. any info would be much apperciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005640#4005640 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005640 From do-not-reply at jboss.com Wed Jan 24 01:46:51 2007 From: do-not-reply at jboss.com (umesh.dua) Date: Wed, 24 Jan 2007 01:46:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Way to tell wstools ant-task to not regenerate all wsdl arti Message-ID: <4216583.1169621211493.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am using jboss-wstools ant task to generate my wsdl file from the Endpoint. Following is the build.xml code, | | | | | | | wstools-config.xml looks like this, | | | | | | | | | My question is : Every time i run the wstools task, it re-generates wsdl file and all the artifacts AGAIN even if they already exist in the generated folder. Is there some way, I can indicate wstools to do the regeneration ONLY if it's needed. Thanks a lot. Hoping to get a quick answer :) p.s. : In XDoclet there is one property called "force" which lets you specify whether you want regeneration to be forced or not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005654#4005654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005654 From do-not-reply at jboss.com Wed Jan 24 05:07:00 2007 From: do-not-reply at jboss.com (DuocSu) Date: Wed, 24 Jan 2007 05:07:00 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problem with ServiceEndpointInterceptor Message-ID: <14126959.1169633220091.JavaMail.jboss@colo-br-02.atl.jboss.com> 7:56:14,210 INFO [ServiceEndpointManager] WebService started: http://pippin1:8180/ejb/WebServiceP2H 17:57:04,101 WARN [DeserializationContextImpl] Ignoring invalid namespace mapping: [prefix=,uri=] 17:57:04,117 WARN [DeserializationContextImpl] Ignoring invalid namespace mapping: [prefix=,uri=] 17:57:04,398 ERROR [LogInterceptor] RuntimeException in method: public abstract int com.p2h.application.webservice.WebServiceP2H.add(int,int) throws java.rmi.RemoteException: java.lang.NullPointerException at org.jboss.ws.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:69) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:954) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.webservice.server.InvokerProviderEJB.invokeServiceEndpoint(InvokerProviderEJB.java:144) at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:327) at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176) at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121) at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358) at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160) at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123) at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560) at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215) at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:104) at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) 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(Unknown Source) 17:57:04,554 ERROR [ServerEngine] Server error: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client faultSubcode: faultString: RuntimeException; nested exception is: java.lang.NullPointerException faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace: java.rmi.ServerException: RuntimeException; nested exception is: java.lang.NullPointerException at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:421) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:954) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) 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.webservice.server.InvokerProviderEJB.invokeServiceEndpoint(InvokerProviderEJB.java:144) at org.jboss.webservice.server.InvokerProvider.invokeMethod(InvokerProvider.java:327) at org.jboss.axis.providers.java.RPCProvider.invokeTarget(RPCProvider.java:176) at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121) at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358) at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73) at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160) at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123) at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560) at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215) at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:104) at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370) 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(Unknown Source) Caused by: java.lang.NullPointerException at org.jboss.ws.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:69) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) ... 45 more 17:57:04,554 INFO [AxisServlet] java.rmi.ServerException: RuntimeException; nested exception is: java.lang.NullPointerException View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005722#4005722 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005722 From do-not-reply at jboss.com Wed Jan 24 08:27:35 2007 From: do-not-reply at jboss.com (claudiosanchez) Date: Wed, 24 Jan 2007 08:27:35 -0500 (EST) Subject: [jbossws-users] [JBossWS] - wsdl url with http basic authentication Message-ID: <5095339.1169645255434.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I have the following ejb with webservice and security metadata. Now I have some security problems (http 401 error) when a try to access to wsdl from the client. Is there a way to access to wsdl from the client? or Is there a way to disable security to wsdl URL (disable security for GET)? EJB code: | @SecurityDomain("JBossWS") | @javax.jws.soap.SOAPBinding(style = javax.jws.soap.SOAPBinding.Style.RPC) | @javax.jws.WebService(name = "SampleService", serviceName = "SampleService") | @PortComponent(authMethod="BASIC", transportGuarantee="NONE") | @Stateless | @Remote(SampleService.class) | public class SampleServiceBean implements SampleService { | @javax.jws.WebMethod() | @RolesAllowed({"AdminUser"}) | public Long add(Long firstNumber, Long secondNumber) { | return firstNumber + secondNumber; | } | } | Client code: | URL url = new URL("http://localhost:8080/sample-ejb-session/SampleServiceBean?wsdl"); | QName qname = new QName("http://test.org/jaws", "SampleService"); | | ServiceFactory factory = ServiceFactory.newInstance(); | Service service = factory.createService(url, qname); | Thanks, Claudio. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005782#4005782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005782 From do-not-reply at jboss.com Wed Jan 24 09:45:19 2007 From: do-not-reply at jboss.com (bossy) Date: Wed, 24 Jan 2007 09:45:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Wrong incomming SOAP not intercepted Message-ID: <31126276.1169649919919.JavaMail.jboss@colo-br-02.atl.jboss.com> Could someone please tell me does JBoss enforce the restrictions put in the wsdl and how? I have WS that runs under JBoss. In my wsdl I put a restriction on one of the elements to make sure that it's always present in the request: I was expecting that in the unlikely event this element is missing from the request, this will be intercepted and an appropriate SOAP exception will be thrown, without me having to do anything. The debug shows, though, that that's not the case. The request is accepted and sent for processing, which of course fails, as there's missing information. Do I need to do additional validation or am I right to think that JBoss should enforce the restrictions itself? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005807#4005807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005807 From do-not-reply at jboss.com Wed Jan 24 10:49:13 2007 From: do-not-reply at jboss.com (bocio) Date: Wed, 24 Jan 2007 10:49:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jboss-web.xml : an indirection in someway keeps the doctor a Message-ID: <19441791.1169653753651.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi guys :-) I'm deploying some web services client and I'm using the beautiful feature of wsdl-override to match at deploy time the ws address. Is there a way to have another indirection level, So I can avoid to deploy my application unpacked? I have something like this: | | jbossws-client | | service/QFServices | http://26.2.243.190:8380/neo/services/HDServices?wsdl | | | | I would like to change the WS address whre I'm pointing to, without manually editing the jboss-web.xml and leaving my app packaged. I'm thinking something like using the property service? Sci-fi? or is it possible? :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005836#4005836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005836 From do-not-reply at jboss.com Wed Jan 24 11:27:30 2007 From: do-not-reply at jboss.com (stone_42) Date: Wed, 24 Jan 2007 11:27:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - HTTP Connection timeout in WS4EE stack Message-ID: <16606715.1169656050023.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm calling some web services with the ws4ee stack on jboss 4.0.3sp1. My problem is that those web service are relatively slow, and it happens relatively often that I run into a SocketTimeoutException after one minute. Is it possible to change the default socket timeout of 1 minute used by the ws4ee stack? Regards, Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005867#4005867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005867 From do-not-reply at jboss.com Thu Jan 25 02:31:39 2007 From: do-not-reply at jboss.com (WNero) Date: Thu, 25 Jan 2007 02:31:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - WSDL, WS-Policy, WS-MetadataExchange ??? Message-ID: <27023884.1169710299267.JavaMail.jboss@colo-br-02.atl.jboss.com> I'd like to know if JBOSS implements the following specifications: -WSDL -WS-Policy -WS-PolicyAttachement -WS-MetadataExchange -WS-Discovery -UDDI -WS-Trust -WS-SecureConversation -WS-Federation. and if it implements then where can I find information about what exactly is implemented? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006222#4006222 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006222 From do-not-reply at jboss.com Thu Jan 25 04:05:34 2007 From: do-not-reply at jboss.com (ntimesc) Date: Thu, 25 Jan 2007 04:05:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Want to Configure JWSDP 2.0 with JBoss 5.0.0.0.Beta 1 Message-ID: <1096321.1169715934140.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I want to configure JWSDP 2.0 with JBoss 5.0.0.Beta 1 to execute the examples for JWSDP 2.0. Thanks for the help...... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006251#4006251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006251 From do-not-reply at jboss.com Thu Jan 25 06:02:50 2007 From: do-not-reply at jboss.com (michele.curioni) Date: Thu, 25 Jan 2007 06:02:50 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI Message-ID: <20507541.1169722970462.JavaMail.jboss@colo-br-02.atl.jboss.com> Can someone tell me why this bug has been rejected? http://jira.jboss.com/jira/browse/JBWS-91 In the bug database it says that it's been fixed in jboss-ws4ee-4.0.2, but it also says that the resolution is "Won't Fix". I can confirm that it's still a problem in 4.0.2. I implemented the suggested JBoss solution, but I think it should not be necessary to add more information to jboss.xml, when all it's need is already in webservices.xml Regards, Michele View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006273#4006273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006273 From do-not-reply at jboss.com Thu Jan 25 07:17:13 2007 From: do-not-reply at jboss.com (cdreyer1) Date: Thu, 25 Jan 2007 07:17:13 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Suppressing SoapFault Stack trace Message-ID: <7881969.1169727433354.JavaMail.jboss@colo-br-02.atl.jboss.com> I agree. It is very disturbing to have stack traces in the JBoss AS console. In this case the exceptions are perfectly valid. Thomas Diesler, what about some way of turning this 'feature' off? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006314#4006314 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006314 From do-not-reply at jboss.com Thu Jan 25 15:14:43 2007 From: do-not-reply at jboss.com (dwin) Date: Thu, 25 Jan 2007 15:14:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - SOAP 1.2 support in JBossWS 1.2 (JAX-WS) Message-ID: <2780700.1169756083322.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey JBoss team just curious how I would enable SOAP 1.2 support for JBossWS I tried @BindingType(value=SOAPBinding.SOAP12HTTP_MTOM_BINDING) but it doesn't seem to do anything. In Glass fish, to enable SOAP is @BindingType(value="http://java.sun.com/xml/ns/jaxws/2003/05/soap/bindings/HTTP/") Glassfish uses its own constant as to the w3.org's url Does JBossWS support generation of SOAP 1.2 wsdl? If so, how can this be done? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006516#4006516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006516 From do-not-reply at jboss.com Thu Jan 25 16:29:25 2007 From: do-not-reply at jboss.com (sigitm) Date: Thu, 25 Jan 2007 16:29:25 -0500 (EST) Subject: [jbossws-users] [JBossWS] - lower timeout in accessing a web service Message-ID: <26012966.1169760565262.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm using this code to connect to a web service: URL url = new URL("http://www.mysite.org/WebService?wsdl"); | | QName qname = new QName("http://www.mysite.org/","WebService"); | | ServiceFactoryImpl factory = new ServiceFactoryImpl(); | Service service = factory.createService(url, qname); | | WebServiceEndpoint endpoint = (WebServiceEndpoint) service.getPort(WebServiceEndpoint.class); But if the web service is down, this client blocks for about 5 minutes waiting for the web service... till it gives the following exception: org.jboss.ws.metadata.wsdl.WSDLException: java.net.ConnectException: Connection timed out: connect Is there a way to decrease the connection timeout? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006544#4006544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006544 From do-not-reply at jboss.com Thu Jan 25 16:37:43 2007 From: do-not-reply at jboss.com (sigitm) Date: Thu, 25 Jan 2007 16:37:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - dinamically obtain web services url Message-ID: <7370792.1169761063105.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I'm writing a web service (deployed in different machines), and a client that connects to these machines and uses their web service. At the moment, the client obtains the web services WSDL url from a static text file. Is it possible for the client to obtain web services url dinamically? Is there a sort of registry (known by both client and WSs) where active WSs can register themselves, and the client can read the active WSs url? Or another way to obtain web services url dinamically? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006547#4006547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006547 From do-not-reply at jboss.com Thu Jan 25 17:01:54 2007 From: do-not-reply at jboss.com (dwin) Date: Thu, 25 Jan 2007 17:01:54 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: dinamically obtain web services url Message-ID: <23811738.1169762514348.JavaMail.jboss@colo-br-02.atl.jboss.com> yes, you can use a UDDI more info can be found here http://wiki.jboss.org/wiki/Wiki.jsp?page=UDDIExample View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006556#4006556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006556 From do-not-reply at jboss.com Thu Jan 25 17:04:19 2007 From: do-not-reply at jboss.com (dwin) Date: Thu, 25 Jan 2007 17:04:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS 1.2 JAX-WS generates two wsdls (imports wsdl) at run Message-ID: <1983406.1169762659855.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey JBoss team I was wondering what causes wsdls to be generated within each other. I am getting a wsdl that imports another wsdl. I would just like everything to be in a single wsdl. any info would be apperciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006559#4006559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006559 From do-not-reply at jboss.com Fri Jan 26 04:36:09 2007 From: do-not-reply at jboss.com (bk8133) Date: Fri, 26 Jan 2007 04:36:09 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <28370728.1169804169730.JavaMail.jboss@colo-br-02.atl.jboss.com> I'm facing the same issue here. It seems that wstools, jaxws implementation, axis are trying to get along aroung jsr181. Is there a standard way to declare web services in a war, which would be deployable to multiple app servers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006724#4006724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006724 From do-not-reply at jboss.com Fri Jan 26 10:43:11 2007 From: do-not-reply at jboss.com (luan) Date: Fri, 26 Jan 2007 10:43:11 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Jboss WS configuration on JBoss 4.0.5 - Security excepti Message-ID: <110173.1169826191134.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I also received the same error. After I unzip the jboss-4.0.5.GA.zip and jbossws-1.0.4.GA.zip, I followed the install.txt in jbossws-1.0.4 and did the following: 1.) Copy lib/jboss-jdk1.5/jbossws-client.jar to $JBOSS_HOME/client/ 2.) Unzip lib/jboss-jdk1.5/jbossws.sar to $JBOSS_HOME/server/default/deploy/ 3.) Manually replacing jboss-xml-binding.jar in the $JBOSS_HOME/client and $JBOSS_HOME/lib directories with the jar file I got from http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7 I have jdk 1.5 on my machine. I noticed that there is a jbossws14.sar under the deploy directory, does it have something to do with this problem? Any help is greatly appreciated since I want to use the new jboss soap stack. Thanks, Luan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006874#4006874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006874 From do-not-reply at jboss.com Fri Jan 26 11:58:40 2007 From: do-not-reply at jboss.com (Rikr2) Date: Fri, 26 Jan 2007 11:58:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Error consuption web service Message-ID: <19030518.1169830720753.JavaMail.jboss@colo-br-02.atl.jboss.com> Im traying to consume a web service and i get this error: AxisFault | faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException | faultSubcode: | faultString: org.xml.sax.SAXParseException: Premature end of file. | faultActor: | faultNode: | faultDetail: | {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException: Premature end of file. | at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) | at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) | at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) | at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) | at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(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 javax.xml.parsers.SAXParser.parse(SAXParser.java:375) | at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227) | at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) | at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) | at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) | at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) | at org.apache.axis.client.Call.invokeEngine(Call.java:2784) | at org.apache.axis.client.Call.invoke(Call.java:2767) | at org.apache.axis.client.Call.invoke(Call.java:2443) | at org.apache.axis.client.Call.invoke(Call.java:2366) | at org.apache.axis.client.Call.invoke(Call.java:1812) I'll appreciate any idea. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006906#4006906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006906 From do-not-reply at jboss.com Fri Jan 26 12:00:37 2007 From: do-not-reply at jboss.com (dwin) Date: Fri, 26 Jan 2007 12:00:37 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <21968776.1169830837010.JavaMail.jboss@colo-br-02.atl.jboss.com> hey BK, do you mean clustering of web services. Currently, web services can be exposed as stateless session beans. All you really need is the POJO class (with the @Webservice annotation) and the JBossWS service runtime will take care of the rest (including the generation of the WSDL and Tie classes). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006908#4006908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006908 From do-not-reply at jboss.com Fri Jan 26 14:27:52 2007 From: do-not-reply at jboss.com (deployer_man) Date: Fri, 26 Jan 2007 14:27:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - webservices in jboss 5.0 Message-ID: <4396315.1169839672308.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello I'm using jboss 4.0.5 in order to deploy webservices using anotations like @Webservice and @webmethod. When I deploy the aplication I get a webservice and a EJB3.0. But when I deploy the same code in Jboss 5.0.0 the webservices doesn't work. The endpoint haven?t been publicated. Somebody can tell what I?m doing wrong. Here an example of Webservice anonymous wrote : | package bean; | import java.util.ArrayList; | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebService; | | @Stateless | @WebService | public class j4Bean { | | @WebMethod | public ArrayList getInt(int num) | { | ArrayList list= new ArrayList(); | list.add("Hola"); | | return list; | } | } | Here is the interface anonymous wrote : | package bean; | | import java.util.ArrayList; | | import javax.ejb.Remote; | import javax.jws.WebMethod; | import javax.jws.WebService; | import javax.jws.soap.SOAPBinding; | import javax.jws.soap.SOAPBinding.Style; | | @Remote | @WebService | @SOAPBinding(style=Style.RPC) | public interface j4 { | | @WebMethod ArrayList getInt(int num); | | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006985#4006985 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006985 From do-not-reply at jboss.com Fri Jan 26 16:25:53 2007 From: do-not-reply at jboss.com (dwin) Date: Fri, 26 Jan 2007 16:25:53 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: webservices in jboss 5.0 Message-ID: <19628519.1169846753324.JavaMail.jboss@colo-br-02.atl.jboss.com> what do you mean by it doesn't deploy? Do you get exceptions thrown by the JBoss runtime? (assuming your http port is 8080 and you're publishing on your localhost) you can try going to http://localhost:8080/jbossws/services you should see the WSDL there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007032#4007032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007032 From do-not-reply at jboss.com Fri Jan 26 18:12:57 2007 From: do-not-reply at jboss.com (deployer_man) Date: Fri, 26 Jan 2007 18:12:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: webservices in jboss 5.0 Message-ID: <27394378.1169853177910.JavaMail.jboss@colo-br-02.atl.jboss.com> There are no exceptions, and there are no java errors. The problem is that the aplication is deployed as an EJB3.0, but no as a Webservice. http://localhost:8080/jbossws/services is Empty. Im working with the default configuration. I've been looking in the ($JBOSS)/default/tmp and ($JBOSS)/default/work and there wasn't any webservice resources. thanks for your answer. Here is the las part of the output that appears when a I start Jboss 5.0 anonymous wrote : | [TomcatDeployment] deploy, ctxPath=/, warUrl=.../deploy/ROOT.war/ | 23:24:31,301 INFO [StandardContext] Ya ha sido arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/] | 23:24:33,928 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:jar=j5.jar,name=j5bean,service=EJB3 with dependencies: | 23:24:34,075 INFO [EJBContainer] STARTED EJB: bean.j5bean ejbName: j5bean | 23:24:34,180 INFO [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto http-0.0.0.0-8080 | 23:24:34,200 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009 | 23:24:34,210 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849)] Started in 21s:557ms | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007063#4007063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007063 From do-not-reply at jboss.com Fri Jan 26 19:59:24 2007 From: do-not-reply at jboss.com (X490812) Date: Fri, 26 Jan 2007 19:59:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Jaxb EAR project - please help Message-ID: <18024382.1169859564231.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an EAR project. In the project I have a web app and an EJB. My goal is to have a REST webservice servlet that gets the XML payload, uses JAXB to unmarshal it into XJC generated classes, then pass those classes to an EJB for processing. What I have found is the following: scenario 1) here is the EAR fle structure: EAR bpo-lib.jar - holds the XJC generated classes bpo-ejb.jar - references bpo-lib.jar in its manifest.mf file bpo-webservice.war - holds the rest servlet that does the unmarshaling and passes unmarshaled objects to EJB - holds bpo-lib.jar in WEB-INF/lib - I did this because I saw in the FAQ that JAXBContext.newInstance tries to load classes using the same clasloader that the JAXBContext class is in - references bpo-lib.jar in its manifest.mf file The result is that I can unmarshal the data into the XJC classes, but after I pass them to the EJB, I try to cast the object into the expected types and get a class cast exception. this is possibly the behavior mentioned in https://jaxb.dev.java.net/faq/#classloader scenario 2) here is the EAR file structure: EAR bpo-lib.jar - holds the XJC generated classes bpo-ejb.jar - references bpo-lib.jar in its manifest.mf file bpo-webservice.war - holds the rest servlet that does the unmarshaling and passes unmarshaled objects to EJB - does NOT hold bpo-lib.jar in WEB-INF/lib - I did this because in theory, on JBOSS4.0.4GA, the EAR classes are accessible to the WAR context. I.E., I should NOT have to put the bpo-lib.jar file in both the WEB-INF/lib dir and the EAR file - references bpo-lib.jar in its manifest.mf file The result is that I can NOT unmarshal the data into the XJC classes. To analyze this, I checked what classes the JAXBContext knows about, and what I found was that when it unmarshalled data, I had this set of classes: boolean byte char com.homeq.bpo.domain.FirstAmericanSchema.request.AppraisalStatusResponses com.homeq.bpo.domain.FirstAmericanSchema.request.AppraisalStatusResponses$AppraisalStatusResponse com.homeq.bpo.domain.FirstAmericanSchema.request.AppraisalStatusResponses$AppraisalStatusResponse$Notes com.homeq.bpo.domain.FirstAmericanSchema.request.NoteType com.homeq.bpo.domain.FirstAmericanSchema.request.ResultsDataType com.sun.xml.bind.api.CompositeStructure double . . . When it did not unmarshal data it had this set of classes: boolean byte char com.homeq.bpo.domain.FirstAmericanSchema.request.ObjectFactory com.sun.xml.bind.api.CompositeStructure double float . . . The above shows (I think) that I MUST have the bpo-lib.jar in the WEB-INF/lib dir as the classloader that loads JAXBContext must also load the generated files. But as shown in scenario 1 above, this prevents you from also referencing those classes in an EJB as an EJB should not access classes loaded inside of the WAR classloader. Would I be correct in stating that using JAXB in a rest based web service on JBOSS4.0.4GA cannot be done, or am I missing something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007082#4007082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007082 From do-not-reply at jboss.com Fri Jan 26 21:28:43 2007 From: do-not-reply at jboss.com (jason.greene@jboss.com) Date: Fri, 26 Jan 2007 21:28:43 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <16674005.1169864923372.JavaMail.jboss@colo-br-02.atl.jboss.com> "dwin" wrote : please clarify for me, | | this "magic" that happens behind the scene is specific to JBossWS 1.2 or to any implementation of JAX-WS? It's a feature specific to JBossWS. The whole reason for the JAX-WS wrapper classes is to solve a technical problem that is specific to the vender. So since the end-user never actually does anything with these classes, we think it's silly to epect them to run an offline tool to generate them. So if you do not include them, we generate them on the fly for you during deployment. That said, since the wrapper types are required artifacts, in order for your deployment to be portable to other containers (if you even care) you would need to generate them offline using the wsgen tool. I recently finished the offline tool for this purpose (code is currently in trunk). Also, this only applies to the wrapper types. The WSDL file is not needed on any JAX-WS compliant container. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007106#4007106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007106 From do-not-reply at jboss.com Sat Jan 27 12:52:06 2007 From: do-not-reply at jboss.com (sigitm) Date: Sat, 27 Jan 2007 12:52:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: lower timeout in accessing a web service Message-ID: <18522533.1169920326791.JavaMail.jboss@colo-br-02.atl.jboss.com> Don't you know how to lower the connection timeout? :( Please!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007225#4007225 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007225 From do-not-reply at jboss.com Sun Jan 28 13:24:08 2007 From: do-not-reply at jboss.com (bk8133) Date: Sun, 28 Jan 2007 13:24:08 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <6145775.1170008648013.JavaMail.jboss@colo-br-02.atl.jboss.com> (dwin) Actually no. Sorry for not being clear enaugh. What i ment was.. the confusion around [wsgen,wsimportand,apt ] and [wstools]. As wstools being "the" toolset for JBoss implementation of JSR181. I'm working at a company that is considering JBoss as AS for web services and we are facing issues with deploying a JSR181 WS on 4.04 version. I use plain POJO with anotations and i set web.xml as for servlet based version. But we get exception at deploy time ($Proxy53 cannot be cast to org.jboss.lang.Annotation). Is it possible to get a JSR 109 compatible war fileset from anotated POJO using wstools? Should we try in that way? clustering of WS will be an issue later. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007494#4007494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007494 From do-not-reply at jboss.com Sun Jan 28 15:34:04 2007 From: do-not-reply at jboss.com (dwin) Date: Sun, 28 Jan 2007 15:34:04 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <24284379.1170016444903.JavaMail.jboss@colo-br-02.atl.jboss.com> hey BK, Since you're using JBoss 4.04, I am assuming you're using JBossWS 1.0.x (which is not JAX-WS 2.0 compliant but JAX-RPC 1.x). In fact, there is no binary release of a JAX-WS JBossWS unless you're using JBoss 5. I had to check out the code (via SVN) for JBoss 4.0.5 and compile it myself to get JBossWS 1.2 (JAX-WS) to work. Also, I am also assuming you want to do bottom to top (meaning java to WSDL). If that is the case, then you don't need to use wsgen. all you really need to do in your war file is just package a POJO with @Stateless, @WebService and annotate the specific methods, you want to release as web services, with @WebMethod. This should work, you can check if your web service is deployed by going to http://:/jbossws/services. ie http://localhost:8080/jbossws/services you should see your service on the list along with the pertaining WSDL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007539#4007539 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007539 From do-not-reply at jboss.com Sun Jan 28 15:34:27 2007 From: do-not-reply at jboss.com (dwin) Date: Sun, 28 Jan 2007 15:34:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <23686894.1170016467264.JavaMail.jboss@colo-br-02.atl.jboss.com> hey BK, Since you're using JBoss 4.04, I am assuming you're using JBossWS 1.0.x (which is not JAX-WS 2.0 compliant but JAX-RPC 1.x). In fact, there is no binary release of a JAX-WS JBossWS unless you're using JBoss 5. I had to check out the code (via SVN) for JBoss 4.0.5 and compile it myself to get JBossWS 1.2 (JAX-WS) to work. Also, I am also assuming you want to do bottom to top (meaning java to WSDL). If that is the case, then you don't need to use wsgen. all you really need to do in your war file is just package a POJO with @Stateless, @WebService and annotate the specific methods, you want to release as web services, with @WebMethod. This should work, you can check if your web service is deployed by going to http://:/jbossws/services. ie http://localhost:8080/jbossws/services you should see your service on the list along with the pertaining WSDL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007540#4007540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007540 From do-not-reply at jboss.com Sun Jan 28 17:20:23 2007 From: do-not-reply at jboss.com (ters) Date: Sun, 28 Jan 2007 17:20:23 -0500 (EST) Subject: [jbossws-users] [JBossWS] - JBossWS performance Message-ID: <27540806.1170022823184.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to compare stateless beans' performance to JAX-WS web services. So, I deployed a very simple stateless bean with a simple "ping" method and used @WebService to expose it as a webservice on JBoss 4.0.5. Using multiple (16) standalone clients from a client machine I can get around 1700 req/sec from the stateless bean deployed on a saturated 1GHz machine (95% cpu by JBoss, 18 Mbps in, 7Mbps out at peak). Using multiple (6) axis clients from the client machine I can only get 190 req/sec under exact same settings on the 1GHz machine (97% cpu by JBoss, 1.7Mbps in, 1.6Mbps out at peak) I know that Webservices are generally slow due to XML (de)marshalling but JAX-WS service is an order of magnitude slower than the stateless bean. Is my observation consistent with what other people are experiencing with JBoss? Server: linux 2.6.17, java 1.5, JBoss 4.0.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007572#4007572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007572 From do-not-reply at jboss.com Sun Jan 28 18:39:17 2007 From: do-not-reply at jboss.com (ters) Date: Sun, 28 Jan 2007 18:39:17 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Update Message-ID: <3881222.1170027557622.JavaMail.jboss@colo-br-02.atl.jboss.com> "ters" wrote : Hi, | | Using multiple (6) axis clients from the client machine I can only get 190 req/sec under exact same settings on the 1GHz machine (97% cpu by JBoss, 1.7Mbps in, 1.6Mbps out at peak) | I realized that the axis client is using HTTP/1.0 requests which leads to TCP open-close for every request. I changed the axis http connector with jakarta commons connector. It didn't help with the req/sec but it brought network usage to 900Kbps in 1.2 mbps out on server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007595#4007595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007595 From do-not-reply at jboss.com Sun Jan 28 20:38:34 2007 From: do-not-reply at jboss.com (dwin) Date: Sun, 28 Jan 2007 20:38:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: webservices in jboss 5.0 Message-ID: <5550816.1170034715006.JavaMail.jboss@colo-br-02.atl.jboss.com> just curious, what do you have in your ejb jar? or better yet, how are you deploying the EJB? In a jar within an EAR? do you use an IDE to deploy it for you? What is the output as soon as you put the jar in the default/deploy folder? You see some messages that it was deployed or unsuccessfully deployed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007621#4007621 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007621 From do-not-reply at jboss.com Mon Jan 29 01:46:33 2007 From: do-not-reply at jboss.com (bk8133) Date: Mon, 29 Jan 2007 01:46:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: EJB3 and JBossWS (JAXWS), is WSgen even needed for botto Message-ID: <10016556.1170053193368.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey!! Thank you very much for the best description about WS in java i ever read. The fact was , i was wrong about the AS (i'm using 4.05). So everything with WSTools was ok. The problem was in Java. The JDK 1.6.0 was used. And there's a bug reported in JIRA. Sadly but trully i missed it. I changed to 1.5.0_09 and everything is working flawlesly. JSR181 looks really great. We decided to go for JBossAS solution. Allthough there's a possible conflict in future (jboss+wstools+hibernate) vs (jdk1.6.0 + [JPA + jaxws), we believe solution. OpenSource is great if used with caution ;). thank you.. i will be in touch with our progres. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007661#4007661 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007661 From do-not-reply at jboss.com Mon Jan 29 04:35:30 2007 From: do-not-reply at jboss.com (deployer_man) Date: Mon, 29 Jan 2007 04:35:30 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: webservices in jboss 5.0 Message-ID: <4819535.1170063330614.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello again. I?m working with eclipse to develop the application. But in order to complie and deploy it I'm using "ANT". I'm deploying a JAR without a EAR. The ouput on JBOSS 5 is corrcet. No Warnings, no errors, and no signals of Webservices. The real problem is that everythisng seems to work fine, but the application is not published as a Webservice. Here I attach de whole output in my jboss. anonymous wrote : | | | JBoss Bootstrap Environment | | JBOSS_HOME: /Applications/jboss-5 | | JAVA: java | | JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 | | CLASSPATH: /Applications/jboss-5/bin/run.jar:/lib/tools.jar | | ========================================================================= | | 10:33:06,663 INFO [ServerImpl] Starting JBoss (Microcontainer)... | 10:33:06,688 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849) | 10:33:06,688 INFO [ServerImpl] Home Dir: /Applications/jboss-5 | 10:33:06,688 INFO [ServerImpl] Home URL: file:/Applications/jboss-5/ | 10:33:06,689 INFO [ServerImpl] Library URL: file:/Applications/jboss-5/lib/ | 10:33:06,690 INFO [ServerImpl] Patch URL: null | 10:33:06,690 INFO [ServerImpl] Server Name: default | 10:33:06,690 INFO [ServerImpl] Server Home Dir: /Applications/jboss-5/server/default | 10:33:06,691 INFO [ServerImpl] Server Home URL: file:/Applications/jboss-5/server/default/ | 10:33:06,697 INFO [ServerImpl] Server Data Dir: /Applications/jboss-5/server/default/data | 10:33:06,698 INFO [ServerImpl] Server Temp Dir: /Applications/jboss-5/server/default/tmp | 10:33:06,698 INFO [ServerImpl] Server Config URL: file:/Applications/jboss-5/server/default/conf/ | 10:33:06,698 INFO [ServerImpl] Server Library URL: file:/Applications/jboss-5/server/default/lib/ | 10:33:06,698 INFO [ServerImpl] Root Deployment Filename: jboss-service.xml | 10:33:06,767 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/Applications/jboss-5/server/default/conf/bootstrap-beans.xml | 10:33:07,715 INFO [ProfileImpl] Using profile root:/Applications/jboss-5/bin/file:/Applications/jboss-5/server/default/profile | 10:33:08,804 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-68,"Apple Computer, Inc." | 10:33:08,804 INFO [ServerInfo] OS-System: Mac OS X 10.4.8,i386 | 10:33:08,926 INFO [JMXKernel] Legacy JMX core initialized | 10:33:12,700 INFO [WebService] Using RMI server codebase: http://juan-jose-moreno-albert.local:8083/ | 10:33:13,622 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory | 10:33:19,772 INFO [Embedded] Catalina naming disabled | 10:33:19,795 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 10:33:19,797 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 10:33:20,031 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java | 10:33:20,101 INFO [Http11Protocol] Inicializando Coyote HTTP/1.1 en puerto http-0.0.0.0-8080 | 10:33:20,102 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009 | 10:33:20,102 INFO [Catalina] Initialization processed in 305 ms | 10:33:20,102 INFO [StandardService] Arrancando servicio jboss.web | 10:33:20,105 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.Beta1 | 10:33:20,137 INFO [StandardHost] Desactivada la validaci?n XML | 10:33:20,150 INFO [Catalina] Server startup in 48 ms | 10:33:22,860 INFO [ServiceEndpointManager] WebServices: jbossws-2.0.0.CR2.DEV (date=200611171751) | 10:33:23,974 INFO [TomcatDeployment] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ | 10:33:24,462 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined | 10:33:25,947 INFO [StandardContext] Ya ha sido arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/invoker] | 10:33:25,997 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-ha-local-jdbc.rar!/META-INF/ra.xml | 10:33:26,001 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-local-jdbc.rar!/META-INF/ra.xml | 10:33:26,001 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-xa-jdbc.rar!/META-INF/ra.xml | 10:33:26,001 INFO [RARDeployment] Required license terms exist, view .../deploy/jboss-ha-xa-jdbc.rar!/META-INF/ra.xml | 10:33:26,113 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 10:33:26,627 WARN [QuartzTimerServiceFactory] sql failed: CREATE TABLE qrtz_job_details(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP)) | 10:33:26,738 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main | 10:33:26,763 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 10:33:26,766 INFO [JobStoreCMT] Using db table-based data access locking (synchronization). | 10:33:26,779 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s). | 10:33:26,779 INFO [JobStoreCMT] Removed 0 Volatile Job(s). | 10:33:26,780 INFO [JobStoreCMT] JobStoreCMT initialized. | 10:33:26,780 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance. | 10:33:26,781 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 | 10:33:26,782 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state. | 10:33:26,784 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down. | 10:33:26,784 INFO [JobStoreCMT] Recovery complete. | 10:33:26,786 INFO [JobStoreCMT] Removed 0 'complete' triggers. | 10:33:26,787 INFO [JobStoreCMT] Removed 0 stale fired job entries. | 10:33:26,789 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started. | 10:33:26,795 INFO [TomcatDeployment] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/jbossws-context37912-exp.war/ | 10:33:26,832 WARN [TomcatInjectionContainer] could not find servlet class org.jboss.ws.integration.jboss.PortComponentLinkServlet in classpath when processing annotations. | 10:33:26,932 INFO [StandardContext] Ya ha sido arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jbossws] | 10:33:27,008 INFO [RARDeployment] Required license terms exist, view .../deploy/jms-ra.rar!/META-INF/ra.xml | 10:33:27,017 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 10:33:27,215 INFO [StandardContext] Ya ha sido arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/jmx-console] | 10:33:27,486 INFO [RARDeployment] Required license terms exist, view .../deploy/mail-ra.rar!/META-INF/ra.xml | 10:33:27,557 INFO [MailService] Mail Service bound to java:/Mail | 10:33:27,623 INFO [TomcatDeployment] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ | 10:33:28,300 INFO [StandardContext] Ya ha sido arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web-console] | 10:33:28,490 WARN [JDBCPersistenceManager] | | JBoss Messaging Warning: DataSource connection transaction isolation should be READ_COMMITTED, but it is currently NONE. | Using an isolation level less strict than READ_COMMITTED may lead to data consistency problems. | Using an isolation level more strict than READ_COMMITTED may lead to deadlock. | | 10:33:28,671 INFO [ServerPeer] JBoss Messaging 1.0.1.GA server [server.0] started | 10:33:28,726 INFO [Topic] Topic[/topic/testTopic] started, fullSize=75000, pageSize=2000, downCacheSize=2000 | 10:33:28,743 INFO [Queue] Queue[/queue/testQueue] started, fullSize=75000, pageSize=2000, downCacheSize=2000 | 10:33:28,746 INFO [Queue] Queue[/queue/DLQ] started, fullSize=75000, pageSize=2000, downCacheSize=2000 | 10:33:28,765 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 10:33:29,083 INFO [ConnectionFactory] Connector socket://192.168.23.23:4457 has leasing enabled, lease period 20000 milliseconds | 10:33:29,083 INFO [ConnectionFactory] [/ConnectionFactory, /XAConnectionFactory, java:/ConnectionFactory, java:/XAConnectionFactory] deployed | 10:33:29,155 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MSSQLDS' to JNDI name 'MSSQLDS' | 10:33:29,171 INFO [RARDeployment] Required license terms exist, view .../deploy/quartz-ra.rar!/META-INF/ra.xml | 10:33:29,202 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main | 10:33:29,205 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 10:33:29,205 INFO [RAMJobStore] RAMJobStore initialized. | 10:33:29,205 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' | 10:33:29,206 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 | 10:33:29,206 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. | 10:33:29,212 INFO [TomcatDeployment] deploy, ctxPath=/, warUrl=.../deploy/ROOT.war/ | 10:33:29,351 INFO [StandardContext] Ya ha sido arrancado el Contenedor org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/] | 10:33:32,124 INFO [MCKernelAbstraction] installing bean: jboss.j2ee:jar=j5.jar,name=j5bean,service=EJB3 with dependencies: | 10:33:32,274 INFO [EJBContainer] STARTED EJB: bean.j5bean ejbName: j5bean | 10:33:32,384 INFO [Http11Protocol] Arrancando Coyote HTTP/1.1 en puerto http-0.0.0.0-8080 | 10:33:32,404 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8009 | 10:33:32,414 INFO [ServerImpl] JBoss (Microcontainer) [5.0.0.Beta1 (build: CVSTag=https://svn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta1 date=200611191849)] Started in 25s:712ms | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007700#4007700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007700 From do-not-reply at jboss.com Mon Jan 29 06:23:10 2007 From: do-not-reply at jboss.com (akirainoue) Date: Mon, 29 Jan 2007 06:23:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Sun jwsdp generate stub for JBoss Message-ID: <25384642.1170069790547.JavaMail.jboss@colo-br-02.atl.jboss.com> My EJB is calling web service to 3rd party provider. The client stub is generated through Sun's jwsdp. However I encountered the following exception: java.lang.ClassCastException: org.jboss.ws.soap.SOAPMessageImpl at com.sun.xml.rpc.client.StubBase._postSendingHook(StubBase.java:231) at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:324) I added the following jar from jwsdp to the lib dir: FastInfoset.jar jaxrpc-impl.jar jaxrpc-spi.jar jsr173_api.jar saaj-impl.jar I am running jboss-4.0.5.GA. How can I resolve the problem? Can the stub generated by jwsdp be used in JBoss or any application other the Sun? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007724#4007724 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007724 From do-not-reply at jboss.com Mon Jan 29 06:48:24 2007 From: do-not-reply at jboss.com (eitangur) Date: Mon, 29 Jan 2007 06:48:24 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: org.jboss.axis.ConfigurationException: No engine configu Message-ID: <4242777.1170071304090.JavaMail.jboss@colo-br-02.atl.jboss.com> And if I want to use the ServiceFactory, is there a way to do so? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007731#4007731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007731 From do-not-reply at jboss.com Mon Jan 29 10:10:18 2007 From: do-not-reply at jboss.com (bentzys) Date: Mon, 29 Jan 2007 10:10:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - jsr181pojo - java 1.5 - SOAPMessageImpl Message-ID: <26290559.1170083419003.JavaMail.jboss@colo-br-02.atl.jboss.com> I get the following error while trying to onnect to jsr181pojo ws example: : 16:06:39,165 INFO [ServiceEndpointManager] WebService started: http://bentzys-nb:8080/jaxws-samples-jsr181pojo | 16:07:28,022 ERROR [[TestService]] Servlet.service() for servlet TestService threw exception | java.lang.NoSuchMethodError: org.jboss.ws.soap.SOAPMessageImpl.setProperty(Ljava/lang/String;Ljava/lang/Object;)V | at org.jboss.ws.soap.SOAPMessageImpl.(SOAPMessageImpl.java:77) As written in install.text I copied lib/jboss-jdk1.5/jbossws-client.jar to $JBOSS_HOME/client/ I also try by copying it to /thirdparty directory, but didn't help. Thanks in advance. --bentzy here is the complete log: | "C:\Program Files\Java\jdk1.5.0_09\bin\java" -ms64m -mx384m -classpath "C:\Program Files\Java\jdk1.5.0_09\lib\tools.jar;C:\runtimeJB4\jboss\bin\run.jar;" -Xdebug -Xrunjdwp:transport=dt_socket,address=127.0.0.1:1487,suspend=y,server=n -Dfile.encoding=windows-1252 org.jboss.Main -c atomica | Connected to the target VM, address: '127.0.0.1:1487', transport: 'socket' | 16:05:38,279 INFO [Server] Starting JBoss (MX MicroKernel)... | 16:05:38,289 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339) | 16:05:38,289 INFO [Server] Home Dir: C:\runtimeJB4\jboss | 16:05:38,289 INFO [Server] Home URL: file:/C:/runtimeJB4/jboss/ | 16:05:38,289 INFO [Server] Patch URL: null | 16:05:38,289 INFO [Server] Server Name: atomica | 16:05:38,289 INFO [Server] Server Home Dir: C:\runtimeJB4\jboss\server\atomica | 16:05:38,289 INFO [Server] Server Home URL: file:/C:/runtimeJB4/jboss/server/atomica/ | 16:05:38,289 INFO [Server] Server Log Dir: C:\runtimeJB4\jboss\server\atomica\log | 16:05:38,289 INFO [Server] Server Temp Dir: C:\runtimeJB4\jboss\server\atomica\tmp | 16:05:38,289 INFO [Server] Root Deployment Filename: jboss-service.xml | 16:05:38,760 INFO [ServerInfo] Java version: 1.5.0_09,Sun Microsystems Inc. | 16:05:38,760 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_09-b03,Sun Microsystems Inc. | 16:05:38,760 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | 16:05:40,412 INFO [Server] Core system initialized | 16:05:44,268 INFO [WebService] Using RMI server codebase: http://bentzys-nb:8083/ | 16:05:44,318 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml | 16:05:48,255 INFO [TreeCache] setting cluster properties from xml to: UDP(ip_mcast=true;ip_ttl=64;loopback=false;mcast_addr=228.1.20.12;mcast_port=48866;mcast_recv_buf_size=80000;mcast_send_buf_size=150000;ucast_recv_buf_size=80000;ucast_send_buf_size=150000):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(max_interval=20000;min_interval=10000):FD_SOCK:VERIFY_SUSPECT(down_thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(down_thread=false;gc_lag=50;max_xmit_size=8192;retransmit_timeout=600,1200,2400,4800;up_thread=false):UNICAST(down_thread=false;min_threshold=10;timeout=600,1200,2400;window_size=100):pbcast.STABLE(desired_avg_gossip=20000;down_thread=false;up_thread=false):FRAG(down_thread=false;frag_size=8192;up_thread=false):pbcast.GMS(join_retry_timeout=2000;join_timeout=5000;print_local_addr=true;shun=true):pbcast.STATE_TRANSFER(down_thread=true;up_thread=true) | 16:05:48,275 INFO [TreeCache] setEvictionPolicyConfig(): | | 3 | | | 200000 | 0 | | | 1 | 1 | | | 16:05:48,465 INFO [InterceptorChainFactory] interceptor chain is: | class org.jboss.cache.interceptors.CallInterceptor | class org.jboss.cache.interceptors.EvictionInterceptor | class org.jboss.cache.interceptors.PessimisticLockInterceptor | class org.jboss.cache.interceptors.UnlockInterceptor | class org.jboss.cache.interceptors.TxInterceptor | class org.jboss.cache.interceptors.CacheMgmtInterceptor | 16:05:48,555 INFO [TreeCache] cache mode is local, will not create the channel | 16:05:48,555 INFO [RegionManager] Starting eviction timer | 16:05:52,722 INFO [ServiceEndpointManager] jbossws-1.0.4.GA (date=200611151648) | 16:05:55,666 INFO [Embedded] Catalina naming disabled | 16:05:55,807 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 16:05:55,807 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set. | 16:05:56,448 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 | 16:05:57,129 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8443 | 16:05:57,129 INFO [Catalina] Initialization processed in 1322 ms | 16:05:57,129 INFO [StandardService] Starting service jboss.web | 16:05:57,149 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20 | 16:05:57,239 INFO [StandardHost] XML validation disabled | 16:05:57,299 INFO [Catalina] Server startup in 170 ms | 16:05:57,880 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ | 16:05:58,571 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined | 16:05:58,992 WARN [SecurityCollection] Suspicious url pattern: "/restricted/*" - see http://java.sun.com/aboutJava/communityprocess/first/jsr053/servlet23_PFD.pdf section 11.2 | 16:05:59,683 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/ | 16:06:00,053 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp48576jbossws-context-exp.war/ | 16:06:00,394 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ | 16:06:00,634 WARN [SecurityCollection] Suspicious url pattern: "/restricted/*" - see http://java.sun.com/aboutJava/communityprocess/first/jsr053/servlet23_PFD.pdf section 11.2 | 16:06:02,617 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ | 16:06:03,969 INFO [MailService] Mail Service bound to java:/Mail | 16:06:04,480 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar | 16:06:04,580 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar | 16:06:04,671 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar | 16:06:04,771 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar | 16:06:04,861 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar | 16:06:04,931 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar | 16:06:07,245 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 16:06:07,685 INFO [A] Bound to JNDI name: queue/A | 16:06:07,685 INFO [B] Bound to JNDI name: queue/B | 16:06:07,685 INFO [C] Bound to JNDI name: queue/C | 16:06:07,685 INFO [D] Bound to JNDI name: queue/D | 16:06:07,685 INFO [ex] Bound to JNDI name: queue/ex | 16:06:07,765 INFO [testTopic] Bound to JNDI name: topic/testTopic | 16:06:07,765 INFO [securedTopic] Bound to JNDI name: topic/securedTopic | 16:06:07,765 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic | 16:06:07,775 INFO [testQueue] Bound to JNDI name: queue/testQueue | 16:06:07,886 INFO [UILServerILService] JBossMQ UIL service available at : /0.0.0.0:8093 | 16:06:08,036 INFO [DLQ] Bound to JNDI name: queue/DLQ | 16:06:08,436 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 16:06:08,947 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/atomica' to JNDI name 'java:jdbc/atomica' | 16:06:09,017 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/users' to JNDI name 'java:jdbc/users' | 16:06:09,047 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/subscribe' to JNDI name 'java:jdbc/subscribe' | 16:06:09,067 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/dw' to JNDI name 'java:jdbc/dw' | 16:06:09,148 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 16:06:09,578 INFO [EARDeployer] Init J2EE application: file:/C:/runtimeJB4/jboss/server/atomica/deploy/Atomica.ear/ | 16:06:10,960 INFO [EjbModule] Deploying AtomicaPropertiesBean | 16:06:11,431 INFO [ProxyFactory] Bound EJB Home 'AtomicaPropertiesBean' to jndi 'com.atomica.dataServer.AtomicaProperties' | 16:06:11,441 INFO [EJBDeployer] Deployed: file:/C:/runtimeJB4/jboss/server/atomica/deploy/Atomica.ear/TopicServer.jar/ | 16:06:11,531 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/Atomica.ear/AtomicaWeb.war/ | 16:06:12,192 WARN [SecurityCollection] Suspicious url pattern: "/retrieval*" - see http://java.sun.com/aboutJava/communityprocess/first/jsr053/servlet23_PFD.pdf section 11.2 | 16:06:12,192 WARN [SecurityCollection] Suspicious url pattern: "/gurunetwsapi*" - see http://java.sun.com/aboutJava/communityprocess/first/jsr053/servlet23_PFD.pdf section 11.2 | 16:06:12,192 WARN [SecurityCollection] Suspicious url pattern: "/publishing*" - see http://java.sun.com/aboutJava/communityprocess/first/jsr053/servlet23_PFD.pdf section 11.2 | 16:06:23,991 INFO [DisambigContext] Loaded spell checker dictionary from file | 16:06:24,462 INFO [EARDeployer] Started J2EE application: file:/C:/runtimeJB4/jboss/server/atomica/deploy/Atomica.ear/ | 16:06:24,762 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8080 | 16:06:25,133 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009 | 16:06:25,173 INFO [JkMain] Jk running ID=0 time=0/120 config=null | 16:06:25,193 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-8443 | 16:06:25,273 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 46s:984ms | 16:06:38,534 INFO [TomcatDeployer] deploy, ctxPath=/jaxws-samples-jsr181pojo, warUrl=.../tmp/deploy/tmp48606jaxws-samples-jsr181pojo-exp.war/ | 16:06:39,165 INFO [WSDLFilePublisher] WSDL published to: file:/C:/runtimeJB4/jboss/server/atomica/data/wsdl/jaxws-samples-jsr181pojo.war/TestService48607.wsdl | 16:06:39,165 INFO [ServiceEndpointManager] WebService started: http://bentzys-nb:8080/jaxws-samples-jsr181pojo | 16:07:28,022 ERROR [[TestService]] Servlet.service() for servlet TestService threw exception | java.lang.NoSuchMethodError: org.jboss.ws.soap.SOAPMessageImpl.setProperty(Ljava/lang/String;Ljava/lang/Object;)V | 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.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=4007834#4007834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007834 From do-not-reply at jboss.com Mon Jan 29 12:47:59 2007 From: do-not-reply at jboss.com (mwiles) Date: Mon, 29 Jan 2007 12:47:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - enumerations in jboss ws... Message-ID: <18157195.1170092879758.JavaMail.jboss@colo-br-02.atl.jboss.com> I have an xsd which has an enumeration type: The mapping snippet for that enum looks like this: za.co.sanlam.employeebenefits.IncomeTypeEnum rtq:IncomeTypeEnum simpleType pension pension salary salary But when I deploy the web service I get the following error: 19:10:45,359 ERROR [MainDeployer] Could not start deployment: file:/C:/usr/jboss-4.0.5.GA/server/default/tmp/deploy/tmp50100EAR.ear-contents/EJB.jar org.jboss.ws.WSException: Attribute pension found in jaxrpc-mapping but not in the schema: {http://sanlam.co.za/employeebenefits/dto/1}IncomeTypeEnum at org.jboss.ws.jaxb.SchemaBindingBuilder.processXmlAttributeName(SchemaBindingBuilder.java:260) at org.jboss.ws.jaxb.SchemaBindingBuilder.processNonArrayType(SchemaBindingBuilder.java:207) at org.jboss.ws.jaxb.SchemaBindingBuilder.processJavaXmlTypeMapping(SchemaBindingBuilder.java:147) at org.jboss.ws.jaxb.SchemaBindingBuilder.bindSchemaToJava(SchemaBindingBuilder.java:119) at org.jboss.ws.jaxb.SchemaBindingBuilder.buildSchemaBinding(SchemaBindingBuilder.java:99) at org.jboss.ws.metadata.ServiceMetaData.getSchemaBinding(ServiceMetaData.java:332) at org.jboss.ws.metadata.ServiceMetaData.eagerInitialize(ServiceMetaData.java:400) at org.jboss.ws.metadata.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:147) at org.jboss.ws.server.ServiceEndpoint.start(ServiceEndpoint.java:106) at org.jboss.ws.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:529) at org.jboss.ws.deployment.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:144) at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:104) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) Has anyone done enumerations with jboss and could shed some light on what is going on? I The java code for the enumration is as follows... It does not seem as this is the problem as if I remove the java class, the error persists. public class IncomeTypeEnum { private java.lang.String _value_; private static java.util.HashMap _table_ = new java.util.HashMap(); // Constructor protected IncomeTypeEnum(java.lang.String value) { _value_ = value; _table_.put(_value_,this); }; public static final java.lang.String _pension = "pension"; public static final java.lang.String _salary = "salary"; public static final IncomeTypeEnum pension = new IncomeTypeEnum(_pension); public static final IncomeTypeEnum salary = new IncomeTypeEnum(_salary); public java.lang.String getValue() { return _value_;} public static IncomeTypeEnum fromValue(java.lang.String value) throws java.lang.IllegalArgumentException { IncomeTypeEnum enum = (IncomeTypeEnum) _table_.get(value); if (enum==null) throw new java.lang.IllegalArgumentException(); return enum; } public static IncomeTypeEnum 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_;} } I've tried everything to find the answer to my problem but just can't get anything. Hopefully it's quite a simple solution. Michael Wiles Java Developer View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007917#4007917 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007917 From do-not-reply at jboss.com Mon Jan 29 14:01:59 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 29 Jan 2007 14:01:59 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: webservices in jboss 5.0 Message-ID: <12529318.1170097319646.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey Deployer I think its more of a JBoss 5 issue more than a JBossWS issue. It seems that JBoss 5 is not picking up any application at all and I am not quite sure why. you can check http://localhost:8080/status to check any deployed applications you should post in the JBoss AS forum to ask why JBoss 5 is not picking up (or deploying) applications. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007950#4007950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007950 From do-not-reply at jboss.com Mon Jan 29 14:05:51 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 29 Jan 2007 14:05:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jsr181pojo - java 1.5 - SOAPMessageImpl Message-ID: <3636739.1170097551767.JavaMail.jboss@colo-br-02.atl.jboss.com> ensure that the current JDK is 1.5 and not 1.6 there is a conflict with JDK 6 and JBossWS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007952#4007952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007952 From do-not-reply at jboss.com Mon Jan 29 14:28:10 2007 From: do-not-reply at jboss.com (bentzys) Date: Mon, 29 Jan 2007 14:28:10 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jsr181pojo - java 1.5 - SOAPMessageImpl Message-ID: <24235969.1170098890213.JavaMail.jboss@colo-br-02.atl.jboss.com> for sure 1.5 - no 1.6 in my machine :( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4007963#4007963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4007963 From do-not-reply at jboss.com Mon Jan 29 19:32:21 2007 From: do-not-reply at jboss.com (dwin) Date: Mon, 29 Jan 2007 19:32:21 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jsr181pojo - java 1.5 - SOAPMessageImpl Message-ID: <17661651.1170117141210.JavaMail.jboss@colo-br-02.atl.jboss.com> also did you compile the stubs (against the WSDL) for the client class? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008087#4008087 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008087 From do-not-reply at jboss.com Mon Jan 29 20:50:39 2007 From: do-not-reply at jboss.com (jgoldbergca) Date: Mon, 29 Jan 2007 20:50:39 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: SchemaTypeCreator.introspectJavaProperties Exception w/ Message-ID: <975071.1170121839434.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi- Did you ever resolve this issue? I'm seeing the same error. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008103#4008103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008103 From do-not-reply at jboss.com Tue Jan 30 03:01:34 2007 From: do-not-reply at jboss.com (bentzys) Date: Tue, 30 Jan 2007 03:01:34 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: jsr181pojo - java 1.5 - SOAPMessageImpl Message-ID: <2916383.1170144094642.JavaMail.jboss@colo-br-02.atl.jboss.com> I tryed by invoking the service through php and .Net clients, while when running "ant tests" my output ends as following: [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 7.42 sec | [junit] Test org.jboss.test.ws.jaxws.samples.jsr181pojo.JSR181WebServiceJSET | estCase FAILED | | BUILD SUCCESSFUL | Total time: 13 seconds View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008153#4008153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008153 From do-not-reply at jboss.com Tue Jan 30 04:24:52 2007 From: do-not-reply at jboss.com (erkinda) Date: Tue, 30 Jan 2007 04:24:52 -0500 (EST) Subject: [jbossws-users] [JBossWS] - A service endpoint interface should extend Remote Message-ID: <1890105.1170149092286.JavaMail.jboss@colo-br-02.atl.jboss.com> hi I try to publish ejb as webservice ide: JBossIDE-200701290313-nightly-ALL.zip project: ejb3 ejb3 code (generated by wizard!): package main; import javax.ejb.Stateless; import main.LoanProcessor; public @Stateless class LoanProcessorBean implements LoanProcessor { public String processApplication(String socialSecurityNumber, String applicantName, String applicantAddress, String applicantEmailAddress, int applicantAge, String applicantGender, float annualSalary, float amountRequested) { ... } } interface: package main; import javax.ejb.Remote; @Remote public interface LoanProcessor { public String processApplication(String socialSecurityNumber, String applicantName, String applicantAddress, String applicantEmailAddress, int applicantAge, String applicantGender, float annualSalary, float amountRequested); } result: Running JBossWS wstools for [LoanProcessor] directory: C:\jboss\projects\ide\loanProcessing\LoanProcessor command: cmd.exe /C C:\jboss\as-4.0.4.GA\bin\wstools.bat -cp bin -config c:\temp\wstools-config47877.xml -dest C:\jboss\projects\ide\loanProcessing\LoanProcessor\src =========================================================================" . WSTools Environment . JBOSS_HOME: C:\jboss\as-4.0.4.GA\bin\\.. . JAVA: c:\jdk1.6.0_01\bin\java . JAVA_OPTS: . =========================================================================" . Exception in thread "main" org.jboss.ws.WSException: A service endpoint interface should extend Remote help me solve this problem, please thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008187#4008187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008187 From do-not-reply at jboss.com Tue Jan 30 10:43:12 2007 From: do-not-reply at jboss.com (bentzys) Date: Tue, 30 Jan 2007 10:43:12 -0500 (EST) Subject: [jbossws-users] [JBossWS] - QName incompatibility issue Message-ID: <26910830.1170171792063.JavaMail.jboss@colo-br-02.atl.jboss.com> I found that the reason I can't run the jsr181pojo ws example is the following: java.io.InvalidClassException: javax.xml.namespace.QName; local class incompatible: stream classdesc serialVersionUID =, local class serialVersionUID = -9120448754896609940 as stated at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89773&start=0&postdays=postDays&postorder=postOrder&highlight=highlight I'm running JBoss [Zion] 4.0.5.GA + Java version: 1.5.0_09 I tried copying namespace.jar to the thirdparty dir and adding it to the build-thirdparty.xml, among many other ways. Nothing helped. does anybody knows a way to solve this for jsr181pojo ws example? Thanks in advance --bentzy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008356#4008356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008356 From do-not-reply at jboss.com Tue Jan 30 11:59:18 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 30 Jan 2007 11:59:18 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: A service endpoint interface should extend Remote Message-ID: <30138974.1170176358972.JavaMail.jboss@colo-br-02.atl.jboss.com> Are you using JBossWS 1.0.x (JAX RPC)? If so, make LoanProcessor extend java.rmi.Remote View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008394#4008394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008394 From do-not-reply at jboss.com Tue Jan 30 13:15:19 2007 From: do-not-reply at jboss.com (firestormua) Date: Tue, 30 Jan 2007 13:15:19 -0500 (EST) Subject: [jbossws-users] [JBossWS] - java client and MS Webservice Message-ID: <1437887.1170180919839.JavaMail.jboss@colo-br-02.atl.jboss.com> I am trying to make Jboss WS jaxrpc client from samples work with MS webservice. I got next error when I run client: anonymous wrote : | [java] 12:01:12,376 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://tempuri.org/TitanWebServices/TitanService}TitanServiceSoap | [java] 12:01:12,408 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://tempuri.org/TitanWebServices/TitanService}TitanServiceSoap | [java] 12:01:12,423 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http://tempuri.org/TitanWebServices/TitanService}>TitanRunNavisionResult | [java] 12:01:12,455 ERROR [STDERR] javax.xml.rpc.JAXRPCException: Cannot obtain operation meta data for: {http://tempuri.org/TitanWebServices/TitanService}TitanRunNavision | [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.getOperationMetaData(CallImpl.java:840) | [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.getOperationMetaData(CallImpl.java:820) | [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:618) | [java] 12:01:12,455 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | [java] 12:01:12,455 ERROR [STDERR] at | ........ | <-------------------------skipped | | I feel there is something small I am missing here, can somebody tell me what is wrong here? It generated next classes in package org.tempuri.titanwebservices.titanservice;:TitanRunNavision.java | TitanRunNavisionResponse.java | TitanRunNavisionResponseTitanRunNavisionResult.java | TitanService.java | TitanServiceSoap.java | | here is my code | | | private final String TARGET_ENDPOINT_ADDRESS1 = "http://dev4:6699/titanwebservices/service.asmx"; | | private static final String TARGET_NAMESPACE1 = "http://tempuri.org/TitanWebServices/TitanService"; | | private static Call call; | | | | protected void setUp() throws Exception | | { | | | | if (port == null) | | { | | ServiceFactoryImpl factory = new ServiceFactoryImpl(); | | URL wsdlLocation = new URL(TARGET_ENDPOINT_ADDRESS1 + "?wsdl"); | | URL mappingURL = new File("c:/tmp/ws/jaxrpc-mapping.xml").toURL(); | | //service wsdl location | | QName serviceName = new QName(TARGET_NAMESPACE1, "TitanService"); | | ServiceImpl service = (ServiceImpl)factory.createService(wsdlLocation, serviceName, mappingURL); | | call = service.createCall(); | | } | | } | | | | | | public void testUserType() throws Exception | | { | | QName operationName = new QName(TARGET_NAMESPACE1, "TitanRunNavision"); | | call.setOperationName(operationName); | | String functionName = "GetCustomer"; | | String parameterList = "10000"; | | Object retObj = call.invoke(new Object[]{functionName, parameterList}); | | System.out.println("done"); | | } | | | here is wsdl | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mapping generated by jboss wstools | | | | | | org.tempuri.titanwebservices.titanservice | | http://tempuri.org/TitanWebServices/TitanService | | | | | | org.tempuri.titanwebservices.titanservice.TitanRunNavision | | typeNS:>TitanRunNavision | | complexType | | | | functionName | | FunctionName | | | | | | parameterList | | ParameterList | | | | | | | | org.tempuri.titanwebservices.titanservice.TitanRunNavisionResult | | typeNS:>TitanRunNavisionResult | | complexType | | | | | | org.tempuri.titanwebservices.titanservice.TitanRunNavisionResponse | | typeNS:>TitanRunNavisionResponse | | complexType | | | | titanRunNavisionResult | | TitanRunNavisionResult | | | | | | | | org.tempuri.titanwebservices.titanservice.TitanService | | serviceNS:TitanService | | | | TitanServiceSoap | | TitanServiceSoap | | | | | | TitanServiceSoap12 | | TitanServiceSoap12 | | | | | | | | org.tempuri.titanwebservices.titanservice.TitanServiceSoap | | portTypeNS:TitanServiceSoap | | bindingNS:TitanServiceSoap | | | | titanRunNavision | | TitanRunNavision | | | | 0 | | org.tempuri.titanwebservices.titanservice.TitanRunNavision | | | | wsdlMsgNS:TitanRunNavisionSoapIn | | parameters | | INOUT | | | | | | | | org.tempuri.titanwebservices.titanservice.TitanRunNavisionResponse | | wsdlMsgNS:TitanRunNavisionSoapOut | | parameters | | | | | | | | | | org.tempuri.titanwebservices.titanservice.TitanServiceSoap | | portTypeNS:TitanServiceSoap | | bindingNS:TitanServiceSoap12 | | | | titanRunNavision | | TitanRunNavision | | | | 0 | | org.tempuri.titanwebservices.titanservice.TitanRunNavision | | | | wsdlMsgNS:TitanRunNavisionSoapIn | | parameters | | INOUT | | | | | | | | org.tempuri.titanwebservices.titanservice.TitanRunNavisionResponse | | wsdlMsgNS:TitanRunNavisionSoapOut | | parameters | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008428#4008428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008428 From do-not-reply at jboss.com Tue Jan 30 15:10:28 2007 From: do-not-reply at jboss.com (mpardeshi) Date: Tue, 30 Jan 2007 15:10:28 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Error when invoking Webservice deployed in Jboss 4.0.3 Message-ID: <26522981.1170187828613.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I downloaded the jbossws-1.0.4.GA and deployed one sample (jsr109pojo) in Jboss 4.0.3. When I hit this URL: http://localhost:8080/ws4ee/services , I do see the deployed service as: And now... Some Services jaxrpc-samples-jsr109pojo-rpc.war#TestService/JaxRpcTestServicePort (wsdl) echoSimpleUserType | echoString | | | However I get an exception when I try to access the service from a standalone java client. I have tried a lot of options but in vain. | Here is my client code: | | | | ServiceFactoryImpl factory = new ServiceFactoryImpl(); | | URL wsdlURL = new File("resources/jaxrpc/samples/jsr109pojo/rpclit//WEB-INF/wsdl/TestService.wsdl").toURL(); | | URL mappingURL = new File("resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/jaxrpc-mapping.xml").toURL(); | | QName qname = new QName("http://org.jboss.ws/samples/jsr109pojo", "TestService"); | | Service service = factory.createService(wsdlURL, qname, mappingURL); | | port = (JaxRpcTestService)service.getPort(JaxRpcTestService.class); | | ((Stub)port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://" + "SECEMPARDESM" + ":8080/jaxrpc-samples-jsr109pojo-rpc"); | | port.echoString("test", "test"); | | | And here is the exception I get when I call port.echoString("test", "test"); above: | | | Exception in thread "main" java.lang.NoSuchMethodError: org.jboss.remoting.Client.(Lorg/jboss/remoting/InvokerLocator;Ljava/lang/String;Ljava/util/Map;)V | | at org.jboss.ws.soap.SOAPConnectionImpl.createRemotingClient(SOAPConnectionImpl.java:205) | | at org.jboss.ws.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:149) | | at org.jboss.ws.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:92) | | at org.jboss.ws.common.CommonClient.invoke(CommonClient.java:294) | | at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:560) | | at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:338) | | at org.jboss.ws.jaxrpc.CallProxy.invoke(CallProxy.java:148) | | at $Proxy0.echoString(Unknown Source) | | at org.jboss.test.ws.jaxws.samples.jsr181pojo.RpcJSETestCase.main(JSR181WebServiceJSETestCase.java:103) | | | | I have followed exactly the same steps as in the WS documentation. Can anyone please let me know what am I missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008479#4008479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008479 From do-not-reply at jboss.com Tue Jan 30 15:22:33 2007 From: do-not-reply at jboss.com (bcguitar33) Date: Tue, 30 Jan 2007 15:22:33 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Problem generating SOAPFaults Message-ID: <12249511.1170188553068.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi there, I've written a simple skeleton web service to generate. Right now I'm just trying to test such that proper input returns an "OK" value and improper input (such as non-matching XML tags) is replied to with a fault. My service replies correctly when the correct input is given, but when a bad SOAP message is sent, such as a typo in an opening tag but not a closing, the client gets no reply and the server logs an exception a la: 15:21:29,103 ERROR [STDERR] [Fatal Error] :4:60: The end-tag for element type "CustomerID" must end with a '>' delimiter. 15:21:29,104 ERROR [SOAPFaultExceptionHelper] SOAP request exception java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter. at org.jboss.util.xml.DOMUtils.parse(DOMUtils.java:110) at org.jboss.ws.soap.MessageFactoryImpl.createSOAPEnvelope(MessageFactoryImpl.java:238) at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:227) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:157) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:215) 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) 15:21:29,105 ERROR [SOAPFaultExceptionHelper] Error creating SOAPFault message org.jboss.ws.WSException: Cannot obtain NamespaceRegistry, because there is no SOAPMessage associated with this context at org.jboss.ws.soap.SOAPMessageContextImpl.getNamespaceRegistry(SOAPMessageContextImpl.java:140) at org.jboss.ws.soap.SOAPMessageContextImpl.getSerializationContext(SOAPMessageContextImpl.java:130) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.toSOAPMessage(SOAPFaultExceptionHelper.java:223) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:177) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) 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) 15:21:29,107 ERROR [AbstractServlet] Error processing web service request javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter. at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:183) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) 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) 15:21:29,109 ERROR [[SVAEndpoint]] Servlet.service() for servlet SVAEndpoint threw exception javax.xml.rpc.JAXRPCException: Cannot create SOAPFault message for: javax.xml.rpc.soap.SOAPFaultException: java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter. at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:183) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) 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) I'd appreciate any input as to what could be causing this...Thank you very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008491#4008491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008491 From do-not-reply at jboss.com Tue Jan 30 15:32:57 2007 From: do-not-reply at jboss.com (mpardeshi) Date: Tue, 30 Jan 2007 15:32:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Error when invoking Webservice deployed in Jboss 4.0.3 Message-ID: <30555815.1170189177236.JavaMail.jboss@colo-br-02.atl.jboss.com> I resolved the issue. The problem was I was deploying the webservice in JBoss 4.0.3. The default WS implementation that ships with jboss 4.0.3 does not work with jbossws-1.0.4.GA. So when you are running clients from jbossws-samples-1.0.4.GA be sure to include the following jars from 4.0.3/client: axis-ws4ee.jar | commons-discovery.jar | jboss-ws4ee-client.jar | | This is probably becauce the WS mechanics are different in both versions, so if you run a client that uses new libraries to call a service deployed in an older version it won't work. May be it was pretty obvious but it didn't struck me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008504#4008504 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008504 From do-not-reply at jboss.com Tue Jan 30 15:38:20 2007 From: do-not-reply at jboss.com (dwin) Date: Tue, 30 Jan 2007 15:38:20 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Changing the context root and service uri location of the We Message-ID: <12857663.1170189500774.JavaMail.jboss@colo-br-02.atl.jboss.com> Hey guys Do you guys know how to change the context root and the service uri of a web service in JBossWS 1.2 +? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008505#4008505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008505 From do-not-reply at jboss.com Wed Jan 31 01:31:38 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 31 Jan 2007 01:31:38 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: enumerations in jboss ws... Message-ID: <2358834.1170225098388.JavaMail.jboss@colo-br-02.atl.jboss.com> I am having the same issue. I am not sure what to modify in the mapping file, once I have written the additional type classes for all enum types. Any help is highly appreciated. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008662#4008662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008662 From do-not-reply at jboss.com Wed Jan 31 01:36:16 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 31 Jan 2007 01:36:16 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: Urgent Help requested ...support for enums..update jboss Message-ID: <19871100.1170225376406.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, can someone give any tips on how to modify the mapping file after writing the enum classes as described in previous post. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008663#4008663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008663 From do-not-reply at jboss.com Wed Jan 31 02:06:06 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 31 Jan 2007 02:06:06 -0500 (EST) Subject: [jbossws-users] [JBossWS] - urgent: java enums and mapping file... Message-ID: <5073775.1170227166639.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi all... I am in urgent need of help. I have some enum types defined in my schema. I have already written the associated enum type classes for them as described in some other posts here. Now, I am not able to figure out how to change the jaxrpc-mapping file to map the xml enum types to the Java type classes. I have looked for answers in a lot of places but could not find it. Pls. help. thanks e.g. Here is the enum type ------------------------------------- Here is its Java type: import java.io.Serializable; public class StatusType implements Serializable { private java.lang.String _value_; private static java.util.HashMap _table_ = new java.util.HashMap(); // Constructor protected StatusType(java.lang.String value) { _value_ = value; _table_.put(_value_,this); } public static final java.lang.String _SUCCESS = "Success"; public static final java.lang.String _SYSTEMERROR = "SystemError"; public static final java.lang.String _USERERROR = "UserError"; public static final StatusType SUCCESS = new StatusType(_SUCCESS); public static final StatusType USERERROR = new StatusType(_USERERROR); public static final StatusType SYSTEMERROR = new StatusType(_SYSTEMERROR); public java.lang.String getValue() { return _value_;} public static StatusType fromValue(java.lang.String value) throws java.lang.IllegalArgumentException { StatusType enumeration = (StatusType)_table_.get(value); if (enumeration==null) throw new java.lang.IllegalArgumentException(); return enumeration; } public static StatusType 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=4008668#4008668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008668 From do-not-reply at jboss.com Wed Jan 31 02:56:26 2007 From: do-not-reply at jboss.com (mwiles) Date: Wed, 31 Jan 2007 02:56:26 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: enumerations in jboss ws... Message-ID: <28383629.1170230186260.JavaMail.jboss@colo-br-02.atl.jboss.com> It's like when you're trying to break into a house - you assume the door is locked and can't figure out why you can't open it! Well turns out that all that mapping stuff for the enum is surplus to requirements as far as jboss is concerned. You just remove it and it works fine! | | za.co.sanlam.employeebenefits.IncomeTypeEnum | rtq:IncomeTypeEnum | simpleType | | pension | pension | | | salary | salary | | | I took a simple remote interface which took as a parameter an object following the enum pattern and generated the wsdl and mapping file with jboss and no mappings for the values in the enumeration were generated. The lines in red above are not necessary in jboss, and it uses the fromValue method to resolve the enum data type. Very impressive. What I didn't mention is that the jaxrpc mapping file was generated by wsdl2java from WAS which generates mapping files which have this stuff included. I'm not so sure why it even bothers as that information is available from the wsdl. I removed the mapping and tested my simple web service and it behaved just fine. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008677#4008677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008677 From do-not-reply at jboss.com Wed Jan 31 05:23:40 2007 From: do-not-reply at jboss.com (ErikEngerd2) Date: Wed, 31 Jan 2007 05:23:40 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Generating WSDL from JSR 181 POJO webservice with JBossWS 1. Message-ID: <21905128.1170239020633.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi, I am trying to figure out how to generate a WSDL using wstools from a JSR181 POJO web service, but it looks like this is not supported in wstools. The configuration file I use refers to the web service but then wstools complains that the web service does not extend Remote and extending Remote is not a requirement for JSR181 webservices. Is WSDL generation from JSR 181 POJO webservices supported by wstools? Cheers Erik View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008728#4008728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008728 From do-not-reply at jboss.com Wed Jan 31 08:57:55 2007 From: do-not-reply at jboss.com (yperey) Date: Wed, 31 Jan 2007 08:57:55 -0500 (EST) Subject: [jbossws-users] [JBossWS] - SOAP request missing namespace Message-ID: <31526579.1170251875036.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I've followed step by step the http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EEDOCClientStepByStep to deploy a web service client on JBoss 4.0.2 using JWSDP 1.6. The problem is that in the SOAP request I send to the server there are attributes of a complex type with missing namespace: | | | root | cm9vdDE= | | | | 1 | 0 | | | like for source and targets event if in the wsdl it is specified attributeFormDefault="qualified" and elementFormDefault="qualidied" as you can see: | ... | | | | | | | | | | | | | | | | | | | | | | ... | here is my wscompile line: anonymous wrote : wscompile -gen:client -f:documentliteral -f:wsi -mapping jaxrpc-mapping-client.xml -keep config-client.xml Here is the correct SOAP envelope that I'm supposed to have: | | | root | cm9vdDE= | | | | 1 | 0 | | | Any idea ? Yann. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008782#4008782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008782 From do-not-reply at jboss.com Wed Jan 31 09:12:57 2007 From: do-not-reply at jboss.com (PhFery) Date: Wed, 31 Jan 2007 09:12:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: [WSSecurityHandler] Cannot obtain security configuration Message-ID: <7579230.1170252777472.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi thomas! Have a look here for correct location of both jboss-wsse-server.xml and jboss-wsse-client.xml. It depends how you application is packaged (war, EJB jar,...) http://wiki.jboss.org/wiki/Wiki.jsp?page=WSSecurityConfig ;-) Philippe FERY View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008789#4008789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008789 From do-not-reply at jboss.com Wed Jan 31 10:59:32 2007 From: do-not-reply at jboss.com (fbadt) Date: Wed, 31 Jan 2007 10:59:32 -0500 (EST) Subject: [jbossws-users] [JBossWS] - need example: webservices client/server using UDDI ?? Message-ID: <1714406.1170259172921.JavaMail.jboss@colo-br-02.atl.jboss.com> Anyone have a "hello world" source code example that illustrates: 1: An EJB3 session bean as a webservice registering with UDDI? 2: A webservices client (J2EE5) using UDDI to get to a web service? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008834#4008834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008834 From do-not-reply at jboss.com Wed Jan 31 11:59:41 2007 From: do-not-reply at jboss.com (miniHero) Date: Wed, 31 Jan 2007 11:59:41 -0500 (EST) Subject: [jbossws-users] [JBossWS] - White space in String type field Message-ID: <25771343.1170262781414.JavaMail.jboss@colo-br-02.atl.jboss.com> Hello, I'm using JBoss-4.0.5.GA, jbossws-1.0.4.GA and JSR-181, xsd:string field type in WSDL. When client sends string consists of only spaces then on the server side I got an empty string. Is this correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008861#4008861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008861 From do-not-reply at jboss.com Wed Jan 31 12:20:15 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 31 Jan 2007 12:20:15 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: enumerations in jboss ws... Message-ID: <22581700.1170264015362.JavaMail.jboss@colo-br-02.atl.jboss.com> Interesting.... Here is what I have... (1) I have written a enum type class PromotionDetailType using the enum pattern, one of the enum values is 'Ad' (2) There is another class PromotionDetail where this enum class is being referenced and there are getters and setters for getting/setting the enum values such as public void setDetailSubType(PerformanceDetailType detailType) | { this.detailType=detailType; } | | public PerformanceDetailType getDetailType() { return detailType ;} | (3) Now I try to send a SOAP request with the following in the client | | Ad | | This gives me the following error: Caused by: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: Failed | o set value 'Ad' for property 'detailType' defined in com.demandtec.webservices.heb.PromotionDetail at 1e3f2e5 on instance | com.demandtec.webservices.heb.PromotionDetail at 1e3f2e5 | I dont have any mappings defined for the enum classes in the mapping file. Any hints would be highly appreciated. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008873#4008873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008873 From do-not-reply at jboss.com Wed Jan 31 13:24:27 2007 From: do-not-reply at jboss.com (brownjamese) Date: Wed, 31 Jan 2007 13:24:27 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: JBoss 4.0.4GA and JAXB Message-ID: <777488.1170267867513.JavaMail.jboss@colo-br-02.atl.jboss.com> We utilize JAXB 2 within our application, but not within the context of a web service. We have followed the same recommendation / work-around to put the necessary jars in ${jboss.lib.url}/endorsed. I would prefer to deploy to the ${jboss.server.home.dir}/lib directory - in other words to the individual server instance/application not to the entire server. Is there a means to do so? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008908#4008908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008908 From do-not-reply at jboss.com Wed Jan 31 14:03:57 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 31 Jan 2007 14:03:57 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: urgent: java enums and mapping file... Message-ID: <12235450.1170270237849.JavaMail.jboss@colo-br-02.atl.jboss.com> can someone pls. help here...I am really stuck here and am not able to proceed any further. When I try to call the service without any mappings defined in the mapping file it throws a org.jboss.xb.binding.JBossXBRuntimeException error. any hlp is highly appreciated. e.g. javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed t | rse source: Failed to set value 'Ad' for property 'detailType' defined in com.demandtec.webservices.heb.PromotionDet | 1d70d74 on instance com.demandtec.webservices.heb.PromotionDetail at 1d70d74 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4008941#4008941 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4008941 From do-not-reply at jboss.com Wed Jan 31 17:41:02 2007 From: do-not-reply at jboss.com (firestormua) Date: Wed, 31 Jan 2007 17:41:02 -0500 (EST) Subject: [jbossws-users] [JBossWS] - Re: java client and MS Webservice Message-ID: <14305292.1170283262620.JavaMail.jboss@colo-br-02.atl.jboss.com> After playing with ws client I came to conclusion that there is some problem with mapping file or client classes generated by wstools in my particular case(complex type enclosed into response). Not sure how do I resolve it. Can anybody help? anonymous wrote : | [java] 17:37:30,460 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://tempuri.org/TitanWebServices/TitanService}TitanServiceSoap | [java] 17:37:30,460 WARN [WSDLDefinitions] Multiple WSDL bindings referrence the same interface: {http://tempuri.org/TitanWebServices/TitanService}TitanServiceSoap | [java] 17:37:30,460 WARN [SchemaBindingBuilder] Cannot obtain type binding for: {http://tempuri.org/TitanWebServices/TitanService}>TitanRunNavisionResult | [java] 17:37:30,538 INFO [SOAP11BindingProvider] Ignore Call.SOAPACTION_USE_PROPERTY because of BP-1.0 R2745, R2745 | [java] 17:37:31,270 WARN [JBossEntityResolver] Trying to resolve systemId as a non-file URL: http://tempuri.org/TitanWebServices/TitanService | [java] 17:37:31,629 ERROR [CallImpl] Call invocation failed with unkown Exception | [java] javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:303) | [java] at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | [java] at org.jboss.ws.binding.EndpointInvocation.getReturnValue(EndpointInvocation.java:182) | [java] at org.jboss.ws.jaxrpc.CallImpl.syncOutputParams(CallImpl.java:873) | [java] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704) | [java] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | [java] at com.texadasoftware.server.accounting.service.NavisionAccountingServiceBean.setUp(NavisionAccountingServiceBean.java:88) | [java] at com.texadasoftware.server.accounting.service.NavisionAccountingServiceBean.getCustomerAccountingInfo(NavisionAccountingServiceBean.java:289) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | [java] at java.lang.reflect.Method.invoke(Unknown Source) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | [java] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | [java] at com.texadasoftware.server.infra.ValidationInterceptor.intercept(ValidationInterceptor.java:37) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | [java] at java.lang.reflect.Method.invoke(Unknown Source) | [java] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | [java] at com.texadasoftware.server.infra.audit.ActionAuditInterceptor.intercept(ActionAuditInterceptor.java:61) | [java] at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | [java] at java.lang.reflect.Method.invoke(Unknown Source) | [java] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | [java] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | [java] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:67) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166) | [java] at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) | [java] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:263) | [java] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | [java] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) | [java] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) | [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) | [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | [java] Caused by: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:100) | [java] at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235) | [java] ... 55 more | [java] Caused by: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:67) | [java] at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92) | [java] ... 56 more | [java] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:156) | [java] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126) | [java] at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63) | [java] ... 57 more | [java] Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40) | [java] at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source) | [java] at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source) | [java] at org.jboss.xb.binding.Util.loadSchema(Util.java:395) | [java] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:166) | [java] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:137) | [java] at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:248) | [java] at org.jboss.xb.binding.sunday.unmarshalling.WildcardBinding.getElement(WildcardBinding.java:161) | [java] at org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding$1.startElement(SequenceBinding.java:295) | [java] at org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding$Cursor.startElement(ModelGroupBinding.java:152) | [java] at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:195) | [java] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:301) | [java] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | [java] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | [java] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | [java] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | [java] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | [java] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | [java] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) | [java] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:152) | [java] ... 59 more | [java] 17:37:31,691 ERROR [STDERR] java.rmi.RemoteException: Call invocation failed: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'.; nested exception is: | [java] javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] 17:37:31,691 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:718) | [java] 17:37:31,691 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:404) | [java] 17:37:31,691 ERROR [STDERR] at com.texadasoftware.server.accounting.service.NavisionAccountingServiceBean.setUp(NavisionAccountingServiceBean.java:88) | [java] 17:37:31,691 ERROR [STDERR] at com.texadasoftware.server.accounting.service.NavisionAccountingServiceBean.getCustomerAccountingInfo(NavisionAccountingServiceBean.java:289) | [java] 17:37:31,691 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] 17:37:31,691 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | [java] 17:37:31,691 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | [java] 17:37:31,691 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | [java] 17:37:31,691 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | [java] 17:37:31,691 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | [java] 17:37:31,691 ERROR [STDERR] at com.texadasoftware.server.infra.ValidationInterceptor.intercept(ValidationInterceptor.java:37) | [java] 17:37:31,691 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] 17:37:31,691 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | [java] 17:37:31,691 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | [java] 17:37:31,691 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | [java] 17:37:31,691 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | [java] 17:37:31,691 ERROR [STDERR] at com.texadasoftware.server.infra.audit.ActionAuditInterceptor.intercept(ActionAuditInterceptor.java:61) | [java] 17:37:31,707 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) | [java] 17:37:31,707 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | [java] 17:37:31,707 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:67) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:131) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:263) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:828) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:681) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:358) | [java] 17:37:31,707 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:412) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | [java] 17:37:31,722 ERROR [STDERR] Caused by: javax.xml.rpc.JAXRPCException: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:303) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.binding.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:233) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.binding.EndpointInvocation.getReturnValue(EndpointInvocation.java:182) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.syncOutputParams(CallImpl.java:873) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:704) | [java] 17:37:31,722 ERROR [STDERR] ... 51 more | [java] 17:37:31,722 ERROR [STDERR] Caused by: org.jboss.ws.binding.BindingException: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:100) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:235) | [java] 17:37:31,722 ERROR [STDERR] ... 55 more | [java] 17:37:31,722 ERROR [STDERR] Caused by: org.jboss.ws.jaxb.UnmarshalException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:67) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.ws.jaxrpc.encoding.JAXBDeserializer.deserialize(JAXBDeserializer.java:92) | [java] 17:37:31,722 ERROR [STDERR] ... 56 more | [java] 17:37:31,722 ERROR [STDERR] Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:156) | [java] 17:37:31,722 ERROR [STDERR] at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:126) | [java] 17:37:31,738 ERROR [STDERR] at org.jboss.ws.jaxb.JBossXBUnmarshallerImpl.unmarshal(JBossXBUnmarshallerImpl.java:63) | [java] 17:37:31,738 ERROR [STDERR] ... 57 more | [java] 17:37:31,738 ERROR [STDERR] Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 11:109 s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw 'BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; }'. | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.Util.loadSchema(Util.java:395) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:166) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:137) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.DefaultSchemaResolver.resolve(DefaultSchemaResolver.java:248) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.WildcardBinding.getElement(WildcardBinding.java:161) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.SequenceBinding$1.startElement(SequenceBinding.java:295) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding$Cursor.startElement(ModelGroupBinding.java:152) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:195) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:301) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) | [java] 17:37:31,754 ERROR [STDERR] at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:152) | [java] 17:37:31,754 ERROR [STDERR] ... 59 more | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009082#4009082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009082 From do-not-reply at jboss.com Wed Jan 31 22:59:51 2007 From: do-not-reply at jboss.com (tejasjani) Date: Wed, 31 Jan 2007 22:59:51 -0500 (EST) Subject: [jbossws-users] [JBossWS] - How to log xml binding and WS log Message-ID: <32467247.1170302391798.JavaMail.jboss@colo-br-02.atl.jboss.com> Hi ... How do I log trace level information for org.jboss.xb.* packages Following does not seem to work: | | | OR | | | Also what is the way to log all incoming and outgoing SOAP requests Following does not seem to do it: | | | thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009191#4009191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009191