You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kandula-dev@ws.apache.org by da...@apache.org on 2005/12/23 06:57:12 UTC

svn commit: r358725 - in /webservices/kandula/branches/Kandula_1/src/samples/interopibm: ./ InteropService.wsdl build.xml build/ build/src/ client-config.wsdd src/ src/InteropServiceSoapBindingImpl.java src/InteropServiceTestCase.java

Author: dasarath
Date: Thu Dec 22 21:57:08 2005
New Revision: 358725

URL: http://svn.apache.org/viewcvs?rev=358725&view=rev
Log: (empty)

Added:
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/InteropService.wsdl
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/build/
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/build.xml
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/build/src/
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/client-config.wsdd
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceSoapBindingImpl.java
    webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceTestCase.java

Added: webservices/kandula/branches/Kandula_1/src/samples/interopibm/InteropService.wsdl
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/samples/interopibm/InteropService.wsdl?rev=358725&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/interopibm/InteropService.wsdl (added)
+++ webservices/kandula/branches/Kandula_1/src/samples/interopibm/InteropService.wsdl Thu Dec 22 21:57:08 2005
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions targetNamespace="http://localhost:8989/wstx/services/InteropService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8989/wstx/services/InteropService" xmlns:intf="http://localhost:8989/wstx/services/InteropService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="http://wstx" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types><schema targetNamespace="http://wstx" xmlns="http://www.w3.org/2001/XMLSchema"><element name="CompletionCommit" type="xsd:string"/><element name="CompletionRollback" type="xsd:string"/><element name="Commit" type="xsd:string"/><element name="Rollback" type="xsd:string"/><element name="Phase2Rollback" type="xsd:string"/><element name="Readonly" type="xsd:string"/><element name="VolatileAndDurable" type="xsd:string"/><element name="EarlyRea
 donly" type="xsd:string"/><element name="EarlyAborted" type="xsd:string"/><element name="ReplayAbort" type="xsd:string"/><element name="ReplayCommit" type="xsd:string"/><element name="RetryPreparedCommit" type="xsd:string"/><element name="RetryPreparedAbort" type="xsd:string"/><element name="RetryCommit" type="xsd:string"/><element name="RetryReplay" type="xsd:string"/><element name="PreparedAfterTimeout" type="xsd:string"/><element name="LostCommitted" type="xsd:string"/><element name="ParticipantClosed" type="xsd:string"/><element name="ParticipantCompensated" type="xsd:string"/><element name="ParticipantCanceled" type="xsd:string"/><element name="ParticipantExit" type="xsd:string"/><element name="ParticipantFault" type="xsd:string"/><element name="ParticipantCompensationFault" type="xsd:string"/><element name="InvalidProtocol" type="xsd:string"/></schema><schema targetNamespace="http://localhost:8989/wstx/services/InteropService" xmlns="http://www.w3.org/2001/XMLSchema"><
 element name="CompletionCommitReturn" type="xsd:string"/><element name="CompletionRollbackReturn" type="xsd:string"/><element name="CommitReturn" type="xsd:string"/><element name="RollbackReturn" type="xsd:string"/><element name="Phase2RollbackReturn" type="xsd:string"/><element name="ReadonlyReturn" type="xsd:string"/><element name="VolatileAndDurableReturn" type="xsd:string"/><element name="EarlyReadonlyReturn" type="xsd:string"/><element name="EarlyAbortedReturn" type="xsd:string"/><element name="ReplayAbortReturn" type="xsd:string"/><element name="ReplayCommitReturn" type="xsd:string"/><element name="RetryPreparedCommitReturn" type="xsd:string"/><element name="RetryPreparedAbortReturn" type="xsd:string"/><element name="RetryCommitReturn" type="xsd:string"/><element name="RetryReplayReturn" type="xsd:string"/><element name="PreparedAfterTimeoutReturn" type="xsd:string"/><element name="LostCommittedReturn" type="xsd:string"/><element name="ParticipantClosedReturn" type="xs
 d:string"/><element name="ParticipantCompensatedReturn" type="xsd:string"/><element name="ParticipantCanceledReturn" type="xsd:string"/><element name="ParticipantExitReturn" type="xsd:string"/><element name="ParticipantFaultReturn" type="xsd:string"/><element name="ParticipantCompensationFaultReturn" type="xsd:string"/><element name="InvalidProtocolReturn" type="xsd:string"/></schema></wsdl:types><wsdl:message name="RetryReplayRequest"><wsdl:part element="tns1:RetryReplay" name="part"/></wsdl:message><wsdl:message name="EarlyAbortedRequest"><wsdl:part element="tns1:EarlyAborted" name="part"/></wsdl:message><wsdl:message name="CompletionCommitRequest"><wsdl:part element="tns1:CompletionCommit" name="part"/></wsdl:message><wsdl:message name="ReadonlyResponse"><wsdl:part element="impl:ReadonlyReturn" name="ReadonlyReturn"/></wsdl:message><wsdl:message name="RetryPreparedAbortResponse"><wsdl:part element="impl:RetryPreparedAbortReturn" name="RetryPreparedAbortReturn"/></wsdl:mes
 sage><wsdl:message name="EarlyReadonlyRequest"><wsdl:part element="tns1:EarlyReadonly" name="part"/></wsdl:message><wsdl:message name="CommitResponse"><wsdl:part element="impl:CommitReturn" name="CommitReturn"/></wsdl:message><wsdl:message name="RetryCommitRequest"><wsdl:part element="tns1:RetryCommit" name="part"/></wsdl:message><wsdl:message name="RetryReplayResponse"><wsdl:part element="impl:RetryReplayReturn" name="RetryReplayReturn"/></wsdl:message><wsdl:message name="RetryCommitResponse"><wsdl:part element="impl:RetryCommitReturn" name="RetryCommitReturn"/></wsdl:message><wsdl:message name="PreparedAfterTimeoutResponse"><wsdl:part element="impl:PreparedAfterTimeoutReturn" name="PreparedAfterTimeoutReturn"/></wsdl:message><wsdl:message name="VolatileAndDurableResponse"><wsdl:part element="impl:VolatileAndDurableReturn" name="VolatileAndDurableReturn"/></wsdl:message><wsdl:message name="CompletionRollbackRequest"><wsdl:part element="tns1:CompletionRollback" name="part"/>
 </wsdl:message><wsdl:message name="ParticipantExitRequest"><wsdl:part element="tns1:ParticipantExit" name="part"/></wsdl:message><wsdl:message name="ParticipantCanceledResponse"><wsdl:part element="impl:ParticipantCanceledReturn" name="ParticipantCanceledReturn"/></wsdl:message><wsdl:message name="EarlyReadonlyResponse"><wsdl:part element="impl:EarlyReadonlyReturn" name="EarlyReadonlyReturn"/></wsdl:message><wsdl:message name="CompletionCommitResponse"><wsdl:part element="impl:CompletionCommitReturn" name="CompletionCommitReturn"/></wsdl:message><wsdl:message name="RetryPreparedCommitResponse"><wsdl:part element="impl:RetryPreparedCommitReturn" name="RetryPreparedCommitReturn"/></wsdl:message><wsdl:message name="ParticipantCanceledRequest"><wsdl:part element="tns1:ParticipantCanceled" name="part"/></wsdl:message><wsdl:message name="InvalidProtocolRequest"><wsdl:part element="tns1:InvalidProtocol" name="part"/></wsdl:message><wsdl:message name="ParticipantFaultResponse"><wsdl
 :part element="impl:ParticipantFaultReturn" name="ParticipantFaultReturn"/></wsdl:message><wsdl:message name="ParticipantCompensatedResponse"><wsdl:part element="impl:ParticipantCompensatedReturn" name="ParticipantCompensatedReturn"/></wsdl:message><wsdl:message name="PreparedAfterTimeoutRequest"><wsdl:part element="tns1:PreparedAfterTimeout" name="part"/></wsdl:message><wsdl:message name="ReplayCommitRequest"><wsdl:part element="tns1:ReplayCommit" name="part"/></wsdl:message><wsdl:message name="VolatileAndDurableRequest"><wsdl:part element="tns1:VolatileAndDurable" name="part"/></wsdl:message><wsdl:message name="ReplayCommitResponse"><wsdl:part element="impl:ReplayCommitReturn" name="ReplayCommitReturn"/></wsdl:message><wsdl:message name="ParticipantCompensationFaultResponse"><wsdl:part element="impl:ParticipantCompensationFaultReturn" name="ParticipantCompensationFaultReturn"/></wsdl:message><wsdl:message name="ParticipantCompensatedRequest"><wsdl:part element="tns1:Partic
 ipantCompensated" name="part"/></wsdl:message><wsdl:message name="LostCommittedRequest"><wsdl:part element="tns1:LostCommitted" name="part"/></wsdl:message><wsdl:message name="ReplayAbortRequest"><wsdl:part element="tns1:ReplayAbort" name="part"/></wsdl:message><wsdl:message name="ParticipantCompensationFaultRequest"><wsdl:part element="tns1:ParticipantCompensationFault" name="part"/></wsdl:message><wsdl:message name="ParticipantExitResponse"><wsdl:part element="impl:ParticipantExitReturn" name="ParticipantExitReturn"/></wsdl:message><wsdl:message name="CommitRequest"><wsdl:part element="tns1:Commit" name="part"/></wsdl:message><wsdl:message name="InvalidProtocolResponse"><wsdl:part element="impl:InvalidProtocolReturn" name="InvalidProtocolReturn"/></wsdl:message><wsdl:message name="ReplayAbortResponse"><wsdl:part element="impl:ReplayAbortReturn" name="ReplayAbortReturn"/></wsdl:message><wsdl:message name="RetryPreparedAbortRequest"><wsdl:part element="tns1:RetryPreparedAbor
 t" name="part"/></wsdl:message><wsdl:message name="EarlyAbortedResponse"><wsdl:part element="impl:EarlyAbortedReturn" name="EarlyAbortedReturn"/></wsdl:message><wsdl:message name="RollbackResponse"><wsdl:part element="impl:RollbackReturn" name="RollbackReturn"/></wsdl:message><wsdl:message name="RollbackRequest"><wsdl:part element="tns1:Rollback" name="part"/></wsdl:message><wsdl:message name="ParticipantFaultRequest"><wsdl:part element="tns1:ParticipantFault" name="part"/></wsdl:message><wsdl:message name="Phase2RollbackResponse"><wsdl:part element="impl:Phase2RollbackReturn" name="Phase2RollbackReturn"/></wsdl:message><wsdl:message name="LostCommittedResponse"><wsdl:part element="impl:LostCommittedReturn" name="LostCommittedReturn"/></wsdl:message><wsdl:message name="CompletionRollbackResponse"><wsdl:part element="impl:CompletionRollbackReturn" name="CompletionRollbackReturn"/></wsdl:message><wsdl:message name="ParticipantClosedResponse"><wsdl:part element="impl:Participan
 tClosedReturn" name="ParticipantClosedReturn"/></wsdl:message><wsdl:message name="ReadonlyRequest"><wsdl:part element="tns1:Readonly" name="part"/></wsdl:message><wsdl:message name="ParticipantClosedRequest"><wsdl:part element="tns1:ParticipantClosed" name="part"/></wsdl:message><wsdl:message name="Phase2RollbackRequest"><wsdl:part element="tns1:Phase2Rollback" name="part"/></wsdl:message><wsdl:message name="RetryPreparedCommitRequest"><wsdl:part element="tns1:RetryPreparedCommit" name="part"/></wsdl:message><wsdl:portType name="InteropService"><wsdl:operation name="CompletionCommit"><wsdl:input message="impl:CompletionCommitRequest" name="CompletionCommitRequest"/><wsdl:output message="impl:CompletionCommitResponse" name="CompletionCommitResponse"/></wsdl:operation><wsdl:operation name="CompletionRollback"><wsdl:input message="impl:CompletionRollbackRequest" name="CompletionRollbackRequest"/><wsdl:output message="impl:CompletionRollbackResponse" name="CompletionRollbackResp
 onse"/></wsdl:operation><wsdl:operation name="Commit"><wsdl:input message="impl:CommitRequest" name="CommitRequest"/><wsdl:output message="impl:CommitResponse" name="CommitResponse"/></wsdl:operation><wsdl:operation name="Rollback"><wsdl:input message="impl:RollbackRequest" name="RollbackRequest"/><wsdl:output message="impl:RollbackResponse" name="RollbackResponse"/></wsdl:operation><wsdl:operation name="Phase2Rollback"><wsdl:input message="impl:Phase2RollbackRequest" name="Phase2RollbackRequest"/><wsdl:output message="impl:Phase2RollbackResponse" name="Phase2RollbackResponse"/></wsdl:operation><wsdl:operation name="Readonly"><wsdl:input message="impl:ReadonlyRequest" name="ReadonlyRequest"/><wsdl:output message="impl:ReadonlyResponse" name="ReadonlyResponse"/></wsdl:operation><wsdl:operation name="VolatileAndDurable"><wsdl:input message="impl:VolatileAndDurableRequest" name="VolatileAndDurableRequest"/><wsdl:output message="impl:VolatileAndDurableResponse" name="VolatileAnd
 DurableResponse"/></wsdl:operation><wsdl:operation name="EarlyReadonly"><wsdl:input message="impl:EarlyReadonlyRequest" name="EarlyReadonlyRequest"/><wsdl:output message="impl:EarlyReadonlyResponse" name="EarlyReadonlyResponse"/></wsdl:operation><wsdl:operation name="EarlyAborted"><wsdl:input message="impl:EarlyAbortedRequest" name="EarlyAbortedRequest"/><wsdl:output message="impl:EarlyAbortedResponse" name="EarlyAbortedResponse"/></wsdl:operation><wsdl:operation name="ReplayAbort"><wsdl:input message="impl:ReplayAbortRequest" name="ReplayAbortRequest"/><wsdl:output message="impl:ReplayAbortResponse" name="ReplayAbortResponse"/></wsdl:operation><wsdl:operation name="ReplayCommit"><wsdl:input message="impl:ReplayCommitRequest" name="ReplayCommitRequest"/><wsdl:output message="impl:ReplayCommitResponse" name="ReplayCommitResponse"/></wsdl:operation><wsdl:operation name="RetryPreparedCommit"><wsdl:input message="impl:RetryPreparedCommitRequest" name="RetryPreparedCommitRequest"
 /><wsdl:output message="impl:RetryPreparedCommitResponse" name="RetryPreparedCommitResponse"/></wsdl:operation><wsdl:operation name="RetryPreparedAbort"><wsdl:input message="impl:RetryPreparedAbortRequest" name="RetryPreparedAbortRequest"/><wsdl:output message="impl:RetryPreparedAbortResponse" name="RetryPreparedAbortResponse"/></wsdl:operation><wsdl:operation name="RetryCommit"><wsdl:input message="impl:RetryCommitRequest" name="RetryCommitRequest"/><wsdl:output message="impl:RetryCommitResponse" name="RetryCommitResponse"/></wsdl:operation><wsdl:operation name="RetryReplay"><wsdl:input message="impl:RetryReplayRequest" name="RetryReplayRequest"/><wsdl:output message="impl:RetryReplayResponse" name="RetryReplayResponse"/></wsdl:operation><wsdl:operation name="PreparedAfterTimeout"><wsdl:input message="impl:PreparedAfterTimeoutRequest" name="PreparedAfterTimeoutRequest"/><wsdl:output message="impl:PreparedAfterTimeoutResponse" name="PreparedAfterTimeoutResponse"/></wsdl:oper
 ation><wsdl:operation name="LostCommitted"><wsdl:input message="impl:LostCommittedRequest" name="LostCommittedRequest"/><wsdl:output message="impl:LostCommittedResponse" name="LostCommittedResponse"/></wsdl:operation><wsdl:operation name="ParticipantClosed"><wsdl:input message="impl:ParticipantClosedRequest" name="ParticipantClosedRequest"/><wsdl:output message="impl:ParticipantClosedResponse" name="ParticipantClosedResponse"/></wsdl:operation><wsdl:operation name="ParticipantCompensated"><wsdl:input message="impl:ParticipantCompensatedRequest" name="ParticipantCompensatedRequest"/><wsdl:output message="impl:ParticipantCompensatedResponse" name="ParticipantCompensatedResponse"/></wsdl:operation><wsdl:operation name="ParticipantCanceled"><wsdl:input message="impl:ParticipantCanceledRequest" name="ParticipantCanceledRequest"/><wsdl:output message="impl:ParticipantCanceledResponse" name="ParticipantCanceledResponse"/></wsdl:operation><wsdl:operation name="ParticipantExit"><wsdl
 :input message="impl:ParticipantExitRequest" name="ParticipantExitRequest"/><wsdl:output message="impl:ParticipantExitResponse" name="ParticipantExitResponse"/></wsdl:operation><wsdl:operation name="ParticipantFault"><wsdl:input message="impl:ParticipantFaultRequest" name="ParticipantFaultRequest"/><wsdl:output message="impl:ParticipantFaultResponse" name="ParticipantFaultResponse"/></wsdl:operation><wsdl:operation name="ParticipantCompensationFault"><wsdl:input message="impl:ParticipantCompensationFaultRequest" name="ParticipantCompensationFaultRequest"/><wsdl:output message="impl:ParticipantCompensationFaultResponse" name="ParticipantCompensationFaultResponse"/></wsdl:operation><wsdl:operation name="InvalidProtocol"><wsdl:input message="impl:InvalidProtocolRequest" name="InvalidProtocolRequest"/><wsdl:output message="impl:InvalidProtocolResponse" name="InvalidProtocolResponse"/></wsdl:operation></wsdl:portType><wsdl:binding name="InteropServiceSoapBinding" type="impl:Inter
 opService"><wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation name="CompletionCommit"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="CompletionCommitRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="CompletionCommitResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="CompletionRollback"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="CompletionRollbackRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="CompletionRollbackResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="Commit"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="CommitRequest"><wsdlsoap:body namespace="http://wstx" use="literal
 "/></wsdl:input><wsdl:output name="CommitResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="Rollback"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="RollbackRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="RollbackResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="Phase2Rollback"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="Phase2RollbackRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="Phase2RollbackResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="Readonly"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ReadonlyRequest"><wsd
 lsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ReadonlyResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="VolatileAndDurable"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="VolatileAndDurableRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="VolatileAndDurableResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="EarlyReadonly"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="EarlyReadonlyRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="EarlyReadonlyResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="EarlyAborted"><wsd
 lsoap:operation soapAction="http://foo"/><wsdl:input name="EarlyAbortedRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="EarlyAbortedResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ReplayAbort"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ReplayAbortRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ReplayAbortResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ReplayCommit"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ReplayCommitRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ReplayCommitResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:
 output></wsdl:operation><wsdl:operation name="RetryPreparedCommit"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="RetryPreparedCommitRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="RetryPreparedCommitResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetryPreparedAbort"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="RetryPreparedAbortRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="RetryPreparedAbortResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetryCommit"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="RetryCommitRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="RetryCommitRespons
 e"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="RetryReplay"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="RetryReplayRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="RetryReplayResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="PreparedAfterTimeout"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="PreparedAfterTimeoutRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="PreparedAfterTimeoutResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="LostCommitted"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="LostCommittedRequest"><wsdlsoap:body 
 namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="LostCommittedResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ParticipantClosed"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ParticipantClosedRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ParticipantClosedResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ParticipantCompensated"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ParticipantCompensatedRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ParticipantCompensatedResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="
 ParticipantCanceled"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ParticipantCanceledRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ParticipantCanceledResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ParticipantExit"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ParticipantExitRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ParticipantExitResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ParticipantFault"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ParticipantFaultRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ParticipantFaultResponse"><wsdlsoap:body namespace="http://loca
 lhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ParticipantCompensationFault"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="ParticipantCompensationFaultRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="ParticipantCompensationFaultResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="InvalidProtocol"><wsdlsoap:operation soapAction="http://foo"/><wsdl:input name="InvalidProtocolRequest"><wsdlsoap:body namespace="http://wstx" use="literal"/></wsdl:input><wsdl:output name="InvalidProtocolResponse"><wsdlsoap:body namespace="http://localhost:8989/wstx/services/InteropService" use="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service name="InteropServiceService"><wsdl:port binding="impl:InteropServiceSoapBinding" name="InteropService"><wsdlsoap
 :address location="http://localhost:8081/axis/services/InteropService"/></wsdl:port></wsdl:service></wsdl:definitions>
