This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Understanding the WSDL  RSS feed

Mark Tobin
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a service

public interface MessageService {

@WebMethod(operationName = "AnalyzeText")
@WebResult(name = "textAnalysis")
public WsAnalyzed analyzeText(WsText text);


my wsdl

<wsdl:message name="AnalyzeTextResponse">
<wsdl:part element="tns:textAnalysis" name="textAnalysis" />

<wsdl:portType name="MessageService">
<wsdlperation name="AnalyzeText">
<wsdl:input message="tns:AnalyzeText" name="AnalyzeText" />
<wsdlutput message="tns:AnalyzeTextResponse" name="AnalyzeTextResponse" />

AnalyzeText has a return AnalyzeTextResponse,

When I run wsimport on my wsdl

I get returned

public void analyzeText(StringHolder smsBody, String smsTo, AnalyzedRecipientsHolder recipients, EncodingHolder encoding, IntegerWrapperHolder partsPerMessage, IntegerWrapperHolder totalParts);

Should I not get back something like

public object analyzeText(Object text).
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!