This content has been marked as final. Show 21 replies
Not sure I follow you now.
If I get the difference the first way returns the file, whilst the other returns a REST-like resource. I am not sure if UCM has an OOTB way for the latter (it is possible, I just don't know - at worst you can always write one).
I'm also curious what is the use case for your need? I'd expect that having the WSDL file should be enough.
-- I'm also curious what is the use case for your need? I'd expect that having the WSDL file should be enough.
I expected that too. But our consultant needs the complete url, like below:
This opens the Generic WSDL. I need the Check-in one.
He says it's necessary to enveolpe the request.
There's been some confusion about this question. It seems to be related to migrating UCM to Weblogic (and necessity to use Basic Authentication).
Relevant info is available here:
Re: Consume search.wsdl from BPEL 11g
File Checkin in 11g using GenericSoapPort
Just in case someone would be looking for a code sample, I've created one:
All I needed was the CheckIn.wsdl and JDev (I have created a Web Service Proxy, gave it the WSDL file and added the code above to an auto-generated Java).
Stub stub = (Stub)client.getPort(); stub._setProperty(stub.USERNAME_PROPERTY, "weblogic"); stub._setProperty(stub.PASSWORD_PROPERTY, "welcome1"); IdcPropertyList ipl = null; IdcFile primaryFile = new IdcFile(); File f = new File ("C:/temp/test.doc"); primaryFile.setFileName(f.getName()); primaryFile.setFileContent(CheckInSoapPortClient.getBytesFromFile(f)); //client.checkInUniversal(dDocName, dDocTitle, dDocType, dDocAuthor, dSecurityGroup, dDocAccount, CustomDocMetaData, primaryFile, alternateFile, extraProps) CheckInUniversalResult result = client.checkInUniversal("", "Checked-in via WS call", "Document", "weblogic", "Public", "", ipl, primaryFile, null, null); System.out.println(result.getStatusInfo().getStatusMessage());
If anyone is needing a guide, here is one (in the metalink):
Calling a Generic Soapservice [ID 1332308.1]
And here is something might be useful:
Setting up GenericSoapService in UCM 11g (22.214.171.124 and beyond) to Use WS-Security [ID 1456506.1]
Using Fusion Middleware Enterprise Manager to Test UCM Web Service GenericSoapService (GenericSoapPort) [ID 1334114.1]
Setting up GenericSoapService in UCM 11g (126.96.36.199 to 188.8.131.52) to Use WS-Security [ID 1332300.1]
Thanks for everything.