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 \groups\secure\wsdl\custom\ directory.
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"></service>
<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.
Nenhum comentário:
Postar um comentário