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 invoke web service

  • 1.  Unable to invoke web service

    Posted Mon December 06, 2004 02:50 PM

    Hi

    I have a .wsdl file with me, I need to create a corresponding IS service, that gets called when the wsdl file gets called. So far I had not been successfull in doing this.

    But I had tried the reverse from webMethods and that works fine. What I mean is I created an IS service created a .wsdl file from this service, used glue to create the classes and successfully invoked the service from command prompt using glue.

    But my requirement is to create the service for the original wsdl file not the other way around.

    These are the procedures that i had tried so far.

    1. Created java classes for the original wsdl file using glue.
    2. I set the logging to 10 for integration server
    3. Executed the java class using glue and found the entry in server log (mentioned below) when i changed this line in my wsdl file

    I had replaced “<” with “[” to avoid the content stripping

    [service name=“ReceiveIPOFundsValidation”>
    [port name=“ReceiveIPOFundsValidationPort” binding=“rfv:ReceiveIPOFundsValidationBinding”>
    [soap:address location=“http://localhost:5555/eIPO/webService/ReceiveIPOFundsValidation”/>
    [/port>
    [/service>

    by pointing the “soap:address” to the proper url to my service.

    These were the entries found in the server log.

    POST /eIPO/webService/ReceiveIPOFundsValidation
    <– Host: 192.168.123.106:5555
    <– Connection: Keep-Alive
    <– User-Agent: TME-GLUE/5.0.2
    <– SOAPAction: “ReceiveIPOFundsValidation:ReceiveIPOFundsValidationPortType#ReceiveIPOFundsValidationOperation”
    <– Content-Type: text/xml; charset=UTF-8
    <– Content-Length: 711
    –> HTTP/1.0 404 No such object: eIPO/webService/ReceiveIPOFundsValidation
    –> Content-Type: text/html
    –> Connection: Keep-Alive
    –> Content-Length: 116

    And the error with the glue command prompt was
    Exception in thread “main” electric.util.WrappedException: java.rmi.RemoteException: HTTP error response: [html>[body bgcolor=white>[b>Object Not Found[/b> ([i>eIPO/webService/ReceiveIPOFundsValidation[/i>)[/body>[/html>

    1. I tried the wsdl file this way

    [service name=“ReceiveIPOFundsValidation”>
    [port name=“ReceiveIPOFundsValidationPort” binding=“rfv:ReceiveIPOFundsValidationBinding”>
    [soap:address location=“http://localhost:5555/soap/rpc”/>
    [/port>
    [/service>

    by pointing the "soap:address " to reflect the wsdl file generated from webMethods

    These are the entries found in the server log

    POST /soap/rpc
    <– Host: 192.168.123.106:5555
    <– Connection: Keep-Alive
    <– User-Agent: TME-GLUE/5.0.2
    <– SOAPAction: “ReceiveIPOFundsValidation:ReceiveIPOFundsValidationPortType#ReceiveIPOFundsValidationOperation”
    <– Content-Type: text/xml; charset=UTF-8
    <– Content-Length: 711
    Invoking service wm.server.soap:rpc
    SOAPException: [ISS.0088.9122] Service [url=“http://www.client.com/ReceiveIPOFundsValidation/:ReceiveIPOFundsValidationOperation”]http://www.client.com/ReceiveIPOFundsValidation/:ReceiveIPOFundsValidationOperation[/url] does not exist
    –> HTTP/1.0 500 Internal Server Error
    –> Set-Cookie: ssnid=56zq3VRw8cckIqcJTx+aJDx2LPXFI=5555106; path=/;
    –> Content-Type: text/xml;charset=utf-8

    And the error with the glue command prompt was
    Exception in thread “main” electric.util.WrappedException: SOAPException( Client: [ISS.0088.9122] Service <a href="http://www.client.com/ReceiveIPOFundsValidation/:ReceiveIPOF


    #soa
    #API-Management
    #webMethods


  • 2.  RE: Unable to invoke web service

    Posted Wed August 26, 2009 12:34 PM

    I am having a similar problem in web7.1.2 :frowning:


    #webMethods
    #API-Management
    #soa