[JBossWS] - Re: Providing your own wsdl instead of the generated one.
by sgof
I followed this steps, but wsconsume generate only 2 class: the interface and the class which implement it.
I create the web.xml, generate the war file, and when I put it in jboss I obtain this:
09:39:15,267 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
0.5.GA/server/default/deploy/WPM3.war
org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nest
ed throwable: (org.jboss.ws.WSException: Cannot find required security resource:
WEB-INF/wsse.keystore)
So, I create an empty file called wsse.keystore, and I obtain this:
09:40:26,803 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
0.5.GA/server/default/deploy/WPM3.war
org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nest
ed throwable: (org.jboss.ws.WSException: Cannot find required security resource:
WEB-INF/wsse.truststore)
So, I create an empty file called wsse.truststore, and I obtain this:
09:45:19,415 ERROR [MainDeployer] Could not create deployment: file:/C:/jboss-4.
0.5.GA/server/default/deploy/WPM3.war
org.jboss.deployment.DeploymentException: Cannot create service endpoint; - nest
ed throwable: (org.jboss.ws.WSException: Cannot find port in wsdl: {http://local
host:8080/WPM3}wpmPort)
Can you help me?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039723#4039723
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039723
17 years, 10 months
[JBossWS] - Re: String[] with SOAP... Please help me!
by chui
Well, Thomas... I did what you told me, but I have no results =/
I had a look at the source of JBWS632 in testsuite, I have almost the same things. Here are the differences:
- The test's WSDL has its own namespaces and uses an "import" tag inside the schema. The namespaces I use are http://interfaces/jaws because JBossAS asked me for it when deploying the webservice. I also use http://interfaces/jaws/types, because I don't know what should I use as xmlns:tns and schema targetnamespace.
- The test's jaxrpc-mapping.xml is almost the same as mine, but JBWS632 includes a String[][] result.
- Finally, JBWS632 testcase uses JSR-109 client, with JNDI lookup. I'm using configured DII... Both need jaxrpc-mapping.xml, so I think the problem wouldn't disappear.
Well, I'll try installing other JBossAS and use JBossWS 1.2.1. Hope that works, I'm crazy with this problem...
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039653#4039653
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039653
17 years, 10 months
[JBossWS] - Re: how to run the jbossws samples?
by centecbertl
"danielmesser" wrote : Hi,
| I also get the following exceptions:
| tests-main:
| [mkdir] Created dir: /home/dmesser/jbossws/jbossws-samples-1.2.0.SP1/output/reports
| [junit] Running org.jboss.test.ws.jaxrpc.samples.docstyle.bare.TrivialServiceDocBareTestCase
| [junit] java.lang.SecurityException: Failed to authenticate principal=null, securityDomain=jmx-console
|
|
the JBossWS samples do not work when JMX authentication is activated (as it is when using the JBoss AS 4.0.5 installer per default, and as it anyway should always be!). For using the samples I had to disable JMX Authentication:
| $ diff -u $JBOSS_HOME/server/default/deploy/jmx-invoker-service.xml~ jmx-invoker-service.xml
| --- C:\Programme\jboss-4.0.5.GA/server/default/deploy/jmx-invoker-service.xml~ 2006-12-13 09:27:32.578125000 +0100
| +++ jmx-invoker-service.xml 2007-03-07 19:52:39.132619900 +0100
| @@ -102,8 +102,8 @@
| <return-type>java.lang.Object</return-type>
| <descriptors>
| <interceptors>
| - <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
| - securityDomain="java:/jaas/jmx-console"/>
| + <!-- interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
| + securityDomain="java:/jaas/jmx-console"/-->
| </interceptors>
| </descriptors>
| </operation>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039515#4039515
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039515
17 years, 10 months
[JBossWS] - Re: String[] with SOAP... Please help me!
by chui
"santhosh288" wrote : Hello Chui,
|
| Even I am facing the same issue with String[] as input parameter in my WS. Did you find any solution for this? Please let me know.
|
| Thanks,
| Santhosh
Hi, santhosh288 ! Unfortunately I didn't find a solution for this. =/ Watch this topic, if I find a solution I'll post it here, ok??
"kcp" wrote : Did you try to wrap the array in a another class?
Thanks, kcp, but this didn't function. I read a tutorial that suggested a class instead of String[], but I don't remember what was the error I found. Then I tried the automatic generation with WSTools and I got the files I posted before.
"thomas.diesler(a)jboss.com" wrote : Please have a look at the array tests in the testsuit
Sorry, but... Where can I find the testsuit?? Any URL or something like that?
---------------
Thank you all for the answers!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039362#4039362
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4039362
17 years, 10 months