This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes what is exact meaning of portname Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "what is exact meaning of portname" Watch "what is exact meaning of portname" New topic
Author

what is exact meaning of portname

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
In main web service ,it is written :
@WLHttpTransport(contextPath="conv",
serviceUri="ConversationalService",
portName="ConversationalServicePort")

and in client web service:

@ServiceClient(
wsdlLocation="http://localhost:7001/conv/ConversationalService?WSDL",serviceName="ConversationalService",
portName="ConversationalServicePort")

I know portname is the port on which we will be invoking the web service,but why is this needed.I think if the need of portname is only to assciate a particular main web service with a client web service,then service name is already for that.
I am not clear.please tell me the use of port name??
 
GeeCON Prague 2014
 
subject: what is exact meaning of portname