I am facing a very weird issue where the Soap request is not getting generated properly. I expect the SOAP request to be generated in the below format:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header>
</soap:Header>
<soap:Body>
<getDetails>
<Request>
<ServiceAttributesGrp>
<MinorVer/>
</ServiceAttributesGrp>
......
</Request>
</getDetails>
</soap:Body>
</soap:Envelope>
But The request which is getting generated is as below:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header>
</soap:Header>
<soap:Body>
<getParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns4:RequestType">
<ServiceAttributesGrp>
<MinorVer/>
</ServiceAttributesGrp>
......
</getParameters>
</soap:Body>
</soap:Envelope>
The Request Tag is actually missed while creating the the SOAP request. Initially I thought its a JDL issue as In my local system I am using JDK 1.7.0_67 version and the maven build created through this version is generating a perfect request. But Jenkins Maven build is using JDK 1.7.0_55 version and the build created through this version is generating the faulty request.
But now it is not working with JDK 1.7.0_67 version also. It would be great if someone could help in resolving the issue.
Thanks,
Ravi