Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

UCM's SOAP WSDL files - error reading from http

donatoNov 30 2011 — edited Nov 30 2011
Hi,

I'm trying to call my UCM -11gR1- Web Services, using the SOAP WSDL files. I'm working with JAX-WS 2.2.5.

Well, the point is, if i get the WSDL file from the server, and copy it as a local file, my litle java app works fine:

1: I import the default service "DocInfo":
wsimport -d lib -s lib my_local_path\DocInfo.wsdl

2: Inside my app, I define the Web Service like that:
+@WebServiceClient(+
name = "DocInfo",
targetNamespace = "http://www.stellent.com/DocInfo/",
wsdlLocation = "file:/C:/my_local_path/DocInfo.wsdl"
+)+

The problem is I cannot do next import:

wsimport -d lib -s lib "http://my_ucm_server:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo_fix&idcToken="

I get the error:

parsing WSDL...
+[ERROR] Declaration for entity "HTML.Version" must end with '>'.+
line 31 of http://www.w3.org/TR/html4/loose.dtd
+[ERROR] Declaration for entity "HTML.Version" must end with '>'.+
Failed to read the WSDL document: http://my_ucm_server:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=GetFile&idcToken=, because 1) could not find the document; /2) the document could not be read; 3) the root element of the document is not <wsdl:definitions>.
+[ERROR] failed.noservice=Could not find wsdl:service in the provided WSDL(s):+
At least one WSDL with at least one service definition needs to be provided.
Failed to parse the WSDL.


Using SoapUI tool, I can use the local WDSL file, but if i try to read "htttp:....wsdl" I get the next error:

+Error loading [http://my_ucm_server:16200/cs/idcplg?IdcService=GET_SOAP_WSDL_FILE&wsdlName=DocInfo&idcToken=]:+
org.apache.xmlbeans.XmlException: org.apache.xmlbeans.XmlException: error: Unexpected character encountered (lex state 3): 't

Do I have to fix defalt WSDL files? How?

Thanks a lot,
Donato.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 28 2011
Added on Nov 30 2011
3 comments
4,559 views