File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Question on WSDL portType Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Question on WSDL portType" Watch "Question on WSDL portType" New topic
Author

Question on WSDL portType

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9243
    
    1

Guys,

I have a small question on the portType element of a WSDL. I'm referring to the following URL,

http://www.w3schools.com/WSDL/wsdl_ports.asp

How do they differentiate between the Operation Types? There is no mention in the portType xml element on this.


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Note that the one-way operation only contains one <input> element in the <operation> element, while the request-response operation contains an <input> and an <output> element in the <operation> element. The order of the <input> and <output> elements is significant.
Best wishes!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question on WSDL portType
 
Similar Threads
element of WSDL file
portType definitions
binding and service elements in wsdl
Valid identifiers in WSDL
problem with webservice dynamic proxyclient