Hi ,
How to generate a SOAP request which is in XML format using Spring framework.
here is my SOAP request file.
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:aaaa=http://www.aaa.com/IFX170_aaa
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:aaa="http://www.aaa.com/WebServices" xmlns:tns="http://muiat02/IFX/SystemTest/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<aaa:IFX_PostAddrStndrdztnRq xmlns:IFX="http://www.aaaa.com/IFX170_aaa" xmlns:aaa="http://www.aaa.com/WebServices">
<IFX
ostAddr>
<IFX:Addr1>16 morgan court</IFX:Addr1>
<IFX:Addr2/>
<IFX:Addr3/>
<IFX:Addr4/>
<IFX:City>jersecy city</IFX:City>
<IFX:StateProv>new jersey</IFX:StateProv>
<IFX
ostalCode>07306</IFX
ostalCode>
<IFX:Country>USA</IFX:Country>
</IFX
ostAddr>
</PostAddrStndrdztnRq>
</BaseSvcRq>
</aaa:IFX_PostAddrStndrdztnRq>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
here address information has been hard coded. instead i will be passing information from page.
i want to create a soap request using those address information dynamically.
Please help me how to do this ?
Thanks
Saravana