[jboss-user] [JBossWS] - Re: web services samples

rayymlai do-not-reply at jboss.com
Mon Oct 30 13:28:35 EST 2006


I made some progress to resolve the issues when running jbossws WSS sample.

Assumptions
- JBoss 4.0.5 on laptop
- JBossws 1.0.3 on the same laptop

Procedures
1. Pre-requisites (discussed in previous threads)
- replace xercesImpl.jar version 2.7.x in ANT
- add JUnit test in classpath
- ensure jboss-xml-binding file is deployed to server, and in the client directory, as per release notes

2. From the output/log, it seems that something is wrong with the hostname, and wss samples can't connect to the server, though the WS is deployed
- I replaced the hostname in the codes (just to make the WSS sample works)

e.g. in SimpleSignTestCase.java
((Stub)port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:8080/jbossws-samples-wssecurity-sign");

3. do a clean up first
%ant clean

4. re-run the wss examples
%ant
%ant tests

Now I have the jboss ws examples running. Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981847#3981847

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981847



More information about the jboss-user mailing list