Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15901

Not correctly reading wsdl (Does it exist in service WSDL?)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • camel-cxf
    • None
    • karaf 4.2.9

      camel 3.4.4

      java 11

      jdk  11.0.9.fx-librca

    • Unknown

    Description

      My app work on java 8, but don't work on java 11. I try increase version java -> 11. 

      I loading my test-project when I get exception: https://github.com/Holly-12/cxfjava11

      When bundle installed in karaf and have status Active I send soap message and get exception: 
      Message part

      {[http://lama.ru/]}

      packet was not recognized. (Does it exist in service WSDL?)
      I get wsdl(http://localhost:8181/cxf/lama?wsdl) and see: 

      <wsdl:definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                        xmlns:tns="http://lama.ru/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                        xmlns:ns1="http://schemas.xmlsoap.org/soap/http" name="SoapProxyService"
                        targetNamespace="http://lama.ru/">
          <wsdl:types>
              <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.lama.ru/test/"
                         elementFormDefault="qualified" targetNamespace="http://www.lama.ru/test/" version="1.0">
                  <xs:element name="packet" type="tns:packetType"/>
                  <xs:element name="response" type="xs:string"/>
                  <xs:complexType name="packetType">
                      <xs:sequence>
                          <xs:element name="content" type="xs:anyType"/>
                      </xs:sequence>
                  </xs:complexType>
              </xs:schema>
          </wsdl:types>
          <wsdl:portType name="SoapProxy"></wsdl:portType>
          <wsdl:binding name="SoapProxyServiceSoapBinding" type="tns:SoapProxy">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
          </wsdl:binding>
          <wsdl:service name="SoapProxyService">
              <wsdl:port binding="tns:SoapProxyServiceSoapBinding" name="SoapProxyPort">
                  <soap:address location="http://localhost:8181/cxf/lama"/>
              </wsdl:port>
          </wsdl:service>
      </wsdl:definitions>
      

      I see what wsdl don't have operation. But when I run app without karaf and camel only with cxf app work without exception.

      Attachments

        Activity

          People

            Unassigned Unassigned
            valery1811 Borodina Valery
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: