Broker gateway share document types

Hi ,

I am getting error while sharing the document types in the gateway.
Please find error log for your reference.

" Error: Cannot set the Accept Publish documents of the gateway to “XXXXXXXXTerritory”.
at com.webmethods.caf.msg.msgutil.GatewayAPI.addNewDocTypes(
at com.webmethods.caf.msg.adddocumenttypes.AddDocumentTypesDefaultviewView.addDoc_action(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.sun.faces.el.MethodBindingImpl.invoke(
at com.webmethods.caf.faces.application.CAFMethodBinding.invoke----


I had same problem but resolved.

First make sure the document is publishable and subscribe on both the brokers of the territory.

If it is not working it may be because the definition of the document varies on two brokers i.e. version. So you can delete/re-import the document into both brokers and try sharing the document.

I had to go through the both the steps above.

Rama Gowda