IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Unable to create WebService Connector

  • 1.  Unable to create WebService Connector

    Posted Mon October 19, 2009 11:19 AM

    Hi,

    I need a webservice sample on webMethods 6.5 and downloaded one from wMUsers - SOAP-MSG document literal type of webservice.
    I have deployed the DocLit WebServices sample - HelloLocal. I could generate a wsdl and also invoked it from a client tool.
    But when i try to create a WebService Connector using this wsdl, I am getting an error in Developer, it says:

    URL: C:\webMethods70\Developer\HelloLocal.wsdl

    Path name:
    PortType: DocLiteralWebServiceExamplePortType
    Operation: HelloLocal

    WSDL code: S-9043

    [ISS.0092.9043] Schema Error: 1
    pathName: null

    errorCode: XSDC-004
    
    errorMessage: [ISC.0082.9706] Declaration not found
    
    identifier: /schema/complexType[@name="HelloRequest"]
    

    URL: C:\webMethods70\Developer\HelloLocal.wsdl

    Path name:
    PortType: DocLiteralWebServiceExamplePortType
    Operation: HelloLocal

    WSDL code: S-9043

    [ISS.0092.9043] Schema Error: 2
    pathName: null

    errorCode: XSDC-004
    
    errorMessage: [ISC.0082.9706] Declaration not found
    
    identifier: /schema/complexType[@name="HelloResponse"]
    

    URL: C:\webMethods70\Developer\HelloLocal.wsdl

    Path name:
    PortType: DocLiteralWebServiceExamplePortType
    Operation: HelloLocal

    WSDL code: S-9032

    [ISS.0092.9032] Error: Invalid schema definition for Input signature. Web Service Connector was not created.

    Can someone point me to the exact problem why this is happening?

    Thanks & Regards,
    Srujana


    #API-Management
    #webMethods
    #soa


  • 2.  RE: Unable to create WebService Connector

    Posted Mon October 19, 2009 05:20 PM

    Looks like your WSDL has few schema/syntax related errors…so could you upload the wsdl/xsd,users here can take look and advice accordingly?

    HTH,
    RMg


    #API-Management
    #soa
    #webMethods


  • 3.  RE: Unable to create WebService Connector

    Posted Tue October 20, 2009 10:32 AM

    Please find the attached wsdl file which I have used to create a connector.

    Thanks,
    Srujana
    HelloLocal.wsdl (3.13 KB)


    #webMethods
    #soa
    #API-Management


  • 4.  RE: Unable to create WebService Connector

    Posted Tue October 20, 2009 04:02 PM

    Try to load this attached wsdl and see if this works for you?

    HTH,
    RMg
    HelloLocal_modified.wsdl (2.69 KB)


    #API-Management
    #webMethods
    #soa


  • 5.  RE: Unable to create WebService Connector

    Posted Thu October 22, 2009 04:27 AM

    Hi RMG,

    webMethods is a consumer of WSDL created by Java. Right now Java webservice is being called using the IP. When I m trying to use the host name say http://abc.com// service name instead of [URL]http://10.78.866.88:4646//servicename[/URL] then we are not able to connect.

    Do we need to do some kind of configuration change to make it happen.

    Its really urgent. Waiting for your quick response.

    Regards,
    Amrendra


    #webMethods
    #API-Management
    #soa


  • 6.  RE: Unable to create WebService Connector

    Posted Thu October 22, 2009 06:05 AM

    Amrendra,

    If webMethods running on windows box, try adding ip address in host file found in WINDOWS\system32\drivers\etc. entry would be like following
    10.78.866.88 abc.com

    for linux, i think this file exist under /etc/hosts…

    HTH!
    Shahid


    #API-Management
    #soa
    #webMethods


  • 7.  RE: Unable to create WebService Connector

    Posted Thu October 22, 2009 03:16 PM

    Hi RMG,

    I am still getting the same error below with the modified wsdl file you have given:

    URL: C:\Documents and Settings\kolsr02\Desktop\HelloLocal_modified.wsdl

    Path name:
    PortType: DocLiteralWebServiceExamplePortType
    Operation: HelloLocal

    WSDL code: S-9032

    [ISS.0092.9032] Error: Invalid schema definition for Input signature. Web Service Connector was not created.

    Thanks,
    Srujana


    #soa
    #webMethods
    #API-Management


  • 8.  RE: Unable to create WebService Connector

    Posted Thu October 22, 2009 05:20 PM

    You may need to work with ntwk admin or provider to resolve the DNS naming issue…technically it should work with host name implicitly.

    Are you able to ping host name on your local network or from IS installed box?

    HTH,
    RMg


    #soa
    #API-Management
    #webMethods


  • 9.  RE: Unable to create WebService Connector

    Posted Thu October 22, 2009 05:21 PM

    Earlier 2 issues seems resolved now…and regarding this issue i have to look at it…meantime you also investigate.

    HTH,
    RMG


    #soa
    #webMethods
    #API-Management