Hi all,
I have the following binding in my wsdl :
<binding name="MySoapBinding" type="curr:Availability">
<soap:binding style="document"
transport="http://my.com/custom/transport/"/>
<operation name="getAvailability">
<soap:operation soapAction='http://my.com/blabla'/>
<input>
<soap:body use="literal"/>
<soap:header message="curr:HeaderMsg"
part="UserID" use="literal"/>
<soap:header message="curr:HeaderMsg"
part="Domain" use="literal"/>
</input>
<output>
<soap:body use="literal"/>duplicated
extensibility element
</output>
</operation>
</binding>
I am a bit uncertain whether I can define mutiple soap headers as
described above.
I looked at the wsdl spec, and that seems to indicate that there can be
multiple headers.
<soap:header message="qname" part="nmtoken"
use="literal|encoded"
encodingStyle="uri-list"? namespace="uri"?>*
<soap:headerfault message="qname" part="nmtoken"
use="literal|encoded"
encodingStyle="uri-list"?
namespace="uri"?/>*
<soap:header>
The reason for my uncertainty is as a result of the Apache AXIS provider
for WSIF. The provider complains of "duplicated extensibility element" when
trying to execute.
On closer investigation, I saw that the WSIFOperation_ApacheAxis class
is written to only handle a single <soap:header> and <soap:headerfault>
element.
Is this a bug? Would I be correct to change this class to handle
mulitple headers and multiple header faults for each header.
Thanking you in advance..................Ravan
**********************************************************************
For information, services and offers, please visit our web site: http://www.klm.com.
This e-mail and any attachment may contain confidential and privileged material
intended for the addressee only. If you are not the addressee, you are notified that
no part of the e-mail or any attachment may be disclosed, copied or distributed, and
that any other action related to this e-mail or attachment is strictly prohibited, and
may be unlawful. If you have received this e-mail by error, please notify the sender
immediately by return e-mail, and delete this message. Koninklijke Luchtvaart
Maatschappij NV (KLM), its subsidiaries and/or its employees shall not be liable for
the incorrect or incomplete transmission of this e-mail or any attachments, nor
responsible for any delay in receipt.
**********************************************************************