The most reliable way to expose a WSDL is to use the wsdlResource to point to a WSDL which is deployed in the HTTP SU. The WSDL generation from the target service may not work in some cases.
On 1/13/07, M. Tost <[EMAIL PROTECTED]> wrote:
Hi, I've still run into problems during invocation of an external Web service. First, SaajBinding omits the Soap header of the response, which is need by the integrating applications. Second, it omits additional XML elements in the Soap body. These are referenced by the Response element. Sure, I've tried to invoke the service directly by an http provider endpoint. The invocation doesn't work, yet. (I will check my configuration and the forum for a solution) Short, my question: Does SMX support such response messages as described above? Is the http provider endpoint stable, in many use cases? (As i see, for example I still need "targetService" for generation of a wsdl at a linked consumer endpoint, which only routes the message forward) Cheers, Markus gnodet wrote: > > > I have a few remarks: > * The provider endpoints are not used in this example as the eip routers > redirect to the saaj bindings > you can use them instead of the saaj bindings by switching the > <eip:exchange-target service="myns:targetForAxis" /> on the eip > routers > to > <eip:exchange-target service="ns1:AxisWebservice" /> > * On the consumer definitions, the targetInterfaceName is not needed and > will not be used as the > targetServiceName is specified > * On the http providers endpoint, the targetService is not used (this is > only for consumers) > > Cheers, > Guillaume Nodet > > On 7/20/06, Alessio D'Innocenti <[EMAIL PROTECTED]> wrote: >> >> After many, many, too many attempts, finally I have understood how to >> expose external webservice, that is how to proxy one or more webservices >> (wsdl included). >> (servicemix.xml file is attached) > -- View this message in context: http://www.nabble.com/External-Webservices-binding-%28the-answer%29-tf1971463s12049.html#a8315051 Sent from the ServiceMix - User mailing list archive at Nabble.com.
-- Cheers, Guillaume Nodet ------------------------ Architect, LogicBlaze (http://www.logicblaze.com/) Blog: http://gnodet.blogspot.com/
