You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/05/12 22:17:56 UTC

svn commit: r405857 [1/2] - in /webservices/axis2/trunk/java: ./ modules/common/src/org/apache/axis2/i18n/ modules/core/src/org/apache/axis2/addressing/ modules/core/src/org/apache/axis2/deployment/ modules/core/src/org/apache/axis2/description/ module...

Author: dims
Date: Fri May 12 13:17:55 2006
New Revision: 405857

URL: http://svn.apache.org/viewcvs?rev=405857&view=rev
Log:
Fix for AXIS2-704 - Extract and support wsaw:UsingAddresing on service side

Modified:
    webservices/axis2/trunk/java/NOTICE.txt
    webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentConstants.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService2OM.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/WSDL2AxisServiceBuilder.java
    webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/engine/AxisEngine.java
    webservices/axis2/trunk/java/xdocs/tools/1_0/CodegenToolReference.html

Modified: webservices/axis2/trunk/java/NOTICE.txt
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/NOTICE.txt?rev=405857&r1=405856&r2=405857&view=diff
==============================================================================
--- webservices/axis2/trunk/java/NOTICE.txt (original)
+++ webservices/axis2/trunk/java/NOTICE.txt Fri May 12 13:17:55 2006
@@ -1,11 +1,12 @@
-   =========================================================================
-   ==  NOTICE file corresponding to the section 4 d of                    ==
-   ==  the Apache License, Version 2.0,                                   ==
-   ==  in this case for the Apache Axis2 distribution.                    ==
-   =========================================================================
-
-   This product includes software developed by
-   The Apache Software Foundation (http://www.apache.org/).
-
-   Please read the different LICENSE files present in the lib directory of
-   this distribution.
+   =========================================================================
+   ==  NOTICE file corresponding to the section 4 d of                    ==
+   ==  the Apache License, Version 2.0,                                   ==
+   ==  in this case for the Apache Axis2 distribution.                    ==
+   =========================================================================
+
+   This product includes software developed by
+   The Apache Software Foundation (http://www.apache.org/).
+   Portions Copyright 2006 International Business Machines Corp.
+
+   Please read the different LICENSE files present in the lib directory of
+   this distribution.

Modified: webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties?rev=405857&r1=405856&r2=405857&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties (original)
+++ webservices/axis2/trunk/java/modules/common/src/org/apache/axis2/i18n/resource.properties Fri May 12 13:17:55 2006
@@ -1,223 +1,224 @@
-# Translation instructions.
-# 1.  Each message line is of the form key=value.
-#     Translate the value, DO NOT translate the key.
-# 2.  The messages may contain arguments that will be filled in
-#     by the runtime.  These are of the form: {0}, {1}, etc.
-#     These must appear as is in the message, though the order
-#     may be changed to support proper language syntax.
-# 3.  If a single quote character is to appear in the resulting
-#     message, it must appear in this file as two consecutive
-#     single quote characters.
-# 4.  Lines beginning with "#" (like this one) are comment lines
-#     and may contain translation instructions.  They need not be
-#     translated unless your translated file, rather than this file,
-#     will serve as a base for other translators.
-
-#############################################################################
-# DO NOT TOUCH THESE PROPERTIES - THEY ARE AUTOMATICALLY UPDATED BY THE BUILD
-# PROCESS.
-axisVersion=Apache Axis2 version: #axisVersion#
-axisVersionRaw=#axisVersion#
-axisBuiltOnRaw=#today#
-axisUserAgent=Axis/#axisVersion#
-builtOn=Built on #today#
-#############################################################################
-
-threadpoolshutdown=Thread pool has already been shutdown
-errorWhileSafeShutDown=Error during safe shutdown
-invaliduser=Invalid user name
-invalidSOAPversion=Invalid SOAP URI. Axis2 only supports SOAP 1.1 and 1.2
-cannotInferTransport=Cannot infer transport information from the URL {0}
-cannotInferTransportNoAddr=No address information in EPR, cannot infer transport
-cannotBeNullAxisOperation=Axis Operation can not be null
-cannotBeNullServiceContext=ServiceContext can not be null
-cannotBeNullConfigurationContext=ConfigurationContext can not be null
-cannotBeNullOperationContext=OperationContext can not be null
-nowhereToSendError=Nowhere to send the error, the return response path is missing and fault to has not been specified
-errorwhileProcessingFault=Error occured while processing fault, previous error is given in the stack trace.
-unSupportedMEP=Unsupported MEP {0}
-mepClientSupportOnly=This MEP client supports only {0} , and Axis operations supplied supports {1}
-inputstreamNull=Incoming message input stream is null
-unknownTransport=Unknown transport {0}
-paramIsNotSpecified={0} parameter is not specified
-groovyNoanswer=No answer received from groovy!!!!
-groovyUnableToLoad=Cannot load {0}
-outMessageNull=The out message is NULL, nothing to write
-canNotBeNull={0} can not be NULL
-notFound={0} not found
-transportError=Transport error {0} . Error Message is {1}
-preatureEOS=Premature end of stream
-responseTimeOut=Time out while waiting for the server to send the response
-2channelNeedAddressing=In order to use two transport channels, WS-Addressing module must be engaged
-useSeparateListenerLimited=useSeparateListener equals false is only supports by the http/tcp and tcp commons transport set as the sender and receiver
-replyNeedStarting=Before asking for ReplyTo, the TransportListener must be started. Transport is {0}
-failedToOpenSocket=failed to open the socket
-noRecep4Email=No recipient is found in the Email
-unknownMsgLabel=Unknown message label {0}
-cannotCorrelateMsg= Can not correlate the Message Operation {0} RelatesTo {1}
-addAfterInvoke00={0}:  the chain has already been invoked
-AandBdonotmatch={0} does not match {1} expected {3} but the values was {4}
-rpcNeedmatchingChild=rpc style expect the immediate child of the SOAP body 
-unknownStyle=Unknown Style {0}
-rawXmlProivdeIsLimited=Raw Xml provider supports only the methods bearing the signature public OMElement <method-name>(OMElement) where the method name can be anything
-methodNotImplemented=Implementation class does not define a method called
-blockInvocationExpectsRes=Blocking invocation always expects a response
-serviceGroupIDNotFound=SOAP session information can not be retrieved from the received correlation id.
-
-#    Client
-operationnotfound=Operation  {0} not found
-unsupportedyype=Unsupported type
-unknownsoapversion=Unknown SOAP version
-cannotfindamoduletoprocess=cannot find a module to process {0} type assertions
-noendpointfound=No Endpoint Found in Service, {0}
-endpointnotfound=Endpoint Not found
-unsupportdmep=Unsupported MEP
-noservicefound=No service found
-
-# context
-servicenotfound=Service not found
-threadpoolset=Thread pool already set.
-transportiniterror=Transport-OUT initialization error : {0}
-invalidserviceinagroup=Invalid service {0} not belong to service group {1}
-
-#     Deployment Errors
-wsdlfilenotfound=WSDL file not found for the service :   {0}
-servicexmlnotfound=services.xml not found for service ''{0}''
-modulexmlnotfound=module.xml not found  for the module :   {0}
-classnotfound=Class Not found :  {0}
-fileNotFound=File not found , {0}
-repocannotbebull=Axis2 repository can not be null
-confignotfound=can not find org/apache/axis2/deployment/axis2.xml
-pathtoconfigcanotnull=path to axis2.xml can not be NULL
-modulevalfailed=Module validation failed  {0}
-invalidphase=Invalid phases please recheck axis2.xml {0} for the handler {1}
-invalidmoduleref=Service {0} refer to invalid module  {1}
-invalidmodulerefbyop=Operation {0} refers to an invalid module  {1}
-addingnewmodule=adding new module
-settingcl=Setting class loader  {0}
-deployingws=Deploying Web service  {0}
-invalidservice=Invalid service  {0} due to {1}
-deployeingmodule=Deploying module : {0}
-invalidmodule=Invalid module : {0} caused {1}
-serviceremoved=Undeploying Web service  {0}
-typemappingnotallowed=Type Mappings are not allowed in axis2.xml
-errorinloadingmr={0} Error in loading message receivers {1}
-invalidconfigattribute=invalid attributes in axis2.xml {0} {1}
-undefinedFlowType=un-defined flow type {0}
-flowtypeisrequird=Flow type is a required attribute in  {0}
-elementisnotallow={0} element is not allowed in the axis2.xml
-outflownotallowedintrin=OUTFlow does not support in AxisTransportIN  {0}
-unknownelement=Unknown element {0}
-inflownotallowedintrout=InFlow is not supported in TransportOutDescription  {0}
-badarguforservice={0} Bad arguments for the service {1}
-typemappingnotimpl=Type mapping has not been implemented yet
-beanmappingnotimpl=Bean mapping has not been implemented yet
-modulenotfound={0} module is invalid or has not been deployed
-badparaagu=bad parameter arguments name can not be null : {0}
-badlistagu=bad listener arguments
-invalidhandlerdif=Handler cannot have both name and ref {0}
-thisshouldbeimplment=This should be implemented {0}
-opnotfoundinwsdl={0} Operation Name not found in WSDL
-badopattribute=bad attribute in operation  {0}
-unknownelementinop=Unknown element in operation {0}
-modulecannothavrbothnameandref=Module canot have both name and ref   {0}
-invalideleinmodule={0} elment is not allowed in module.xml
-invalidphase01=Invalid Phase : {0} for the handler {1} does not exit in axis2.xml or refering to phase in different flow
-invalidmodulerefbyconfig=reference to invalid module {0} by axis2.xml
-phasedosenotspecified=Phase is specified for the handler {0}                                            
-servicemodulecannothaveglobal=Service specific module can not refer system pre-defined phases :  {0}
-fnf=File not found
-fnf_e=File not found {0}
-StreamException=XMLStreamException : {0}
-mnf={0} : Module not found
-invalid_storage=Invalid storage class defintion, class name missing
-no_dispatcher_found=No dispatcher has been found , cannot continue ....
-noMetaInf=Invalid service META-INF directory not found
-ivs=Invalid service META-INF directory not found
-badModuleFromOperation=Error in engaging module {0} to the operation {1} , invalid module reference at operation
-badModuleFromService=Error in engaging module {0} to the operation {1} , invalid module reference at service
-InstantiationException=InstantiationException in Axis Storage processing  {0}
-IllegalAccessException=IllegalAccessException in Axis Storage processing  {0}
-transportSenderError=TransportSender Implementation class is required for the transport {0}
-obsererror=Observer Implementation Class is required
-invalidmoduleconfig=Invalid module configuration
-invalidhandler=Invalid Handler {0}
-parameterlockederror=The parameter {0}  has been locked at top level can not overide
-op_error=Processing Operations Modules {0}
-servicenameeror=Service name required
-invalid_op=Invalid Operation {0}
-cannotCorrelateMsg01=Cannot correlate MessageID {1} to {0}
-fileExistsNoOverwrite=File {0} will not be overwritten.
-cannotConnectError=Unable to connect
-failedJMSConnectorShutdown=failure in JMSConnectorShutdown
-errorinschemagen=Error in schema generating {0}
-errorininputstreamclose=Error in closing input stream
-phaseclassnotfound=Couldn't find phase class : {0} : {1}
-modulenamecannotnull=Module name can not be null in side default module vresion element
-documentcreatingerror=Exception occured when creating the Document from WSDL {0}
-noserviceelemtfound=No javax.wsdl.Service element is found
-serviceporterror=atleast one port should be specified
-soapbindingerror=atleast one port with a soap binding should be specified
-axisoperationcreateerror=Exception when creating AxisOperation for the AxisService {0}
-wrapperelementcreaterror=Exception occured while creating wrapper element
-policyprocessingerror=Exception occured when processing policy elements
-bothrepoandconfignull=neither repository location nor axis2.xml are given so system will continue using default configuration (using default_axis2.xml)
-cannotfindrepo=System can not find the given repository location: {0}
-norepofoundinaxis2=no repository location found in axis2.xml
-noservicedirfound=no services directory found , new one created
-nomoduledirfound=no modules directory found , new one created
-confdirnotfound=conf directory not found , and no axis2.xml file is given ! System will continue using default_axis2.xml
-noaxis2xmlfound=axis2.xml file not found in conf directory , system will continue using default_axis2.xml
-messagelabelcannotfound=message lebel can not be null
-paramterlockedbyparent=Parameter: {0} is already locked, hence value cannot be overridden
-modulealredyengaged={0}  module has already engaged to the operation operation terminated !!!
-mepmappingerror=Could not Map the MEP URI to a axis2 MEP constant value
-mepnotyetimplemented="The MEP you are using  {0} has not implemented createClient().
-modulealredyengagetoservice=Trying to engage a module which is already engege: {0}
-invalidoperation=invalid operation : {0}
-noschemafound=no schema found for the service
-modulenotavailble=Trying to engage a module which is not available : {0}
-modulealredyengagedtoservicegroup={0} module has already been engaged on the service Group. Operation terminated !!!
-servicenotfoundinwsdl=Service {0} not found in the wsdl
-noservicefoundinwsdl=No servoce found in the given wsdl
-noporttypefoundfor=No port found for the given port name : {0}
-noporttypefound=no port found in the service element
-modulenf=Module not found
-mepcompleted=Invalid message addition , operation context completed
-invalidacess=In valid acess
-mepiscomplted=MEP is already completed- need to reset() before re-executing.
-outmsgctxnull=Out message context is null please set the out message context before calling this method
-cannotreset=MEP is not yet complete: cannot reset
-cannotaddmsgctx=Can't add message context again until client has been executed
-#Policy
-emptypolicy=Policy Id is either null or empty
-#outMessageNull=Out message is null
-malformedURLException00=MalformedURLException:
-exception00=Exception:
-#Byte code reading for Java2WSDL
-badClassFile00=Error looking for paramter names in bytecode: input does not appear to be a valid class file
-cantLoadByecode=Unable to load bytecode for class "{0}"
-unexpectedEOF00=Error looking for paramter names in bytecode: unexpected end of file
-unexpectedBytes00=Error looking for paramter names in bytecode: unexpected bytes in file
-#description
-servicefound=Found AxisService : {0}
-operationfound=Found AxisOperation : {0}
-checkingoperation=Checking for Operation using WSAAction : {0}
-checkingserviceforepr=Checking for Service using toEPR's address : {0}
-checkingrelatesto=Checking RelatesTo : {0}
-twoservicecannothavesamename=Two services can not have same name, a service with {0} already exists in the system
-invalidservicegroupname=invalid service group name : {0}
-modulealredyengagedglobaly=Attempt to engage an already engaged module {0}
-refertoinvalidmodule=Refer to invalid module , has not bean deployed yet !
-serviceinactive=Trying to acess inactive service : {0}
-servicenamenotvalid=Invalid service name : {0}
-enginestarted=Axis Engine Started
-mustunderstandfaild=Must Understand check failed {0} : {1}
-receivederrormessage=Received Error Message with id {0}
-servicenotfoundforepr=Service Not found EPR is {0}
-operationnotfoundforepr=Operation Not found EPR is {0} and WSA Action =  {1}
-unabletofindservice=Service not found operation terminated !!
-invalidservicegrouoid=Invalid Service Group Id {0}
-servicenotfoundinthesystem=Invalid service {0}, not found in the system
-transportnotfound=Transport Not found {0}
-CannotConfigureAxis2=Cannot configure Axis2
+# Translation instructions.
+# 1.  Each message line is of the form key=value.
+#     Translate the value, DO NOT translate the key.
+# 2.  The messages may contain arguments that will be filled in
+#     by the runtime.  These are of the form: {0}, {1}, etc.
+#     These must appear as is in the message, though the order
+#     may be changed to support proper language syntax.
+# 3.  If a single quote character is to appear in the resulting
+#     message, it must appear in this file as two consecutive
+#     single quote characters.
+# 4.  Lines beginning with "#" (like this one) are comment lines
+#     and may contain translation instructions.  They need not be
+#     translated unless your translated file, rather than this file,
+#     will serve as a base for other translators.
+
+#############################################################################
+# DO NOT TOUCH THESE PROPERTIES - THEY ARE AUTOMATICALLY UPDATED BY THE BUILD
+# PROCESS.
+axisVersion=Apache Axis2 version: #axisVersion#
+axisVersionRaw=#axisVersion#
+axisBuiltOnRaw=#today#
+axisUserAgent=Axis/#axisVersion#
+builtOn=Built on #today#
+#############################################################################
+
+threadpoolshutdown=Thread pool has already been shutdown
+errorWhileSafeShutDown=Error during safe shutdown
+invaliduser=Invalid user name
+invalidSOAPversion=Invalid SOAP URI. Axis2 only supports SOAP 1.1 and 1.2
+cannotInferTransport=Cannot infer transport information from the URL {0}
+cannotInferTransportNoAddr=No address information in EPR, cannot infer transport
+cannotBeNullAxisOperation=Axis Operation can not be null
+cannotBeNullServiceContext=ServiceContext can not be null
+cannotBeNullConfigurationContext=ConfigurationContext can not be null
+cannotBeNullOperationContext=OperationContext can not be null
+nowhereToSendError=Nowhere to send the error, the return response path is missing and fault to has not been specified
+errorwhileProcessingFault=Error occured while processing fault, previous error is given in the stack trace.
+unSupportedMEP=Unsupported MEP {0}
+mepClientSupportOnly=This MEP client supports only {0} , and Axis operations supplied supports {1}
+inputstreamNull=Incoming message input stream is null
+unknownTransport=Unknown transport {0}
+paramIsNotSpecified={0} parameter is not specified
+groovyNoanswer=No answer received from groovy!!!!
+groovyUnableToLoad=Cannot load {0}
+outMessageNull=The out message is NULL, nothing to write
+canNotBeNull={0} can not be NULL
+notFound={0} not found
+transportError=Transport error {0} . Error Message is {1}
+preatureEOS=Premature end of stream
+responseTimeOut=Time out while waiting for the server to send the response
+2channelNeedAddressing=In order to use two transport channels, WS-Addressing module must be engaged
+useSeparateListenerLimited=useSeparateListener equals false is only supports by the http/tcp and tcp commons transport set as the sender and receiver
+replyNeedStarting=Before asking for ReplyTo, the TransportListener must be started. Transport is {0}
+failedToOpenSocket=failed to open the socket
+noRecep4Email=No recipient is found in the Email
+unknownMsgLabel=Unknown message label {0}
+cannotCorrelateMsg= Can not correlate the Message Operation {0} RelatesTo {1}
+addAfterInvoke00={0}:  the chain has already been invoked
+AandBdonotmatch={0} does not match {1} expected {3} but the values was {4}
+rpcNeedmatchingChild=rpc style expect the immediate child of the SOAP body 
+unknownStyle=Unknown Style {0}
+rawXmlProivdeIsLimited=Raw Xml provider supports only the methods bearing the signature public OMElement <method-name>(OMElement) where the method name can be anything
+methodNotImplemented=Implementation class does not define a method called
+blockInvocationExpectsRes=Blocking invocation always expects a response
+serviceGroupIDNotFound=SOAP session information can not be retrieved from the received correlation id.
+
+#    Client
+operationnotfound=Operation  {0} not found
+unsupportedyype=Unsupported type
+unknownsoapversion=Unknown SOAP version
+cannotfindamoduletoprocess=cannot find a module to process {0} type assertions
+noendpointfound=No Endpoint Found in Service, {0}
+endpointnotfound=Endpoint Not found
+unsupportdmep=Unsupported MEP
+noservicefound=No service found
+
+# context
+servicenotfound=Service not found
+threadpoolset=Thread pool already set.
+transportiniterror=Transport-OUT initialization error : {0}
+invalidserviceinagroup=Invalid service {0} not belong to service group {1}
+
+#     Deployment Errors
+wsdlfilenotfound=WSDL file not found for the service :   {0}
+servicexmlnotfound=services.xml not found for service ''{0}''
+modulexmlnotfound=module.xml not found  for the module :   {0}
+classnotfound=Class Not found :  {0}
+fileNotFound=File not found , {0}
+repocannotbebull=Axis2 repository can not be null
+confignotfound=can not find org/apache/axis2/deployment/axis2.xml
+pathtoconfigcanotnull=path to axis2.xml can not be NULL
+modulevalfailed=Module validation failed  {0}
+invalidphase=Invalid phases please recheck axis2.xml {0} for the handler {1}
+invalidmoduleref=Service {0} refer to invalid module  {1}
+invalidmodulerefbyop=Operation {0} refers to an invalid module  {1}
+addingnewmodule=adding new module
+settingcl=Setting class loader  {0}
+deployingws=Deploying Web service  {0}
+invalidservice=Invalid service  {0} due to {1}
+deployeingmodule=Deploying module : {0}
+invalidmodule=Invalid module : {0} caused {1}
+serviceremoved=Undeploying Web service  {0}
+typemappingnotallowed=Type Mappings are not allowed in axis2.xml
+errorinloadingmr={0} Error in loading message receivers {1}
+invalidconfigattribute=invalid attributes in axis2.xml {0} {1}
+undefinedFlowType=un-defined flow type {0}
+flowtypeisrequird=Flow type is a required attribute in  {0}
+elementisnotallow={0} element is not allowed in the axis2.xml
+outflownotallowedintrin=OUTFlow does not support in AxisTransportIN  {0}
+unknownelement=Unknown element {0}
+inflownotallowedintrout=InFlow is not supported in TransportOutDescription  {0}
+badarguforservice={0} Bad arguments for the service {1}
+typemappingnotimpl=Type mapping has not been implemented yet
+beanmappingnotimpl=Bean mapping has not been implemented yet
+modulenotfound={0} module is invalid or has not been deployed
+badparaagu=bad parameter arguments name can not be null : {0}
+badlistagu=bad listener arguments
+invalidhandlerdif=Handler cannot have both name and ref {0}
+thisshouldbeimplment=This should be implemented {0}
+opnotfoundinwsdl={0} Operation Name not found in WSDL
+badopattribute=bad attribute in operation  {0}
+unknownelementinop=Unknown element in operation {0}
+modulecannothavrbothnameandref=Module canot have both name and ref   {0}
+invalideleinmodule={0} elment is not allowed in module.xml
+invalidphase01=Invalid Phase : {0} for the handler {1} does not exit in axis2.xml or refering to phase in different flow
+invalidmodulerefbyconfig=reference to invalid module {0} by axis2.xml
+phasedosenotspecified=Phase is specified for the handler {0}                                            
+servicemodulecannothaveglobal=Service specific module can not refer system pre-defined phases :  {0}
+fnf=File not found
+fnf_e=File not found {0}
+StreamException=XMLStreamException : {0}
+mnf={0} : Module not found
+invalid_storage=Invalid storage class defintion, class name missing
+no_dispatcher_found=No dispatcher has been found , cannot continue ....
+noMetaInf=Invalid service META-INF directory not found
+ivs=Invalid service META-INF directory not found
+badModuleFromOperation=Error in engaging module {0} to the operation {1} , invalid module reference at operation
+badModuleFromService=Error in engaging module {0} to the operation {1} , invalid module reference at service
+InstantiationException=InstantiationException in Axis Storage processing  {0}
+IllegalAccessException=IllegalAccessException in Axis Storage processing  {0}
+transportSenderError=TransportSender Implementation class is required for the transport {0}
+obsererror=Observer Implementation Class is required
+invalidmoduleconfig=Invalid module configuration
+invalidhandler=Invalid Handler {0}
+parameterlockederror=The parameter {0}  has been locked at top level can not overide
+op_error=Processing Operations Modules {0}
+servicenameeror=Service name required
+invalid_op=Invalid Operation {0}
+cannotCorrelateMsg01=Cannot correlate MessageID {1} to {0}
+fileExistsNoOverwrite=File {0} will not be overwritten.
+cannotConnectError=Unable to connect
+failedJMSConnectorShutdown=failure in JMSConnectorShutdown
+errorinschemagen=Error in schema generating {0}
+errorininputstreamclose=Error in closing input stream
+phaseclassnotfound=Couldn't find phase class : {0} : {1}
+modulenamecannotnull=Module name can not be null in side default module vresion element
+documentcreatingerror=Exception occured when creating the Document from WSDL {0}
+noserviceelemtfound=No javax.wsdl.Service element is found
+serviceporterror=atleast one port should be specified
+soapbindingerror=atleast one port with a soap binding should be specified
+axisoperationcreateerror=Exception when creating AxisOperation for the AxisService {0}
+wrapperelementcreaterror=Exception occured while creating wrapper element
+policyprocessingerror=Exception occured when processing policy elements
+bothrepoandconfignull=neither repository location nor axis2.xml are given so system will continue using default configuration (using default_axis2.xml)
+cannotfindrepo=System can not find the given repository location: {0}
+norepofoundinaxis2=no repository location found in axis2.xml
+noservicedirfound=no services directory found , new one created
+nomoduledirfound=no modules directory found , new one created
+confdirnotfound=conf directory not found , and no axis2.xml file is given ! System will continue using default_axis2.xml
+noaxis2xmlfound=axis2.xml file not found in conf directory , system will continue using default_axis2.xml
+messagelabelcannotfound=message lebel can not be null
+paramterlockedbyparent=Parameter: {0} is already locked, hence value cannot be overridden
+modulealredyengaged={0}  module has already engaged to the operation operation terminated !!!
+mepmappingerror=Could not Map the MEP URI to a axis2 MEP constant value
+mepnotyetimplemented="The MEP you are using  {0} has not implemented createClient().
+modulealredyengagetoservice=Trying to engage a module which is already engege: {0}
+invalidoperation=invalid operation : {0}
+noschemafound=no schema found for the service
+modulenotavailble=Trying to engage a module which is not available : {0}
+modulealredyengagedtoservicegroup={0} module has already been engaged on the service Group. Operation terminated !!!
+servicenotfoundinwsdl=Service {0} not found in the wsdl
+noservicefoundinwsdl=No servoce found in the given wsdl
+noporttypefoundfor=No port found for the given port name : {0}
+noporttypefound=no port found in the service element
+modulenf=Module not found
+mepcompleted=Invalid message addition , operation context completed
+invalidacess=In valid acess
+mepiscomplted=MEP is already completed- need to reset() before re-executing.
+outmsgctxnull=Out message context is null please set the out message context before calling this method
+cannotreset=MEP is not yet complete: cannot reset
+cannotaddmsgctx=Can't add message context again until client has been executed
+#Policy
+emptypolicy=Policy Id is either null or empty
+#outMessageNull=Out message is null
+malformedURLException00=MalformedURLException:
+exception00=Exception:
+#Byte code reading for Java2WSDL
+badClassFile00=Error looking for paramter names in bytecode: input does not appear to be a valid class file
+cantLoadByecode=Unable to load bytecode for class "{0}"
+unexpectedEOF00=Error looking for paramter names in bytecode: unexpected end of file
+unexpectedBytes00=Error looking for paramter names in bytecode: unexpected bytes in file
+#description
+servicefound=Found AxisService : {0}
+operationfound=Found AxisOperation : {0}
+checkingoperation=Checking for Operation using WSAAction : {0}
+checkingserviceforepr=Checking for Service using toEPR's address : {0}
+checkingrelatesto=Checking RelatesTo : {0}
+twoservicecannothavesamename=Two services can not have same name, a service with {0} already exists in the system
+invalidservicegroupname=invalid service group name : {0}
+modulealredyengagedglobaly=Attempt to engage an already engaged module {0}
+refertoinvalidmodule=Refer to invalid module , has not bean deployed yet !
+serviceinactive=Trying to acess inactive service : {0}
+servicenamenotvalid=Invalid service name : {0}
+enginestarted=Axis Engine Started
+mustunderstandfaild=Must Understand check failed {0} : {1}
+receivederrormessage=Received Error Message with id {0}
+servicenotfoundforepr=Service Not found EPR is {0}
+operationnotfoundforepr=Operation Not found EPR is {0} and WSA Action =  {1}
+unabletofindservice=Service not found operation terminated !!
+invalidservicegrouoid=Invalid Service Group Id {0}
+servicenotfoundinthesystem=Invalid service {0}, not found in the system
+transportnotfound=Transport Not found {0}
+CannotConfigureAxis2=Cannot configure Axis2
+wsaddressingrequirednotpresent=WS-Addressing required but not found.
\ No newline at end of file

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java?rev=405857&r1=405856&r2=405857&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/addressing/AddressingConstants.java Fri May 12 13:17:55 2006
@@ -17,6 +17,8 @@
 
 package org.apache.axis2.addressing;
 
+import javax.xml.namespace.QName;
+
 /**
  * Interface AddressingConstants
  */
@@ -42,6 +44,22 @@
             "ServiceGroupContextIdFromAddressing";
     public static final String IS_ADDR_INFO_ALREADY_PROCESSED = "IsAddressingProcessed";
 
+    // ====================== WSDL Binding Constants ========================
+    public static final String USING_ADDRESSING = "UsingAddressing";
+    
+    // ====================== Addressing Requirement Levels ==================
+    // These are used to represent the requirement level on WS-Addressing indicated
+    // in a services.xml or a WSDL file.
+    // ADDRESSING_UNSPECIFIED is the equivalent of no UsingAddressing flag in a
+    // WSDL file and the default of the WSAddressingRequred attribute in service.xml
+    public static final String ADDRESSING_UNSPECIFIED = "unspecified";
+    // ADDRESSING_OPTIONAL is the equivalent of <wsaw:UsingAddressing required="false" />
+    // in a WSDL file
+    public static final String ADDRESSING_OPTIONAL    = "optional";
+    // ADDRESSING_REQUIRED is the equivalent of <wsaw:UsingAddressing required="true" />
+    // in a WSDL file
+    public static final String ADDRESSING_REQUIRED    = "required";
+    
     public interface Final {
 
         // ====================== Addressing 1.0 Final Version Constants ====================
@@ -74,6 +92,7 @@
         public static final String FAULT_ADDRESSING_HEADER_REQUIRED = "MessageAddressingHeaderRequired";
         public static final String FAULT_INVALID_CARDINALITY = "InvalidCardinality";
 
+        public static final QName WSAW_USING_ADDRESSING = new QName(WSAW_NAMESPACE,USING_ADDRESSING);
     }
 
 
@@ -87,5 +106,7 @@
                 "http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous";
 
         public static final String EPR_REFERENCE_PROPERTIES = "ReferenceProperties";
+        
+        public static final QName WSAW_USING_ADDRESSING = new QName(WSA_NAMESPACE,USING_ADDRESSING);
     }
 }

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentConstants.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentConstants.java?rev=405857&r1=405856&r2=405857&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentConstants.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/DeploymentConstants.java Fri May 12 13:17:55 2006
@@ -78,6 +78,7 @@
 
     // for parameters
     String ATTRIBUTE_NAME = "name";
