• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to specify multiple portTypes in wsdl  RSS feed

 
Rashmi Verma
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am trying to build a webservice which have multiple portstypes. As per my unserstanding a portType represents an interface. I have 3 service interfaces and I want only one wsdl. Is there any way to achive this through axis .

Regards,
Rashmi
[ September 20, 2006: Message edited by: Rashmi Verma ]
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not sure about multiple portTypes, but each port can have contain multiple operations. Would having 3 operations in a single portType be sufficient?
 
Rashmi Verma
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.

Actually the requirement is to have a single wsdl for all the interfaces. As of now I have to generate wsdl for each interface...leading to 'n' number of sevices for 'n' interfaces .
Is there any way to achive this through axis
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, as I mentioned, Axis supports multiple operations per portType, and the java2wsdl tool that comes with it (if you can use that) will generate WSDL that contains multiple operations per portType.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!