[JBossWS] - Re: jbossws 1.0.1GA sample not working
by heiko.braun@jboss.com
The com.ibm.wsdl.xml.WSDLWriterImpl maps Java encodings to xml encodings:
| static
| {
| xmlEncodingMap.put(null, Constants.XML_DECL_DEFAULT);
| xmlEncodingMap.put(System.getProperty("file.encoding"),
| Constants.XML_DECL_DEFAULT);
| xmlEncodingMap.put("UTF8", "UTF-8");
| xmlEncodingMap.put("UTF-16", "UTF-16");
| xmlEncodingMap.put("UnicodeBig", "UTF-16");
| xmlEncodingMap.put("UnicodeLittle", "UTF-16");
| xmlEncodingMap.put("ASCII", "US-ASCII");
| xmlEncodingMap.put("ISO8859_1", "ISO-8859-1");
| xmlEncodingMap.put("ISO8859_2", "ISO-8859-2");
| xmlEncodingMap.put("ISO8859_3", "ISO-8859-3");
| xmlEncodingMap.put("ISO8859_4", "ISO-8859-4");
| xmlEncodingMap.put("ISO8859_5", "ISO-8859-5");
| xmlEncodingMap.put("ISO8859_6", "ISO-8859-6");
| xmlEncodingMap.put("ISO8859_7", "ISO-8859-7");
| xmlEncodingMap.put("ISO8859_8", "ISO-8859-8");
| xmlEncodingMap.put("ISO8859_9", "ISO-8859-9");
| xmlEncodingMap.put("ISO8859_13", "ISO-8859-13");
| xmlEncodingMap.put("ISO8859_15_FDIS", "ISO-8859-15");
| xmlEncodingMap.put("GBK", "GBK");
| xmlEncodingMap.put("Big5", "Big5");
| }
|
For some reason unknown to me, it maps 'ISO8859_15_FDIS' but not 'ISO8859_15'. So i'd say either you go ahead and fix wsd4l, or you use ISO8859_15_FDIS as your system file encoding.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958024#3958024
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958024
19 years, 9 months
[EJB 3.0] - Maven2 and Embeddable EJB3
by oranheim
I'm trying to figure out what it takes to have the Embeddable EJB3 running in Maven2. I use JBoss 4.0.4 and Seam 1.0.1. I have turned to the Seam forum, but as my error seem to be releated to the EJB3 container I turn to the EJB3-user forum instead.
You can read more about my issue here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86127
My resource configuration looks like this:
| /src/main/resources/META-INF/dvd-ds.xml
| /src/main/resources/META-INF/ejb-jar.xml
| /src/main/resources/META-INF/persistence.xml
| /src/main/resources/components.xml
| /src/main/resources/mport.sql
| /src/main/resources/seam.properties
|
| /src/test/resources/jboss-jms-beans.xml
| /src/test/resources/seam.properties
| /src/test/resources/default.persistence.properties
| /src/test/resources/jndi.properties
| /src/test/resources/security-beans.xml
| /src/test/resources/ejb3-interceptors-aop.xml
| /src/test/resources/log4j.xml
| /src/test/resources/embedded-jboss-beans.xml
| /src/test/resources/login-config.xml
| /src/test/resources/testng.xml
|
Does the above listing look correct? Are my paths right.
This error prone simply prohibits me to develop and test EJB3 beans. With Spring everything was so simple, but I want to back-port my whole project using JEE standards instead.
Ove
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958019#3958019
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958019
19 years, 9 months
[JBossWS] - Re: JBossWS 1.0.1GA JSR181 and WS-Security
by ramazanyich
I downloaded latest version from SVN and build it.
Based on test case for JSR181EJB I modified my class file.
I added annotation on my EJB bean class:
@HandlerChain(file = "resource://config/ServerHandlers.xml", name = "SecureHandlerChain")
during packaging of my JAR file I add config/ServerHandlers.xml file:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <handler-config>
| <handler-chain>
| <handler-chain-name>SecureHandlerChain</handler-chain-name>
| <handler>
| <handler-name>WSSecurityHandlerInbound</handler-name>
| <handler-class>org.jboss.ws.wsse.WSSecurityHandlerInbound</handler-class>
| </handler>
| </handler-chain>
| </handler-config>
And now if I try to access it from webservices client without wsse:security I get :
This service requires <wsse:Security>, which is missing.
So it is fixed ! Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958012#3958012
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958012
19 years, 9 months