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 "Christoph C. Cemper @ Cemper.com" <ch...@cemper.com> on 2001/09/23 02:59:07 UTC

AW: Header-Response in RPCRouter.java ???

Frederik,

I guess I am troubling around with a quite similar problem at the moment...

My A-Question:

1)	is there a sample for handling SOAP-Header-Properties?
2) 	corresponds with your problem: is it possible to use RPC and
Envelope-processing to
	receive/send SOAP-Header properties?

Thanx in advance,
christoph


mfg / kind regards,
Christoph C. Cemper

email:    mailto:Christoph@Cemper.com
  www:    http://Christoph.Cemper.com








-----Ursprüngliche Nachricht-----
Von: Frederik Fromm [mailto:Frederik.Fromm@avinci.de]
Gesendet: Montag, 20. August 2001 12:40
An: 'Soap-Dev (E-Mail)
Betreff: Header-Response in RPCRouter.java ???


Hi!

Does anybody have any code for the RPCRouter.java of the
Apache-SOAP-package WITH a response-parameter for the SOAP-header?

In the original code, you find a "null" at this position.

return new Response (call.getTargetObjectURI (), call.getMethodName (),
                         ret, null, null, respEncStyle, resCtx);

I wrote a new provider where I can read the header-values and attributes
sent by the client. But to return these parameters, the code is just
missing, isn't it? What I need is something like that:

return new Response (call.getTargetObjectURI (), call.getMethodName (),
                         ret, null, header, respEncStyle, resCtx);

with my validated an calculated header values in the header. Is this the
right way?

Thanx for attention.

greetings

Frederik Fromm