webMethods

webMethods

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

Error in obtaining a token, 900 Error preparing SOAP Request

  • 1.  Error in obtaining a token, 900 Error preparing SOAP Request

    Posted Wed June 26, 2019 08:17 AM

    Hi All,
    Me being a newbie trying to struggle for simple starts :slight_smile: :wink:
    I have a WSDL for which the methods works on Https protocol.
    I have pulled the WSDL in my project package, so i could see the connectors.

    I have tested the method in SOAP UI , i have confiured properites with username, password and WSS-Password Type to Password Text
    and Basic authentication with Username and password.
    Below is the request
    <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:tem=“http://tempuri.org/” xmlns:gep=“http://schemas.datacontract.org/2004/07/GEP.Cumulus.WebInterfaces.BusinessEntities” xmlns:arr=“http://schemas.microsoft.com/2003/10/Serialization/Arrays”>
    soapenv:Header/
    soapenv:Body
    tem:SaveOrganizationEntities
    tem:orgEntities
    gep:OrganizationEntity
    gep:Code001005-001</gep:Code>
    gep:EntityTypeCostCenter</gep:EntityType>
    gep:IsActivetrue</gep:IsActive>
    gep:LOBEntityCodeP30(200)</gep:LOBEntityCode>
    gep:LOBEntityTypeSourceSystem</gep:LOBEntityType>
    gep:NameTax - Head</gep:Name>
    gep:ParentEntityCode0001</gep:ParentEntityCode>
    gep:ParentEntityTypeDepartment</gep:ParentEntityType>
    </gep:OrganizationEntity>
    </tem:orgEntities>
    </tem:SaveOrganizationEntities>
    </soapenv:Body>
    </soapenv:Envelope>

    on Running this i got a successful response.

    Now in webMethods, i ran the connector giving the inputs (input.jpg attached)
    and got the response (response.jpg)

    The response give Error in obtaining a Token and preparing a soap request.
    Could you please help if i need to configure On IS or designer.
    Note : i have installed the certificate from WSDL link. into the JVM lib files of SAG directory.


    Response.JPG


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Error in obtaining a token, 900 Error preparing SOAP Request

    Posted Thu June 27, 2019 04:22 AM

    I have added a policy Username_Token for the WSDL file.
    Later now i am receiving Connection Reset error

    org.apache.axis2.AxisFault: Connection reset.

    May i know the reason, and how can i solve this


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport