You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mirae-dev@ws.apache.org by Anjana Fernando <la...@gmail.com> on 2006/06/01 12:21:34 UTC
wsdl2javame tool runtime error ..
Hello,
I have some problems using the " wsdl2javame " tool. The Mirae web
site states to use " org.apache.mirae.wsdl2ws.WSDL2Ws ", but seems
like that isn't used anymore becouse the part to build it in the ant
build file has been commented out. ( I tried to uncomment it and build
it but I got lot of errors saying that certailn classes doesn't exist
.. ). So I built " wsdl2javame " and it was succesful in the build.
But when I ran it I got these errors ..
( org.apache.mirae.ws.wsdl.tojava.WsdlToJavaMe is the class I used .. )
-------------------------------------------------------------------------------------------------
../../wsdl/point.wsdl
Jun 1, 2006 3:28:47 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler
and javax.mail.internet.MimeMultipart). Attachment support is
disabled.
java.lang.NullPointerException
at org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeElement(JavaMeStubWriter.java:348)
at org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeOperation(JavaMeStubWriter.java:443)
at org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeFileBody(JavaMeStubWriter.java:233)
at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
at org.apache.mirae.ws.wsdl.tojava.JavaMeBindingWriter.generate(JavaMeBindingWriter.java:99)
at org.apache.mirae.ws.wsdl.tojava.JavaMeGeneratorFactory$Writers.generate(JavaMeGeneratorFactory.java:260)
at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
at java.lang.Thread.run(Thread.java:534)
-------------------------------------------------------------------------------------------------
Maybe somone can help me ,
Regards,
Anjana.
---------------------------------------------------------------------
To unsubscribe, e-mail: mirae-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: mirae-dev-help@ws.apache.org
Re: wsdl2javame tool runtime error ..
Posted by Anjana Fernando <la...@gmail.com>.
It worked ..
Thankx,
Anjana.
On 6/1/06, Changshin Lee <ia...@gmail.com> wrote:
> Anjana Fernando wrote:
> > Hello,
> >
> > I have some problems using the " wsdl2javame " tool. The Mirae web
> > site states to use " org.apache.mirae.wsdl2ws.WSDL2Ws ", but seems
> > like that isn't used anymore becouse the part to build it in the ant
> > build file has been commented out. ( I tried to uncomment it and build
> > it but I got lot of errors saying that certailn classes doesn't exist
> > .. ). So I built " wsdl2javame " and it was succesful in the build.
> Nice catch :-)
> > But when I ran it I got these errors ..
> The error is due to the fact that the WSDL is not supported by the tool
> because the WSDL is RPC-SOAP-encoded while the tool supports only
> document-literal. Please test the tool with doc-lit WSDLs.
>
> Cheers,
>
> Ias
> >
> > ( org.apache.mirae.ws.wsdl.tojava.WsdlToJavaMe is the class I used .. )
> >
> > -------------------------------------------------------------------------------------------------
> >
> >
> > ../../wsdl/point.wsdl
> > Jun 1, 2006 3:28:47 PM org.apache.axis.utils.JavaUtils
> > isAttachmentSupported
> > WARNING: Unable to find required classes (javax.activation.DataHandler
> > and javax.mail.internet.MimeMultipart). Attachment support is
> > disabled.
> > java.lang.NullPointerException
> > at
> > org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeElement(JavaMeStubWriter.java:348)
> >
> > at
> > org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeOperation(JavaMeStubWriter.java:443)
> >
> > at
> > org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeFileBody(JavaMeStubWriter.java:233)
> >
> > at
> > org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
> > at
> > org.apache.mirae.ws.wsdl.tojava.JavaMeBindingWriter.generate(JavaMeBindingWriter.java:99)
> >
> > at
> > org.apache.mirae.ws.wsdl.tojava.JavaMeGeneratorFactory$Writers.generate(JavaMeGeneratorFactory.java:260)
> >
> > at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
> > at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
> > at
> > org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
> > at java.lang.Thread.run(Thread.java:534)
> >
> > -------------------------------------------------------------------------------------------------
> >
> >
> > Maybe somone can help me ,
> >
> > Regards,
> > Anjana.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: mirae-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: mirae-dev-help@ws.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mirae-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: mirae-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: mirae-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: mirae-dev-help@ws.apache.org
Re: wsdl2javame tool runtime error ..
Posted by Changshin Lee <ia...@gmail.com>.
Anjana Fernando wrote:
> Hello,
>
> I have some problems using the " wsdl2javame " tool. The Mirae web
> site states to use " org.apache.mirae.wsdl2ws.WSDL2Ws ", but seems
> like that isn't used anymore becouse the part to build it in the ant
> build file has been commented out. ( I tried to uncomment it and build
> it but I got lot of errors saying that certailn classes doesn't exist
> .. ). So I built " wsdl2javame " and it was succesful in the build.
Nice catch :-)
> But when I ran it I got these errors ..
The error is due to the fact that the WSDL is not supported by the tool
because the WSDL is RPC-SOAP-encoded while the tool supports only
document-literal. Please test the tool with doc-lit WSDLs.
Cheers,
Ias
>
> ( org.apache.mirae.ws.wsdl.tojava.WsdlToJavaMe is the class I used .. )
>
> -------------------------------------------------------------------------------------------------
>
>
> ../../wsdl/point.wsdl
> Jun 1, 2006 3:28:47 PM org.apache.axis.utils.JavaUtils
> isAttachmentSupported
> WARNING: Unable to find required classes (javax.activation.DataHandler
> and javax.mail.internet.MimeMultipart). Attachment support is
> disabled.
> java.lang.NullPointerException
> at
> org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeElement(JavaMeStubWriter.java:348)
>
> at
> org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeOperation(JavaMeStubWriter.java:443)
>
> at
> org.apache.mirae.ws.wsdl.tojava.JavaMeStubWriter.writeFileBody(JavaMeStubWriter.java:233)
>
> at
> org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
> at
> org.apache.mirae.ws.wsdl.tojava.JavaMeBindingWriter.generate(JavaMeBindingWriter.java:99)
>
> at
> org.apache.mirae.ws.wsdl.tojava.JavaMeGeneratorFactory$Writers.generate(JavaMeGeneratorFactory.java:260)
>
> at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476)
> at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
> at
> org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
> at java.lang.Thread.run(Thread.java:534)
>
> -------------------------------------------------------------------------------------------------
>
>
> Maybe somone can help me ,
>
> Regards,
> Anjana.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: mirae-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: mirae-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: mirae-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: mirae-dev-help@ws.apache.org