Hmm, You can also configure this using services.xml file:
header="true" is important part
<service id="ConcatService">
<name>ConcatService</name>
<namespace>urn:concat-service</namespace>
<serviceClass>org.codehaus.xfire.spring.config.ConcatService</serviceClass>
<method name="concat" operationName="concatThreeStrings" xmlns:c="urn:test">
<parameter index="1" class="java.lang.String" header="true" />
<parameter index="2" class="java.lang.String" header="true" />
</method>
<method name="excluded" exclude="true"/>
</service>
On 3/20/07, Bob Bueckers <[EMAIL PROTECTED]> wrote:
Has anyone ran into the need to define what elements you want placed in the SOAP
header. I'm developing a POJO, and would like the ability to specify exactly
what I want the consumers to place into the SOAP Header. However when I expose
the POJO as a web service using Aegis binding in XFire 1.2.4 I can't seem to
figure out how I can specify what elements I want in the SOAP header. In fact
the WSDL doesn't contain a SOAP Header element at all.
I was told this is possible with Aegis 1.2.6 or by just building the Aegis
module out of SVN. Has anyone give this a try?
Thanks in advance!
Bob
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email