Hello guys..

the same problem again and again. I get a lot of error messages when I
try the attachment example... What I am doing wrong... ?
Iam sending the messages in two ways: one using the commandline...like
java samples.attachments.EchoAttachment C:\attach\attach.txt
then i get
Internal Server Error
   at org.apache.axis.transport.http.HTTPSender.invoke(UnkownSource)
   at org.apache.axis.strategies.InvocationStrategy.visit(UnknownSource)

  at org.apache.axis.SimpleChain.doVisiting(UnknownSource)
at org.apache.axis.SimpleChain.invoke(UnknownSource)
at org.apache.axis.client.AxisClient.invoke("")
at org.apache.axis.client.Call.invoke("")
at org.apache.axis.client.Call.invoke("")
at org.apache.axis.client.Call.invoke("")
at org.apache.axis.client.Call.invoke("")
at samples.attachments.EchoAttachment.echo("")
at samples.attachments.EchoAttachment.main("")

and the second over a modified file but the result is the same always
this error message....

whats wrong....??????

the message looks like this:

POST /axis/services/urn:EchoAttachmentsService HTTP/1.0

Content-Length: 3307

Host: localhost

Content-Type: multipart/related; type="text/xml";
start="<77930451.1017751188642.AXIS@MHW40190>";
boundary=2614099.1017751188672.JavaMail.ts041627.MHW40190

SOAPAction: ""





--2614099.1017751188672.JavaMail.ts041627.MHW40190

Content-Type: text/xml; charset=UTF-8

Content-Transfer-Encoding: binary

Content-ID: <77930451.1017751188642.AXIS@MHW40190>



<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";>
 <SOAP-ENV:Body>
  <ns1:echo xmlns:ns1="urn:EchoAttachmentsService">
   <source href="cid:505525185.1017751188601.AXIS@MHW40190"/>
  </ns1:echo>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

--2614099.1017751188672.JavaMail.ts041627.MHW40190

Content-Type: text/plain

Content-Transfer-Encoding: binary

Content-ID: <505525185.1017751188601.AXIS@MHW40190>



this is my message.......











Reply via email to