Re: Documentation for Java2WSDLTask

2006-10-13 Thread Thilina Gunarathne

That doc is fresh from the SVN.. You may need to save and open again..
It'll make to the site at the 1.1 release...

~Thilina

On 10/13/06, D. Kreft <[EMAIL PROTECTED]> wrote:

It's kinda hard to read--your Content-type header is coming across as
"text/plain" even though it's an .html document.

-dan

On 10/12/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:
> There is a ongoing doc effort for these things... Just see whether it
> matches your expectations...  Feedback is welcome :)
>
> 
http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1/reference.html
>
> Thnaks,
> ~Thilina
>
> On 10/13/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> > classpathURI - That's the one that needs fixin'. there's a pending
> > patch as well that changes several of the options. So hang in there.
> >
> > -- dims
> >
> > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > On 10/12/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> > >
> > > > Troublemakers! :) Started a JIRA bug. The options for the ant task is
> > > > almost one to one with the command line.
> > >
> > > Ooookay...
> > >
> > > So, I tried using the Ant task based upon an example that someone had
> > > pasted in response to a similar question to this list, but the part
> > > that is baffling me is that it can't find my class (I know"Newbie
> > > classpath issues! Throw him to the sharks!").
> > >
> > > Unfortunately, Java2WSDLTask does not support a nested 
> > > element like many other Ant tasks seem to do (hint hint), instead
> > > there seems to be this 'classpathURI' attribute. What is *that*? Is it
> > > a classpath or a URI?
> > >
> > > -dan
> > >
> > > >
> > > > http://issues.apache.org/jira/browse/AXIS2-1360
> > > >
> > > > -- dims
> > > >
> > > > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > > > I should clarify thisI'm trying to use the Ant task, not the 
command line.
> > > > >
> > > > > -dan
> > > > >
> > > > > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > > > > Is there any documentation yet on how to use Java2WSDLTask? There 
are
> > > > > > a bunch of new attributes to this task that I'm not familiar with. 
The
> > > > > > javadocs for the class of the same name are, of course, no 
help--they
> > > > > > assume I know what I'm doing. :-)
> > > > > >
> > > > > > -dan
> > > > > >
> > > > >
> > > > > -
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service 
Developers)
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
> >
> > --
> > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> http://webservices.apache.org/~thilina/
> http://thilinag.blogspot.com/
>




--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Documentation for Java2WSDLTask

2006-10-13 Thread D . Kreft

It's kinda hard to read--your Content-type header is coming across as
"text/plain" even though it's an .html document.

-dan

On 10/12/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:

There is a ongoing doc effort for these things... Just see whether it
matches your expectations...  Feedback is welcome :)

http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1/reference.html

Thnaks,
~Thilina

On 10/13/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> classpathURI - That's the one that needs fixin'. there's a pending
> patch as well that changes several of the options. So hang in there.
>
> -- dims
>
> On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > On 10/12/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> >
> > > Troublemakers! :) Started a JIRA bug. The options for the ant task is
> > > almost one to one with the command line.
> >
> > Ooookay...
> >
> > So, I tried using the Ant task based upon an example that someone had
> > pasted in response to a similar question to this list, but the part
> > that is baffling me is that it can't find my class (I know"Newbie
> > classpath issues! Throw him to the sharks!").
> >
> > Unfortunately, Java2WSDLTask does not support a nested 
> > element like many other Ant tasks seem to do (hint hint), instead
> > there seems to be this 'classpathURI' attribute. What is *that*? Is it
> > a classpath or a URI?
> >
> > -dan
> >
> > >
> > > http://issues.apache.org/jira/browse/AXIS2-1360
> > >
> > > -- dims
> > >
> > > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > > I should clarify thisI'm trying to use the Ant task, not the 
command line.
> > > >
> > > > -dan
> > > >
> > > > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > > > Is there any documentation yet on how to use Java2WSDLTask? There are
> > > > > a bunch of new attributes to this task that I'm not familiar with. The
> > > > > javadocs for the class of the same name are, of course, no help--they
> > > > > assume I know what I'm doing. :-)
> > > > >
> > > > > -dan
> > > > >
> > > >
> > > > -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Documentation for Java2WSDLTask

