Thanks for the info. 
Sylvain.

-----Original Message-----
From: Russell Butek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 5:34 PM
To: [EMAIL PROTECTED]
Subject: RE: (Rewriten): Setting the SOAP header through an operation...


There are 2 things that we have to do in AXIS to get this to work.
1.  Change the runtime from the Call object all the way down to creation of
the soap message to accept header/context parameters as well as normal
parameters.
2.  Change WSDL2Java to understand the WSDL that differentiates soap
header/soap body info and generate code that calls the proper runtime
stuff.

I'm going to look at this tomorrow but don't expect much.  We haven't had
much call for it and it's not an interoperability issue, so it's a low
priority item at the moment.

Russell Butek
[EMAIL PROTECTED]


"St-Germain, Sylvain" <[EMAIL PROTECTED]> on 02/05/2002 03:58:49
PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  RE: (Rewriten): Setting the SOAP header through an operation...



Thanks.

Do you know what kind of work is involved there?

FYI, It does not work in .Net either although we find some articles that
mentioned that it should work....

Sylvain.

-----Original Message-----
From: Russell Butek [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 05, 2002 2:42 PM
To: [EMAIL PROTECTED]
Subject: Re: (Rewriten): Setting the SOAP header through an operation...


Excuse me.  Let me rephrase what I just said.

Is there a way to do this in AXIS?  No.  Should there be?  Yes.

You CAN specify what parameters go into the soap header vs the soap body,
but AXIS doesn't support it.

Russell Butek
[EMAIL PROTECTED]


Russell Butek/Austin/IBM@IBMUS on 02/05/2002 01:08:33 PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  Re: (Rewriten): Setting the SOAP header through an operation...



Now?  No.  Should there be?  Yes.

Russell Butek
[EMAIL PROTECTED]


"St-Germain, Sylvain" <[EMAIL PROTECTED]> on 02/05/2002 12:29:58
PM

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:
Subject:  (Rewriten): Setting the SOAP header through an operation...



Hi all,

Is there a syntax in the WSDL that will make Axis store a method parameter
in the SOAP header?

Regards,
Sylvain.

-----Original Message-----
From: St-Germain, Sylvain [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 04, 2002 6:05 PM
To: Axis-User (E-mail)
Subject: Setting the SOAP header through an operation...


Hi all,

This is a little off topic but I though you might know.

Is there a way in WSDL to define an operation that creates a header
element?

I found this in the W3C's WSDL spec www.w3.org/TR/wsdl#_soap-e
...  (I slightly modified the namespaces stuff...)

Look near the end for:

<soap:header message="cm1:SubscribeToQuotes" part="subscribeheader"
use="literal"/>


<?xml version="1.0"?>
<definitions name="ContentManagerService"
targetNamespace="http://cm1.cognos.com/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:types="http://cm1.cognos.com/xsd";
xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:cm1="http://cm1.cognos.com/
">
  <types>
    <schema targetNamespace="http://cm1.cognos.com/xsd";
xmlns="http://www.w3.org/2001/XMLSchema";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";>
      <complexType name="uriReference">
        <sequence>
          <element name="uri" type="xsd:string" maxOccurs="1"/>
        </sequence>
      </complexType>

      <element name="SubscribeToQuotes">
        <complexType>
          <all>
            <element name="tickerSymbol" type="string"/>
          </all>
        </complexType>
      </element>

      <element name="SubscriptionHeader" type="types:uriReference"/>

    </schema>
  </types>

  <message name="SubscribeToQuotes">
    <part name="body" element="types:SubscribeToQuotes"/>
    <part name="subscribeheader" element="types:SubscriptionHeader"/>
  </message>

  <portType name="StockQuotePortType">
    <operation name="SubscribeToQuotes">
      <input message="cm1:SubscribeToQuotes"/>
    </operation>
  </portType>

  <binding name="StockQuoteSoap" type="cm1:StockQuotePortType">
    <soap:binding style="document" transport="http://example.com/smtp"/>
    <operation name="SubscribeToQuotes">
      <input message="cm1:SubscribeToQuotes">
        <soap:body part="body" use="literal"/>
        <soap:header message="cm1:SubscribeToQuotes" part="subscribeheader"
use="literal"/>
      </input>
    </operation>
  </binding>

  <service name="StockQuoteService">
    <port name="StockQuotePort" binding="cm1:StockQuoteSoap">
      <soap:address location="mailto:[EMAIL PROTECTED]"/>
    </port>
  </service>

</definitions>





--
Sylvain

This message may contain privileged and/or confidential information.  If
you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

This message may contain privileged and/or confidential information.  If
you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.




This message may contain privileged and/or confidential information.  If
you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.


This message may contain privileged and/or confidential information.  If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so.  Thank you.

Reply via email to