[JBoss Web Services] - Try to expose Web Service on JBoss AS 5.1
by Andrea Cacciatori
Andrea Cacciatori [http://community.jboss.org/people/backendista] created the discussion
"Try to expose Web Service on JBoss AS 5.1"
To view the discussion, visit: http://community.jboss.org/message/590586#590586
--------------------------------------------------------------
Hi to all guys :)
I had some problems with web services in JBoss.
I use a backend framework that permits me to expose a business service (like java class) as webservice.
I create a dynamic web project that is deploy on my JBoss AS.
I use eclipse helios 3.2, 32 bit.
>From the endpoint of the service i started the specific wizard to create web service throught axis (soap 1.1) runtime, but during the wizard i encoutered an application error.
I choosed correctly the instance of my JBoss AS 5.1 e axis 1.1 runtime.
Is an ecplise specific release problem?
The various artifact (classes, stub, wsdl) produced from the wizard, seems to be correct.
Infact if i try to use the wsdl service location adress, to reach the service on server, and i found it correctly.
Then i create an axis web service client from wsdl descriptor of the webservice.
But when i try to call webservice, i encountered a generic axisfault exception. I think that the client isn't able to call the service maybe because is not correctly deployed on JBoss (caused by any on eclipse wizard? sincerely i don't know i have just supposed it)
Any suggestions?
Thanks in advance,
Andrea Cacciatori
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/590586#590586]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month
[Beginner's Corner] - Active Directory and admin-console
by couse1
couse1 [http://community.jboss.org/people/couse1] created the discussion
"Active Directory and admin-console"
To view the discussion, visit: http://community.jboss.org/message/591217#591217
--------------------------------------------------------------
Hi,
I'm trying to use AD with my admin-console.
My login-config.xml :
<application-policy name="ldapLogin">
<authentication>
<login-module code="org.jboss.security.auth.spi.LdapExtLoginModule" flag="required">
<module-option name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</module-option>
<module-option name="java.naming.provider.url">ldap://myldaphost:389/</module-option>
<module-option name="java.naming.security.authentication">simple</module-option>
<module-option name="bindDN">mydomain\myadmin</module-option>
<module-option name="bindCredential">mypwd</module-option>
<module-option name="baseCtxDN">cn=Users,dc=mydomain,dc=fr</module-option>
<module-option name="baseFilter">(sAMAccountName={0})</module-option>
<module-option name="rolesCtxDN">cn=Users,dc=mydomain,dc=fr</module-option>
<module-option name="roleFilter">(member={1})</module-option>
<module-option name="roleAttributeIsDN">true</module-option>
<module-option name="roleNameAttributeID">name</module-option>
</login-module>
</authentication>
</application-policy>
In my jboss-web.xml :
<security-domain>java:/jaas/ldapLogin</security-domain>
And in my components.xml :
<security:identity authenticate-method="#{authenticator.authenticate}" jaas-config-name="ldapLogin"/>
But when i try to access to my admin-console, i have this message :
2011-03-04 14:33:02,594 WARN [org.jboss.seam.Component] (http-127.0.0.1-8080-1) Component class should be serializable: org.jboss.seam.ui.facelet.mockHttpSession
2011-03-04 14:33:02,653 WARN [org.jboss.seam.security.permission.PersistentPermissionResolver] (http-127.0.0.1-8080-1) no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
2011-03-04 14:33:08,664 INFO [javax.enterprise.resource.webcontainer.jsf.lifecycle] (http-127.0.0.1-8080-1) WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=null[severity=(WARN 1), summary=(The conversation ended, timed out or was processing another request), detail=(The conversation ended, timed out or was processing another request)]
And of course when i put my login and pwd, i have this message : "log in attempt failed, please try again"
I believe that the admin-console work with seam, so i think that i must to write something in my components.xml but i don't know what?
any idea?
thanks in advance
johan JOSEPH
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/591217#591217]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month
[JBoss Tools] - BIRT and locale parameter in embedded viewer
by Dimitris Keramidas
Dimitris Keramidas [http://community.jboss.org/people/varkon] created the discussion
"BIRT and locale parameter in embedded viewer"
To view the discussion, visit: http://community.jboss.org/message/591160#591160
--------------------------------------------------------------
Hello,
I am using JBoss Tools 3.2 on Helios, and have come across a peculiar problem, while trying to run a report. I am trying to embed a birt report in a seam project (seam 2.2.0), using the <b:birt/> tag.
My report uses .properties files for localization and I was having difficulty changing the locale. After some testing I found out that when setting the report as "embed" (designType="embed") the birt report would default to the jvm default, and ignore the parameter.
I also tried using some of the urls (/run, /frameset and /embed) that JBoss Tools register when activating birt integration. Again, the only url that failed to properly change the locale was the /embed url. Furthermore, it seems that the /embed url "uses" the org.jboss.tools.birt.servlet.JBossBirtServlet servlet, instead of the org.eclipse.birt.report.servlet.ViewerServlet servlert used by the other urls.
I haven't been able to locate the source code for the class org.jboss.tools.birt.servlet.JBossBirtServlet and look into this any further.
Any help would be greatly appreciated.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/591160#591160]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
15 years, 1 month