You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Hyeonjae Cheon <sl...@korea.ac.kr> on 2001/04/03 13:58:31 UTC

Error when trying to execute the samples.mime.MimeTestClient

Hi,

I am trying to run the samples.mime.MimeTestClient sample that came with
SOAP-2_1.

When I run:

C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient http://localhost:8080/

soap/servlet/rpcrouter sendFile foo.txt

I am getting the following errors:


Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Attachment tag "addedfile" refers to a Mime attachment with
label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
coul
d not be found.

I am using jakarta-tomcat, apache, windows98.
Another sample codes were executed successfully!!!

Am I missing anything?






---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Wouter Cloetens <wo...@mind.be>.
Sorry for the slow response, but it looks like instead of creating a new message to this forum, you responded
to a very old thread, thus making it appear to a threaded mail client that your message was still part of
that thread.

The "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" unique ID is built up from various
parts to try to guarantee universal uniqueness. The odd part there is the URLEncoded "%C3%B5%C7%F6%C0%E7".
That is supposed to be the user name, obtained by calling System.getProperty("user.name"). I didn't take
into account that that could be non-ASCII text... Hrmpf, I'll look into a work-around. For the time being,
you can patch org.apache.soap.util.mime.MimeUtils.getUniqueValue, or tell your JVM or OS that you have
an ASCII user ID...

bfn, Wouter

On Wed, Apr 04, 2001 at 07:36:10PM +0900, Hyeonjae Cheon wrote:
> Hi, soapers
> 
> I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.
> 
> When I run:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
> http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am getting the following errors:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> Generated fault:
>   Fault Code   = SOAP-ENV:Client
>   Fault String = Attachment tag "addedfile" refers to a Mime attachment with
> label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
> could not be found.
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am using jakarta-tomcat, apache, windows98.
> other sample codes were executed successfully!!!
> 
> Am I missing anything?
> 
> please, help me~
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
> 
---end quoted text---

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Re: Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Wouter Cloetens <wo...@mind.be>.
Sorry for the slow response, but it looks like instead of creating a new message to this forum, you responded
to a very old thread, thus making it appear to a threaded mail client that your message was still part of
that thread.

The "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" unique ID is built up from various
parts to try to guarantee universal uniqueness. The odd part there is the URLEncoded "%C3%B5%C7%F6%C0%E7".
That is supposed to be the user name, obtained by calling System.getProperty("user.name"). I didn't take
into account that that could be non-ASCII text... Hrmpf, I'll look into a work-around. For the time being,
you can patch org.apache.soap.util.mime.MimeUtils.getUniqueValue, or tell your JVM or OS that you have
an ASCII user ID...

bfn, Wouter

On Wed, Apr 04, 2001 at 07:36:10PM +0900, Hyeonjae Cheon wrote:
> Hi, soapers
> 
> I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.
> 
> When I run:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
> http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am getting the following errors:
> 
> --------------------------------------------------------------------------------------------------------------
> 
> Generated fault:
>   Fault Code   = SOAP-ENV:Client
>   Fault String = Attachment tag "addedfile" refers to a Mime attachment with
> label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
> could not be found.
> --------------------------------------------------------------------------------------------------------------
> 
> 
> 
> I am using jakarta-tomcat, apache, windows98.
> other sample codes were executed successfully!!!
> 
> Am I missing anything?
> 
> please, help me~
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
> 
---end quoted text---

---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Hyeonjae Cheon <sl...@korea.ac.kr>.
Hi, soapers

I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.

When I run:

--------------------------------------------------------------------------------------------------------------

C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
--------------------------------------------------------------------------------------------------------------



I am getting the following errors:

--------------------------------------------------------------------------------------------------------------

Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Attachment tag "addedfile" refers to a Mime attachment with
label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
could not be found.
--------------------------------------------------------------------------------------------------------------



I am using jakarta-tomcat, apache, windows98.
other sample codes were executed successfully!!!

Am I missing anything?

please, help me~


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org


Again: Error when trying to run the samples.mime.MimeTestClient

Posted by Hyeonjae Cheon <sl...@korea.ac.kr>.
Hi, soapers

I am trying to run the samples.mime.MimeTestClient sample that came with SOAP-2_1.

When I run:

--------------------------------------------------------------------------------------------------------------

C:\soap-2_1\samples\mime>java samples.mime.MimeTestClient
http://localhost:8080/soap/servlet/rpcrouter sendFile foo.txt
--------------------------------------------------------------------------------------------------------------



I am getting the following errors:

--------------------------------------------------------------------------------------------------------------

Generated fault:
  Fault Code   = SOAP-ENV:Client
  Fault String = Attachment tag "addedfile" refers to a Mime attachment with
label "cid:5223753.986298134600.apache-soap.%C3%B5%C7%F6%C0%E7.bookmark" which
could not be found.
--------------------------------------------------------------------------------------------------------------



I am using jakarta-tomcat, apache, windows98.
other sample codes were executed successfully!!!

Am I missing anything?

please, help me~


---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org