DataPower

DataPower

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

not able to get soma success response

  • 1.  not able to get soma success response

    Posted Sat February 06, 2021 08:38 AM

    Dear,

    not getting success using below soma, we want to disable http handler adminstate:

    <?xml version="1.0" encoding="UTF-8"?>

    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

    <env:Body>

    <dp:request domain="Dev"

    xmlns:dp="http://www.datapower.com/schemas/management">

    <dp:set-config>

    <HTTPHandler name="FormData_HTTP">

    <mAdminState>disabled</mAdminState>

    </HTTPHandler>

    </dp:set-config>

    </dp:request>

    </env:Body>

    </env:Envelope>



    #DataPower
    #Support
    #SupportMigration


  • 2.  RE: not able to get soma success response

    Posted Mon February 08, 2021 08:22 AM

    Please create a loopback XMLFW service with validate action against "store:///xml-mgmt.wsdl".

    Then send your request against this service and it will tell you:

    req.xml: cvc-complex-type 2.3: element {http://www.datapower.com/schemas/management}request with anonymous type may not have text content

    Please remove the two semicolons in your reqest.

    Then it will tell you:

    req.xml: cvc-particle 3.1: in element {http://www.datapower.com/schemas/management}set-config of type {http://www.datapower.com/schemas/management}AnyConfigElement, found <HTTPHandler> (in default namespace), but next item should be any of [AAAPolicy, Domain, LDAPSearchParameters, ProcessingMetadata, RADIUSSettings, RBMSettings, SAMLAttributes, SOAPHeaderDisposition, TAM, TFIMEndpoint, XACMLPDP, AccessControlList, AccessProfile, AMQPBroker, AnalyticsEndpoint, APIApplicationType, APICollection, APIConnectGatewayService, APIDebugProbe, APIDefinition, APIGateway, APIOperation, APIPath, APIPlan, APISchema, APISecurityAPIKey, APISecurityBasicAuth, APISecurityOAuthReq, APISecurityOAuth, APISecurityRequirement, APISecurityTokenManager, APIAuthURLRegistry, APILDAPRegistry, AppSecurityPolicy, Assembly, AssemblyFunction, AuditLog, B2BCPA, B2BCPACollaboration, B2BCPAReceiverSetting, B2BCPASenderSetting, B2BGateway, B2BPersistence, B2BProfile, B2BProfil

    Please use "HTTPSourceProtocolHandler" instead.

    Using this technique you will get rid of all issues finally.

    For more information on how to easily create XML management requests, please see "XML Management sample requests":

    https://stamm-wilbrandt.de/en/blog/



    #DataPower
    #Support
    #SupportMigration