RE: [axis] LF vs CR/LF in axis generated code

2002-06-04 Thread Taras Shkvarchuk
Yes. But code should NOT rely that it will get CRLFs from the client. For instance some of perl libraries, lib-www and MIME::Tools, are breaking the spec and are sending just LFs. -Original Message- From: Tom Jordahl [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 11:20 AM To: '[E

RE: [axis] LF vs CR/LF in axis generated code

2002-06-04 Thread Taras Shkvarchuk
CRLF sequences are required by rfc 822 for the headers. They are also used in MIME as delimiters. In some instances, rfc 2049, it is acceptable to use system's local representation of new line, but CRLF is preferred. Some parser out there may understand single LF or just CR, but all are going to u

[PATCH] HTTPSender header creation code

2002-04-03 Thread Taras Shkvarchuk
in some instances headers were written followed by only LineFeed, when CRLF is expected. RCS file: /home/cvspublic/xml-axis/java/src/org/apache/axis/transport/http/HTTPSender. java,v retrieving revision 1.53 diff -w -r1.53 HTTPSender.java 169c169 < out.print("CONNECT " + h

prefix mapping resolution bug.

2002-03-26 Thread Taras Shkvarchuk
I have noticed a small problem with the Deserializer. Axis is unable to resolve namespace mapping if it has been defined on the same level. The following tag will not have its type picked up because namespace mapping will fail. *** http://my.org/schemas/service"; xsi:type="ens:emailScript"> *** I

RE: [PATCH] MessageElement value serialization, etc

2002-03-13 Thread Taras Shkvarchuk
>I have folded the function of your patch into my sandbox, but I wonder >if you could provide the rationale (e.g. what bug did it fix?). There was no way to construct XML for the headers by hand. Also in the body you had to use RPCElement to create nodes. As well as a fix for serialization of chil

[PATCH] MessageElement value serialization, etc

2002-03-12 Thread Taras Shkvarchuk
This is the patch we were talking about in chat. set/getValue changed to set/getObjectValue() -Taras SOAPHeader.java Description: Binary data MessageElement.java Description: Binary data Constants.diff Description: Binary data

RE: Latency Performance of AXIS vs. Apache SOAP

2002-02-28 Thread Taras Shkvarchuk
One of the MAJOR issues that I have noted with axis is the way it parses the data. In a sense you data is parsed in 2 passes. Originally what happens is Axis deserializes XML into MessageElement objects constructing a DOM structure. At this time all of the SAX events are recorded. When that is don

RE: Experiments on type serialization. (feedback very welcome)

2002-02-21 Thread Taras Shkvarchuk
c: '[EMAIL PROTECTED]' > Subject: RE: Experiments on type serialization. (feedback > very welcome) > > > Taras, > > Could you resend this patch to me. > > Thanks > > Rich Scheuerle > XML & Web Services Development > 512-838-5115 (IBM TL 678-5115) > > >

RE: Experiments on type serialization. (feedback very welcome)

2002-02-21 Thread Taras Shkvarchuk
o examine the ramifications of pooling some of the > objects versus moving logical function, that would > be a great help to the group. > > Thanks, > > Rich Scheuerle > XML & Web Services Development > 512-838-5115 (IBM TL 678-5115) > > > >

RE: [PATCH] message.MessageElement get/setValue() and child serializa tion

2002-02-15 Thread Taras Shkvarchuk
= null) { < super.outputImpl(context); < } else { < context.serialize(new QName(namespaceURI,name), attributes, value, value.getClass() ); < } < } Constants*** 382a383 > public static final String ATTR_TYPE

RE: Experiments on type serialization. (feedback very welcome)

2002-02-15 Thread Taras Shkvarchuk
ch Scheuerle > XML & Web Services Development > 512-838-5115 (IBM TL 678-5115) > > > > > Taras Shkvarchuk >

[PATCH] encoding.DeserializerImpl NullPointerException in DEBUG mode

