You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Christos Karanicolas <Ch...@Proginet.com> on 2003/06/02 14:10:29 UTC

SOAP call from JSP without reauthenticating

hi,

I have successfully used axis to make SOAP calls from JSP pages to an Axis
Application located in the same web context. Since the application requires
BASIC authentication I simply striped the Authorization header from the HTTP
request to the JSP pages and used that user/password to issue the SOAP
request.

Now I need to use the same method of issuing a SOAP call from JSP pages to
the Axis application, but I do not want to re-authenticate to the Axis
servlet like I was originally doing (sort of how RequestDispatcher.include()
works in the J2EE API). I originally tried to use axis' "local" transport to
do the job, but I was getting an error that the service could not be found.
I then tried to create a custom transport using the RequestDispatcher J2EE
object.

Is this correct way to go, or was the "local" transport the easier way to
go??

Is there any documentation on how to properly write a custom transport?

thanks for you help,

Christos Karanicolas