This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

what is exact meaning of portname

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic