Topic
  • 7 replies
  • Latest Post - ‏2011-11-08T14:08:38Z by TJVA_Madhusudhan_Gowda
VenuGopalM
VenuGopalM
3 Posts

Pinned topic Web Service Feed

‏2011-10-14T13:14:04Z |
Hi,

I am new to Mashup Center. I get the following error when I try to create a new Web Service feed using wsdl. "CDHFD1010E: Unable to resolve WSDL import location." and same wsdl is working in SOAPUI. please let me know how to use WSDL file that uses a relative URL for importing the required XSD schemas.
Also, I can't find this error code anywhere.
Thanks for any help you can provide, and sorry if this question is so basic.
Updated on 2011-11-08T14:08:38Z at 2011-11-08T14:08:38Z by TJVA_Madhusudhan_Gowda
  • Stan
    Stan
    340 Posts

    Re: Web Service Feed

    ‏2011-10-14T22:17:44Z  
    Check that the IMPORT items are accesable via a URL per the documentation link and reference below.
    - if this doesn't explain the problem please let me know the version you are using, post the javamasuphub.log error and stack trace and provide the failing reference from the WSDL.

    Per the BEFORE YOU BEGIN section at:
    http://publib.boulder.ibm.com/infocenter/mashhelp/v3/topic/com.ibm.muh.useradmin.doc/userhelp/feedhelp/help_feeds_wsdl.htm

    Upload File You cannot upload a WSDL file that uses a relative URL for importing the required XSD schemas. As a workaround, you can host the WSDL and XSD files at a location that can be accessed by a URL, and then create the feed with the Upload URL option.
  • VenuGopalM
    VenuGopalM
    3 Posts

    Re: Web Service Feed

    ‏2011-10-17T08:55:25Z  
    • Stan
    • ‏2011-10-14T22:17:44Z
    Check that the IMPORT items are accesable via a URL per the documentation link and reference below.
    - if this doesn't explain the problem please let me know the version you are using, post the javamasuphub.log error and stack trace and provide the failing reference from the WSDL.

    Per the BEFORE YOU BEGIN section at:
    http://publib.boulder.ibm.com/infocenter/mashhelp/v3/topic/com.ibm.muh.useradmin.doc/userhelp/feedhelp/help_feeds_wsdl.htm

    Upload File You cannot upload a WSDL file that uses a relative URL for importing the required XSD schemas. As a workaround, you can host the WSDL and XSD files at a location that can be accessed by a URL, and then create the feed with the Upload URL option.
    Thanks a lot for responding.

    Please find the attached wsdl file that i am using for web service feed.
    Can you please explain how and what to do for the process.

    My software versions are: WAS 7.0, FileNet: 5.0, ACM: 5.0.0, Web Service: JAX-WS.

    Looking forward for your responses. For any further details you can also mail me at venu2415@gmail.com

    Cheers!!
    Venu
  • Stan
    Stan
    340 Posts

    Re: Web Service Feed

    ‏2011-10-17T22:22:44Z  
    Thanks a lot for responding.

    Please find the attached wsdl file that i am using for web service feed.
    Can you please explain how and what to do for the process.

    My software versions are: WAS 7.0, FileNet: 5.0, ACM: 5.0.0, Web Service: JAX-WS.

    Looking forward for your responses. For any further details you can also mail me at venu2415@gmail.com

    Cheers!!
    Venu
    Because I am using 'Upload File' to access the file you attached this line cannot be resolved:
    <xsd:import namespace="http://dto.operation.managecontentservice.v1.ecm.ebs.xxx/EcmService.xsd" schemaLocation="ECMService/ECMService.xsd"/>

    You need to 'Upload URL' and give the location of the WSDL on the internet to use the file as-is or supply the full path to the XSD file you wish to import.

    Example: I changed the above line to point to an existing XSD on my system and did not get the error - you need to point to a local copy of the correct XSD file:

    <xsd:import namespace="http://dto.operation.managecontentservice.v1.ecm.ebs.xxx/EcmService.xsd" schemaLocation="C:\Program Files\IBM\MashupCenter\3.0\AppServer\properties\schemas\j2ee\ejb-jar_2_1.xsd"/>
    A local file with imports will give messages like this:

    2011-10-17 13:39:46,982 (WebContainer : 6) ERROR http://com.ibm.mashuphub.plugin.wsdl.WsdlEditorPlugin Invalid WSDL.
    javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'ECMService/ECMService.xsd', relative to 'file:/C:/WINDOWS/TEMP/com_ibm_mashuphub_wa/twa_17_95_100_BP9q7RYTMbnRn2Z-2bcvd4v/ECMServiceV1.wsdl.xml'.: java.io.FileNotFoundException: This file was not found: file:/C:/WINDOWS/TEMP/com_ibm_mashuphub_wa/twa_17_95_100_BP9q7RYTMbnRn2Z-2bcvd4v/ECMService/ECMService.xsd
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:923)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:691)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:647)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:353)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2409)
  • VenuGopalM
    VenuGopalM
    3 Posts

    Re: Web Service Feed

    ‏2011-10-18T13:24:55Z  
    • Stan
    • ‏2011-10-17T22:22:44Z
    Because I am using 'Upload File' to access the file you attached this line cannot be resolved:
    <xsd:import namespace="http://dto.operation.managecontentservice.v1.ecm.ebs.xxx/EcmService.xsd" schemaLocation="ECMService/ECMService.xsd"/>

    You need to 'Upload URL' and give the location of the WSDL on the internet to use the file as-is or supply the full path to the XSD file you wish to import.

    Example: I changed the above line to point to an existing XSD on my system and did not get the error - you need to point to a local copy of the correct XSD file:

    <xsd:import namespace="http://dto.operation.managecontentservice.v1.ecm.ebs.xxx/EcmService.xsd" schemaLocation="C:\Program Files\IBM\MashupCenter\3.0\AppServer\properties\schemas\j2ee\ejb-jar_2_1.xsd"/>
    A local file with imports will give messages like this:

    2011-10-17 13:39:46,982 (WebContainer : 6) ERROR http://com.ibm.mashuphub.plugin.wsdl.WsdlEditorPlugin Invalid WSDL.
    javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'ECMService/ECMService.xsd', relative to 'file:/C:/WINDOWS/TEMP/com_ibm_mashuphub_wa/twa_17_95_100_BP9q7RYTMbnRn2Z-2bcvd4v/ECMServiceV1.wsdl.xml'.: java.io.FileNotFoundException: This file was not found: file:/C:/WINDOWS/TEMP/com_ibm_mashuphub_wa/twa_17_95_100_BP9q7RYTMbnRn2Z-2bcvd4v/ECMService/ECMService.xsd
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:923)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseSchema(WSDLReaderImpl.java:691)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseTypes(WSDLReaderImpl.java:647)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(WSDLReaderImpl.java:353)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2409)
    Thanks for response.
    Now I am not getting the error, but instead of fetching the XSD schema it was fetching the requestdto object in request. Kindly let me know if there is any change required?

    <xsd:import namespace="http://dto.operation.managecontentservice.v1.ecm.ebs.absa/EcmService.xsd" schemaLocation="C://ECMService.xsd"/>
    For same, if I using the http address it is failing. Error: "Error parsing the WSDL file."
    <xsd:import namespace="http://dto.operation.managecontentservice.v1.ecm.ebs.absa/EcmService.xsd" schemaLocation="http://ipaddress:port/ManageContentService_WAR/ECMV1SOAP/META-INF/wsdl/ECMService/ECMService.xsd"/>

    Is there any link where can I find the process for same.

    Cheers!!
  • TJVA_Madhusudhan_Gowda
    2 Posts

    Re: Web Service Feed

    ‏2011-11-08T10:04:37Z  
    Hi,

    We are still facing the issue. Any update would be appreciated.

    I do not see any error message in javamashuphub.log except the below warning. Is there any way to enable the trace logging to troubleshoot further. Please advise.

    2011-11-08 12:03:44,441 (WebContainer : 10) WARN http://com.ibm.mashuphub.helper.PluginHelper *** TEST *** ACLS was set to the default values.

    Thanks,
    Madhu
  • toskumar
    toskumar
    3 Posts

    Re: Web Service Feed

    ‏2011-11-08T11:16:40Z  
    Hi,

    We are still facing the issue. Any update would be appreciated.

    I do not see any error message in javamashuphub.log except the below warning. Is there any way to enable the trace logging to troubleshoot further. Please advise.

    2011-11-08 12:03:44,441 (WebContainer : 10) WARN http://com.ibm.mashuphub.helper.PluginHelper *** TEST *** ACLS was set to the default values.

    Thanks,
    Madhu
    Hi,

    You can get more log trace by enabling debug mode, please edit the below log4j.properties and replace all WARN to DEBUG and then restart the application server.

    ..Hub\installedApps\Mashup Hub.ear\mashuphub-enterprise.war\WEB-INF\classes\log4j.properties
    -Senthil
  • TJVA_Madhusudhan_Gowda
    2 Posts

    Re: Web Service Feed

    ‏2011-11-08T14:08:38Z  
    Hi All,

    Able to resolve the issue with below steps

    Created an XML schema defintion structure as per the webservice request under "XML view of the webservice request" step in mashup center in order to input the request parameters and was able to make webservice call successfully.

    Not sure though whether this is a workaround or as designed.

    Thanks....