[JBossWS] - Re: Jbossws 2.0.2 with jdk1.6
by Artec
Ok...it's the same document that i view yesterday.
I copy the library into my installation path /data/jboss-portal/lib/endorsed
The first question is: is correct my ant.properties
#
# A sample ant properties file
#
# $Id: ant.properties.example 3137 2007-05-18 13:41:57Z thomas.diesler(a)jboss.com $
# Optional JBoss Home
jboss405.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_0_5_GA/build/output/jboss-4.0.5.GA-ejb3
jboss421.home=/data/jboss-portal/
jboss422.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA
jboss500.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3
# The JBoss server under test. This can be [jboss405|jboss421|jboss422|jboss500]
jbossws.integration.target=jboss421
# The JBoss settings
jboss.server.instance=default
jboss.bind.address=localhost
# JBoss Repository
#jboss.repository=file:/home/tdiesler/svn/jboss.local.repository
jboss.repository=http://repository.jboss.org
# JBoss JMX invoker authentication
#jmx.authentication.username=admin
#jmx.authentication.password=admin
# Java Compiler options
javac.debug=yes
javac.deprecation=no
javac.fail.onerror=yes
javac.verbose=no
Thanks
Davide
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110443#4110443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110443
17 years
[JBossWS] - Re: JBoss WSSecurity and .Net Client
by method_ben
I did a web service with JBossWS running on JBoss AS 4.2.2.GA. I installed JBossWS 2.0.2.GA. I deployed it in a war file with the jboss-wsse-client.xml,jboss-wsse-server.xml, wsse.keystore and wsse.truststore (in the WEB-INF).
"Every things is ok with a java client". I have exported a certificate with the java keytool.
In my Visual Studio Project, I specify the certificate with WSE Setting 3.0 (the Policy Tab). When I run my .Net client, I get this error :
System.Security.Cryptography.CryptographicException
"Object contains only the public half of a key pair. A private key must also be provided."
The exception is throwed by .Net Environment and I get no exception on my JBoss AS log file.
I think that the exported certificate from the java keystore does not contain the private key or has not a valid format!?
The certificate must be converted ?
Thx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110224#4110224
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110224
17 years
[JBossWS] - Juddi broken on 4.2.1 + 4.2.2
by pleamon
Not sure if this is the right forum or not, so feel free to move it.
I've been using jboss AS 4.0.5 GA and 4.2.0 GA and have been successfully using the juddi service as my uddi registry. When I move to 4.2.1 GA or 4.2.2 GA I now get this:
ERROR [org.jboss.jaxr.juddi.JUDDIServlet] org.jboss.ws.core.soap.TextImpl
java.lang.ClassCastException: org.jboss.ws.core.soap.TextImpl
at org.jboss.jaxr.juddi.JUDDIServlet.doPost(JUDDIServlet.java:120)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
...
There seem to be a few related posts/jira issues, but I'm not sure if they are the same issue or not.
Basically I'm trying to publish to the registry. I've tried using various server configs, but even the 'all' config doesn't work.
Is this something that will be fixed in a future release?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110130#4110130
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110130
17 years
[JBossWS] - Really slow with @WebServiceRef?
by suresk
I am trying to use JBossWS with Amazon Web Services. Everything is working, but it is extremely slow. The request itself takes less than a second, but the whole operations takes close to twenty seconds and it appears the slowness is in the creation of the port. I'm sure I'm doing something subtly wrong, anyone have any ideas what it is?
I am using JBossWS 2.0.1.SP2 and JBoss AS 4.2.2GA. Here is the class that is using the service:
| @Stateful
| public class AmazonSearch implements AmazonSearchHome {
|
| @WebServiceRef(AWSECommerceService.class)
| private AWSECommerceServicePortType port;
|
| @DataModel
| List <Item> amazonSearchResults;
|
|
| public void findResults() {
|
| amazonSearchResults = new ArrayList<Item>();
|
| ItemSearchRequest request = new ItemSearchRequest();
| request.setKeywords(title);
| request.setSearchIndex("Books");
| request.getResponseGroup().add("Medium");
|
| List <ItemSearchRequest> requests = new ArrayList<ItemSearchRequest>();
| requests.add(request);
|
| Holder<OperationRequest> operationRequest = new Holder<OperationRequest>();
|
| Holder<List<Items>> items = new Holder<List<Items>>();
|
| port.itemSearch(null, ACCESS_KEY, null, ASSOCIATE_TAG, null, null, null, requests, operationRequest, items);
|
| System.out.println("processing time: " + operationRequest.value.getRequestProcessingTime());
| System.out.println("results: " + items.value.size());
|
|
| }
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110071#4110071
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110071
17 years