Hi,

SOAP newbie at work here. I am successfully authenticating with the zimbra server and extracting the auth token. The next thing I do is put together a SOAP message to create an account. The error I get back is:

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><soap:Fault><soap:Code><soap: Value>soap:Sender</soap:Value></soap:Code><soap:Reason><soap:Text>parse error: Error on line 5 of document : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.</soap:Text></soap:Reason><soap:Detail><Error xmlns="urn:zimbra"><Code>service.PARSE_ERROR</Code><Trace>com.zimbra.cs.service.ServiceException : parse error: Error on line 5 of document : XML document structures must start and end within the same entity. Nested exception: XML document structures must start and end within the same entity.
.....
</soap:Envelope>

The document header is below. The complaint is about line #5 and I don't see an error. What am I missing.

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<sessionId id="95"/>
<authToken> the Token </authToken>
</context>
</soap:Header>

Thanks.

Rob Tanner
Linfield College