[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage

2009-07-20 Thread alfred.rsa
Hi Alessio

Thanks for the reply. No I create the SOAP message by getting an instance of 
the SOAP MessageFactory and then adding elements to the body. 
When i use the SoapMessage writeTo method to a file, it contains no CRLF pairs, 
but when I intercept the message using WireShark, I see the CRLF's.
So it seems as if the SOAPConnection call method or underlying transport is 
adding the CRLF's

Using the exact same code in GlassFish, the CRLF's are never added and it works 
fine, but I do not want to use GlassFish 

Regards
Alfred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243955#4243955

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage

2009-07-15 Thread alessio.sold...@jboss.com
This reminds me of something related to CR/LF when dealing with signatures.
Where do you get the soap elements content from? are you reading them from file?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4243822#4243822

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4243822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Newlines/spaces in SOAPMessage

2009-07-02 Thread alfred.rsa
Using WireShark to intercept the transmission, I found that the JBoss 
SOAPElement.setvalue implementation seems
to add a carriage return linefeed combination to my text which causes the Web 
Service to crash:

   37 32 0d 0a 3c 65 6e 76 3a 45 6e 76 65 6c 6f 70  72..env:Envelop
  | 0010   65 20 78 6d 6c 6e 73 3a 65 6e 76 3d 27 68 74 74  e xmlns:env='htt
  | 0020   70 3a 2f 2f 73 63 68 65 6d 61 73 2e 78 6d 6c 73  p://schemas.xmls
  | 0030   6f 61 70 2e 6f 72 67 2f 73 6f 61 70 2f 65 6e 76  oap.org/soap/env
  | 0040   65 6c 6f 70 65 2f 27 3e 3c 65 6e 76 3a 42 6f 64  elope/'env:Bod
  | 0050   79 3e 3c 73 65 61 72 63 68 44 6f 63 44 61 74 61  ysearchDocData
  | 0060   52 65 71 75 65 73 74 3e 3c 66 5f 6e 72 3e 74 65  Requestf_nrte
  | 0070   73 74 5f 66 6e 6f 0d 0a  st_fno..
When I use Sun's SAAJ this doesnot happen
Any ideas?
Regards Alfred

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4241399#4241399

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4241399
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user