Hello

I'm using JBoss 4.0.1sp1.

I do call an external WS from a SLSB. It works OKE.


  | InitialContext context = new InitialContext();
  | DaisyService service = (DaisyService) 
context.lookup("java:comp/env/service/DaisyService");
  | TapeFacadeEndpoint port = service.getTapeFacadeEndpointPort();
  | result = port.getXMLByNumber(number);
  | 

But I want to add basic authentication to my dynamic proxy code.
I see examples of basic authentication with client stubs but not with dynamic 
proxy.

Code example of adding basic authentication to a stub

  | endpoint._setProperty(Stub.USERNAME_PROPERTY, "me");
  | endpoint._setProperty(Stub.PASSWORD_PROPERTY, "mypassword");
  | 

Has anyone any idea of how I can add basic authentication to my dynamic proxy 
code?


T.I.A.
Johan


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

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


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to