\ No newline at end of file

Added: webservices/kandula/branches/Kandula_1/src/samples/interopibm/build.xml
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/samples/interopibm/build.xml?rev=358725&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/interopibm/build.xml (added)
+++ webservices/kandula/branches/Kandula_1/src/samples/interopibm/build.xml Thu Dec 22 21:57:08 2005
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<project name="kandula"
+	 default="compile"
+	 basedir=".">
+
+	 <property name="src.dir" value="src" />	 
+ 	 <property name="build.dir" value="build" />
+ 	 <property name="home.dir" value="../../.." />
+  	 <property name="samples.dir" value="${home.dir}/src/samples" />
+  	 
+	 <property file="${home.dir}/build.properties" />  	  	 
+	 
+	 <path id="base.classpath">
+	 	<fileset dir="${home.dir}/target/lib" >
+	 		<include name="**/*.jar" />
+		</fileset>
+	 	<fileset dir="${home.dir}/target" >
+		 	<include name="**/*.jar" />
+		</fileset>		
+		<pathelement location="${samples.dir}/common/build"/>		
+	 </path>
+	 
+	 <taskdef resource="axis-tasks.properties"  classpathref="base.classpath" />
+	 
+	 <target name="compile" depends="wsdl2java" >
+	 	<ant dir="${samples.dir}/common"/>
+	 	<javac srcdir="${src.dir};${build.dir}/src" destdir="${build.dir}">
+	 		<classpath refid="base.classpath" />
+	 	</javac>
+	 </target>
+	 
+	 <target name="clean" >
+	 	<delete>
+		 	<fileset dir="${src.dir}" excludes="**/*Impl.java, **/*TestCase.java" />
+	 	</delete>
+	 	<delete dir="${build.dir}" /> 	
+	 </target> 
+
+	 <target name="init" >
+	 	<mkdir dir="${build.dir}" />
+	 	<mkdir dir="${build.dir}/src" />
+	 </target>	 
+
+	 
+	 <target name="wsdl2java" depends="init">
+		 <axis-wsdl2java
+		 	output="${build.dir}/src"
+		 	verbose="true"
+		 	serverside="true"
+		 	url="${basedir}/InteropService.wsdl" >
+	 		<mapping namespace="http://localhost:8989/wstx/services/InteropService" package="" />
+		 </axis-wsdl2java>
+		 <move todir="." flatten="true" >
+		 	<fileset dir="${build.dir}/src" includes="**/*.wsdd" />
+		 </move>
+		<delete file="${build.dir}/src/InteropServiceSoapBindingImpl.java" />
+	</target>
+
+	 
+	<target name="dist" depends="compile">
+		<jar jarfile="${build.dir}/interopibm.jar">
+			<fileset dir="${samples.dir}/common/build">
+				<include name="**/*.class" />
+			</fileset>		
+			<fileset dir="${build.dir}">
+				<include name="**/*.class" />
+			</fileset>
+		</jar>
+	</target>
+	
+	<target name="test" >
+	 	<junit printsummary="withOutAndErr" >
+	 		<formatter type="plain"/>
+	 		<classpath>	 			
+		 		<path refid="base.classpath" />
+	 			<fileset dir="${basedir}/build" includes="*.jar" />
+		 		<pathelement location="${ws-tx.dir}/conf" />
+		 	</classpath>
+	 		<test name="InteropServiceTestCase" />
+		</junit>
+	 </target>
+</project>
\ No newline at end of file

