Dear David, here is a code fragment from my junit test case:
public void testJAXRPCBinding() throws Exception | { | final Service service = ServiceFactory.newInstance().createService(m_WsdldUrl, SERVICEQN); | final _DAMONA_INFO message = new _DAMONA_INFO(); | final ConfigurationMessage cnfgMessage = new ConfigurationMessage(); | final SapInfo sapInfo = new SapInfo(); | final SapId sapId = new SapId(); | final VpnId vpnId = new VpnId("0123456789"); | final SapNo sapNo = new SapNo("123456"); | final IServiceActivationRemote endpoint = (IServiceActivationRemote)service.getPort(IServiceActivationRemote.class); | | final String[] astrUserInfo = m_WsdldUrl.getUserInfo().split(":"); | if (astrUserInfo != null && astrUserInfo.length > 0) | { | ((Stub)endpoint)._setProperty(Stub.USERNAME_PROPERTY, astrUserInfo[0]); | if (astrUserInfo.length == 2) | ((Stub)endpoint)._setProperty(Stub.PASSWORD_PROPERTY, astrUserInfo[1]); } | | sapId.setVPN_ID(vpnId); | sapId.setSAP_NO(sapNo); | sapInfo.setSAP_ID(sapId); | cnfgMessage.setSAP_INFO(new SapInfo[] { sapInfo }); | message.setCONFIGURATION_MESSAGE(cnfgMessage); | | final _DAMONA_INFO returnMsg = endpoint.processMessage(message); | . | . | . | The authentication related code is bold. In case you are using the java:/jaas/other domain, have you put roles.properties and user.properties into the conf/ directory ? Hope his helps a bit... Regards Werner View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851745#3851745 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851745 ------------------------------------------------------- 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