Hi Thomas - Thanks for the information.
With the code you propose, I still have the same exception (see after) : it seems that
the principal is not forwarded to the EJB.
Of course, it is always suspicious when someone says "I did as you said but it does
not work" ;-) But this is what I did!
FYI: I used jbossall-client.jar (from JB4) and axis-1.1.jar : is this okay?
Thanks.
David
AxisFault
| faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
| faultSubcode:
| faultString: MBeanException: null Cause: java.rmi.ServerException: EJBException:;
nested exception is:
| javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
| Authentication exception, principal=null
| faultActor:
| faultNode:
| faultDetail:
| {http://xml.apache.org/axis/}stackTrace: AxisFault
| faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
| faultSubcode:
| faultString: MBeanException: null Cause: java.rmi.ServerException: EJBException:;
nested exception is:
| javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
| Authentication exception, principal=null
| faultActor:
| faultNode:
| faultDetail:
|
| MBeanException: null Cause: java.rmi.ServerException: EJBException:; nested
exception is:
| javax.ejb.EJBException: checkSecurityAssociation; CausedByException is:
| Authentication exception, principal=null
| at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
| at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
| at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
| at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
| at org.apache.crimson.parser.Parser2.content(Unknown Source)
| at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
| at org.apache.crimson.parser.Parser2.content(Unknown Source)
| at org.apache.crimson.parser.Parser2.maybeElement(Unknown Source)
| at org.apache.crimson.parser.Parser2.parseInternal(Unknown Source)
| at org.apache.crimson.parser.Parser2.parse(Unknown Source)
| at org.apache.crimson.parser.XMLReaderImpl.parse(Unknown Source)
| at javax.xml.parsers.SAXParser.parse(Unknown Source)
| at
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
| at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
| at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
| at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
| at org.apache.axis.client.Call.invoke(Call.java:2553)
| at org.apache.axis.client.Call.invoke(Call.java:2248)
| at org.apache.axis.client.Call.invoke(Call.java:2171)
| at org.apache.axis.client.Call.invoke(Call.java:1691)
| at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:186)
| at $Proxy0.getContactInfo(Unknown Source)
| at SecuredWSClient.<init>(SecuredWSClient.java:21)
| at Main.<init>(Main.java:4)
| at Main.main(Main.java:24)
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851160#3851160
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851160
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development