+    String ATTRIBUTE_WSADDRESSING = "wsaddressing";
     String TARGET_NAME_SPACE = "targetNamespace";
     String SCHEMA_NAME_SPACE = "schemaNamespace";
     String SCHEMA = "schema";

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java?rev=405857&r1=405856&r2=405857&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/deployment/ServiceBuilder.java Fri May 12 13:17:55 2006
@@ -89,6 +89,13 @@
                 }
             }
 
+            // Process WS-Addressing flag attribute
+            OMAttribute addressingRequiredatt = service_element.getAttribute(new QName(ATTRIBUTE_WSADDRESSING));
+            if(addressingRequiredatt!=null){
+            	String addressingRequiredString = addressingRequiredatt.getAttributeValue();
+            	service.setWSAddressingFlag(addressingRequiredString);
+            }
+            
             //Setting service tratget namespace if any
             OMAttribute targetNameSpace = service_element.
                     getAttribute(new QName(TARGET_NAME_SPACE));

Modified: webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java?rev=405857&r1=405856&r2=405857&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java (original)
+++ webservices/axis2/trunk/java/modules/core/src/org/apache/axis2/description/AxisService.java Fri May 12 13:17:55 2006
@@ -20,6 +20,7 @@
 import org.apache.axiom.om.OMElement;
 import org.apache.axis2.AxisFault;
 import org.apache.axis2.Constants;
+import org.apache.axis2.addressing.AddressingConstants;
 import org.apache.axis2.addressing.EndpointReference;
 import org.apache.axis2.client.Options;
 import org.apache.axis2.deployment.util.PhasesInfo;
@@ -154,7 +155,21 @@
     private String soapNsUri;
     private String endpoint;
 
-
+    // Flag representing whether WS-Addressing is required to use this service.
+    // Reflects the wsaw:UsingAddressing wsdl extension element
+    private String wsaddressingFlag = AddressingConstants.ADDRESSING_UNSPECIFIED;
+    
+    public String getWSAddressingFlag(){
+    	return wsaddressingFlag;
+    }
+    
+    public void setWSAddressingFlag(String ar){
+    	wsaddressingFlag = ar;
+    	if(wsaddressingFlag == null){
+    		wsaddressingFlag = AddressingConstants.ADDRESSING_UNSPECIFIED;
+    	}
+    }
+    
     public boolean isSchemaLocationsAdjusted() {
         return schemaLocationsAdjusted;
     }