axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vijesh A.V." <>
Subject RE: "Regarding packaging AAR file"
Date Thu, 21 Jun 2007 03:59:23 GMT
use -ns2p option
e.g. (in your case)
-ns2p " <> "=""
You can give coma separated values, if you have multiple namespaces.
-ns2p "namespace1"="package1","namespace2"="package2"
These information are well documented at axis2 website.


From: renjith kalappurackal [] 
Sent: 20 June 2007 18:10
Subject: Re: "Regarding packaging AAR file"

Hi Chris,
Thanks for the reply.
If I am trying with -p option it will generate the skeleton in package
that is given with -p option.
But all other classes generated in the directory mentioned by

Chris Shah <> wrote:

	If I understand your problem correctly, you can provide the -p
option to generate your classes in whatever directory structure you wish
while running wsdl2java. 
	renjith kalappurackal <> wrote:

		Hi All,
		               I am newbie to Axis2. I am facing a
problem . And I searched a lot to find the solution for the same. I am
writing a Webservice so as to integrate a ERP product with System.For
integrating they are giving a sample WSDL. And I could able to integrate
with that ERP product  by modyfying the WSDL to our need. 
		                The problem now I am facing is regarding
packaging the AAR file. "Since the webservices which I wrote is
dependant on the targetnamespace mentioned in the WSDL ie like <> . So when I am generating the
AAR file it always comes under diretory. But As per my
company standards all of the service related file should go to entirely
different directory structure say But when I tried
changing ( I think I was entirely wrong there) target namespace of
defenition and Schema .. The client is throwing errors "Unexpected
subelement" error( I think we cannot chage the target namespace that way
, becuase client program is purely depend on the targetnamespace). Is
there any way I can tackle this problem, Like two different package
Stucture at Client and Service side and still both working fine. I am
using "document" type soap operation .And the client that will be
accessing the webservice is been developed in microsoft platform and I
cannot makee any changes to client.
		Thanks in advance.
		Renjith Kalappurackal


		Looking for a deal? Find great prices on flights and
>  with Yahoo! FareChase.


	Building a website is a piece of cake. 
	Yahoo! Small Business gives you all the tools to get online.


Got a little couch potato? 
Check out fun summer activities for kids.

View raw message