• Post Reply Bookmark Topic Watch Topic
  • New Topic

swa example in axis samples folder  RSS feed

 
Angela Truce
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to learn how to use swa and I have no idea where to start. There is an example in the axis samples folder but how do i go about running the example?
I tried javac Tester.java but I got this error message:

MimeMultipart content: multipart/mixed;
boundary="----=_Part_0_26083064.1153423267193"
Content type: image/gif
Content type: image/jpeg
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/mail/util/Sha
redByteArrayInputStream
at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream(MimeUtil
s.java:197)
at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(Atta
chmentsImpl.java:493)
at org.apache.axis.Message.writeTo(Message.java:545)
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
va:511)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)

at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at samples.swa.SwaBindingStub.swaSend(SwaBindingStub.java:160)
at samples.swa.Tester.main(Tester.java:89)



thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!