Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing include in generated header file #110

Closed
anoymouserver opened this issue Aug 8, 2017 · 2 comments
Closed

missing include in generated header file #110

anoymouserver opened this issue Aug 8, 2017 · 2 comments

Comments

@anoymouserver
Copy link
Contributor

If I generate the server class with kdwsdl2cpp -server date_example.wsdl -o date_example.h, the #include <QtCore/QDate> is missing in date_example.h.

This WSDL file was used:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wsdl:definitions xmlns:tns="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org/" name="DateExample">
  <wsdl:message name="StringToDate_Input">
    <wsdl:part name="dateString" type="xs:string" nillable="true"/>
  </wsdl:message>
  <wsdl:message name="StringToDate_Output">
    <wsdl:part name="dateObject" type="xs:date"/>
  </wsdl:message>
  <wsdl:portType name="DateExample_PortType">
    <wsdl:operation name="StringToDate">
      <wsdl:input message="tns:StringToDate_Input"/>
      <wsdl:output message="tns:StringToDate_Output"/>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="DateExample_Binding" type="tns:DateExample_PortType">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    <wsdl:operation name="StringToDate">
      <soap:operation style="document" soapAction="http://tempuri.org/DateExample/StringToDate"/>
      <wsdl:input>
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="DateExample">
    <wsdl:port name="DateExample_Port" binding="tns:DateExample_Binding">
      <soap:address location="http://localhost:50002/"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>
@dfaure-kdab
Copy link
Member

Thanks for the testcase!

@anoymouserver
Copy link
Contributor Author

No problem. Thank you for the fast fix of the issues!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants