Hi, i need your help again
I want to call a webservice and there load the spring integration context for send a message by a channel.
This is possible?
If yes,where should i put the xml file?
ty in advance
Hi, i need your help again
I want to call a webservice and there load the spring integration context for send a message by a channel.
This is possible?
If yes,where should i put the xml file?
ty in advance
Please read the reference manual (chapter 27 which covers Web Service adapters):
http://static.springsource.org/sprin...ce/htmlsingle/
There are also samples for Web Services here (look first under 'basic' at the ws-inbound-gateway example):
https://github.com/SpringSource/spri...ration-samples
Mark Fisher
Spring Integration Lead
SpringSource, a division of VMware
http://www.springsource.com
http://www.springsource.org/spring-integration
http://blog.springsource.com/main/author/markf
I readed this already but i cant understand how i generate the wsdl for client consume .... :\
The Web Services support in Spring Integration builds directly upon the Spring-WS project, so please read this section of the Spring-WS manual for information about WSDL-generation:
http://static.springsource.org/sprin...ublishing-wsdl
I'd recommend at least browsing the rest of the Spring-WS manual as well to make sure you understand the big picture.
Hope that helps.
-Mark
Mark Fisher
Spring Integration Lead
SpringSource, a division of VMware
http://www.springsource.com
http://www.springsource.org/spring-integration
http://blog.springsource.com/main/author/markf
Please be sure to also read the *client* sections in the Spring-WS reference manual as well as the description of the *contract first* approach.
Mark Fisher
Spring Integration Lead
SpringSource, a division of VMware
http://www.springsource.com
http://www.springsource.org/spring-integration
http://blog.springsource.com/main/author/markf
I readed all,but cant find an example that uses a "normal" method call....
Well, that's where Spring Integration builds on top (internally it simply uses the WebServiceTemplate). See this sample:
https://github.com/SpringSource/spri...Conversion.xml
You can add a Spring Integration "gateway" element in front of the "fahrenheitChannel" so that you only need to define an interface on the client side - not even an implementation (which also facilitates testing via mocks).
Mark Fisher
Spring Integration Lead
SpringSource, a division of VMware
http://www.springsource.com
http://www.springsource.org/spring-integration
http://blog.springsource.com/main/author/markf
Well,i think u are not understanding what i really want or im not explainig well..
In my side(server side) i want create a web service (method with parameters) that receive a message and send for a channel.
And i want to give my wsdl for client side for it call the WS...
Client side will not use Spring integration and i really dont want to know what he is using..What i want is just that he call my method and give parameters..
So, just follow the instructions on how to publish the WSDL that Mark posted in post #4 above. You just need to add a bean to the servlet context with a reference to your schema.
There's more detail further down in the reference that Mark suggested you read: http://static.springsource.org/sprin...-wsdl-exposure
Gary P. Russell
Spring Integration Team
SpringSource, a division of VMware