I think, basically what Stephane means is that the parameter name annotated
in @WebParam (which is "gInnOrder" in the code) is not shown in the
generated wsdl file (accessed in http://...?wsdl).
Pardon me if my interpretation is not correct, but I am working on similar
questions as well.
Regards,
Le
-----Original Message-----
From: Daniel Kulp
Sent: Tuesday, March 27, 2012 1:41 PM
To: [email protected]
Cc: Stephane Eybert
Subject: Re: How to show method input parameters in the wsdl file ? I'm
totally stuck..
Can you create a test case? I really have no idea what you're trying to
describe here.
Most likely, you have a wrapped endpoint (the default) and thus the wsdl is
created a wrapped doc/lit endpoint. The services list is showing the
wrapper element as that is exactly what the message part point at. That's
more or less as designed.
Dan
On Tuesday, March 27, 2012 01:29:07 AM Stephane Eybert wrote:
Hello,
I have this simple code first producer web service with the wsdl file
being generated by the framework.
But the wsdl web page does not show the parameters of the methods.
I've been trying all sorts of annotations to no avail.
The only way I found to show the parameters was to have the attribute
header = true in the WebParam annotation.
But my web service client wants the parameters to be in the body, not in
the header.
Here is my web service:
<jaxws:endpoint id="stasGInnEndPoint" implementor="#stasGInnService"
publish="true"
address="/ginn">
<jaxws:properties>
<entry key="publishedEndpointUrl"
value="http://ws.nki.no/stas-ws-web/ginn" />
<entry key="faultStackTraceEnabled" value="true" />
<entry key="exceptionMessageCauseEnabled" value="true" />
</jaxws:properties>
</jaxws:endpoint>
@WebService
public interface StasGInnService {
@WebMethod(operationName = "gInnOrdreInsert")
public @WebResult void gInnOrdreInsert(
@WebParam(name = "gInnOrdre") GInnOrdre gInnOrdre);
}
The implementation class of the web service has no annotations.
Any clue ?
Thanks.
Stephane
--
View this message in context:
http://cxf.547215.n5.nabble.com/How-to-show-method-input-parameters-in-th
e-wsdl-file-I-m-totally-stuck-tp5597248p5597248.html Sent from the
cxf-user mailing list archive at Nabble.com.
--
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com