Added: webservices/kandula/branches/Kandula_1/src/samples/interopibm/client-config.wsdd
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/samples/interopibm/client-config.wsdd?rev=358725&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/interopibm/client-config.wsdd (added)
+++ webservices/kandula/branches/Kandula_1/src/samples/interopibm/client-config.wsdd Thu Dec 22 21:57:08 2005
@@ -0,0 +1,90 @@
+<!-- a barebone jboss.net/axis client configuration which includes some basic typemappings related to jboss -->
+
+<deployment name="defaultClientConfig"
+            xmlns="http://xml.apache.org/axis/wsdd/"
+            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
+
+  <globalConfiguration>
+	<parameter name="sendMultiRefs" value="false"/>
+	<parameter name="disablePrettyXML" value="true"/>
+        
+        <requestFlow>
+		<handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler" />
+
+		<!-- use this handler for j2ee clients, e.g. inside Catalina
+		
+			<handler type="java:org.apache.ws.transaction.participant.j2ee.handler.TransactionHandler"/>
+		-->
+
+		<!-- use this handler for standalone clients -->
+		<handler type="java:org.apache.ws.transaction.participant.standalone.handler.TransactionHandler"/>
+
+        </requestFlow>
+        <responseFlow>
+        
+        	<handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler" />
+        	
+        </responseFlow>
+  </globalConfiguration>
+
+  <transport name="http" pivot="java:org.apache.axis.transport.http.HTTPSender">
+	<requestFlow>		
+	</requestFlow>
+	<responseFlow>		
+	</responseFlow>	
+  </transport>
+
+ <transport name="local" pivot="java:org.apache.axis.transport.local.LocalSender"/>
+ <transport name="java" pivot="java:org.apache.axis.transport.java.JavaSender"/>
+
+<typeMapping
+	xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
+      deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
+      encodingStyle="" 
+      qname="wsa:EndpointReference" 
+      serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
+      type="java:org.apache.axis.message.addressing.EndpointReferenceType"/>
+
+ <typeMapping
+	xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing" 
+      deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" 
+      encodingStyle="" 
+      qname="wsa:ReferencePropertiesType" 
+      serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" 
+      type="java:org.apache.axis.message.addressing.ReferencePropertiesType"/>
+
+ <typeMapping 
+	xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
+      deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory" 
+      encodingStyle="" 
+      qname="wsa:Address" 
+      serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory" 
+      type="java:org.apache.axis.message.addressing.Address"/>
+
+ <typeMapping 
+	xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
+      deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory" 
+      encodingStyle="" 
+      qname="wsa:PortType" 
+      serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory" 
+      type="java:org.apache.axis.message.addressing.PortType" />
+
+ <typeMapping 
+	xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"
+      deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory" 
+      encodingStyle="" 
+      qname="wsa:ServiceNameType" 
+      serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory" 
+      type="java:org.apache.axis.message.addressing.ServiceNameType" />
+
+	<typeMapping
+        xmlns:ns="http://www.w3.org/2001/XMLSchema"
+        qname="ns:anyType"
+        type="java:java.lang.Object"
+        serializer="org.apache.axis.encoding.ser.ElementSerializerFactory"
+        deserializer="org.apache.axis.encoding.ser.ElementDeserializerFactory"
+        encodingStyle=""
+      />
+
+
+</deployment>

