axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wörner Till <Till.Woer...@t-systems.com>
Subject AW: Header definition in wsdl
Date Fri, 03 May 2002 11:07:13 GMT
Whoa!

Thanks!!! that was it. I defined my header in the same message element.

Greetings,
Till

> -----Ursprüngliche Nachricht-----
> Von: Kolodziej, Erik [mailto:Erik.Kolodziej@gedas.de]
> Gesendet: Freitag, 3. Mai 2002 13:03
> An: 'axis-user@xml.apache.org'
> Betreff: AW: Header definition in wsdl
> 
> 
> Hi,
> 
> I have an own message element with exactly one part element 
> for my header.
> 
> Only in the binding/operation element I declare with an input/header
> element, that there have to be a header in the soap message.
> 
> I believe you put your header as a part element to the 
> message element of
> your operation (together with the parameters). That´s wrong.
> 
> -----Ursprüngliche Nachricht-----
> Von: Wörner Till [mailto:Till.Woerner@t-systems.com]
> Gesendet am: Freitag, 3. Mai 2002 12:27
> An: axis-user@xml.apache.org
> Betreff: AW: Header definition in wsdl
> 
> Ok...
> 
> but what I do now is:
> 
> 1)Generate a wsdl file from an interface.
> 
> 2)Add my header definition as a message part and in the 
> appropriate binding
> element.
> -->
> Now I have following situation when I run WSDL2Java:
> - I get the error message "java.io.IOException: Emitter 
> failure.  All input
> parts must be listed
> in the parameterOrder attribute of getNames"
> 
> But if I remove the attribute "parameterOrder" from the 
> operation element,
> WSDL2Java generates parameters
> for all message parts that I have defined, even if I defined 
> them as header
> elements in the binding.
> 
> Is that behaviour ok for WSDL2Java or am I doing something completely
> wrong???
> 
> Bye,
> Till
> 
> 
> > -----Ursprüngliche Nachricht-----
> > Von: Kolodziej, Erik [mailto:Erik.Kolodziej@gedas.de]
> > Gesendet: Freitag, 3. Mai 2002 11:46
> > An: 'axis-user@xml.apache.org'
> > Betreff: AW: Header definition in wsdl
> > 
> > 
> > Hi,
> > 
> > no, the error isn´t ok. My WSDL contains a header definition 
> > and WSDL2Java
> > runs without an error. It just ignores the definition.
> > 
> > So, there have to be some other problems in your WSDL.
> > 
> > -----Ursprüngliche Nachricht-----
> > Von: Wörner Till [mailto:Till.Woerner@t-systems.com]
> > Gesendet am: Freitag, 3. Mai 2002 11:43
> > An: axis-user@xml.apache.org
> > Betreff: AW: Header definition in wsdl
> > 
> > Thanks,
> > 
> > but if I have a header definition in my wsdl, schouldn't the 
> > WSDL2Java tool
> > just ignore it, or is it ok that I get an error message when 
> > I try to create
> > the stubs?
> > 
> > Greetings,
> > Till
> > 
> > > -----Ursprüngliche Nachricht-----
> > > Von: Kolodziej, Erik [mailto:Erik.Kolodziej@gedas.de]
> > > Gesendet: Freitag, 3. Mai 2002 09:30
> > > An: 'axis-user@xml.apache.org'
> > > Betreff: AW: Header definition in wsdl
> > > 
> > > 
> > > Hi,
> > > 
> > > headers are not supported by WSDL2Java, I believe.
> > > You have to add the header element manually.
> > > 
> > > Bye,
> > > Erik
> > > 
> > > -----Ursprüngliche Nachricht-----
> > > Von: Till Woerner [mailto:till@twoerner.de]
> > > Gesendet am: Freitag, 3. Mai 2002 00:27
> > > An: axis-user@xml.apache.org
> > > Betreff: Header definition in wsdl
> > > 
> > > Hi,
> > > 
> > > I'm a little bit stuck here...
> > > Does anyone have an example of a header definition in a 
> > wsdl-file that
> > > works with WSDL2Java ?
> > > 
> > > Thanks,
> > > Till
> > > 
> > > -- 
> > > Caught in our narrowminded believe...
> > > -------------------------------------
> > > Till Woerner
> > > Berlin, Germany
> > > EMail:till@twoerner.de
> > > ICQ#: 7162410
> > > 
> > 
> 

Mime
View raw message