• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Understanding the WSDL

 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:message>

<wsdl:portType name="MessageService">
<wsdl:operation name="AnalyzeText">
<wsdl:input message="tns:AnalyzeText" name="AnalyzeText" />
<wsdl:output message="tns:AnalyzeTextResponse" name="AnalyzeTextResponse" />
</wsdl:operation>
</wsdl:portType>



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).
 
reply
    Bookmark Topic Watch Topic
  • New Topic