Support for headers that are handled by Handlers in wsdl binding.
-----------------------------------------------------------------
Key: XFIRE-755
URL: http://jira.codehaus.org/browse/XFIRE-755
Project: XFire
Issue Type: Wish
Environment: Windows, Oracle IAS, JDev IDE, .Net
Reporter: Hila Noga
Assigned To: Dan Diephouse
Hello all.
I will describe what I am trying to do, in order to make the issue clearer.
In my organisation, we built a complete WS framework based on xfire and other
OS projects we stiched together. Currently, I am working on integrating our
framework with .Net, which works nicely.
The problem is that in the FW, we handle soap headers which are not part of the
bussiness logic using handlers. It works when we stay in the framework, but
since the headers does not appear in the generated WSDL, the automatic client
generation in .Net won't handle them.
I looked into xfire source, and as far as I could tell, the only way to define
headers so that they will appear in the WSDL binding is to declare some of
service method parameters as headers (using annotations of some kind or
spring), which won't work for us because the headers can't be part of the
method signature (it's not BL).
I thought of a solution that might work - the Handler class could return the
names and typed of types of the headers it expects, and this information could
be used to describe them in the WSDL, and to bind the data in the outgoing and
incoming message.
What do you think?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email