issue service.UNKNOWN_DOCUMENT

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Post Reply
karunakerreddyv
Posts: 2
Joined: Wed Sep 09, 2020 12:50 pm

issue service.UNKNOWN_DOCUMENT

Post by karunakerreddyv »

Using Soap api from java to createdomain like
<CreateDomainRequest name="{new-domain-name}"> ## CreateDomainRequest
(<a n="{key}" /> ## Attr)*
</CreateDomainRequest>
resulting intomessage like
<soap:Envelope>
<soap:Header>
<context>
<change token="3161" />
</context>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Sender</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text>unknown document: CreateDomainRequest</soap:Text>
</soap:Reason>
<soap:Detail>
<Error>
<Code>service.UNKNOWN_DOCUMENT</Code>
<Trace>qtp1027591600-15720:1600350084919:c7ad7a092ea18b9f</Trace>
</Error>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
User avatar
jeastman
Zimbra Employee
Zimbra Employee
Posts: 86
Joined: Tue Mar 29, 2016 1:36 pm

Re: issue service.UNKNOWN_DOCUMENT

Post by jeastman »

Not a lot of detail on the request you are sending here, but I would guess you are missing the namespace from your request.

Can you post the complete XML of the request you are making? That will likely shed light on your issue.


Regards,
John Eastman
Post Reply