About Question enthuware.ocejws.v6.2.321 :

Moderators: Site Manager, fjwalraven

javabean68
Posts: 22
Joined: Wed Mar 16, 2016 8:38 am
Contact:

Re: About Question enthuware.ocejws.v6.2.321 :

Post by javabean68 » Mon Apr 09, 2018 5:17 am

Hello,

on Java Webservices Up and Running I found:
Recall that a WSDL has but one portType
Who is right? :-)

Thank you
Fabio

fjwalraven
Posts: 423
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.321 :

Post by fjwalraven » Mon Apr 09, 2018 7:05 am

Hi Fabio,

The WSDL v1.1 specification allows multiple portTypes:
2.4 Port Types
A port type is a named set of abstract operations and the abstract messages involved.

<wsdl:definitions .... >
<wsdl:portType name="nmtoken">
<wsdl:operation name="nmtoken" .... /> *
</wsdl:portType>
</wsdl:definitions>

The port type name attribute provides a unique name among all port types defined within in the enclosing WSDL document.
Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests