Skip to Content
avatar image
Former Member

URGENT - Deployable Web Service Proxy gets an unauthorized message

Hello Guys!

I had developed a deployable web service proxy that is called from a servlet. The web service is secured by a basic authentication. My servlet instantiates the proxy and I set the stub like the code bellow:

Maintenance myMaintenance = (Maintenance)ctx.lookup("java:comp/env/MaintenanceWSProxy");
MaintenanceViDocument port = (MaintenanceViDocument)myMaintenance.getLogicalPort("MaintenancePort_Document", MaintenanceViDocument.class);			
port._setProperty("", "user");
port._setProperty("", "password");

But when I call the servlet, an exception is thrown:

407 - Unauthorized

Somebody knows what is happened?

Thanks a lot!

Best regards,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 22, 2007 at 07:11 AM

    Hi ,

    Try checking the webservice in Enterprise Webservice checker .Else check the webservice in a webdynpro application .

    Sometimes the NWDS version will also not support .The version 2.0 works for most of the WS .The new 7.0 versions gets exceptions with webservice .


    Do offer pts:-)

    Add comment
    10|10000 characters needed characters exceeded