Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8756407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:04:42+00:00 2026-06-13T14:04:42+00:00

I come along with a problem I can’t fix by myself, even I’ve tried

  • 0

I come along with a problem I can’t fix by myself, even I’ve tried almost everything.
I developed a SOAP web service with NetBeans (7.2.1) and Java (jdk1.7.0_09,jre7) using Glassfish (3.1.2.2) with Windows 7 as OS, and need to secure the connection through SSL.

If I try to reach:

https://localhost:8181/secauth/Secauth?WSDL

I just see a blank page.
The error in GlassFish status window is:

“WARNING: Invalid request scheme for Endpoint Secauth. Expected http . Received https”

What I did to secure the connection:

  • Checked “Secure Service” in “Quality of Service” tab in NetBeans with option “Transport Security”

  • Edited the “web.xml” with the security tab and added a “security constraint”

    <security-constraint>
    <display-name>SSL</display-name>
    <web-resource-collection>
        <web-resource-name>secauth</web-resource-name>
        <description/>
        <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <user-data-constraint>
        <description/>
        <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    
    • I can call:

      https://localhost:8181/secauth/
      

and recive:

Hello World!


So my question is:
– What do I have to change to access WSDL over SSL ? / What occurs that problem above ?


Use case:
Webservice is called from an android application with ksoap2, works fine with HTTP, but not with HTTPS.
It seems that the “blank” page can not be parsed and some parsing errors appear.

Thank you really much in advanced !
Regards,

Marcel

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:04:43+00:00Added an answer on June 13, 2026 at 2:04 pm

    http://docs.oracle.com/cd/E17802_01/webservices/webservices/reference/tutorials/wsit/doc/WSIT_Security9.html#wp151774

    Solved my problem !

    Seems to be that the problem was that the project was run BEFORE the security settings were applied.

    So just follow the step-by-step instructions, insert your old src code BEFORE you run the project and everything should be fine !

    Regards,
    Marce

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm finding that with dynamic linking, even with SxS, Windows Update will come along
How come I can't access the hidden instance variable a in the line (int
i wonder if you guys come up with some awesome solutions for my problem.
I have to interact with a set of web-services that each come with their
I'm new to Entity Framework and have come across a problem while trying to
I have come across a problem with binding to a PasswordBox . It seems
In my Windows API wrapper, I can choose to have a message box come
I've just come back to fix some bugs in a small program that I've
I have recently come across a problem that I cannot seem to solve. I
I have a problem that I tried to ask about previously, but didn't get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.