A service is a collection of ports. A port defines a specific network address for a binding, which is a specific communication protocol for each message in each operation of a port type.
After creating the service definition, in the Structure window, Design tab, expand definitions | Services | service - RatingService | port - RatingServicePort.
By default, JDeveloper assigns the
location value to
<service name="RatingService"> <port name="RatingServicePort" binding="tns:RatingServiceSOAP12Binding"> <soap12:address location="http://www.example.com"/> </port> </service>
location value or endpoint, is the location (URI) of the web service on the network, that is, where the finished web service will run. At this point, it doesn't matter what the
location value is. In the next cue card, when you generate a Java web service from the WSDL, JDeveloper will insert the proper URI according to where the service is actually deployed.
Copyright © 1997, 2009, Oracle. All rights reserved.