View Single Post
  #4 (permalink)  
Old 09-16-2009, 07:24 AM
jorgelojam jorgelojam is offline
Junior Member
 
Posts: 5
Default Change SOAP Message

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><account by="name">pruebas@ups.edu.ec</account><authToken>0_9148566536a300b</authToken></context></soap:Header><soap:Body><CreateContactRequest xmlns="urn:zimbraMail"><cn><a n="fileAs">8:Pruebas</a><a n="nickname">Pruebas</a><a n="dlist">""john doe" <foo@bar.com>"</a><a n="type">group</a></cn></CreateContactRequest></soap:Body></soap:Envelope>


But I have some problem now with ""john doe" <foo@bar.com>" I checked in mailbox.log and get the follow error

2009-09-16 09:13:25,128 INFO [btpool0-1555] [ip=172.16.2.6;] soap - AuthRequest
2009-09-16 09:13:25,184 WARN [btpool0-1555] [ip=172.16.2.6;] SoapEngine - SOAP exception
com.zimbra.common.service.ServiceException: parse error: Error on line 1 of document : Element type "foo" must be followed by either attribute specifications, ">" or "/>". Nested exception: Element type "foo" must be followed by either attribute specifications, ">" or "/>".
ExceptionId:btpool0-1555:1253110405184:e3d68a1f2382d2bc
Code:service.PARSE_ERROR

But when I debug SOAP request from Zimbra Web Client I see that use < > for email john doe" <foo@bar.com>
Reply With Quote