wsdl2java -ap parameter not working

"Fernando Cesar da Silva" <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <!&!AAAAAAAAAAAYAAAAAAAAAAZgfdDABIVEjhAhDyW18d3igAAAEAAAAL+TqLrrx69InO9dTx6efNIBAAAAAA==@synchro.com.br>
Hi,

 

I have to generate a WS client from a WSDL with 2 different ports, I would
like to work with only one class that has the operations from both ports. 

 

I have tried the -ap parameter but the generated class has operations from
only one port.

 

My command line looks like the following:

D:\axis2-1.6.1\bin>wsdl2java.bat -uri ServicesNfsePronimProducao.wsdl -p
xx.xxx.xxxxx.service.impl.pronim -s -ap

 

How can I achieve this?

 

Regards,

Fernando Cesar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.