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

alfred.rsa do-not-reply at jboss.com
Thu Jul 2 04:30:09 EDT 2009


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:

0000   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  y><searchDocData
  | 0060   52 65 71 75 65 73 74 3e 3c 66 5f 6e 72 3e 74 65  Request><f_nr>te
  | 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=bb&op=viewtopic&p=4241399#4241399

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241399



More information about the jboss-user mailing list