issue service.UNKNOWN_DOCUMENT

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

issue service.UNKNOWN_DOCUMENT

Postby karunakerreddyv » Thu Sep 17, 2020 2:34 pm

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: 33
Joined: Tue Mar 29, 2016 1:36 pm

Re: issue service.UNKNOWN_DOCUMENT

Postby jeastman » Thu Sep 17, 2020 4:58 pm

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

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 3 guests