OK, I got it to work.

I added the port-component element as suggested by Werner, and, instead of using 
stub._setProperty, I used the following construct to pass the credentials:
Call call =
  |     service.createCall(
  |             new QName("http://com.tests/ws4ee";, "OrganizationPort"),
  |             new QName("http://com.tests/ws4ee";, "getContactInfo"));
  | 
  | call.setProperty(Call.USERNAME_PROPERTY, "username");
  | call.setProperty(Call.PASSWORD_PROPERTY, "xxxxxxx");
  | 
  | String info = (String) call.invoke(new Object[] { "Mafia" });
The great thing is that it uses no Axis nor JBoss specifics.

D.

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

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


-------------------------------------------------------
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

Reply via email to