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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

How to invoke webMethods webService from WebSphere 40

  • 1.  How to invoke webMethods webService from WebSphere 40

    Posted 07/10/03 05:26 PM

    I have a webMethods (4.6) service protected by an ACL.The webservice generated from this is set to Anonymous.The websphere client is unable to launch the client.jsp page probably because it is unable to provide userID and password.If I change the service ACL to Anonynous everything works great. What needs to be done on the client side to present the basic Auth?

    Any help is greatly appreciated.

    Thanks.
    Manohar Hiremagalore


    #webMethods
    #API-Management
    #soa


  • 2.  RE: How to invoke webMethods webService from WebSphere 40

    Posted 07/10/03 11:03 PM

    I got the clue from one of the site. You need to add the following code in the client code generated from webMethods wsdl.

    SOAPHTTPConnection hc = new SOAPHTTPConnection();
    hc.setUserName(“UserName”);
    hc.setPassword(“password”);
    call.setSOAPTransport(hc);

    Manohar Hiremagalore
    Prosoft Technology group


    #API-Management
    #soa
    #webMethods