Hi Anne, I was trying to send data as string from client side, that was the problem. Once I configured to send as XML it started working fine.
Thanks, Manas -----Original Message----- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] Sent: Sunday, August 19, 2007 6:00 PM To: [email protected] Subject: Re: WS unable to handle < and > in SOAP request What is the format of the data that you are submitting to the method invocation. (e.g., is it a string or an array?) (If you could show us the code, that would help.) On 8/19/07, Manas Ranade <[EMAIL PROTECTED]> wrote: > TIBCO General Interface (AJAX UI) tool is used as client and it > generates the SOAP envelop. > - Manas > > -----Original Message----- > From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Sent: Sunday, August 19, 2007 12:55 AM > To: [email protected] > Subject: Re: WS unable to handle < and > in SOAP request > > How are you generating the SOAP request? > (please provide client code) > > Anne > > On 8/18/07, Manas Ranade <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Hi, > > > > > > > > We are communicating with Apache Axis using an AJAX client and sending > > following request (I've cut it short in between): > > > > > > > > <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope > > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > <SOAP-ENV:Body><ns:Request xmlns:jsx1="http://service.mdm.sysco.com" > > > xmlns:ns="http://service.mdm.sysco.com"><batchSize>4</batchSize><foreign > KeyData > > xsi:type="SOAP-ENC:Array"><item > > xsi:type='ns:ForeignKeyColumnData'>... > > </item><data/></foreignKeyData><inColumnsData > > xsi:type="SOAP-ENC:Array"><item > > > xsi:type='ns:FilterColumnData'>...</item><data/></inColumnsData > ><outColumnsData > > xsi:type="SOAP-ENC:Array"><item > > xsi:type='ns:ReturnColumnData'>... > > > </item><data/></outColumnsData><paginationReq>YES</paginationReq>< > startCount>1</startCount><tables > > xsi:type="SOAP-ENC:Array"><item xsi:type='ns:Table'>... > > </item><data/></tables></ns:Request></SOAP-ENV:Body> > > > > </SOAP-ENV:Envelope> > > > > > > > > There are 6 elements getting passed: > > > > batchSize - integer > > > > foreignKeyData - SOAP Array > > > > inColumnsData - SOAP Array > > > > outColumnsData - SOAP Array > > > > paginationReq - string > > > > startCount - integer > > > > tables - SOAP Array > > > > > > > > As you can see the < and > are getting converted to < and > for > all > > SOAP Arrays. > > > > Is this a problem for Axis? We are getting HTTP 500 response back from > web > > service. > > > > Is there any web service level configuration that might enable > handling of > > these tags? > > > > > > > > Appreciate your help, > > > > Manas > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
