You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Maria Claribelle Loto (JIRA)" <ji...@apache.org> on 2009/02/20 04:38:06 UTC

[jira] Created: (AXIS2-4243) How to put resources,build.xml and skeleton classes in just one folder

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 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (AXIS2-4243) How to put resources,build.xml and skeleton classes in just one folder

Posted by "Maria Claribelle Loto (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675226#action_12675226 ] 

Maria Claribelle Loto commented on AXIS2-4243:
----------------------------------------------

"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. "

Sorry, just a correction, the directory should be C:\project\vanilla\src\net\brokerhub\xml\webservices\axis2 but  i am getting C:\project\vanilla\src\net\brokerhub\xml\webservices\axis2\src\net\brokerhub\xml\webservices\axis2

> 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 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. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (AXIS2-4243) How to put resources,build.xml and skeleton classes in just one folder

Posted by "Maria Claribelle Loto (JIRA)" <ji...@apache.org>.
     [ 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.