[
https://issues.apache.org/jira/browse/AXIS2-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maria Claribelle Loto updated AXIS2-4243:
-----------------------------------------
Description:
Hi,
I am using wsdl2java code generation tool in Axis2 and I want the generated
codes be in just one folder
and I used the below command to generate the necessary codes / java classes:
wsdl2java -uri c:\project\vanilla\src\com\otcex\axisSample\testwsdl.wsdl -ss
-sd -d xmlbeans
I understand that I had to change my output parameter (in the above wsdl2java
command) to specify the output of the generated codes.
was:
Hi,
I am using wsdl2java code generation tool in Axis2 and I want the generated
codes be in just one folder because currently, my skeleton and
messageReceiverInOut classes are at this location:
C:\project\vanilla\src\net\brokerhub\xml\webservices\axis2 whereas my resources
folder is at C:\project\vanilla and I could not find my build.xml.
In my wsdl, I used this targetnamespace:
targetNamespace="http://xml.brokerhub.net/webservices/axis2">
and I used the below command to generate the necessary codes / java classes:
wsdl2java -uri c:\project\vanilla\src\com\otcex\axisSample\testwsdl.wsdl -ss
-sd -d xmlbeans -o C:\project\vanilla\
I understand that I had to change my output parameter (in the above wsdl2java
command) to specify the output of the generated codes. Hence, if I want to put
everything in C:\project\vanilla\src\net\brokerhub\xml\webservices\axis2
directory, the below command should be issued:
wsdl2java -uri c:\project\vanilla\src\com\otcex\axisSample\testwsdl.wsdl -ss
-sd -d xmlbeans -o C:\project\vanilla\src\net\brokerhub\xml\webservices\axis2
but doing that affects the directory of my classes because instead of getting
for example
C:\project\vanilla\src\net\brokerhub\xml\webservices\axis2Sample\Axis2UserGuideServiceMessageReceiverInOnly.java,
i am getting
C:\project\vanilla\src\net\brokerhub\xml\webservices\axis2Sample\src\net\brokerhub\xml\webservices\axis2sample.
Thanks in advance for your help.
> How to put resources,build.xml and skeleton classes in just one folder
> -----------------------------------------------------------------------
>
> Key: AXIS2-4243
> URL: https://issues.apache.org/jira/browse/AXIS2-4243
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Environment: Windows XP, Java, Resin
> Reporter: Maria Claribelle Loto
>
> Hi,
> I am using wsdl2java code generation tool in Axis2 and I want the generated
> codes be in just one folder
> and I used the below command to generate the necessary codes / java classes:
> wsdl2java -uri c:\project\vanilla\src\com\otcex\axisSample\testwsdl.wsdl -ss
> -sd -d xmlbeans
> I understand that I had to change my output parameter (in the above wsdl2java
> command) to specify the output of the generated codes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.