Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.7.7
-
None
-
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