|
| Hi Everyone,
I am trying to work with co-operative portlets using RAD and WPS51. I have written this WSDL which on saving shows eroor on "portlet:action" and "portlet:param" elements saying that "prefix portlet for element 'portlet:action' is not bound". Could any one
please tell me what does this mean and how to fix it. Here is the WSDL that I have written.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://tempuri.org/SendColor/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:portlet="http://www.ibm.com/wps/c2a"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SendColor"
targetNamespace="http://tempuri.org/SendColor/">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
targetNamespace="http://tempuri.org/SendColor/">
<xsd:simpleType name="ColorNameType">
<xsd:restriction base="xsd:string">
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="ColorName">
<wsdl:part name="colorName" type="tns:ColorNameType"></wsdl:part>
</wsdl:message>
<wsdl:portType name="SendColor_Service">
<wsdl:operation name="sendColor">
<wsdl:output message="tns:ColorName"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ColorNameBinding"
type="tns:SendColor_Service">
<portlet:binding/>
<wsdl:operation name="sendColor">
<portlet:action name="selectedColor" type="standard" caption="send color" description="send color" actionNameParameter="ACTION_NAME"/>
<wsdl:output>
<portlet:param name="selectedColorName" partname="colorName" boundTo="request-attribute" caption="Selected Color Name"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions>
As I said, error is indicated on "potlet:action" and "portlet:param" lines. Please let me know how to fix it. Thanks for your time.
kind regards,
Ravi
|
|