Skip to Content
avatar image
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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 18, 2004 at 08:20 AM

    Still no answer ... Nobody uses WebServices here ?

    Add 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