RE: DIME chunked messages to Axis

2005-12-02 Thread Mayur Shetye

Hello Rajiv,

I am not sure if I am right .This is just a speculation. 
I suspect you have to enable chunking on the server as well as chunk the
data while sending. It does not happen automatically.  

As per my performance results for larger attachments MIME performs better
than DIME though I expected otherwise. Again I could be wrong and I would
like to hear other perspectives about this.

Mayur Shetye
Realty Data Corp
Your National Electronic Abstracting Source

-Original Message-
From: Rajiv Gupta [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 15, 2005 6:15 PM
To: axis-user@ws.apache.org
Subject: DIME chunked messages to Axis

I am running my web services on Axis/Apache Tomcat to receive  
attachments from the client (which could be Java or .Net). When using  
MIME attachments from the client, I am able to send files as big as  
32 MB without any issues. For DIME attachments where no chunking  
happens (file size < 1 MB), again there is no issue. However, when  
the DIME attachment size increases to a level where chunking is  
required, the server side chokes with error -

{http://xml.apache.org/axis/}stackTrace:java.io.IOException: End of  
physical stream detected when <68> more bytes expected.

Looked all over the net but only found documents saying Axis supports  
DIME and MIME. Is there any necessary setup on server side to support  
DIME chunked messages?

Many thanks,
Rajiv 


RE: zipping soap body before sending

2005-11-08 Thread Mayur Shetye
Hello,

I think that you can do this in the handler level where you can actually
carry out operations on the message body. Personally I would be against
zipping, it is many times better to send the data as DIME instead.

Mayur Shetye
Your National Electronic Abstracting Source

-Original Message-
From: Plorks mail [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 08, 2005 11:16 AM
To: undisclosed-recipients
Subject: zipping soap body before sending




hi all

can anyone  give me / shoe links to an example of a webservice that zips a 
messge


i need to write a ws will send data to a client.  but before the client get 
the data i need to zip it as it will be a large dataset.


has anyone an example zipping the soap body at server side ?


thanks for any help

_
MSN Messenger 7.5 is now out. Download it for FREE here. 
http://messenger.msn.co.uk


Forwarding to the appropriate port

2005-10-03 Thread Mayur Shetye
Hello all

I have some webservices deployed using axis in the oracle 10G application
server. I actually wanted to some advice from the group.

1. If it advisable to run webservices in oracle 10g Application server as
opposed to Tomcat? (They do run, but I want to know if anyone thinks that
this should not be done)

2. My configuration is as follows

Requests are
internet -> APACHE HTTP server (port 80) -> 10g App Server (port
7780)
Response is
10g App server (port 7780) -> Apache HTTP server (port 80) ->
internet

Entry point is the apache web server on port 80.

Now, the webservices work fine in this configuration except when I try to
get to the WSDL file. The url to which it goes is like 

http://abc.xyz.com:7780/service/abc?wsdl

I want to know Why it goes directly to port 7780, I am sure some of you have
faced this problem in apache-tomcat configuration too. Currently I am not
able to see the WSDL file itself.

Let me know what can be done so that wsdl file appears on port 80. Also
interestingly if I invoke the webservice on port 80 it WORKS. Suggesting
that apache forwards the request properly to the 10g App server instance,
the WS is invoked and a corresponding response is sent. 

I have got VERY poor tech support from oracle with this.

Regards
Mayur


Returning Large XML Files

2005-08-18 Thread Mayur Shetye
Hello all

I have a xml file which contains an inline base64 encoded image. The
structure is something like this.









-The Base64 encoded image appears here-







 The base64 encoded data is most often more than 100Kb. 

Would it be a better idea to send back ONLY the Base64 encoded image as a
web service response or should I send this XML file with the image
encapsulated inside? What would be a preferable option?

Thanks
Mayur


return paratmeter as String

2005-08-01 Thread Mayur Shetye








Hello all

I want to make sure that if return parameter is String, can
I encapsulate a XML file in that parameter, or should I be on the safer side
and do a base64 encoding that file so that the return goes through successfully?

Regards

Mayur

 








type mappings

2005-07-11 Thread Mayur Shetye








Hello all

 

I am writing a web-service which is to be invoked by a
client who is using .net. Along with some parameters I am also thinking of
using a hash-map as an incoming parameter in the web-service. The reason being
of in the future we decide to do some personalization for a specific client
then we can put that specific parameter In the hashmap.

 

My question is about inter-opertability.
Is using hash map the best option? If not what data-structure should I use? I
want a generic data-structure like an like associative
array and should have room for growth. I currently don't see anything
else I can use.

 

Can you please provide any insights on this ?

Mayur Shetye

 

Realty Data Corp.

1325 Franklin
  Ave., Suite 160

Garden City, NY
 11530

T.
(516) 877-8715 

F.
(516) 877-8724

www.RealtyData.com

 

Your National Electronic
Abstracting Source

 








RE: xml in http response

2005-07-11 Thread Mayur Shetye
Is there any api / api-call I can use to do the same ?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 11, 2005 11:53 AM
To: axis-user@ws.apache.org
Subject: Re: xml in http response

HTML Encode it? Turn every < into < ? :)

On Mon, Jul 11, 2005 at 11:10:15AM -0400, Mayur Shetye wrote:
> Hello all
>  
> I am building a WS in which I shall be giving out an xml document.
Enclosing
> that XML document in the response xml poses some problems similar to
sending
> attachments.
>  
> I wanted to know, is there any other way I can include that xml document
in
> the response, other than doing a base64 encoding on it (because the data
is
> not actually binary). 
>  
> Thanks
> Mayur Shetye
>  
> Realty Data Corp.
> 1325 Franklin Ave., Suite 160
> Garden City, NY 11530
> T. (516) 877-8715 
> F. (516) 877-8724
>  <http://www.realtydata.com/> www.RealtyData.com
>  
> Your National Electronic Abstracting Source
>  


RE: Axis for Java 1.3.1

2005-07-11 Thread Mayur Shetye
As long as you have jar files required by axis in you CP I don't see why you
cannot use the latest axis with jdk 1.3X

Mayur Shetye

-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 11, 2005 11:05 AM
To: axis-user@ws.apache.org; Fernando Fiszman
Subject: Re: Axis for Java 1.3.1

Axis 1.2.1 should work

On 7/11/05, Fernando Fiszman <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Someone knows what version of axis runs with Java 1.3.1.
> 
> I need to run a AXIS Client like a Java Stored Procedure in a Oracle
> 9i R2 and Oracle 9i R" comes with Java 1.3.1.
> 
> Thanks,
> 


-- 
Davanum Srinivas -http://blogs.cocoondev.org/dims/


xml in http response

2005-07-11 Thread Mayur Shetye








Hello all

 

I am building a WS in which I shall be giving out an xml
document. Enclosing that XML document in the response xml poses some problems
similar to sending attachments.

 

I wanted to know, is there any other way I can include that
xml document in the response, other than doing a base64 encoding on it (because
the data is not actually binary). 

 

Thanks

Mayur Shetye

 

Realty Data Corp.

1325 Franklin
  Ave., Suite 160

Garden City, NY
 11530

T.
(516) 877-8715 

F.
(516) 877-8724

www.RealtyData.com

 

Your National Electronic
Abstracting Source