Added: webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceSoapBindingImpl.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceSoapBindingImpl.java?rev=358725&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceSoapBindingImpl.java (added)
+++ webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceSoapBindingImpl.java Thu Dec 22 21:57:08 2005
@@ -0,0 +1,188 @@
+
+import java.rmi.RemoteException;
+
+import javax.transaction.Status;
+import javax.transaction.Transaction;
+import javax.transaction.TransactionManager;
+
+import org.apache.axis.message.addressing.EndpointReference;
+import org.apache.ws.transaction.participant.j2ee.TransactionManagerGlue;
+import org.apache.ws.transaction.participant.j2ee.TransactionManagerGlueFactory;
+
+public class InteropServiceSoapBindingImpl implements InteropService_PortType {
+	TransactionManagerGlue tmGlue = null;
+
+	TransactionManager tmj2ee = null;
+
+	org.apache.ws.transaction.participant.standalone.TransactionManager tm = null;
+
+	public InteropServiceSoapBindingImpl() {
+		tmGlue = TransactionManagerGlueFactory.getInstance()
+				.getTransactionManagerGlue();
+		tmj2ee = tmGlue.getTransactionManager();
+		tm = org.apache.ws.transaction.participant.standalone.TransactionManager
+				.getInstance();
+	}
+
+	public java.lang.String completionCommit(java.lang.String coord)
+			throws java.rmi.RemoteException {
+		try {
+			EndpointReference epr = new EndpointReference(coord);
+			tm.begin(epr);
+			tm.commit();
+		} catch (Exception e) {
+			throw new RemoteException(e.getMessage());
+		}
+		return null;
+	}
+
+	public java.lang.String completionRollback(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+	
+
+	public java.lang.String commit(java.lang.String part)
+			throws java.rmi.RemoteException {
+		try {
+			Transaction tx = tmj2ee.getTransaction();
+			System.out.println("[InteropServiceSoapBindingImpl] commit() "
+					+ TxStatus.getStatusName(tmj2ee.getStatus()));
+			if (tmj2ee.getStatus() == Status.STATUS_ACTIVE) {
+				tx.enlistResource(new DummyXAResource(false, false));
+				System.out.println("[InteropServiceSoapBindingImpl] "
+						+ tx.toString() + " tx.hashCode= " + tx.hashCode());
+			}
+		} catch (Exception e) {
+			e.printStackTrace();
+			if (e instanceof RemoteException)
+				throw (RemoteException) e;
+			else
+				throw new RemoteException(e.toString());
+		}
+		return null;
+	}
+
+	public java.lang.String rollback(java.lang.String part)
+			throws java.rmi.RemoteException {
+		try {
+			Transaction tx = tmj2ee.getTransaction();
+			System.out.println("[InteropServiceSoapBindingImpl] rollback() "
+					+ TxStatus.getStatusName(tmj2ee.getStatus()));
+			if (tmj2ee.getStatus() == Status.STATUS_ACTIVE) {
+				tx.enlistResource(new DummyXAResource(true, false));
+				System.out.println("[InteropServiceSoapBindingImpl] "
+						+ tx.toString() + " tx.hashCode= " + tx.hashCode());
+			}
+		} catch (Exception e) {
+			e.printStackTrace();
+			if (e instanceof RemoteException)
+				throw (RemoteException) e;
+			else
+				throw new RemoteException(e.toString());
+		}
+
+		return null;
+	}
+
+	public java.lang.String phase2Rollback(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String readonly(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String volatileAndDurable(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String earlyReadonly(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String earlyAborted(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String replayAbort(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String replayCommit(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String retryPreparedCommit(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String retryPreparedAbort(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String retryCommit(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String retryReplay(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String preparedAfterTimeout(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String lostCommitted(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String participantClosed(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String participantCompensated(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String participantCanceled(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String participantExit(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String participantFault(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String participantCompensationFault(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.String invalidProtocol(java.lang.String part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+}
\ No newline at end of file

Added: webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceTestCase.java
URL: http://svn.apache.org/viewcvs/webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceTestCase.java?rev=358725&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceTestCase.java (added)
+++ webservices/kandula/branches/Kandula_1/src/samples/interopibm/src/InteropServiceTestCase.java Thu Dec 22 21:57:08 2005
@@ -0,0 +1,48 @@
+/*
+ * Copyright  2004 The Apache Software Foundation.
+ *
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *
+ */
+import org.apache.ws.transaction.participant.standalone.TransactionManager;
+
+public class InteropServiceTestCase extends junit.framework.TestCase {
+	
+	public InteropServiceTestCase(java.lang.String name) {
+		super(name);
+	}
+	
+	public void testInteropServicePreparePrepared() throws Exception {
+		TransactionManager tm= TransactionManager.getInstance();
+		InteropService_PortType interop= new InteropServiceServiceLocator().getInteropService();
+		tm.begin();
+		interop.commit(null);
+		tm.commit();
+	}
+
+	public void testInteropServicePrepareRollback() throws Exception {
+		TransactionManager tm= TransactionManager.getInstance();
+		InteropService_PortType interop= new InteropServiceServiceLocator().getInteropService();
+		tm.begin();
+		interop.rollback(null);
+		tm.commit();
+	}
+	
+	public void testInteropServiceRollbackAborted() throws Exception {
+		TransactionManager tm= TransactionManager.getInstance();
+		InteropService_PortType interop= new InteropServiceServiceLocator().getInteropService();
+		tm.begin();
+		interop.commit(null);
+		tm.rollback();
+	}	
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org