Use a message-style handler rather than an RPC-style handler.
Provider="java:MSG" in WSDD.  Look in the Axis FAQ for the method
signatures for message handlers.

-----Original Message-----
From: Wolfgang Vullhorst [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2003 8:51 AM
To: Axis-Userlist (E-Mail)
Subject: Forward parts of a SOAP-Message


Hi,
  I plan to write some kind of communications bus to transport (parts
of) SOAP messages. The idea is to send a SOAP request to the bus, a
built in broker determines the responsible processing instance and
forwards a part of the message to that instance using SOAP again.

The message flow should be like this (java like notation instead of SOAP
messages here)

Server A: "bus.writeCustomer(Customer a)"

Bus     : (lookup in repository: server responsible for
"writeCustomer(Customer)")
            -> ServerB, method=write

Bus     : ServerB.write(Customer a)             /* write, not
writeCustomer */

Server B: (handle the request and send the response to Server A via the
bus)


My problem is the following:
The bus has to call the method "write(Customer a)" via SOAP without
knowing what a customer type is...

I read that I can define chains for SOAP processing in Axis.
Do I have to define an own chain that does not deserialize the SOAP
message content to a Java object?! Can I use a custom deserializer to
put the content of the customer namespace to a simple string and to put
this String to another SOAP message to forward it to Server B?


Thanks,
  Wolfgang

Reply via email to