cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Display the method parameters in the BODY of the wsdl services list page
Date Tue, 27 Mar 2012 20:49:30 GMT
On Tuesday, March 27, 2012 01:24:20 PM Stephane Eybert wrote:
> So here the answer, provided on another post, by Daniel Kulp (take a bow
> Sir)

Added this to the FAQ:

http://cxf.apache.org/faq.html#FAQ-Thegeneratedwsdl%28GETrequestonthe%3Fwsdladdress%29doesn%27tcontainthemessages%2Ctypes%2CportType%2Cetc...WhatdidIdowrong%3F

I've answered this a few too many times, thus it must be an FAQ.  :-)

Dan



> 
> The cause of the problem was that the interface and the implementation of
> the web service, had different target namespaces.
> 
> Indeed, by default, the package is the targetNamespace meaning the
> implementation has a slightly different targetNamespace than its
> interface.
> 
> By specifying an identical targetNamespace for the two, the wsdl services
> list page can list the method parameters.
> 
> So I just added the following targetNamespace attributes to the interface
> and the implementation and the wsdl now displays the method parameters.
> 
> @WebService(targetNamespace = "http://ws.nki.no/sesam-ws-web/ginn")
> 
> And it worked.
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Display-the-method-parameters-in-the-BODY
> -of-the-wsdl-services-list-page-tp5585941p5598831.html Sent from the
> cxf-user mailing list archive at Nabble.com.
-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Mime
View raw message