ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dasar...@apache.org
Subject svn commit: r358503 - in /webservices/kandula/branches/Kandula_1/src/samples/interopibm: ./ InteropService.wsdl build.xml client-config.wsdd src/ src/InteropServiceSoapBindingImpl.java src/InteropServiceTestCase.java
Date Thu, 22 Dec 2005 05:39:26 GMT
Author: dasarath
Date: Wed Dec 21 21:39:22 2005
New Revision: 358503

URL: http://svn.apache.org/viewcvs?rev=358503&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.xml
    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=358503&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/interopibm/InteropService.wsdl (added)
+++ webservices/kandula/branches/Kandula_1/src/samples/interopibm/InteropService.wsdl Wed
Dec 21 21:39:22 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:anyType"/><element name="CompletionRollback" type="xsd:anyType"/><element
name="Commit" type="xsd:anyType"/><element name="Rollback" type="xsd:anyType"/><element
name="Phase2Rollback" type="xsd:anyType"/><element name="Readonly" type="xsd:anyType"/><element
name="VolatileAndDurable" type="xsd:anyType"/><element name="E
 arlyReadonly" type="xsd:anyType"/><element name="EarlyAborted" type="xsd:anyType"/><element
name="ReplayAbort" type="xsd:anyType"/><element name="ReplayCommit" type="xsd:anyType"/><element
name="RetryPreparedCommit" type="xsd:anyType"/><element name="RetryPreparedAbort" type="xsd:anyType"/><element
name="RetryCommit" type="xsd:anyType"/><element name="RetryReplay" type="xsd:anyType"/><element
name="PreparedAfterTimeout" type="xsd:anyType"/><element name="LostCommitted" type="xsd:anyType"/><element
name="ParticipantClosed" type="xsd:anyType"/><element name="ParticipantCompensated"
type="xsd:anyType"/><element name="ParticipantCanceled" type="xsd:anyType"/><element
name="ParticipantExit" type="xsd:anyType"/><element name="ParticipantFault" type="xsd:anyType"/><element
name="ParticipantCompensationFault" type="xsd:anyType"/><element name="InvalidProtocol"
type="xsd:anyType"/></schema><schema targetNamespace="http://localhost:8989/wstx/services/InteropService"
xmlns="http://www.
 w3.org/2001/XMLSchema"><element name="CompletionCommitReturn" type="xsd:anyType"/><element
name="CompletionRollbackReturn" type="xsd:anyType"/><element name="CommitReturn" type="xsd:anyType"/><element
name="RollbackReturn" type="xsd:anyType"/><element name="Phase2RollbackReturn" type="xsd:anyType"/><element
name="ReadonlyReturn" type="xsd:anyType"/><element name="VolatileAndDurableReturn" type="xsd:anyType"/><element
name="EarlyReadonlyReturn" type="xsd:anyType"/><element name="EarlyAbortedReturn" type="xsd:anyType"/><element
name="ReplayAbortReturn" type="xsd:anyType"/><element name="ReplayCommitReturn" type="xsd:anyType"/><element
name="RetryPreparedCommitReturn" type="xsd:anyType"/><element name="RetryPreparedAbortReturn"
type="xsd:anyType"/><element name="RetryCommitReturn" type="xsd:anyType"/><element
name="RetryReplayReturn" type="xsd:anyType"/><element name="PreparedAfterTimeoutReturn"
type="xsd:anyType"/><element name="LostCommittedReturn" type="xsd:anyType"/><elemen
 t name="ParticipantClosedReturn" type="xsd:anyType"/><element name="ParticipantCompensatedReturn"
type="xsd:anyType"/><element name="ParticipantCanceledReturn" type="xsd:anyType"/><element
name="ParticipantExitReturn" type="xsd:anyType"/><element name="ParticipantFaultReturn"
type="xsd:anyType"/><element name="ParticipantCompensationFaultReturn" type="xsd:anyType"/><element
name="InvalidProtocolReturn" type="xsd:anyType"/></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:RetryPreparedAbortRet
 urn" name="RetryPreparedAbortReturn"/></wsdl:message><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><ws
 dl: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="ParticipantCom
 pensatedRequest"><wsdl:part element="tns1:ParticipantCompensated" 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="RetryPreparedAbortReq
 uest"><wsdl:part element="tns1:RetryPreparedAbort" 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="ParticipantClo
 sedResponse"><wsdl:part element="impl:ParticipantClosedReturn" 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:Completi
 onRollbackResponse" name="CompletionRollbackResponse"/></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="im
 pl:VolatileAndDurableResponse" name="VolatileAndDurableResponse"/></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:RetryPrepared
 CommitRequest" 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:operation><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:operat
 ion><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
n
 ame="InteropServiceSoapBinding" type="impl:InteropService"><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"><ws
 dlsoap: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"><wsdlsoap: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:op
 eration><wsdl:operation name="EarlyAborted"><wsdlsoap: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="RetryCommitResponse"><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:i
 nput 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"/></wsd
 l: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="ParticipantFaul
 tResponse"><wsdlsoap:body namespace="http://localhost: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:InteropSer
 viceSoapBinding" 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=358503&view=auto
==============================================================================
--- webservices/kandula/branches/Kandula_1/src/samples/interopibm/build.xml (added)
+++ webservices/kandula/branches/Kandula_1/src/samples/interopibm/build.xml Wed Dec 21 21:39:22
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=358503&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 Wed Dec
21 21:39:22 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=358503&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
Wed Dec 21 21:39:22 2005
@@ -0,0 +1,176 @@
+
+import java.rmi.RemoteException;
+
+import javax.transaction.Status;
+import javax.transaction.Transaction;
+import javax.transaction.TransactionManager;
+
+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 tm = null;
+
+	public InteropServiceSoapBindingImpl() {
+		tmGlue = TransactionManagerGlueFactory.getInstance()
+				.getTransactionManagerGlue();
+		tm = tmGlue.getTransactionManager();
+	}
+
+	public java.lang.Object completionCommit(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object completionRollback(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object commit(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		try {
+			Transaction tx = tm.getTransaction();
+			System.out.println("[InteropServiceSoapBindingImpl] commit() "
+					+ TxStatus.getStatusName(tm.getStatus()));
+			if (tm.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.Object rollback(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		try {
+			Transaction tx = tm.getTransaction();
+			System.out.println("[InteropServiceSoapBindingImpl] rollback() "
+					+ TxStatus.getStatusName(tm.getStatus()));
+			if (tm.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.Object phase2Rollback(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object readonly(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object volatileAndDurable(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object earlyReadonly(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object earlyAborted(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object replayAbort(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object replayCommit(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object retryPreparedCommit(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object retryPreparedAbort(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object retryCommit(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object retryReplay(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object preparedAfterTimeout(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object lostCommitted(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object participantClosed(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object participantCompensated(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object participantCanceled(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object participantExit(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object participantFault(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object participantCompensationFault(java.lang.Object part)
+			throws java.rmi.RemoteException {
+		return null;
+	}
+
+	public java.lang.Object invalidProtocol(java.lang.Object 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=358503&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
Wed Dec 21 21:39:22 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


Mime
View raw message