[jboss-user] [JBoss Web Services Users] - Re: XOM fails in production but works in dev

pwnell do-not-reply at jboss.com
Fri Oct 16 19:59:18 EDT 2009


Additional info that might help - the SOAP message sent from the client to the server to upload the test file for the local dev scenario (working):


  | POST./LicensingWSBeanService/WSServerLargeFileTransferBean.HTTP/1.1
  | Soapaction:.""
  | Accept:.text/xml,.multipart/related,.text/html,.image/gif,.image/jpeg,.*;.q=.2,.*/*;.q=.2
  | Content-type:.multipart/related;start="<rootpart*480a4f5f-b9ea-4c31-b857-3d36f5dca84e at example.jaxws.sun.com>";type="application/xop+xml";boundary="uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e";start-info="text/xml"
  | User-Agent:.JAX-WS.RI.2.1.6.in.JDK.6
  | Host:.DEV:8080
  | Connection:.keep-alive
  | Content-Length:.955
  | 
  | --uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e
  | Content-Id:.<rootpart*480a4f5f-b9ea-4c31-b857-3d36f5dca84e at example.jaxws.sun.com>
  | Content-Type:.application/xop+xml;charset=utf-8;type="text/xml"
  | Content-Transfer-Encoding:.binary
  | 
  | <?xml.version="1.0".?>
  |   <S:Envelope.xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  |     <S:Body>
  |       <ns2:uploadApplicationUpdates.xmlns:ns2="http://webservice.licensing.sarad.co.za/">
  |         <arg0>70923672990106339906486742558683167563297568954954</arg0>
  |         <arg1>2100</arg1>
  |         <arg2>
  |           <xop:Include.xmlns:xop="http://www.w3.org/2004/08/xop/include".href="cid:d477c76d-d33f-46d6-92a8-701e2a8d1901@example.jaxws.sun.com"></xop:Include>
  |         </arg2>
  |       </ns2:uploadApplicationUpdates>
  |     </S:Body>
  |    </S:Envelope>
  | --uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e
  | Content-Id:.<d477c76d-d33f-46d6-92a8-701e2a8d1901 at example.jaxws.sun.com>
  | Content-Type:.application/octet-stream
  | Content-Transfer-Encoding:.binary
  | 
  | ..........
  | --uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e--
  | 
  | 
  | And for the production scenario (not working):
  | 
  | 
  |   | POST./LicensingWSBeanService/WSServerLargeFileTransferBean.HTTP/1.1
  |   | SOAPAction:.""
  |   | Accept:.text/xml,.multipart/related,.text/html,.image/gif,.image/jpeg,.*;.q=.2,.*/*;.q=.2
  |   | Content-Type:.multipart/related;type="application/xop+xml";boundary="uuid:78c1dc43-5c49-43c5-af8b-1f06fd985e58";start-info="text/xml"
  |   | User-Agent:.Java/1.6.0_10
  |   | Host:.PROD:8080
  |   | Connection:.keep-alive
  |   | Content-Length:.517
  |   | 
  |   | --uuid:78c1dc43-5c49-43c5-af8b-1f06fd985e58
  |   | Content-Type:.application/xop+xml;charset=utf-8;type="text/xml"
  |   | Content-Transfer-Encoding:.binary
  |   | 
  |   | <?xml.version="1.0".?>
  |   |   <S:Envelope.xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  |   |     <S:Body>
  |   |       <ns2:uploadApplicationUpdates.xmlns:ns2="http://webservice.licensing.sarad.co.za/">
  |   |         <arg0>01475913245426691815944254703234806328018572161348</arg0>
  |   |         <arg1>2100</arg1>
  |   |         <arg2></arg2>
  |   |       </ns2:uploadApplicationUpdates>
  |   |     </S:Body>
  |   |    </S:Envelope>
  |   | --uuid:78c1dc43-5c49-43c5-af8b-1f06fd985e58--
  |   | 
  | 
  | It is interesting to see the User-Agent differ even though both client machines run JDK6. Ignore the periods - most of them represent spaces.
  | 
  | Ideas?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260856#4260856

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



More information about the jboss-user mailing list