• Post Reply Bookmark Topic Watch Topic
  • New Topic

webservices with Spring framework

 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am naive to webservices.

I have SOAP request, response with wsdl.

i want to develop a POC using Spring framework with SOAP.

how to proceed ? can someone give tips how to start ?

Thanks
Saravana
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PoC - which is? "Proof of Concept" I would guess in the this context.

Have you had a good look around Spring Web Services?

It is also not clear whether you want to access an existing Web Service from a Spring-based application or if you want to implement the service with the Spring framework based on an existing WSDL (i.e. WSDL first).
[ November 29, 2006: Message edited by: Peer Reynders ]
 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Yes. i want to develop a Proof Of Concept(POC).

Web services has been implemented already.

How can i create a dynamic SOAP request ?

i want to use Spring Framework .
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by saravana kumar:
How can i create a dynamic SOAP request?


Any particular reason you want to create a SOAP request dynamically when you have a WSDL (which can be used by a tool to generate a client stub for you - no need to be building SOAP messages from scratch)?

Have you had a look at: 17.5.2. Accessing web services?
[ November 29, 2006: Message edited by: Peer Reynders ]
 
saravana kumar
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!