on 09-27-2006 7:56 PM
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
Still no answer ... Nobody uses WebServices here ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check your soapconfig.xml
Your method should be defined there. If it's not there, then you're sure to get this error.
For every method (in Webservice) that you call from your Portal Service, you should have it defined here.
Remember, this is autogenerated.
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Portal WebService Configuration File.
-->
- <!-- Note: File generated automaticaly, don't modify this file.
-->
- <portal-webservices version="6,0,3" application-name="TestWS">
- <portal-webservice name="com.company.mod.TestWS">
- <webservice-method soapaction="" authenticated="false" styleenconding="RPC" javasignature="public abstract byte[] com.company.mod.TestWS.getValue(java.lang.String)" name="getValue">
- <webservice-parameter defaultjavatype="java.lang.String" enconding="encoded" targetnamespace="http://www.w3.org/2001/XMLSchema" nillable="false" xmlattribute="false" required="true" ID="0" name="value">
<webservice-type wsdltype="xsd:string" javatype="java.lang.String" />
--------------------------------------------
-------------------------------------------
</webservice-method>
</portal-webservice>
</portal-webservices>
Regards,
JP
User | Count |
---|---|
77 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.