Skip to Content
0
Former Member
Sep 27, 2006 at 06:56 PM

call web service from portal/soap config .xml error

26 Views

Hi all,

I am trying to call a web service from our portal. Setup is as follows:

-Generate proxy classes and deploy it as a portal service

I created this service using the wizard (Portal service from wsdl file client side) in NWDS.

-Portal component which uses the portal service.

When I try to run the application in the portal, I get the following exception:

java.lang.IllegalStateException: Error in soapconfig.xml: The method mail of com.sap.portal.prt.soap.proxy.Alias portal service is not found..

How can I solve this?

Her is my xml file:

<?xml version="1.0" encoding="utf-8"?>

<application>

<application-config>

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

</application-config>

<components>

<component name="callwebproxy">

<component-config>

<property name="ClassName" value="com.portal.erbS.callwebproxy"/>

</component-config>

<component-profile/>

</component>

<component name="org_opach">

<component-config>

<property name="ClassName" value="com.test.org_opach"/>

</component-config>

<component-profile/>

</component>

</components>

<services>

<service alias="com.sap.portal.prt.soap.proxy.Alias" name="ProxyClass">

<service-config>

<property name="className" value="com.sap.portal.wsdl.webservices.service.connector.ProxyClass">

</property>

<property name="startup" value="false"/>

<property name="WebEnable" value="false"/>

<property name="Webproxy" value="true"/>

<property name="SecurityZone" value="com.sap.portal.wsdl.webservices.service.connector/DefaultSecurity"/>

</service-config>

<service-profile>

<property name="SystemAlias" value="Default_system_Alias"/>

</service-profile>

</service>

</services>

</application>

reza