2006-10-12 Thread Thilina Gunarathne

There is a ongoing doc effort for these things... Just see whether it
matches your expectations...  Feedback is welcome :)

http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_1/xdocs/1_1/reference.html

Thnaks,
~Thilina

On 10/13/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

classpathURI - That's the one that needs fixin'. there's a pending
patch as well that changes several of the options. So hang in there.

-- dims

On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> On 10/12/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
>
> > Troublemakers! :) Started a JIRA bug. The options for the ant task is
> > almost one to one with the command line.
>
> Ooookay...
>
> So, I tried using the Ant task based upon an example that someone had
> pasted in response to a similar question to this list, but the part
> that is baffling me is that it can't find my class (I know"Newbie
> classpath issues! Throw him to the sharks!").
>
> Unfortunately, Java2WSDLTask does not support a nested 
> element like many other Ant tasks seem to do (hint hint), instead
> there seems to be this 'classpathURI' attribute. What is *that*? Is it
> a classpath or a URI?
>
> -dan
>
> >
> > http://issues.apache.org/jira/browse/AXIS2-1360
> >
> > -- dims
> >
> > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > I should clarify thisI'm trying to use the Ant task, not the command 
line.
> > >
> > > -dan
> > >
> > > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > > Is there any documentation yet on how to use Java2WSDLTask? There are
> > > > a bunch of new attributes to this task that I'm not familiar with. The
> > > > javadocs for the class of the same name are, of course, no help--they
> > > > assume I know what I'm doing. :-)
> > > >
> > > > -dan
> > > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Documentation for Java2WSDLTask

2006-10-12 Thread Davanum Srinivas

classpathURI - That's the one that needs fixin'. there's a pending
patch as well that changes several of the options. So hang in there.

-- dims

On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:

On 10/12/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:

> Troublemakers! :) Started a JIRA bug. The options for the ant task is
> almost one to one with the command line.

Ooookay...

So, I tried using the Ant task based upon an example that someone had
pasted in response to a similar question to this list, but the part
that is baffling me is that it can't find my class (I know"Newbie
classpath issues! Throw him to the sharks!").

Unfortunately, Java2WSDLTask does not support a nested 
element like many other Ant tasks seem to do (hint hint), instead
there seems to be this 'classpathURI' attribute. What is *that*? Is it
a classpath or a URI?

-dan

>
> http://issues.apache.org/jira/browse/AXIS2-1360
>
> -- dims
>
> On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > I should clarify thisI'm trying to use the Ant task, not the command 
line.
> >
> > -dan
> >
> > On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > > Is there any documentation yet on how to use Java2WSDLTask? There are
> > > a bunch of new attributes to this task that I'm not familiar with. The
> > > javadocs for the class of the same name are, of course, no help--they
> > > assume I know what I'm doing. :-)
> > >
> > > -dan
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Documentation for Java2WSDLTask

2006-10-12 Thread D . Kreft

On 10/12/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:


Troublemakers! :) Started a JIRA bug. The options for the ant task is
almost one to one with the command line.


Ooookay...

So, I tried using the Ant task based upon an example that someone had
pasted in response to a similar question to this list, but the part
that is baffling me is that it can't find my class (I know"Newbie
classpath issues! Throw him to the sharks!").

Unfortunately, Java2WSDLTask does not support a nested 
element like many other Ant tasks seem to do (hint hint), instead
there seems to be this 'classpathURI' attribute. What is *that*? Is it
a classpath or a URI?

-dan



http://issues.apache.org/jira/browse/AXIS2-1360

-- dims

