SOAP Error Question

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf SOAP Error Question

  • Creator
    Topic
  • #55422
    Tim Jipson
    Participant

      I’m running CL 6.1.1 on AIX and trying to setup our 1st SOAP interface for the Mass HiWAY interface. This seems to be a standard install for them with details on the setup here: https://www.contactmiis.info/onboarding.asp” class=”bbcode_url”>https://www.contactmiis.info/onboarding.asp see Step 3: Establish Connection to MIIS Test Environment.

      I have a wsdl loaded at  $SITEROOT/javadriver/Immune

      And an XML at  $SITEROOT/javadriver/applicationContext_I_StateSoap_ob.xml

      Everytime I send a message I get the same response:

      Code:



      env:Sender


      sp:UsernameToken/wsp:Policy must have a value

      The line matching the error in the wsdl is:

      Code:

      The state is being less than helpful, does anybody else know what I can try to get past the error message?

    Viewing 2 reply threads
    • Author
      Replies
      • #85269
        Paul Glezen
        Participant

          The SOAP Fault reason text seems to be saying that your UsernameToken element must have a value.  According to their sample at the link you furnished, the UsernameToken element must have two child elements: Username and Password (I’ve left the namespaces off).  Are you providing these in your SOAP header?

        • #85270
          Tim Jipson
          Participant

            This is the sample message that I’m working with and I have gotten this to work in the SOAP UI utility.

            Code:



             
                 
                   
                       ccghlsevenqa
                       Q2dtaWlzODAx
                         
                 
             
             
                 
                    BMC              
                    QkhTfF5+XCZ8DQpNU0h8Xn5cJnx8fHx8MjAxNzA2MDcxNTUyNTh8MTg2NTJ8UUJQXlExMV5RQlBfUTExfDF8VHwyLjV8fHxBTHxORXx8fHx8fHwNClFQRHxaMzReUmVxdWVzdCBJbW11bml6YXRpb24gSGlzdG9yeV5ITDcwNDcxfDk4NzN8NTAwMDcwNF5eXkJNQy1NUk5eTVJ8QVBQTElDQVRJT05eSU5QRk9VUnx8MTk4NDA5MTh8TXwxMDEwIE1BSU4gU1ReXkJPU1RPTl5NQV4wMjExOC0wMDAwXlVTXlB8fHwNClJDUHxJfDFeUkQmcmVjb3JkcyZITDcwMTI2fFJeUmVhbCBUaW1lXkhMNzAzOTQNCkJUU3wxfA==
                 
             

          • #85271
            Tim Jipson
            Participant

              So for the record I just figured this out.

              The Massachusetts CDC department kept saying use the wsdl, but it doesn’t work right with the java/ws-client. Lots of time wasted here.

              Minutes after switching to java/ws-rawclient and only adding the end point address I was sending and receiving.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.