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:[EMAIL PROTECTED]] > Gesendet: Freitag, 3. Mai 2002 11:46 > An: '[EMAIL PROTECTED]' > 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:[EMAIL PROTECTED]] > Gesendet am: Freitag, 3. Mai 2002 11:43 > An: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED]] > > Gesendet: Freitag, 3. Mai 2002 09:30 > > An: '[EMAIL PROTECTED]' > > 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:[EMAIL PROTECTED]] > > Gesendet am: Freitag, 3. Mai 2002 00:27 > > An: [EMAIL PROTECTED] > > 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:[EMAIL PROTECTED] > > ICQ#: 7162410 > > >
