I've found wierd problem. To show it I've produced example wsdl:
<definitions name="KodMorsaTlumacz" targetNamespace="http://www.example.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://www.example.org/"
xmlns:ns1="http://www.example.org/schema/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
<types xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema targetNamespace="http://www.example.org/schema/" version="1.0">
<xs:element name="morse2Txt" type="xs:string" />
<xs:element name="txt2Morse" type="xs:string" />
<xs:element name="morse2TxtRsp" type="xs:string" />
<xs:element name="txt2MorseRsp" type="xs:string" />
<xs:element name="exampleHeader" type="xs:string" />
</xs:schema>
</types>
<message name="morse2TxtRequest">
<part element="ns1:morse2Txt" name="morse2Txt" />
<part name="exampleHeader" element="ns1:exampleHeader" />
</message>
<message name="txt2MorseResponse">
<part element="ns1:txt2MorseRsp" name="txt2morsersp" />
</message>
<message name="txt2MorseRequest">
<part element="ns1:txt2Morse" name="txt2Morse" />
<part name="exampleHeader" element="ns1:exampleHeader" />
</message>
<message name="morse2TxtResponse">
<part element="ns1:morse2TxtRsp" name="morse2txtrsp" />
</message>
<portType name="MorseCode">
<operation name="morse2Txt" parameterOrder="morse2Txt">
<input message="tns:morse2TxtRequest" />
<output message="tns:morse2TxtResponse" />
</operation>
<operation name="txt2Morse" parameterOrder="txt2Morse">
<input message="tns:txt2MorseRequest" />
<output message="tns:txt2MorseResponse" />
</operation>
</portType>
<binding name="MorseCodeBinding" type="tns:MorseCode">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http" />
<operation name="morse2Txt">
<soap:operation soapAction="morse2Txt" />
<input>
<soap:body parts="morse2Txt" use="literal" />
<soap:header message="tns:morse2TxtRequest" part="exampleHeader"
use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
<operation name="txt2Morse">
<soap:operation soapAction="txt2Morse" />
<input>
<soap:body parts="txt2Morse" use="literal" />
<soap:header message="tns:txt2MorseRequest" part="exampleHeader"
use="literal" />
</input>
<output>
<soap:body use="literal" />
</output>
</operation>
</binding>
<service name="MorseCodeTranslator">
<port binding="tns:MorseCodeBinding" name="MorseCodePort">
<soap:address location="http://localhost:8080/KodMorsa/MorseCode" />
</port>
</service>
</definitions>
I'm running wsconsume with it and I'm getting all the source files correctly