You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by davout <da...@dsl.pipex.com> on 2001/12/21 22:48:36 UTC

Access to Soap message header data?

>From a Java class instantiated by a SOAP service, how do I gain access to
the SOAP message header data?



RE: Access to Soap message header data?

Posted by davout <da...@dsl.pipex.com>.
It's a RPC Java class.

If I can't get access to the header info how am I supposed to authenticate
that the service consumer can access this service?

-----Original Message-----
From: Sanjiva Weerawarana [mailto:sanjiva@watson.ibm.com]
Sent: 28 December 2001 04:09
To: soap-dev@xml.apache.org; davout@dsl.pipex.com
Subject: Re: Access to Soap message header data?


Is your Java class a Java RPC service class? If so you cannot get to
the headers.

If its a message class, you have access to the SOAP envelope, hence
you can get the headers.

Alternatively, you can write your own provider that implements whatever
convention you want for receiving the headers from the soap engine. The
docs indicate how to write your own provider.

Sanjiva.

----- Original Message -----
From: "davout" <da...@dsl.pipex.com>
To: <so...@xml.apache.org>
Sent: Saturday, December 22, 2001 3:48 AM
Subject: Access to Soap message header data?


> >From a Java class instantiated by a SOAP service, how do I gain access to
> the SOAP message header data?
>


RE: Access to Soap message header data?

Posted by davout <da...@dsl.pipex.com>.
It's a RPC Java class.

If I can't get access to the header info how am I supposed to authenticate
that the service consumer can access this service?

-----Original Message-----
From: Sanjiva Weerawarana [mailto:sanjiva@watson.ibm.com]
Sent: 28 December 2001 04:09
To: soap-dev@xml.apache.org; davout@dsl.pipex.com
Subject: Re: Access to Soap message header data?


Is your Java class a Java RPC service class? If so you cannot get to
the headers.

If its a message class, you have access to the SOAP envelope, hence
you can get the headers.

Alternatively, you can write your own provider that implements whatever
convention you want for receiving the headers from the soap engine. The
docs indicate how to write your own provider.

Sanjiva.

----- Original Message -----
From: "davout" <da...@dsl.pipex.com>
To: <so...@xml.apache.org>
Sent: Saturday, December 22, 2001 3:48 AM
Subject: Access to Soap message header data?


> >From a Java class instantiated by a SOAP service, how do I gain access to
> the SOAP message header data?
>


Re: Access to Soap message header data?

Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Is your Java class a Java RPC service class? If so you cannot get to
the headers.

If its a message class, you have access to the SOAP envelope, hence
you can get the headers.

Alternatively, you can write your own provider that implements whatever
convention you want for receiving the headers from the soap engine. The
docs indicate how to write your own provider.

Sanjiva.

----- Original Message -----
From: "davout" <da...@dsl.pipex.com>
To: <so...@xml.apache.org>
Sent: Saturday, December 22, 2001 3:48 AM
Subject: Access to Soap message header data?


> >From a Java class instantiated by a SOAP service, how do I gain access to
> the SOAP message header data?
>


Re: Access to Soap message header data?

Posted by Sanjiva Weerawarana <sa...@watson.ibm.com>.
Is your Java class a Java RPC service class? If so you cannot get to
the headers.

If its a message class, you have access to the SOAP envelope, hence
you can get the headers.

Alternatively, you can write your own provider that implements whatever
convention you want for receiving the headers from the soap engine. The
docs indicate how to write your own provider.

Sanjiva.

----- Original Message -----
From: "davout" <da...@dsl.pipex.com>
To: <so...@xml.apache.org>
Sent: Saturday, December 22, 2001 3:48 AM
Subject: Access to Soap message header data?


> >From a Java class instantiated by a SOAP service, how do I gain access to
> the SOAP message header data?
>