Forum Discussion

Balasubramanian's avatar
17 years ago

security headers not generated

Hi,

When I give my https wsdl url to soapUI, the required headers are not generated. I have my ssl service deployed in Glassfish V2UR1.

When I send my request in soapUI Version 2.0.2 I get the following error,


        ns2:Server
        Security Requirements not met - No Security header in message
       
           
              Security Requirements not met - No Security header in message
             
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
             

           

       

     



I don't know what headers are expected and how I should add it to the request. I looked in to the project Editor->WS-Security Configurations. For the outgoing configurations, I found SAML,Username, Encryption,Signature and Timestamp. But I don't use these things in my service. I just have Transport Layer SSL enabled for my service.

My wsdl file is as follows


- http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.2_01-hudson-189-.
  -->
- http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.2_01-hudson-189-.
  -->
-
 
-
-
-
-
-
-
-
-
-
-
-
 
 

 

 

 

 
-
-
-
-
 
 

 

 

 

-
-
-
-
 
 

 

 

 

 

 

 

 

 
 
 

 

 

-
-
 
 

 

-
 
 

-
 
 

-
-
 
 
 

 

-
 
 
-
 
-
 
 
-
 
 

 

 

-
-
 

 

 

 


I really need some help here.

Thanks in advance.

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    soapUI currently does not automatically generate SOAP Headers/Content specified by policies in the WSDL, you will have to add these "manually" via the WS-Security support and/or the request editor..

    sorry for the inconvenience, this will be supported in a future version.

    regards!

    /Ole
    eviware.com