The problem is in the following line
 
<EchoAttachmentReturn xsi:type="xsd:string"> ....... </EchoAttachmentReturn>
......... = ASCII characters........
 
Instead of ASCII characters it should display the attachment ids.
 
I'm  currently trying to solve this problem.
 
Rangika 
 
----- Original Message -----
Sent: Tuesday, April 26, 2005 7:40 PM
Subject: RE: Attachments

May be this is not a question to ask:

 

Is the return value:

<EchoAttachmentReturn xsi:type="xsd:string">?</EchoAttachmentReturn>

 

Base64 encoded?

 

thanks

-Lilantha

 

-----Original Message-----
From: Rangika Mendis [mailto:[EMAIL PROTECTED]
Sent: Monday, April 25, 2005 10:13 AM
To: Apache AXIS C Developers List
Subject: Re: Attachments

 

Hi Mark,

 

We are working on server side attachment support.There's a minor problem but

other than that it's working fine. The code is committed to the cvs but

currently the code is commented.

 

The web service sample is in

<Checkout>\samples\server\mime\

 

The client (Linux )  is in

<checkout>\tests\utils\simple-server-client\

 

The problem is the attachment id is displayed as an ASCII value in the

following text

<EchoAttachmentReturn xsi:type="xsd:string">?</EchoAttachmentReturn> (In

the response)

 

The TCP Mon context are as follows.(Response)

 

HTTP/1.1 200 OK

 

Date: Mon, 25 Apr 2005 13:33:17 GMT

 

Server: Apache/2.0.48 (Win32)

 

Content-Length: 831

 

Connection: close

 

Content-Type: text/xml

 

 

 

 

------=MIME BOUNDARY

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

 

Content-Transfer-Encoding:8-bit

 

Content-Id: <1505912FEDEB53D396BC22103DA3A51A>

 

<?xml version='1.0' encoding='utf-8' ?>

<SOAP-ENV:Envelope

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">

<SOAP-ENV:Body>

<ns1:EchoAttachmentResponse xmlns:ns1="urn:EchoAttachmentsService">

<EchoAttachmentReturn xsi:type="xsd:string">?</EchoAttachmentReturn>

</ns1:EchoAttachmentResponse>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

 

 

------=MIME BOUNDARY

 

Content-Type:text/xml

Content-Transfer-Encoding:base64

Content-Id: <000001233>

 

SGVsbG8=

 

------=MIME BOUNDARY

 

Content-Type:text/xml

Content-Transfer-Encoding:base64

Content-Id: <000001234>

 

R29vZA==

 

------=MIME BOUNDARY

 

We're working on this currently.

 

Regds

Rangika

 

----- Original Message -----

From: "Mark Whitlock" <[EMAIL PROTECTED]>

To: <axis-c-dev@ws.apache.org>

Sent: Monday, April 25, 2005 7:26 PM

Subject: Attachments

 

 

> 

> 

> 

> 

> Hi,

> 

> I was looking at the attachment support. Does anyone know...

> 

>  - whether attachments are currently being worked on and whether this

> support will be completed in 1.6?

>  - whether Axis C++ will support attachments defined in the wsdl and

> referenced from the soap body? Or will these attachments be unreferenced?

>  - will wsdl2ws be updated to support attachments?

> 

> Thanks,

> Mark

> Mark Whitlock

> IBM

> 

> 

> 

 

 

 

 

_______________
Siebel
IT'S ALL ABOUT THE CUSTOMER
Visit www.siebel.com

This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation.

Reply via email to