[jboss-user] [JBossWS] - Re: HELP! Can not deploy even the simplest web service
You can see a basic list of steps for deploying a web service as an .ear here: http://metamorphiq.livejournal.com/9532.html These are some self notes I made while learning, so they might be sketchy -- feel free to ask if some parts are blurry. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165598#4165598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Security trouble: {http://www.w3.org/2005/08/addressi
I've been following the posts of helmutdoe and xinhua earlier, and Alessio Soldano seemed to suggest this might be a bug: http://www.jboss.com/index.html?module=bbop=viewtopict=138474 (just scroll down to Alessio's reply) No JIRA issues have been created yet, however, so I have no idea. I have certainly not managed to solve this yet :) Regarding your jboss-wsse-server.xml config, I am not sure, but shouldn't you have something like this: config | [...] | requires |signature/ | /requires | /config to require a signature, for instance? At any rate, my guess is that the requires tag should not be empty. I think your endpoint does not know it is supposed to require a username token. If you manage to make some progress, please do share! :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163800#4163800 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163800 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Web Service Client Classpath
1. Which version do you use, wsrunclient.sh or wsrunclient.bat? 2. Is your JBOSS_HOME environment variable set to the proper value? I have never tried the .sh version, but wsrunclient.bat certainly runs out of the box. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163803#4163803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: remote authentication=no route to host found
Thank you for your answer, you put me on the right track! It was something related to jndi naming as I suspected, but a much more stupid mistake -- in login-config.xml I had set the datasource to java:/jdbc/WSTwoDS, but I should have set it to java:jdbc/WSTwoDS, as the *-ds.xml file had jdbc/WSTwoDS ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163617#4163617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ...Port does not contain operation meta data for: {http:
Thank you! Well, I'll be following closely the jira issue related to this :) Good luck to you, too! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162557#4162557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - remote authentication=no route to host found
Hello all, I am testing authenticated access to a web service, with a security domain of my own and username/password taken from a mySQL database. I am using JBoss 4.0.5 and JBossWS 2.0.3, and on my localhost I have the mySQL database from where the username and password are taken, as well as the client. Everything works perfectly when I have all things deployed locally (web service, database, client). However, I run into problems when invoking the web service deployed on a remote machine. On the remote server console a no route to host error appears: anonymous wrote : | Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: | | ** BEGIN NESTED EXCEPTION ** | | java.net.SocketException | MESSAGE: java.net.NoRouteToHostException: No route to host | | STACKTRACE: | | java.net.SocketException: java.net.NoRouteToHostException: No route to host | at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) | at com.mysql.jdbc.MysqlIO.(MysqlIO.java:284) | On the client side I receive an Unauthorized error: anonymous wrote : 3875 [main] DEBUG org.jboss.remoting.transport.http.HTTPClientInvoker - Error invoking http client invoker. | org.jboss.ws.WSException: Invalid HTTP server response [401] - Unauthorized | at org.jboss.ws.core.soap.SOAPMessageUnMarshaller.read(SOAPMessageUnMarshaller.java:77) | at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:175) | ... | javax.xml.ws.WebServiceException: java.io.IOException: Could not transmit message | Using the default JBossWS security domain, with username kermit and password thefrog taken from users.properties, works with both local and remote deployment of my web service. So I was thinking maybe the data source is not found? However, the database seems to be correctly bound, judging by the server log data: anonymous wrote : INFO [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/WSTwoDS' to JNDI name 'java:jdbc/WSTwoDS' Perhaps my client needs special jndi.properties settings? (pure brainstorming, potentially stupid, based on some forum posts I browsed) How my files look like: Security-relevant annotations on Web Service (which is deployed as SLSB in an ear): @org.jboss.wsf.spi.annotation.WebContext(contextRoot = /webservices-ws, urlPattern=/services/WSTwo/*, authMethod=BASIC, transportGuarantee=NONE, secureWSDLAccess=false) | @SecurityDomain(wstwo) | @RolesAllowed(friend) In server/default/conf/login-config.xml on the remote machine I have added the wstwo application policy thus: application-policy name=wstwo | authentication | login-module code=org.jboss.security.auth.spi.DatabaseServerLoginModule | flag=required | module-option name=dsJndiNamejava:/jdbc/WSTwoDS/module-option | module-option name=principalsQuery | select pass from USERS where login=? | /module-option | module-option name=rolesQuery | select role,'Roles' from USER_ROLES where login=? | /module-option | /login-module | /authentication | /application-policy And the data source for the web service is defined in the server/default/deploy/*-ds.xml file like this: local-tx-datasource | jndi-namejdbc/WSTwoDS/jndi-name | connection-urljdbc:mysql://IP_OF_MY_LOCALHOST:3306/security/connection-url | ... | /local-tx-datasource And of course the tables as described in the application policy are defined on my local machine. In the client I pass the username and password: ((BindingProvider)wstwo).getRequestContext().put(BindingProvider.USERNAME_PROPERTY, user); | ((BindingProvider)wstwo).getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, pass); Does anyone have any idea about where I'm doing something wrong? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4162598#4162598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4162598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Security trouble: {http://www.w3.org/2005/08/addressi
Tried out the same configuration in JBoss 4.2.2 with JBossWS 3.0.2, thinking maybe there was some bug which was fixed in the meantime. However, I am getting the same errors, which leads me to think that I must be doing something extremely stupid. Doesn't anybody have any clue about this? I appreciate any and every suggestions (even if it's an angry RTFM reply :D ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161421#4161421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Security trouble: {http://www.w3.org/2005/08/addressi
[EMAIL PROTECTED] wrote : Hi, as a general suggestion, I first of all suggest you to try using some more recent versions of both JBoss AS and JBossWS. Hi, thanks for the suggestions! As a matter of fact, I am using JBoss 4.2.2 and JBossWS 3.0.2 now, with the same problems. Some more answers/questions for each of your points below. anonymous wrote : You get this message because you're using WS-Addressing and the Action header is missing in your SOAP message. This is not related to WS-Security. | Have I inadvertently activated WS-Addressing? (that was most certainly not my intention). I thought for using WS-Addressing one has to have an annotation like this on the web service class: @EndpointConfig(configName = Standard WSAddressing Endpoint) ? anonymous wrote : | Endpoint {http://localhost:8080/atb}WSTwoServiceBeanPort does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData | | under which conditions you got this? Try looking at the log and verify the security handler on server side is configured (the ws-security conf is selected). I got this when requesting encryption in both client and service jboss-wsse-.xml I'm not sure if this part of the log is what you referred to, but the security config seems to be null: anonymous wrote : 2008-06-30 15:23:36,422 DEBUG [org.jboss.system.ServiceConfigurator] SecurityConf set to [security: null] in jboss.mq.destination:service=Topic,name=testTopic | 2008-06-30 15:23:36,422 DEBUG [org.jboss.mq.server.jmx.Topic.testTopic] Setting securityConf: [security: null] On the service endpoint it seems to be ok: anonymous wrote : ServerEndpointMetaData: | type=JAXWS | qname={http://wsthree.ws.atb.com/}WSThreeServiceBeanPort | [...] | configFile=META-INF/standard-jaxws-endpoint-config.xml | configName=Standard WSSecurity Endpoint | authMethod=null | transportGuarantee=null | secureWSDLAccess=false | properties={} (I suppose META-INF/standard-jaxws-endpoint-config.xml is taken from the JBossWS.sar deployment, as it is not present in my web service deployment anymore? ) And a bit lower in the log file the handler seems to be ok as well: anonymous wrote : HandlerMetaDataJAXWS: | type=POST | name=WSSecurity Handler | class=class org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer | params=[] | protocols=##SOAP11_HTTP ##SOAP11_HTTP_MTOM | services=null | ports=null Anyway, to sum up what I have now and what does not work: Web service: | @WebService | @SOAPBinding(style = javax.jws.soap.SOAPBinding.Style.DOCUMENT, | use = javax.jws.soap.SOAPBinding.Use.LITERAL, | parameterStyle = javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED) | @EndpointConfig(configName = Standard WSSecurity Endpoint) | public class WSThreeServiceBean implements WSThreeRemoteInterface { |@WebMethod |public String hello(String input) { |return Hello, + input + !; |} | } In the META-INF folder there is the keystore, truststore and jboss-wsse-server.xml Client: [...] | securityURL = new File(META-INF/jboss-wsse-client.xml).toURL(); | ((StubExt)wsthree).setSecurityConfig(securityURL.toExternalForm()); | ((StubExt)wsthree).setConfigName(Standard WSSecurity Client); | with keystore, truststore and jboss-wsse-client.xml in the META-INF (client is standalone). Both service and client request messages to be signed. Tracing the SOAP messages, looks like the client sends a properly signed message, which the service receives, then answers without signing the message. The client replies with This service requires wsse:Security, which is missing., which is logical, since the service sent an unsigned message. If I comment out ((StubExt)wsthree).setConfigName(Standard WSSecurity Client); in the client, the request-reply goes perfectly: the client sends an unsigned message, and the service answers with an unsigned message as well. What is not so clear to me is how to make the web service sign the message -- does it need something else besides the @EndpointConfig annotation and jboss-wsse-server.xml? Thank you! (And I really apologize if I am asking stupid questions in the wrong direction, I think I've gotten to the point where I can't see the forest because of the trees anymore...) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161532#4161532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Security trouble: {http://www.w3.org/2005/08/addressi
I intercepted the SOAP messages being sent, and it seems that the client signs the message, but the service does not answer in kind. When setting up the client and server for message encryption, the same thing occurs -- the client correctly encrypts the outgoing message, but then this error appears: anonymous wrote : Endpoint {http://localhost:8080/atb}WSTwoServiceBeanPort does not contain operation meta data for: {http://www.w3.org/2001/04/xmlenc#}EncryptedData | Does this vaguely mean that the service is not able to properly encrypt its response? Maybe this rings a bell for someone. Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161186#4161186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4161186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Need help : JBossWS Security!
helmutdoe wrote : The wsse:Security missing occurs if i remove the followin line on my code. | | ((StubExt) ksb).setConfigName(Standard WSSecurity Client); | | | | And this is traceable to me because then the client application do not know how he should configure the SecurityHandlers. Since i had debugged the client code i was able to locate when the exception occurs. | | | | ((StubExt) ksb).setSecurityConfig(META-INF/jboss-wsse-client.xml); | | | Hmm, interesting -- I have both lines of code as you mentioned them in my client, but I'm still getting the missing wsse:Security error. So I must be doing something else wrong, as well :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160751#4160751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4160751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: new format required for wsdl in JBossws2.0.0?
Never mind, solved -- my bad ;) For some reason, when working with the newer JBossWS, the wsconsume build script did not know how to resolve the localhost name in the given wsdl location to localhost and the wsdl was not found. Replacing the actual name with localhost solved the problem. Hopefully this helps someone. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160754#4160754 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4160754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WS-Security trouble: {http://www.w3.org/2005/08/addressing}A
Hello all, I am trying to use WS-Security and have a client and web service exchange signed messages. However, I have run into some trouble -- can't get rid of this error (seen on both server and client consoles): anonymous wrote : ERROR [SOAPFaultHelperJAXWS] SOAP request exception | javax.xml.ws.addressing.AddressingException: Required element {http://www.w3.org/2005/08/addressing}Action is missing | | at org.jboss.ws.extensions.addressing.soap.SOAPAddressingPropertiesImpl.getRequiredHeaderContent(SOAPAddressingPropertiesImpl.java:71) | at org.jboss.ws.extensions.addressing.soap.SOAPAddressingPropertiesImpl.readHeaders(SOAPAddressingPropertiesImpl.java:141) | at org.jboss.ws.extensions.addressing.jaxws.WSAddressingServerHandler.handleInbound(WSAddressingServerHandler.java:82) | [...] | My configuration is JBoss 4.0.5 JBossWS 2.0.0, and the files as described below. I. Web service, deployed as SLSB in ear archive: |-ejb.jar (contains Endpoint implementation WSTwoServiceBean.java) |-META-INF |---server.keystore |---server.truststore |---application.xml |---jboss-wsse-server.xml |---standard-jaxws-endpoint-config.xml Service endpoint implementation: WSTwoServiceBean.java //EJB3 annotations | @javax.ejb.Stateless | @org.jboss.annotation.ejb.RemoteBinding(jndiBinding = WebServices/WSTwoServiceBeanInterface) | @javax.ejb.Remote({com.atb.webservices.wstwo.WSTwoServiceBeanInterface.class}) | | // WS annotations | @javax.jws.WebService(endpointInterface = com.atb.webservices.wstwo.WSTwoRemoteInterface, targetNamespace = http://localhost:8080/atb;) | @org.jboss.wsf.spi.annotation.WebContext(contextRoot = /webservices-ws, urlPattern=/services/WSTwo/*) | @javax.jws.soap.SOAPBinding(style = javax.jws.soap.SOAPBinding.Style.DOCUMENT, use = javax.jws.soap.SOAPBinding.Use.LITERAL, parameterStyle = javax.jws.soap.SOAPBinding.ParameterStyle.WRAPPED) | @HandlerChain(file=resource://META-INF/standard-jaxws-endpoint-config.xml) | @EndpointConfig(configName = Standard WSSecurity Endpoint) | @SecurityDomain(JBossWS) | public class WSTwoServiceBean implements WSTwoServiceBeanInterface { | @WebMethod | public String hello(String s){ | return Hello, + s + !; | } | } | jboss-wsse-server.xml: jboss-ws-security xmlns=http://www.jboss.com/ws-security/config; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://www.jboss.com/ws-security/config | http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd; | key-store-fileMETA-INF/server.keystore/key-store-file | key-store-passwordserver/key-store-password | trust-store-fileMETA-INF/server.truststore/trust-store-file | trust-store-passwordserver/trust-store-password | config | sign type=jks alias=server/ | requires |signature/ | /requires | /config | /jboss-ws-security standard-jaxws-endpoint-config.xml: jaxws-config xmlns=urn:jboss:jaxws-config:2.0 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:javaee=http://java.sun.com/xml/ns/javaee; | xsi:schemaLocation=urn:jboss:jaxws-config:2.0 jaxws-config_2_0.xsd | | endpoint-config | config-nameStandard WSSecurity Endpoint/config-name | post-handler-chains | javaee:handler-chain | javaee:protocol-bindings##SOAP11_HTTP/javaee:protocol-bindings | javaee:handler | javaee:handler-nameWSSecurity Handler/javaee:handler-name | javaee:handler-classorg.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer/javaee:handler-class | /javaee:handler | /javaee:handler-chain | /post-handler-chains | /endpoint-config | | /jaxws-config | II. Client, standalone application: |-TestWS.java |-META-INF |---jboss-wsse-client.xml |---standard-jaxws-client-config.xml |---client.keystore |---client.truststore (Even though, being a standalone client, I suspect placing the files in a folder other than META-INF wouldn't make any difference) TestWS.java: | WSTwoServiceBeanService wstwoService = new WSTwoServiceBeanService(); | WSTwo wstwo = wstwoService.getPort(WSTwo.class); | | URL securityURL = null; | URL securityConfig = null; | try { | securityURL = new File(META-INF/jboss-wsse-client.xml).toURL(); | securityConfig = new File(META-INF/standard-jaxws-client-config.xml).toURL(); | } catch (MalformedURLException e) { | System.out.println(e); | } | ((StubExt)wstwo).setSecurityConfig(securityURL.toExternalForm()); | ((StubExt)wstwo).setConfigName(Standard WSSecurity Client, securityConfig.toExternalForm()); | | String response = wstwo.hello(world); | System.out.println(Web
[jboss-user] [JBossWS] - new format required for wsdl in JBossws2.0.0?
Hello all, I have some problems transitioning from JBoss 4.0.5 + JBossws 2.0.0 to JBoss 4.2.0 + JBossws 3.0.2. A simple web service (deployed as an annotated EJB within an ear) which was working perfectly in the initial configuration cannot be consumed by wsconsume in the second configuration: anonymous wrote : [wsconsume] Failed to read the WSDL document: http://nifhel:8080/webservices-ws/services/WSTwo?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not wsdl:definitions. | [wsconsume] [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s): | [wsconsume] At least one WSDL with at least one service definition needs to be provided. | [wsconsume] Failed to parse the WSDL. | ... | My generated WSDL file indeed does not have a wsdl:service tag as root, it looks like this (with some parts eliminated for clarity): anonymous wrote : | definitions name='WSTwoServiceBeanService' targetNamespace='http://localhost:8080/atb' xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:tns='http://localhost:8080/atb' xmlns:xsd='http://www.w3.org/2001/XMLSchema' | | xs:schema targetNamespace='http://localhost:8080/atb' version='1.0' xmlns:tns='http://localhost:8080/atb' xmlns:xs='http://www.w3.org/2001/XMLSchema' |xs:element name='hello' type='tns:hello'/ |xs:element name='helloResponse' type='tns:helloResponse'/ |xs:complexType name='hello' | xs:sequence | xs:element minOccurs='0' name='arg0' type='xs:string'/ | /xs:sequence | |/xs:complexType |xs:complexType name='helloResponse' | xs:sequence | xs:element minOccurs='0' name='return' type='xs:string'/ | /xs:sequence |/xs:complexType | /xs:schema | | [...] | How can I influence the generation of a wsdl document which complies to what wsconsume seems to expect? Or is there another mistake I might have made? Additional things I tried: Searching around led me to this forum post: http://www.jboss.com/index.html?module=bbop=viewtopicp=4102431 and this JIRA issue: http://jira.jboss.org/jira/browse/JBESB-1719, which seem (?) to be related to my problem. Setting fork=true for wsconsume like suggested in the forum post linked above led to the gnu.getopt.LongOpt class to be reported as not found, and after adding the corresponding jar to the classpath I get an almost identical error to the one I've started with: anonymous wrote : [wsconsume] parsing WSDL... | [wsconsume] [ERROR] Connection reset | [wsconsume] Failed to read the WSDL document: http://nifhel:8080/webservices-ws/services/WSTwo?wsdl, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not wsdl:definitions. | [wsconsume] [ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s): | [wsconsume] At least one WSDL with at least one service definition needs to be provided. | [wsconsume] Failed to parse the WSDL. | [wsconsume] Failed to invoke WsImport | [wsconsume] java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for more information | [wsconsume] at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:234) | [wsconsume] at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:223) | [wsconsume] at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:81) | [wsconsume] Error: Could not import. (use --verbose to see full traces) | [wsconsume] java.lang.IllegalStateException: WsImport invocation failed. Try the verbose switch for more information | [wsconsume] at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:234) | [wsconsume] at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:223) | [wsconsume] at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:81) Can anyone help with this issue? Thank you very much! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160485#4160485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4160485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Need help : JBossWS Security!
I can confirm the same issue occurring when working with JBoss 4.0.5 JBossWS 2.0.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160491#4160491 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4160491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Need help : JBossWS Security!
I apologize, I might have been a bit ambiguous -- I wanted to say that I encountered the same wsse:Security is missing error when the client pings the web service. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4160562#4160562 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4160562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: hello-sample: no processdefinition.xml inside process ar
The jBPM BPEL 1.1.GA works fine, thank you very much for your help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=463#463 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - hello-sample: no processdefinition.xml inside process archiv
Hello all, I am trying to run the hello sample from jbpm-bpel-1.1.Beta3. Working on JBoss 4.0.5 with the default server, I have deployed the jbpm-bpel.sar as described in the user guide. Then I have performed ant pack-definition and deploy-definition for the hello example successfully. However, on running the generate-service target I am getting this error: c:\jbpm-bpel-1.1.Beta3\examples\helloant generate-service | Buildfile: build.xml | | pack-definition: | | generate-service: | [servicegen] 27.11.2007 10:52:12 org.jbpm.JbpmConfiguration getInstance | [servicegen] INFO: using jbpm configuration resource 'jbpm.cfg.xml' | | BUILD FAILED | c:\jbpm-bpel-1.1.Beta3\examples\common\bpel-build.xml:76: org.jbpm.jpdl.JpdlException: [[ERROR] no processdefinition.xml inside process archive] Is the processdefinition.xml something that I must create? I see other people have had this problem before, however I couldn't get much out of those posts: http://www.jboss.com/index.html?module=bbop=viewtopicp=4001519 http://www.jboss.com/index.html?module=bbop=viewtopicp=4094543 Any idea as to what I might be doing wrong? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107979#4107979 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: problem with jbpm
What jBPM version are you using? In newer versions (3.2.GA), the address is http://localhost:8080/jbpm-console. This should solve it, assuming you don't have other problems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4106652#4106652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4106652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - IllegalStateException: Cannot load SecurityAdaptor while run
Hello all, I am trying to run the SwaRef test sample from JBossWS 2.0 (working under JBoss 4.0.5). After building the tests, I execute ant -Dtest=jaxws/samples/swaref and I get this exception: java.lang.IllegalStateException: Cannot load SecurityAdaptor | at org.jboss.wsf.spi.invocation.SecurityAdaptorFactory.getSecurityAdaptor(SecurityAdaptorFactory.java:40) | at org.jboss.wsf.spi.test.TestDeployerJBoss.invokeMainDeployer(TestDeployerJBoss.java:81) | at org.jboss.wsf.spi.test.TestDeployerJBoss.deploy(TestDeployerJBoss.java:68) | at org.jboss.wsf.spi.test.JBossWSTestHelper.deploy(JBossWSTestHelper.java:58) | at org.jboss.wsf.spi.test.JBossWSTestSetup.setUp(JBossWSTestSetup.java:94) | at junit.extensions.TestSetup$1.protect(TestSetup.java:22) | at junit.framework.TestResult.runProtected(TestResult.java:128) | at junit.extensions.TestSetup.run(TestSetup.java:27) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:421) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:912) | at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:766) | Same exception is thrown for every other test sample in the suite. Can someone please offer some insight as to why this might be happening? Thank you! --Chris. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086502#4086502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: IllegalStateException: Cannot load SecurityAdaptor while
Thank you, got them running in JBossWS 2.0.1. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086661#4086661 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086661 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jboss4.0.5 + which version of jbossws + correct document
rocken7 wrote : jbossws-1.2 or jbossws-2 do not seem to work on jboss-4.0.5.GA, at least any kind of java type mapping from the wsdl. Hm, I am using JBoss 4.0.5 with JBossWS 2, it appears to work ok. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4072427#4072427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4072427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Autogeneration of wrapper beans not supported with JAXRPC
Hello all, I am using JBoss as the application server for deploying web services. In particular, I use wscompile to generate the wsdl file, and I am starting from java beans with xdoclet annotations. The rpc/literal web services work perfectly, even tested them with a .NET client, arrays are passed ok as well. When I set wscompile to use document/literal (without any other modifications), though, JBoss complains on deployment about the .ear file and says : org.jboss.deployment.DeploymentException: Cannot start service endpoint; - nested throwable: (org.jboss.ws.WSException: Autogeneration of wrapper beans not supported with JAXRPC) The only Google hits when searching for that error point to the JBossWS SVN repository. Browsing through the JBossWS SVN, I suspect that one of these two operations: + ClassLoader loader = getOperationMetaData().getEndpointMetaData().getClassLoader(); + wrapperBean = JavaUtils.loadJavaType(javaTypeName, loader); returns a null in the loadWrapperBean() method in the org.jboss.ws.metadata.umdm.ParameterMetaData class. But these are only speculations. Has someone any idea regarding this problem, perhaps something that I am doing wrong? Or maybe a more straightforward way of building document/literal WS, if nothing else? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042070#4042070 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042070 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Autogeneration of wrapper beans not supported with JAXRP
SOLVED! It turns out several automatically generated files (xx_RequestStruct, xx_ResponseStruct, etc.) are not copied to the ejb.jar and that's why they're not found on deployment. Why the rpc/literal works under those conditions is still a mystery to me, but the doc/lit works when you add those files in the ejb.jar and then remake the .ear file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4042155#4042155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4042155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user