Thanx Milinda,

Here I have attached the ht file,wsdl file and output and response jsp
files. Can you please check and give me the solution. It's really helpful.

Thanx a lot.

Regards,
Lakshitha.
On 10 May 2016 18:13, "Milinda Perera" <[email protected]> wrote:

> Hi,
>
> To add another input to humantask you have to change humantask definition
> (.ht file) and WSDLs. only changing .jsp files doesn't work. If you have
> done relevant changes for humantask definition and WSDLs, please share the
> .jsp files.
>
> BTW which version of BPS are you using?, WSO2 BPS 3.5.0 onwards we support
> HT rendering which is easier with web app UI (humantask-explorer), you can
> create humantask without creating .jsp files.
>
> thanks,
> Milinda
>
> On Tue, May 10, 2016 at 5:44 PM, Lakshitha Warnakulasuriya <
> [email protected]> wrote:
>
>> Hi All,
>>
>> I want to add another pair of radio buttions in output.jsp and get
>> response of these radio buttions to the response.jsp in Claim Approvel Task
>> project. I tried it but not successful. Is their any way to do this.
>> Any help can be really appreciated.
>>
>> Thanks and Regards,
>> Lakshitha.
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Milinda Perera
> Software Engineer;
> WSO2 Inc. http://wso2.com ,
> Mobile: (+94) 714 115 032
>
>

Attachment: ApproveClaim-output.jsp
Description: Binary data

Attachment: ApproveClaim-response.jsp
Description: Binary data

Attachment: ClaimsApprovalTask.ht
Description: Binary data

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="ClaimApproval" targetNamespace="http://www.example.com/claims/";
	xmlns:tns="http://www.example.com/claims/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:tschema="http://www.example.com/claims/schema";
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype";>
	<wsdl:documentation>
		Example for WS-HumanTask 1.1 - WS-HumanTask Task Interface Definition
	</wsdl:documentation>
	<wsdl:types>
		<xsd:schema targetNamespace="http://www.example.com/claims/schema";
			xmlns:tns="http://www.example.com/claims/schema"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";
			elementFormDefault="qualified">
			<xsd:element name="ClaimApprovalData" type="tns:ClaimApprovalDataType" />
			<xsd:complexType name="ClaimApprovalDataType">
				<xsd:sequence>
					<xsd:element name="cust">
						<xsd:complexType>
							<xsd:sequence>
								<xsd:element name="id" type="xsd:string">
								</xsd:element>
								<xsd:element name="firstname" type="xsd:string">
								</xsd:element>
								<xsd:element name="lastname" type="xsd:string">
								</xsd:element>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>

					<xsd:element name="amount" type="xsd:double" />
					<xsd:element name="region" type="xsd:string" />
					<xsd:element name="priority" type="xsd:int" />
				</xsd:sequence>
			</xsd:complexType>
			<xsd:element name="ClaimApprovalNotificationData" type="tns:ClaimApprovalNotificationDataType" />
			<xsd:complexType name="ClaimApprovalNotificationDataType">
				<xsd:sequence>
					<xsd:element name="firstname" type="xsd:string" />
					<xsd:element name="lastname" type="xsd:string" />
				</xsd:sequence>
			</xsd:complexType>
			<xsd:element name="ClaimApprovalResponse" type="tns:ClaimApprovalResponseType"></xsd:element>
			<xsd:complexType name="ClaimApprovalResponseType">
        		<xsd:sequence>
        			<xsd:element name="approved" type="xsd:boolean"></xsd:element>
        			<xsd:element name="yesorno" type="xsd:boolean"></xsd:element>
        		</xsd:sequence>
			</xsd:complexType>
		</xsd:schema>
    </wsdl:types>

	<wsdl:message name="ClaimApprovalRequest">
		<wsdl:part name="ClaimApprovalRequest" element="tschema:ClaimApprovalData" />
	</wsdl:message>

	<wsdl:message name="ClaimApprovalResponse">
		<wsdl:part name="ClaimApprovalResponse" element="tschema:ClaimApprovalResponse" />
	</wsdl:message>

	<wsdl:message name="ClaimApprovalNotificationRequest">
		<wsdl:part name="ClaimApprovalNotificationRequest" element="tschema:ClaimApprovalNotificationData" />
	</wsdl:message>

	<wsdl:portType name="ClaimsHandlingPT">
		<wsdl:operation name="approve">
			<wsdl:input message="tns:ClaimApprovalRequest" />
		</wsdl:operation>

		<wsdl:operation name="escalate">
			<wsdl:input message="tns:ClaimApprovalRequest" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:portType name="ClaimsHandlingCallbackPT">
		<wsdl:operation name="approvalResponse">
			<wsdl:input message="tns:ClaimApprovalResponse" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:portType name="ClaimApprovalReminderPT">
		<wsdl:operation name="notify">
			<wsdl:input message="tns:ClaimApprovalNotificationRequest" />
		</wsdl:operation>
	</wsdl:portType>

	<wsdl:binding name="ClaimSoapBinding" type="tns:ClaimsHandlingPT">
		<soap:binding style="document"
			transport="http://schemas.xmlsoap.org/soap/http"; />
		<wsdl:operation name="approve">
			<soap:operation soapAction="urn:approve" style="document" />
			<wsdl:input>
				<soap:body use="literal" namespace="http://www.example.com/claims/"; />
			</wsdl:input>
		</wsdl:operation>
		<wsdl:operation name="escalate">
			<soap:operation soapAction="urn:escalate" style="document" />
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:binding name="ClaimSoapBindingReminder" type="tns:ClaimApprovalReminderPT">
		<soap:binding style="document"
			transport="http://schemas.xmlsoap.org/soap/http"; />
		<wsdl:operation name="notify">
			<soap:operation soapAction="urn:notify" style="document" />
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:binding name="ClaimSoapBindingCB" type="tns:ClaimsHandlingCallbackPT">
		<soap:binding style="document"
			transport="http://schemas.xmlsoap.org/soap/http"; />
		<wsdl:operation name="approvalResponse">
			<soap:operation soapAction="urn:approvalResponse"
				style="document" />
			<wsdl:input>
				<soap:body use="literal" />
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal" />
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>

	<wsdl:service name="ClaimService">
		<wsdl:port name="ClaimPort" binding="tns:ClaimSoapBinding">
			<soap:address location="http://localhost:9763/services/ClaimService"; />
		</wsdl:port>
	</wsdl:service>
	<wsdl:service name="ClaimReminderService">
		<wsdl:port name="ClaimReminderPort" binding="tns:ClaimSoapBindingReminder">
			<soap:address location="http://localhost:9763/services/ClaimReminderService"; />
		</wsdl:port>
	</wsdl:service>
	<wsdl:service name="ClaimServiceCB">
		<wsdl:port name="ClaimPortCB" binding="tns:ClaimSoapBindingCB">
			<soap:address location="http://localhost:9763/services/ClaimServiceCB"; />
		</wsdl:port>

    </wsdl:service>

</wsdl:definitions>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to