Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7828

Increased size of the payload(xml as a string) results - A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint. - Error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.7.7
    • None
    • JAX-WS Runtime
    • None
    • Production

    • Unknown

    Description

      SOAP WSDL

      Generated client stub using the apache cxf - wsdl2java feature.

      When invoking the SOAP webservice using the SOAP client stubs generated it results an error - A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint. 

      Upon further analysis we identified increased size of the xml string results above error. For the lower size of the xml string the service works fine.

      Below is the snippet of the code we are using when observed in debug the port object refers to "org.apache.cxf.jaxws.JaxWsClientProxy" class pointing to the client-stub class(FASPSoap).

       

       

      String orderxml = "Order xml constructed as a String";
      final Transfer201210 ss = new Transfer201210();
      ss.addPort(Transfer201210.Transfer201210Port, "Transfer201210Binding", soapapiurl);
      final FASPSoap port = ss.getTransfer201210Port();
      final SubmitRequest r = new SubmitRequest();
      r.setDefinition(orderxml);
      final SubmitResponse _submit__return = port.submit(r);
      

       

       

      As per the wsdl the SubmitRequest object accepts the definition attribute as a String. See below.

       

      Please help us know if this a "memory intensive" related operation issue. And how should it be addressed.

       

      Thanks

      Amar

      Attachments

        1. image-2018-08-29-10-24-30-183.png
          67 kB
          Amar K
        2. Transfer-201210.wsdl
          44 kB
          Amar K
        3. Job_Failure.xml
          3 kB
          Amar K
        4. image-2018-08-27-10-34-12-193.png
          51 kB
          Amar K

        Activity

          People

            Unassigned Unassigned
            amarkin Amar K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: