• Post Reply Bookmark Topic Watch Topic
  • New Topic

Generating with axis-java2wsdl a WSDLwith 2 PortType

 
Catalin Mihalache
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I'm quite new to web services & Axis.

My problem is that I have to generate a WSDL file (using axis-java2wsdl ant task) starting from 2 classes and I don't know how to do it (with only one class isn't a problem)

My project requests 1 web services with 2 interfaces. For me, this means one single WSDL with 2 PortType, 2 services, 2 bindings.

I cannot write manually this WSDL - is a project request to be generated starting from Java classes.

Please, if anyone encountered this problem - give me a hint.

Regards,
Catalin.
 
Catalin Mihalache
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found a solution:

I generate the WSDL (PlatformConfig.wsdl) for the first class; then, I generate in the same manner the WSDL (DbConServer.wsdl) for the second class using first WSDL as input (axis-java2wsdl input="PlatformConfig.wsdl") with the same target namespace. Finally, I obtain a valid WSDL.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!