2002-02-15 Thread Taras Shkvarchuk
If node had an href attribute, but that reference was not defined yet, you would get NullPointer in log4j DEBUG mode. 316a317 > if(ref!=null){ 319a321,325 > }else{ > category.debug(JavaUtils.getMessa

[PATCH] message.MessageElement get/setValue() and child serialization

2002-02-15 Thread Taras Shkvarchuk
org.apache.axis.message.MessageElement: added Object getValue()/setValue(Object) methods. makes it a lot easier to build nodes with registered types as values. Fixed output() method to serialize any children node may have. -Taras 61a62 > import org.apache.axis.encoding.Serializer; 80a82 > impo

[PATCH] encoding.SerializationContextImpl getSerializerForJavaType() always returned null

2002-02-15 Thread Taras Shkvarchuk
815c815 < return null; --- > return dser;

RE: SOAP Performance - What's next

2002-02-13 Thread Taras Shkvarchuk
-- Lazy (on demand) parsing is definitely an area for improvement. In intermediary services much of the data in the message is not used. -- Particularly in Axis, direct serialization of XML into registered types (using SAX of cause). In some instances that gives as much as 1/3 memory utilization

RE: Attachment support Diffs for review (Message & Part & SOAPPar t af fected)

2002-02-12 Thread Taras Shkvarchuk
Ok this change is actually working right. Having attachment support optional makes it not auto rebuild on dependency checks :( > -Original Message- > From: Taras Shkvarchuk > Sent: Tuesday, February 12, 2002 1:51 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Att

RE: Attachment support Diffs for review (Message & Part & SOAPPar t af fected)

2002-02-12 Thread Taras Shkvarchuk
oops forgot to attach the change. :) > -Original Message- > From: Taras Shkvarchuk > Sent: Tuesday, February 12, 2002 1:18 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Attachment support Diffs for review (Message & Part & > SOAPPar t af fected) >

RE: Attachment support Diffs for review (Message & Part & SOAPPart af fected)

2002-02-12 Thread Taras Shkvarchuk
attachments > from the incoming > stream unless they are reference and thus > I'm not going to integrate this change in. > > > Rick Rineholt > "The truth is out there... All you need is a better search engine!" > > [EMAIL PROTECTED] > > &

Message parse: MessageElement and SAX recording.

2002-02-07 Thread Taras Shkvarchuk
Even though Axis is using SAX internally, it still creates a DOM like structure from MessageElement object. Also all of the events are recorded. This leads to cpu/memory utilization similar to that of DOM model. When an object is deserialized from the Envelope, it is getting all of the events from

RE: Attachment support Diffs for review (Message & Part & SOAPPart af fected)

2002-02-06 Thread Taras Shkvarchuk
Totally understand, specially since there is some design change. Hope you find these changes useful. :) Thanks! > -Original Message- > From: Rick Rineholt [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 06, 2002 8:07 AM > To: [EMAIL PROTECTED] > Subject: Re: Attachment support Dif

Attachment support Diffs for review (Message & Part & SOAPPart affected)

2002-02-05 Thread Taras Shkvarchuk
Here are some changes I made to Attachments implementation. (diffs attached) * AttachmentsImpl.java: removed reference to Message object. When Message gets SOAPPart it sets itself as a parent. added orderedAttachments list that keep

RE: Attachment support optional?!?

2002-02-05 Thread Taras Shkvarchuk
> There may be some reasons for this to follow > the JAXM model. But to make really sure I would need to > do some more thorough investigation. In doing so what have you fixed? Not having to depend on Message, you can share Attachments between messages. In catalog type services you might want to

bug/todo: SOAPBody does not support non LATIN1 character sets

2002-02-05 Thread Taras Shkvarchuk
Currently SOAPBody.getBytes() just calls getBytes() on the string object. This will use VM's default character set. That happens to be "Cp1252" on most systems, so any non LATIN characters in will get corrupt. Likewise, when creating a String from the raw bytes default encoding is used. I think

Attachment data retired too early? (data is deleted as soon as message is serialized)

2002-02-04 Thread Taras Shkvarchuk
Attachment data stored in ManagedMemoryDataSource is deleted (or at least marked deleted), as soon as message has been serialized. While in most cases you will not want to access the data after you have sent out the message, why force a delete possibly too early? In case where a service is trying

Attachment support optional?!?

2002-02-04 Thread Taras Shkvarchuk
I have been playing with Attachment code trying to improve it a little, and fill in the missing parts/TODOs. Doing that I am not understanding 2 basic things in the design. 1) Why would you want to compile Axis without attachment support? Doing so creates, in my opinion, unneeded code complexity