On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> I should clarify thisI'm trying to use the Ant task, not the command line.
>
> -dan
>
> On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> > Is there any documentation yet on how to use Java2WSDLTask? There are
> > a bunch of new attributes to this task that I'm not familiar with. The
> > javadocs for the class of the same name are, of course, no help--they
> > assume I know what I'm doing. :-)
> >
> > -dan
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Documentation for Java2WSDLTask

2006-10-12 Thread Spies, Brennan
1. do a  for org.apache.ws.java2wsdl.Java2WSDLTask
2. since in a custom Ant task, your XML attributes are represented by class
properties, you have

private String className;
private String outputLocation;
private String classpathURI;
private String targetNamespace;
private String targetNamespacePrefix;
private String schemaTargetNamespace;
private String schemaTargetNamespacePrefix;
private String serviceName;
private String outputFileName;

these should parallel the command-line options.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D.Kreft
Sent: Thursday, October 12, 2006 11:47 AM
To: Axis Users
Subject: Re: Documentation for Java2WSDLTask

I should clarify thisI'm trying to use the Ant task, not the command
line.

-dan

On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> Is there any documentation yet on how to use Java2WSDLTask? There are
> a bunch of new attributes to this task that I'm not familiar with. The
> javadocs for the class of the same name are, of course, no help--they
> assume I know what I'm doing. :-)
>
> -dan
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Documentation for Java2WSDLTask

2006-10-12 Thread Davanum Srinivas

Troublemakers! :) Started a JIRA bug. The options for the ant task is
almost one to one with the command line.

http://issues.apache.org/jira/browse/AXIS2-1360

-- dims

On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:

I should clarify thisI'm trying to use the Ant task, not the command line.

-dan

On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:
> Is there any documentation yet on how to use Java2WSDLTask? There are
> a bunch of new attributes to this task that I'm not familiar with. The
> javadocs for the class of the same name are, of course, no help--they
> assume I know what I'm doing. :-)
>
> -dan
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Documentation for Java2WSDLTask

2006-10-12 Thread D . Kreft

I should clarify thisI'm trying to use the Ant task, not the command line.

-dan

On 10/12/06, D. Kreft <[EMAIL PROTECTED]> wrote:

Is there any documentation yet on how to use Java2WSDLTask? There are
a bunch of new attributes to this task that I'm not familiar with. The
javadocs for the class of the same name are, of course, no help--they
assume I know what I'm doing. :-)

-dan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Documentation for Java2WSDLTask

2006-10-12 Thread Martin Gainty
Hi Dan
The best way to overcome that is to trump them at their own game..Maybe they'll 
grow up and stop playing games?

In the meanwhile try using these 2 parameters for generating WSDL from Java 
Bean Source
   -l (location parameter for service)
   -o(output parameter)

Here is an example script I put together

java -classpath 
C:\JavaMail\javamail-1.4ea\mail.jar;C:\JAF\JAF-10~1.2;C:\AXIS\axis-1_3\lib\axis.jar;C:\AXIS\axis-1_3\lib\saaj.jar;C:\AXIS\axis-1_3\lib\wsdl4j-1.5.1.jar;C:\AXIS\axis-1_3\lib\commons-discovery-0.2.jar;C:\commons-logging\commons-logging-1.0.4\commons-logging-api.jar;C:\Log4j\logging-log4j-1.2.10.jar;C:\AXIS\axis-1_3\lib;.
 org.apache.axis.wsdl.Java2WSDL %1 
-location=http://localhost:8080/axis/services/%1 -o %1.wsdl

Feel Free to contact me offline for any questions-

Martin --
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
- Original Message - 
From: "D.Kreft" <[EMAIL PROTECTED]>
To: "Axis Users" 
Sent: Thursday, October 12, 2006 2:08 PM
Subject: Documentation for Java2WSDLTask


> Is there any documentation yet on how to use Java2WSDLTask? There are
> a bunch of new attributes to this task that I'm not familiar with. The
> javadocs for the class of the same name are, of course, no help--they
> assume I know what I'm doing. :-)
> 
> -dan
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>