[Design of JBoss Web Services] - Re: Signatures and CRs
by alessio.soldano@jboss.com
Here are my thoughs and what I did: generally speaking I think a message containing CRLF is valid. Parsers are able to deal with them and according to the specs CR must be converted to LF when parsing. When sending a message you should thus know that if there's a CR in the document's content, it should not be send as a literal otherwise it will be normalized to LF when the document is parsed; it should be encoded as & # x D ; instead (sorry for the padding spaces ;-) ).
As a matter of fact, according to my tests, if you don't run into any transition to DOM_VALID representation of the soap content (need to comment out most of the message logging stuff to achieve this), you already get this (the & # x D ; ) using our stack when outputting messages containing \r in a string content. Thus IMHO the problem was in the DOMWriter's normalize method which didn't convert \r into & # x D ; . So I fixed it. This way, along with the changes done for JBWS-1974, the wsse implementation computes the signature over an element whose content is what the user specified and will not be altered during parsing on client side.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132914#4132914
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132914
16 years, 11 months
Re: [Fwd: [jbossws-dev] User project generator]
by Alessio Soldano
Yes, if everybody agree on this, I could try and port it to that branch
after a final check before the 2.0.4 release.
Cheers
Alessio
Burr Sutter ha scritto:
> Alessio,
>
> Can you make it work with JBossWS 2.0.1.SP2? As that is the
> "official" version of JBossWS that is supported.
> Burr
>
>
> Alessio Soldano wrote:
>> Hi David,
>> you're right, the wiki page says "Since 2.0.4". That's because this
>> has been developed recently, thus is currently available in src only.
>> It will be release in the upcoming 2.0.4 version, which is scheduled
>> for the end of March.
>> Cheers
>> Alessio
>>
>> David Ward ha scritto:
>>> It is very much "future tools", and as cool as it looks, I don't
>>> think it would be good to send to them unless that is very much
>>> underlined. Reason? Alessio, correct me if I'm wrong, but the wiki
>>> page says "Since 2.0.4". JBoss EAP ships with JBoss WS 2.0.1.SP2.
>>> This customer is upset enough as it is with product version
>>> mismatches; I don't want to confuse them further. I myself thought
>>> I'd take Burr up on his invitation, and was going to give it a go
>>> (with WS 2.0.2), only to find the ant targets didn't exist. It was
>>> only then I noticed the wiki statement "Since 2.0.4." Anyway, then
>>> I thought I'd download 2.0.4, just for fun - but the WS download
>>> page only lists WS native through version 2.0.3.... Is this only
>>> available in src at the moment?
>>>
>>> David
>>>
>>>
>>> Kyle Gonzales wrote:
>>>> Do you think this link is good to send to the customer, as long as we
>>>> qualify it as a new tool that is not yet part of the stack?
>>>>
>>>> Perhaps we can use this as an example of one of the "future tools"
>>>> that
>>>> will be in RHDS. ;)
>>>>
>>>> On Fri, 2008-02-22 at 10:36 -0500, Burr Sutter wrote:
>>>>> Thank you!
>>>>>
>>>>> I've copied David & Kyle because they specifically are getting
>>>>> abused by users who feel our WS stack is too difficult to use,
>>>>> specifically due to the lack of IDE support. It could be that
>>>>> your tool is a step in the right direction.
>>>>>
>>>>> David, do you think you can perform a quick eval of this component?
>>>>>
>>>>> Funny enough I worked with James Williams on the original idea of
>>>>> "seamgen" so naturally I like the idea. :-)
>>>>>
>>>>> Alessio Soldano wrote:
>>>>>> Hi,
>>>>>> I'm still using RHDS Beta1, thus I'd say it works with JBDS
>>>>>> (considering it uses basic eclipse features), however I'll give
>>>>>> it a try soon with JBDS and other Eclipse versions.
>>>>>> Honestly I don't know if/how many customer are actually asking
>>>>>> for this, but considering my previous user experience this might
>>>>>> be really useful; anyway there's been a brainstorm on the dev
>>>>>> forum some months ago about ws productivity in general and the
>>>>>> idea of doing this generator is part of the efforts we agreed
>>>>>> upon to make the ws use easier.
>>>>>> Cheers
>>>>>> Alessio
>>>>>>
>>>>>> Burr Sutter ha scritto:
>>>>>>> That is great. It has been hard to "get started".
>>>>>>>
>>>>>>> Do you know if it works with JBDS and EAP 4.2/4.3?
>>>>>>>
>>>>>>> We have customers asking for this sort of thing right now?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------- Original Message --------
>>>>>>> Subject: [jbossws-dev] User project generator
>>>>>>> Date: Wed, 13 Feb 2008 16:11:45 +0100
>>>>>>> From: Alessio Soldano <asoldano(a)redhat.com>
>>>>>>> To: jbossws-dev <jbossws-dev(a)lists.jboss.org>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Hi Folks,
>>>>>>> this morning I've written this page on the wiki:
>>>>>>> http://jbws.dyndns.org/mediawiki/index.php?title=Setup_your_IDE
>>>>>>> It's about the ws-enabled user project generator I committed a
>>>>>>> couple of weeks ago (something like the SeamGen tool).
>>>>>>> As you can read there, it's meant to provide an easy way to
>>>>>>> start a web service user project, without spending a lot of time
>>>>>>> dealing with libraries selection, writing an Ant build file and
>>>>>>> performing basic Eclipse configuration.
>>>>>>>
>>>>>>> Richard (or anybody else using Windows), could you please give
>>>>>>> the above-mentioned stuff a try (since I tested it with Linux
>>>>>>> only)?
>>>>>>> Apart from the test, this is for native stack only right now. If
>>>>>>> you like the idea, once the changes for jbossws 3 are done, I
>>>>>>> could modify this stuff to make it available for all the stacks
>>>>>>> binary releases. Please let me know what you think about this.
>>>>>>>
>>>>>>> Thanks
>>>>>>> Cheers
>>>>>>> Alessio
>>>>>>> _______________________________________________
>>>>>>> jbossws-dev mailing list
>>>>>>> jbossws-dev(a)lists.jboss.org
>>>>>>> https://lists.jboss.org/mailman/listinfo/jbossws-dev
>>>>>>>
>>
>
16 years, 11 months
Re: [Fwd: [jbossws-dev] User project generator]
by Alessio Soldano
Hi David,
you're right, the wiki page says "Since 2.0.4". That's because this has
been developed recently, thus is currently available in src only. It
will be release in the upcoming 2.0.4 version, which is scheduled for
the end of March.
Cheers
Alessio
David Ward ha scritto:
> It is very much "future tools", and as cool as it looks, I don't think
> it would be good to send to them unless that is very much underlined.
> Reason? Alessio, correct me if I'm wrong, but the wiki page says
> "Since 2.0.4". JBoss EAP ships with JBoss WS 2.0.1.SP2. This
> customer is upset enough as it is with product version mismatches; I
> don't want to confuse them further. I myself thought I'd take Burr up
> on his invitation, and was going to give it a go (with WS 2.0.2), only
> to find the ant targets didn't exist. It was only then I noticed the
> wiki statement "Since 2.0.4." Anyway, then I thought I'd download
> 2.0.4, just for fun - but the WS download page only lists WS native
> through version 2.0.3.... Is this only available in src at the moment?
>
> David
>
>
> Kyle Gonzales wrote:
>> Do you think this link is good to send to the customer, as long as we
>> qualify it as a new tool that is not yet part of the stack?
>>
>> Perhaps we can use this as an example of one of the "future tools" that
>> will be in RHDS. ;)
>>
>> On Fri, 2008-02-22 at 10:36 -0500, Burr Sutter wrote:
>>> Thank you!
>>>
>>> I've copied David & Kyle because they specifically are getting
>>> abused by users who feel our WS stack is too difficult to use,
>>> specifically due to the lack of IDE support. It could be that your
>>> tool is a step in the right direction.
>>>
>>> David, do you think you can perform a quick eval of this component?
>>>
>>> Funny enough I worked with James Williams on the original idea of
>>> "seamgen" so naturally I like the idea. :-)
>>>
>>> Alessio Soldano wrote:
>>>> Hi,
>>>> I'm still using RHDS Beta1, thus I'd say it works with JBDS
>>>> (considering it uses basic eclipse features), however I'll give it
>>>> a try soon with JBDS and other Eclipse versions.
>>>> Honestly I don't know if/how many customer are actually asking for
>>>> this, but considering my previous user experience this might be
>>>> really useful; anyway there's been a brainstorm on the dev forum
>>>> some months ago about ws productivity in general and the idea of
>>>> doing this generator is part of the efforts we agreed upon to make
>>>> the ws use easier.
>>>> Cheers
>>>> Alessio
>>>>
>>>> Burr Sutter ha scritto:
>>>>> That is great. It has been hard to "get started".
>>>>>
>>>>> Do you know if it works with JBDS and EAP 4.2/4.3?
>>>>>
>>>>> We have customers asking for this sort of thing right now?
>>>>>
>>>>>
>>>>>
>>>>> -------- Original Message --------
>>>>> Subject: [jbossws-dev] User project generator
>>>>> Date: Wed, 13 Feb 2008 16:11:45 +0100
>>>>> From: Alessio Soldano <asoldano(a)redhat.com>
>>>>> To: jbossws-dev <jbossws-dev(a)lists.jboss.org>
>>>>>
>>>>>
>>>>>
>>>>> Hi Folks,
>>>>> this morning I've written this page on the wiki:
>>>>> http://jbws.dyndns.org/mediawiki/index.php?title=Setup_your_IDE
>>>>> It's about the ws-enabled user project generator I committed a
>>>>> couple of weeks ago (something like the SeamGen tool).
>>>>> As you can read there, it's meant to provide an easy way to start
>>>>> a web service user project, without spending a lot of time dealing
>>>>> with libraries selection, writing an Ant build file and performing
>>>>> basic Eclipse configuration.
>>>>>
>>>>> Richard (or anybody else using Windows), could you please give the
>>>>> above-mentioned stuff a try (since I tested it with Linux only)?
>>>>> Apart from the test, this is for native stack only right now. If
>>>>> you like the idea, once the changes for jbossws 3 are done, I
>>>>> could modify this stuff to make it available for all the stacks
>>>>> binary releases. Please let me know what you think about this.
>>>>>
>>>>> Thanks
>>>>> Cheers
>>>>> Alessio
>>>>> _______________________________________________
>>>>> jbossws-dev mailing list
>>>>> jbossws-dev(a)lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jbossws-dev
>>>>>
16 years, 11 months