Forum Discussion

Rajan_Jain's avatar
Rajan_Jain
Occasional Contributor
17 years ago

Use SOAPUI with Transport Level Security (SSL) on Web Service

Hi,

I developed web service using the OpenESB framework and have turned on "Transport Level Security" to use SSL.

I need to use SOAPUI to test the web service, but dont know what all changes need to be done to SOAPUI, so that it can talk to Web Service which is using "Transport Level Security".

When I call the Web Service using SOAPUI, it gives the below mentioned error.


 

      http://www.w3.org/2005/08/addressing/anonymous
      http://www.w3.org/2005/08/addressing/fault
      uuid:51f2dbfe-8bd5-432c-bc52-6eded93727c0
 

 
     
        wsse:InvalidSecurity
        Security Requirements not met - No Security header in message
       
           
              Security Requirements not met - No Security header in message
             
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
             

           

       

     

 


I have tried various things but dont work.

Thanks,
Rajan
  • Hi Rajan,

    looks like you will need to configure an outgoing WS-Security configuration (in the project window) to use with your request. Exactly how is hard to say though, maybe there is a security policy in your wsdl that can give a hint on this?

    regards,

    /Ole
    eviware.com
  • Rajan_Jain's avatar
    Rajan_Jain
    Occasional Contributor
    Can anyone please take a look at the wsdl in above post and recommend, what all security headers need to be included in SOAP? and how is it to be done in SOAPUI.

    I have tried to follow the SOAPUI ws-security documentation section, but not of much help? Please advice. Thanks,
  • Rajan_Jain's avatar
    Rajan_Jain
    Occasional Contributor
    I could insert the timestamp into the header of the SOAP request. Now it is giving this error:


     

         
            {http://www.w3.org/2005/08/addressing}Action
         

     

     
         
            ns0:MessageAddressingHeaderRequired
            A required header representing a Message Addressing Property is not present
         

     


    the raw SOAP request going out is:
    POST https://l68888.regence.com:8181/FamilyS ... perService HTTP/1.1
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: ""
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: l68888.regence.com:8181
    Content-Length: 1613


     
    2009-02-23T19:36:39.663Z2009-02-23T19:36:49.663Z

     
         
           
           
               
                ?
               
                ?
               
                ?
               
                ?
               
               
                 
                  BLU
                 
                  OR-USS
               

               
                123
           

         

     


    I have already posted the wsdl in earlier post. Can any one please recommend, what is missing?
  • Hi!

    please try enabling WS-Addressing in the WS-A tab for your request (below the message editor). How does that affect things?

    regards,

    /Ole
    eviware.com
  • Rajan_Jain's avatar
    Rajan_Jain
    Occasional Contributor
    Hello,

    I enabled the WS-A addressing by checking the enabled button.

    Now,  I am getting this exception:


     

         
            {http://www.w3.org/2005/08/addressing}To
         

          http://www.w3.org/2005/08/addressing/anonymous
          http://www.w3.org/2005/08/addressing/fault
          uuid:458b9821-d75c-453c-88e4-7f7bf42897b6
     

     
         
            ns0:MessageAddressingHeaderRequired
            A required header representing a Message Addressing Property is not present
         

     


    The Raw SOAP message is:
    POST https://l68888.regence.com:8181/FamilyS ... perService HTTP/1.1
    Content-Type: text/xml;charset=UTF-8
    SOAPAction: ""
    User-Agent: Jakarta Commons-HttpClient/3.1
    Host: l68888.regence.com:8181
    Content-Length: 1793


     
    2009-02-24T05:38:07.169Z2009-02-24T05:38:17.169Zhttp://familystructure.service.web.mss. ... ureRequest

     
         
           
           
               
                ?
               
                ?
               
                ?
               
                ?
               
               
                 
                  ?
                 
                  ?
               

               
                ?
           

         

     
  • Rajan_Jain's avatar
    Rajan_Jain
    Occasional Contributor
    can anyone please share thoughts on how to fix this issue?

    Thanks,
    Rajan
  • millie's avatar
    millie
    New Contributor
    Were you successful in setting the security requirements in SOAPUI. I also am a newbe and am trying to interpret my WSDL to apply to the SOAPUI.