error in WSDL for co-operative portlets
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > error in WSDL for co-operative portlets




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    error in WSDL for co-operative portlets  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 11:20 PM

Hi Everyone,

I am trying to work with co-operative portlets using RAD and WPS51. I have w
ritten this WSDL which on saving shows eroor on "portlet:action" and "portle
t:param" elements saying that "prefix portlet for element 'portlet:action' i
s 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="req
uest-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






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:49 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register