aspose file tools*
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??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is exact meaning of portname