Skip to Content
author's profile photo Former Member
Former Member

Proxy Authentication Required in a Web Service call

Hi, we have a problem with our WebService.

In fact we created a webservice using the eclipse plugins.

We now have a webservice project with a portalapp.xml file which is the following :

<?xml version="1.0" encoding="iso-8859-1"?>

<application alias="WebServicePlanchettes">

<application-config>

<property name="SharingReference" value="com.sap.portal.runtime.application.soap">

</property>

</application-config>

<components>

</components>

<services>

<service name="WebServicePlanchettes" alias="WebServicePlanchettes">

<service-config>

<property name="className" value="com.stibmivb.portal.service.WebServicePlanchettes.WebServicePlanchettes">

</property>

<property name="startup" value="true">

</property>

<property name="WebEnable" value="true">

</property>

<property name="WebProxy" value="false">

</property>

<property name="SecurityZone" value="com.sap.portal.pdk/low_safety">

</property>

</service-config>

</service>

</services>

</application>

The problem is that we always receive an error telling :

javax.xml.soap.SOAPException: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ) (proxy host: 10.1.2.35, proxy port: 80, non proxy host: localhost|.irisnet.be|portdev.|sto1513s)

But the URL of our WebService is http://sto1513s/planchettesXML/planchettesXML.asmx and this server is listed in the non-proxy hosts !

We've added it using the J2EE config tool and also via the portal itself by editing the proxy object of the com.sap.portal.ivs.httpservice service.

After these changes we've restarted the Server.

Has anybody an idea why our webservice seems to still try to go through the proxy ?

Thank you in advance,

Xavier.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2004 at 08:20 AM

    Still no answer ... Nobody uses WebServices here ?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      We found the problem.

      In fact in the documentation they said to use the "|" character to separate the server that don't have to pass via a proxy, but in fact you should use "," !

      If somebody else encounters this, just replace the "|" by "," in the http service and restart the service.

      Regards,

      Xavier

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.