来源:Kyle's Blog on Universal Content Management
In UCM 11g, the way to call web services has changed a bit. You can now use Oracle Web Services Manager and Web Services Security when calling UCM services. Details can be found in the on-line documentation.
But if you want to use WSDLs and call the services with Basic Authentication like you did in the 10g version, you can do that as well. But there is a bit of a trick to get it to work.
When you install 11g, the WsdlGenerator component will be installed automatically. You can then go to Administration -> Soap Wsdls to create and modify the Wsdls. But if you try to access them through the browser, you'll get a 403 Forbidden error. You need to access the WSDLs directly from the file system in the
Once you have the WSDL, you need to make a small change to the server URL to use Basic Authentication. At the bottom of the WSDLs, you'll find a section that looks like:
<service name="Workflow">
<port name="WorkflowSoap" binding="s0:WorkflowSoap">
<soap:address location="http://server:16200/cs/idcplg" />
</port>
</service>
You'll want to change the path and include _dav.
<service name="Workflow">
<port name="WorkflowSoap" binding="s0:WorkflowSoap">
<soap:address location="http://server:16200/_dav/cs/idcplg" />
</port>
</service>
That is the URL you want to call over web services.
Oracle真是搞死人,发觉UCM的Web Service接口越来越难使了,服务器放到了Weblogic上,配置起来更加的麻烦,难道以后只能用RIDC,那.Net程序咋办呀。