[jira] [Resolved] (AXIS2-4193) WSDL2JAVA no setters in ADBBean

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-4193.
---

   Resolution: Fixed
Fix Version/s: 1.6.3
   1.7.0
 Assignee: Sagara Gunathunga 

Fixed in r1362377.

> WSDL2JAVA no setters in ADBBean
> ---
>
> Key: AXIS2-4193
> URL: https://issues.apache.org/jira/browse/AXIS2-4193
> Project: Axis2
>  Issue Type: Bug
>  Components: adb, codegen
>Affects Versions: 1.4.1
>Reporter: Roger Niederland
>Assignee: Sagara Gunathunga 
> Fix For: 1.7.0, 1.6.3
>
> Attachments: SchemaCompiler.java.patch, SoapService.wsdl, gencode.zip
>
>
> Generating java classes using wsdl2java (as ADBBeans) (Axis2 version 1.4.1) 
>  on WSDL containing the following information: 
> 
>
>   
>
> 
> 
>
>   
>  use="required"/> 
>   
>
> 
> The generated PaymentAmount class has no setter or getter methods. 
> The generated Amount class has as expected setter and getter method for 
> Currency and Decimal. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Resolved] (AXIS2-5170) Empty xs:normalizedString parse and/or serialization error

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-5170.
---

   Resolution: Fixed
Fix Version/s: 1.7.0
 Assignee: Sagara Gunathunga 

Fixed in r1362388.

> Empty xs:normalizedString parse and/or serialization error
> --
>
> Key: AXIS2-5170
> URL: https://issues.apache.org/jira/browse/AXIS2-5170
> Project: Axis2
>  Issue Type: Bug
>  Components: codegen
>Affects Versions: 1.6.1
>Reporter: ilab
>Assignee: Sagara Gunathunga 
>Priority: Critical
> Fix For: 1.7.0
>
>
> The object, which is created by axis2 parsing an empty xs:normalizedString 
> tag, cannot be serialized as serialize(...) always throws "normalizedString 
> cannot be null!!" exception.
> Details:
> When org.apache.axis2.databinding.types.xsd.NormalizedString$Factory.parse() 
> method parses an empty xs:normalizedString tag, the following code runs:
> NormalizedString object = new NormalizedString();
> [...]
> object.setNormalizedString(org.apache.axis2.databinding.utils.ConverterUtil.convertToNormalizedString(content));
> Method convertToNormalizedString() returns null for null/empty string values.
> Afterwards, if NormalizedString.serialize(...) is called, it will throw 
> "normalizedString cannot be null!!" exception.
> For the full relevant code see for example 
> http://www.docjar.com/html/api/org/apache/axis2/databinding/utils/ConverterUtil.java.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is still unstable: Axis2 » Apache Axis2 - Kernel #1640

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 » Apache Axis2 - JSON #1640

2012-07-17 Thread Apache Jenkins Server
See 

--
[INFO] 
[INFO] Building Apache Axis2 - JSON
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 

[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 16 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[44,5]
 method does not override a method from its superclass

[ERROR] 
:[49,5]
 method does not override a method from its superclass

[ERROR] 
:[78,5]
 method does not override a method from its superclass

[ERROR] 
:[85,5]
 method does not override a method from its superclass

[ERROR] 
:[90,5]
 method does not override a method from its superclass

[ERROR] 
:[34,5]
 method does not override a method from its superclass

[INFO] 6 errors 
[INFO] -
[JENKINS] Archiving 
 to 
/home/hudson/hudson/jobs/Axis2/modules/org.apache.axis2$axis2-json/builds/2012-07-17_07-01-24/archive/org.apache.axis2/axis2-json/1.7.0-SNAPSHOT/axis2-json-1.7.0-SNAPSHOT.pom
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

:[44,5]
 method does not override a method from its superclass

:[49,5]
 method does not override a method from its superclass

:[78,5]
 method does not override a method from its superclass

:[85,5]
 method does not override a method from its superclass

:[90,5]
 method does not override a method from its superclass

:[34,5]
 method does not override a method from its superclass


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 34 minutes 53 seconds
[INFO] Finished at: Tue Jul 17 07:36:47 UTC 2012
[INFO] Final Memory: 84M/246M
[INFO] 
Maven failed with error.

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-4193) WSDL2JAVA no setters in ADBBean

2012-07-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415973#comment-13415973
 ] 

Hudson commented on AXIS2-4193:
---

Integrated in Axis2 #1640 (See [https://builds.apache.org/job/Axis2/1640/])
Fixed AXIS2-4193.
- Added support to generate code for types with nested extensions.
- Make sure mergeBeanWriterMetaInfoHolderForRestriction() method only apply for 
restrictions. 
- Improved XSD extension test coverage. (Revision 1362377)

 Result = FAILURE
sagara : 
Files : 
* 
/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
* 
/axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/writer/JavaBeanWriter.java
* 
/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/testsuite/extensions.xsd
* 
/axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java


> WSDL2JAVA no setters in ADBBean
> ---
>
> Key: AXIS2-4193
> URL: https://issues.apache.org/jira/browse/AXIS2-4193
> Project: Axis2
>  Issue Type: Bug
>  Components: adb, codegen
>Affects Versions: 1.4.1
>Reporter: Roger Niederland
>Assignee: Sagara Gunathunga 
> Fix For: 1.7.0, 1.6.3
>
> Attachments: SchemaCompiler.java.patch, SoapService.wsdl, gencode.zip
>
>
> Generating java classes using wsdl2java (as ADBBeans) (Axis2 version 1.4.1) 
>  on WSDL containing the following information: 
> 
>
>   
>
> 
> 
>
>   
>  use="required"/> 
>   
>
> 
> The generated PaymentAmount class has no setter or getter methods. 
> The generated Amount class has as expected setter and getter method for 
> Currency and Decimal. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 #1640

2012-07-17 Thread Apache Jenkins Server
See 

Changes:

[sagara] Fixed AXIS2-4193.
- Added support to generate code for types with nested extensions.
- Make sure mergeBeanWriterMetaInfoHolderForRestriction() method only apply for 
restrictions. 
- Improved XSD extension test coverage.

--
[...truncated 8545 lines...]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.24 sec
Running org.apache.axis2.engine.ObjectSave2Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.045 sec
Running org.apache.axis2.engine.WSDLClientTest
Running org.apache.axis2.swa.EchoRawSwAFileCacheTest
Running org.apache.axis2.rpc.AddressServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.516 sec
Running org.apache.axis2.engine.SOAPversionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.395 sec
Running org.apache.axis2.engine.MessageContextSaveBTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.206 sec
Running org.tempuri.complex.ComplexDataTypesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.801 sec
Running org.apache.axis2.engine.OperationContextSaveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.187 sec
Running org.apache.axis2.engine.map.MapServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.573 sec
Running org.apache.axis2.engine.ServiceCreateTest
Running org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest
Running org.apache.axis2.faults.SendingResponseFaultTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.358 sec
Running org.apache.axis2.engine.MessageContextSaveCTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.218 sec
Running org.apache.axis2.engine.HandlerFailureTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.367 sec
Running org.apache.axis2.transport.http.TransportHeadersTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.axis2.engine.UsingTransportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec
Running org.apache.axis2.engine.MessageSaveAndRestoreTest
Running org.apache.axis2.jaxrs.PojoTest
Running org.apache.axis2.engine.ServiceDispatchingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.441 sec
Running org.apache.axis2.engine.MessageContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.axis2.engine.ObjectSaveTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.apache.axis2.mtom.EchoRawMTOMFileCacheTest
Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest
Running org.apache.axis2.engine.CharactersetEncodingTest

Results :

Tests run: 283, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 

[INFO] [assembly:single {execution: source-release-assembly}]
[INFO] Skipping the assembly in this project because it's not the Execution Root
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 

[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] [gpg:sign {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/axis2/axis2-integration/1.7.0-SNAPSHOT/axis2-integration-1.7.0-20120717.070208-835.jar
11K uploaded  (axis2-integration-1.7.0-20120717.070208-835.jar)
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact 
org.apache.axis2:axis2-integration'
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot 
org.apache.axis2:axis2-integration:1.7.0-SNAPSHOT'
[INFO] Uploading project information for 

[jira] [Resolved] (AXIS2-5244) WSDL2Java Tool generates the SchemaCompilationException

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-5244.
---

   Resolution: Not A Problem
Fix Version/s: (was: 1.6.1)


 org.apache.axis2.schema.SchemaCompilationException: The referenced element 
'{http://schemas.ocbc.com/soa/emf/common/aggregates}CustomerID' was not found!

Make sure "CustomerID" element available on  
http://schemas.ocbc.com/soa/emf/common/aggregates namespace. Provided zip file 
contains large number of XSDs and we don't have time to go through each of them 
to find the issues.  If you can isolate this issue reopen with a simple 
WSDL/XSD. 

> WSDL2Java Tool generates the SchemaCompilationException
> ---
>
> Key: AXIS2-5244
> URL: https://issues.apache.org/jira/browse/AXIS2-5244
> Project: Axis2
>  Issue Type: Bug
>  Components: adb
>Affects Versions: 1.6.1
> Environment: Windows XP, Axis2 Version - 1.6.1, Java Version - 
> 1.6.0.20
>Reporter: Sumeet Chakraborty
> Attachments: CBS-AcctDepStaticBal-I.zip
>
>
> We are using the WSDL2Java tool to generate the client side stubs but we are 
> encountering the SchemaCompilationException. Following is the stack trace of 
> the exception that we are getting
> Exception Stack Trace ---
> _
> C:\Projects\OCBC_New\CBS-AcctDepStaticBal-I\Services\CBS-AcctDepStaticBal-I\WSDL
> >%AXIS2_HOME%\bin\WSDL2Java -uri CBS-AcctDepStaticBal-I-ConcreteHTTP.wsdl -p 
> >com
> .avaya.ept.ocbc.acctdepstaticbal -d adb -s -o build\client
> Using AXIS2_HOME:   C:\Softwares\axis2-1.6.1-bin\axis2-1.6.1
> Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_20
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> Retrieving document at 'CBS-AcctDepStaticBal-I-ConcreteHTTP.wsdl'.
> Retrieving schema at 
> '../Schemas/XML/CBS-AcctDepStaticBal-I-ServiceEnvelope.xsd'
> , relative to 
> 'file:/C:/Projects/OCBC_New/CBS-AcctDepStaticBal-I/Services/CBS-Ac
> ctDepStaticBal-I/WSDL/CBS-AcctDepStaticBal-I-ConcreteHTTP.wsdl'.
> Retrieving schema at 'CBS-AcctDepStaticBal-I.xsd', relative to 
> 'file:/C:/Project
> s/OCBC_New/CBS-AcctDepStaticBal-I/Services/CBS-AcctDepStaticBal-I/Schemas/XML/CB
> S-AcctDepStaticBal-I-ServiceEnvelope.xsd'.
> Retrieving schema at '../../../../Schemas/XML/AccountAggregates.xsd', 
> relative t
> o 
> 'file:/C:/Projects/OCBC_New/CBS-AcctDepStaticBal-I/Services/CBS-AcctDepStaticB
> al-I/Schemas/XML/CBS-AcctDepStaticBal-I.xsd'.
> Retrieving schema at 'CollateralElements.xsd', relative to 
> 'file:/C:/Projects/OC
> BC_New/CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'PaymentElements.xsd', relative to 
> 'file:/C:/Projects/OCBC_
> New/CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'SubAccountElements.xsd', relative to 
> 'file:/C:/Projects/OC
> BC_New/CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'FXAggregates.xsd', relative to 
> 'file:/C:/Projects/OCBC_New
> /CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'FXElements.xsd', relative to 
> 'file:/C:/Projects/OCBC_New/C
> BS-AcctDepStaticBal-I/Schemas/XML/FXAggregates.xsd'.
> Retrieving schema at 'CommonAggregates.xsd', relative to 
> 'file:/C:/Projects/OCBC
> _New/CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'AccountAggregates.xsd', relative to 
> 'file:/C:/Projects/OCB
> C_New/CBS-AcctDepStaticBal-I/Schemas/XML/CommonAggregates.xsd'.
> Retrieving schema at 'AccountElements.xsd', relative to 
> 'file:/C:/Projects/OCBC_
> New/CBS-AcctDepStaticBal-I/Schemas/XML/CommonAggregates.xsd'.
> Retrieving schema at 'CommonElements.xsd', relative to 
> 'file:/C:/Projects/OCBC_N
> ew/CBS-AcctDepStaticBal-I/Schemas/XML/CommonAggregates.xsd'.
> Retrieving schema at 'AccountElements.xsd', relative to 
> 'file:/C:/Projects/OCBC_
> New/CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'CreditCardElements.xsd', relative to 
> 'file:/C:/Projects/OC
> BC_New/CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'FXElements.xsd', relative to 
> 'file:/C:/Projects/OCBC_New/C
> BS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at 'CommonElements.xsd', relative to 
> 'file:/C:/Projects/OCBC_N
> ew/CBS-AcctDepStaticBal-I/Schemas/XML/AccountAggregates.xsd'.
> Retrieving schema at '../../../../Schemas/XML/AccountElements.xsd', relative 
> to
> 'file:/C:/Projects/OCBC_New/CBS-AcctDepStaticBal-I/Services/CBS-AcctDepStaticBal
> -I/Schemas/XML/CBS-AcctDepStaticBal-I.xsd'.
> Retrieving schema at '../../../../Schemas/XML/CommonAggregates.xsd', relative 
> to
>  
> 'file:/C:/Projects/OCBC_New/CBS-AcctDepStaticBal-I/Services/CBS-AcctDepStaticBa
> l-I/

[jira] [Resolved] (AXIS2-4023) adb binding of xsd:extension produces xsi:type="ns1:Extension_type0" not in schema

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-4023.
---

   Resolution: Fixed
Fix Version/s: 1.6.3
   1.7.0

This should work with 1.6.3 and 1.7.0.

> adb binding of xsd:extension produces xsi:type="ns1:Extension_type0" not in 
> schema
> --
>
> Key: AXIS2-4023
> URL: https://issues.apache.org/jira/browse/AXIS2-4023
> Project: Axis2
>  Issue Type: Bug
>  Components: adb
>Affects Versions: 1.4.1
> Environment: Tomcat 1.6, axis2 1.4.1, Windows XP, Eclipse 3.4
>Reporter: Andreas Schörk
> Fix For: 1.7.0, 1.6.3
>
>
> wsdl please see below
> The response of operation contains:
> 
>
> 
> 
>   
> 
> the extension of a restricted type:
>   
>   
>value="1024">
>   
>   
> this leads to a response of:
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns1:Extension_type0" lang="de">response
> since ns1:Extension_type0 is not in the schema, .Net does not accept this 
> package.
> Request Package:
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:ns1="http://www.example.org/repro/";>simplestring
> Response Package:
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>  xmlns:ns1="http://www.example.org/repro/";> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns1:Extension_type0" 
> lang="de">response
> Skeleton:
> public org.example.www.repro.ReproOperationResponse ReproOperation(
>   org.example.www.repro.ReproOperation reproOperation) {
>   ReproOperationResponse opResponse = new 
> ReproOperationResponse();
>   Extension_type0 resExt = new Extension_type0();
>   ReproStringType stype = new ReproStringType();
>   stype.setReproStringType("response");
>   resExt.setReproStringType("response");
>   Language l = new Language();
>   l.setValue("de");
>   resExt.setLang(l);
>   opResponse.setExtension(resExt);
>   return opResponse;
>   }
> WSDL:
> 
> http://www.example.org/repro/";
>   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
> xmlns:tns="http://www.example.org/repro/";
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
>   
>   http://www.example.org/repro/";>
>   
>   
>value="1024">
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>   
>   
>   
>   
>   
>   
>   
>element="tns:ReproOperation">
>   
>   
>element="tns:ReproOperationResponse">
>   
>   
>   
>message="tns:ReproOperationRequest">
>message="tns:ReproOperationResponse">
>   
>   
>   
>  transport="http://schemas.xmlsoap.org

Jenkins build is still unstable: Axis2 » Apache Axis2 - Kernel #1641

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 » Apache Axis2 - JSON #1641

2012-07-17 Thread Apache Jenkins Server
See 

--
[INFO] 
[INFO] Building Apache Axis2 - JSON
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 

[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 16 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[34,5]
 method does not override a method from its superclass

[ERROR] 
:[44,5]
 method does not override a method from its superclass

[ERROR] 
:[49,5]
 method does not override a method from its superclass

[ERROR] 
:[78,5]
 method does not override a method from its superclass

[ERROR] 
:[85,5]
 method does not override a method from its superclass

[ERROR] 
:[90,5]
 method does not override a method from its superclass

[INFO] 6 errors 
[INFO] -
[JENKINS] Archiving 
 to 
/home/hudson/hudson/jobs/Axis2/modules/org.apache.axis2$axis2-json/builds/2012-07-17_08-03-38/archive/org.apache.axis2/axis2-json/1.7.0-SNAPSHOT/axis2-json-1.7.0-SNAPSHOT.pom
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

:[34,5]
 method does not override a method from its superclass

:[44,5]
 method does not override a method from its superclass

:[49,5]
 method does not override a method from its superclass

:[78,5]
 method does not override a method from its superclass

:[85,5]
 method does not override a method from its superclass

:[90,5]
 method does not override a method from its superclass


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 35 minutes 41 seconds
[INFO] Finished at: Tue Jul 17 08:39:49 UTC 2012
[INFO] Final Memory: 84M/246M
[INFO] 
Waiting for Jenkins to finish collecting data
Maven failed with error.

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 #1641

2012-07-17 Thread Apache Jenkins Server
See 

Changes:

[sagara] Fixed AXIS2-5170- Can't find such constrain on 
http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#normalizedString.

--
[...truncated 8554 lines...]
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.apache.axis2.engine.WSDLClientTest
Running org.apache.axis2.rpc.AddressServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.499 sec
Running org.apache.axis2.swa.EchoRawSwAFileCacheTest
Running org.apache.axis2.engine.SOAPversionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.381 sec
Running org.tempuri.complex.ComplexDataTypesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.767 sec
Running org.apache.axis2.engine.MessageContextSaveBTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.2 sec
Running org.apache.axis2.engine.OperationContextSaveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.185 sec
Running org.apache.axis2.engine.map.MapServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.564 sec
Running org.apache.axis2.engine.ServiceCreateTest
Running org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest
Running org.apache.axis2.faults.SendingResponseFaultTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.351 sec
Running org.apache.axis2.engine.MessageContextSaveCTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 sec
Running org.apache.axis2.transport.http.TransportHeadersTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.axis2.engine.HandlerFailureTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.357 sec
Running org.apache.axis2.engine.UsingTransportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.391 sec
Running org.apache.axis2.engine.MessageSaveAndRestoreTest
Running org.apache.axis2.jaxrs.PojoTest
Running org.apache.axis2.engine.ServiceDispatchingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.415 sec
Running org.apache.axis2.engine.MessageContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.axis2.engine.ObjectSaveTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.044 sec
Running org.apache.axis2.mtom.EchoRawMTOMFileCacheTest
Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest
Running org.apache.axis2.engine.CharactersetEncodingTest

Results :

Tests run: 283, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 

[INFO] [assembly:single {execution: source-release-assembly}]
[INFO] Skipping the assembly in this project because it's not the Execution Root
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 

[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] [gpg:sign {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/axis2/axis2-integration/1.7.0-SNAPSHOT/axis2-integration-1.7.0-20120717.080424-836.jar
11K uploaded  (axis2-integration-1.7.0-20120717.080424-836.jar)
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact 
org.apache.axis2:axis2-integration'
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot 
org.apache.axis2:axis2-integration:1.7.0-SNAPSHOT'
[INFO] Uploading project information for axis2-integration 
1.7.0-20120717.080424-836
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/axis2/axis2-integration/1.7.0

[jira] [Commented] (AXIS2-5170) Empty xs:normalizedString parse and/or serialization error

2012-07-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416009#comment-13416009
 ] 

Hudson commented on AXIS2-5170:
---

Integrated in Axis2 #1641 (See [https://builds.apache.org/job/Axis2/1641/])
Fixed AXIS2-5170- Can't find such constrain on 
http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#normalizedString. (Revision 
1362388)

 Result = FAILURE
sagara : 
Files : 
* 
/axis/axis2/java/core/trunk/modules/adb/src/org/apache/axis2/databinding/utils/ConverterUtil.java
* 
/axis/axis2/java/core/trunk/modules/adb/test/org/apache/axis2/databinding/utils/ConverterUtilTest.java


> Empty xs:normalizedString parse and/or serialization error
> --
>
> Key: AXIS2-5170
> URL: https://issues.apache.org/jira/browse/AXIS2-5170
> Project: Axis2
>  Issue Type: Bug
>  Components: codegen
>Affects Versions: 1.6.1
>Reporter: ilab
>Assignee: Sagara Gunathunga 
>Priority: Critical
> Fix For: 1.7.0
>
>
> The object, which is created by axis2 parsing an empty xs:normalizedString 
> tag, cannot be serialized as serialize(...) always throws "normalizedString 
> cannot be null!!" exception.
> Details:
> When org.apache.axis2.databinding.types.xsd.NormalizedString$Factory.parse() 
> method parses an empty xs:normalizedString tag, the following code runs:
> NormalizedString object = new NormalizedString();
> [...]
> object.setNormalizedString(org.apache.axis2.databinding.utils.ConverterUtil.convertToNormalizedString(content));
> Method convertToNormalizedString() returns null for null/empty string values.
> Afterwards, if NormalizedString.serialize(...) is called, it will throw 
> "normalizedString cannot be null!!" exception.
> For the full relevant code see for example 
> http://www.docjar.com/html/api/org/apache/axis2/databinding/utils/ConverterUtil.java.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Resolved] (AXIS2-4946) union with xsi:type attribute causes infinite loop in generated ADB binding

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-4946?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-4946.
---

Resolution: Incomplete

Please attach a WSDL to reproduce this issue. 

> union with xsi:type attribute causes infinite loop in generated ADB binding
> ---
>
> Key: AXIS2-4946
> URL: https://issues.apache.org/jira/browse/AXIS2-4946
> Project: Axis2
>  Issue Type: Bug
>  Components: adb, codegen
>Affects Versions: 1.4.1
>Reporter: Nathan McDonald
>
> using axis 1.4.1 adb generation for server and client.  The server returns 
> response:
> http://schemas.xmlsoap.org/soap/envelope/";>
>
>xmlns:ns2="http://www.example.com/booking.xsd";>
>   AUD
>   http://www.example.com/common.xsd"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns1:HoldStatus">Confirmed
>   "
>
> 
> This gets client stuck in infinite loop trying to parse status.
> generation options used are:
> --noMessageReceiver -ss -s -or
> One of the people that used to work here 'hacked' the ADBBeanTemplate.xsl and 
> changed all the lines with:
> if 
> (reader.getAttributeValue("http://www.w3.org/2001/XMLSchema-instance","type";)!=null){
> to
> if (reader.getAttributeValue("","type")!=null){
> which seems to have 'fixed' the issue. though not sure this is correct or 
> could break something else.
> Looks similar to issue AXIS2-3401

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Resolved] (AXIS2-4186) Errors in Generated WSDLs with return types that are Interfaces

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-4186.
---

Resolution: Incomplete
  Assignee: (was: Deepal Jayasinghe)

> Errors in Generated WSDLs with return types that are Interfaces
> ---
>
> Key: AXIS2-4186
> URL: https://issues.apache.org/jira/browse/AXIS2-4186
> Project: Axis2
>  Issue Type: Bug
>  Components: codegen
>Reporter: Senaka Fernando
>
> When trying to create a client for a auto-generated WSDL in an Axis2 service, 
> I ran into several issues.
> The service has a method:  public A getOP() { ... }, where, A is an interface.
> Issue 1: The client generator converts A into an Object, which is technically 
> wrong.
> Now, assume that A is an interface with methods: setOPX, getOPX, and "A 
> extends B" where B is another interface with methods: setOPY, getOPY.
> Issue 2: The client-class generated for A, has setOPX, and getOPX, but NOT 
> setOPY, and getOPY.
> Also, assume that A had another method without a get/set prefix (ex:- isXSet)
> Issue 3: The client-class generated for A, did not have isXSet
> Finally,
> Issue 4: The client-class generated for A, is now an object. But, this object 
> does not have any data, and some garbage values are returned when the getXX() 
> methods are called.
> I have used the auto-generated WSDL exposed at 
> http://host:port/services/HelloWorld?wsdl, and the options used to generate 
> the client were provided to the WSDL2Java tool as: -uri HelloWorld.wsdl -u 
> -uw -o target/generated-code -p helloworld -ns2p . Please note that 
> HelloWorld.wsdl is a locally saved copy of the auto generated WSDL.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Resolved] (AXIS2-3459) The XSD2Java generation of the following XSD files produces wrong source code (unexisting methods in ConverterUtil class).

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-3459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-3459.
---

Resolution: Cannot Reproduce

> The XSD2Java generation of the following XSD files produces wrong source code 
> (unexisting methods in ConverterUtil class). 
> ---
>
> Key: AXIS2-3459
> URL: https://issues.apache.org/jira/browse/AXIS2-3459
> Project: Axis2
>  Issue Type: Bug
>  Components: codegen
>Affects Versions: 1.3
> Environment: Windows XP/Vista, Java 1.4.2_15
>Reporter: Heinz Zerbes
> Attachments: cm.zip
>
>
> The XSD2Java generation of the following XSD files produces wrong source code 
> (not compilable). The reference of XSD elements defined in imported XSD files 
> produces wrong (unexisting) method calls of the ConverterUtil class.
> The attachment cm.zip containes the files CmCcServiceRequest.xsd, 
> CmCcServiceResponsexsd. 
> Please call somthing like XSD2Java CmCcServiceRequest.xsd c:/temp
> In the generated files (e.g. UpdatePerformed.java) you can find unexisting 
> method calls for the class ConverterUtil: 
> object.setUpdateId(org.apache.axis2.databinding.utils.ConverterUtil.convertToUpdateId_type0(content));
>   // the method convertToUpdateId_type0() does not exist

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-3896) Bug with naming of the schema files. Results in schema writer overwriting schema files.

2012-07-17 Thread Sagara Gunathunga (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-3896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416025#comment-13416025
 ] 

Sagara Gunathunga  commented on AXIS2-3896:
---

Do you have any test case for this ? 

> Bug with naming of the schema files. Results in schema writer overwriting 
> schema files.
> ---
>
> Key: AXIS2-3896
> URL: https://issues.apache.org/jira/browse/AXIS2-3896
> Project: Axis2
>  Issue Type: Bug
>  Components: codegen
>Affects Versions: 1.4
> Environment: Tomcat 5.5.9, Windows XP, Java 1.5
>Reporter: Rost Vashevnik
>Assignee: Amila Chinthaka Suriarachchi
> Attachments: SchemaWriter.java
>
>
> I am using WSDL2Java in a way when it uses original WSDL.
> My WSDL file has imported shemas, so WSDL2Java attempts to read them and then 
> write them to target location. 
> In the process org.apache.axis2.description.AxisService decides to rename 
> shema files and give them extensions xsd0, xsd1, xsd2,etc (see 
> insertIntoNameTable() method of org.apache.axis2.description.AxisService 
> class). I understand that this is to prevent file name clashes when schema 
> locations are flattened in one directory. This is a good idea.
> Unfortunately, during actual writing (see method writeSchema() in 
> org.apache.axis2.wsdl.codegen.writer.SchemaWriter class - the generated file 
> extensions are lost and overwritten with constant '.xsd' extension.
> This causes problem for me as my schema files have same names (but originally 
> residing in different directories). I believe this is just a bug and have 
> fixed it on my local copy. 
> I am attaching modified SchemaWriter.java. Look for 'CHANGE BY METABOSS' 
> comment. It has origial code commented out and the change code inserted.
> Thank you

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-4023) adb binding of xsd:extension produces xsi:type="ns1:Extension_type0" not in schema

2012-07-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-4023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416055#comment-13416055
 ] 

Hudson commented on AXIS2-4023:
---

Integrated in Axis2 #1642 (See [https://builds.apache.org/job/Axis2/1642/])
Added test case for AXIS2-4023. (Revision 1362406)

 Result = FAILURE
sagara : 
Files : 
* 
/axis/axis2/java/core/trunk/modules/adb-codegen/test-resources/testsuite/extensions.xsd
* 
/axis/axis2/java/core/trunk/modules/adb-codegen/test/org/apache/axis2/schema/extension/SimpleExtensionTest.java


> adb binding of xsd:extension produces xsi:type="ns1:Extension_type0" not in 
> schema
> --
>
> Key: AXIS2-4023
> URL: https://issues.apache.org/jira/browse/AXIS2-4023
> Project: Axis2
>  Issue Type: Bug
>  Components: adb
>Affects Versions: 1.4.1
> Environment: Tomcat 1.6, axis2 1.4.1, Windows XP, Eclipse 3.4
>Reporter: Andreas Schörk
> Fix For: 1.7.0, 1.6.3
>
>
> wsdl please see below
> The response of operation contains:
> 
>
> 
> 
>   
> 
> the extension of a restricted type:
>   
>   
>value="1024">
>   
>   
> this leads to a response of:
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns1:Extension_type0" lang="de">response
> since ns1:Extension_type0 is not in the schema, .Net does not accept this 
> package.
> Request Package:
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:ns1="http://www.example.org/repro/";>simplestring
> Response Package:
>  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>  xmlns:ns1="http://www.example.org/repro/";> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="ns1:Extension_type0" 
> lang="de">response
> Skeleton:
> public org.example.www.repro.ReproOperationResponse ReproOperation(
>   org.example.www.repro.ReproOperation reproOperation) {
>   ReproOperationResponse opResponse = new 
> ReproOperationResponse();
>   Extension_type0 resExt = new Extension_type0();
>   ReproStringType stype = new ReproStringType();
>   stype.setReproStringType("response");
>   resExt.setReproStringType("response");
>   Language l = new Language();
>   l.setValue("de");
>   resExt.setLang(l);
>   opResponse.setExtension(resExt);
>   return opResponse;
>   }
> WSDL:
> 
> http://www.example.org/repro/";
>   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; 
> xmlns:tns="http://www.example.org/repro/";
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";>
>   
>   http://www.example.org/repro/";>
>   
>   
>value="1024">
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
>   
>   
>   
>   
>   
>   
>   
>   
>element="tns:ReproOperation">
>   
>   
>element="tns:

[jira] [Updated] (AXIS2-5369) Need to change the output of generated sources

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  updated AXIS2-5369:
--

Attachment: codegenSample.zip

> Need to change the output of generated sources 
> ---
>
> Key: AXIS2-5369
> URL: https://issues.apache.org/jira/browse/AXIS2-5369
> Project: Axis2
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.6.2
> Environment: maven, axis2
>Reporter: Tameem Ahmed
>  Labels: maven, newbie, test
> Attachments: codegenSample.zip
>
>
> Need to force the generated source to target/generated-sources/ instead of 
> target/generated-sources/axis2/wsdl2code/src.   
> I am using axis2 maven plugin from here 
> http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
> As per the documentation it generates and dumps sources in 
> target/generated-sources/axis2/wsdl2code/src.  For my project I am using many 
> other plugins which also generate sources and dump in 
> target/generated-sources.But when I add this plugin and other plugins 
> there is a conflict and throws an error that it cannot nest the directories 
> and asks me to remove axis2/wsd2Code/src.   Because of this I am not able to 
> use any other plugin along with this plugin.   Would really appreciate if 
> some can help me out of this situation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Updated] (AXIS2-5369) Need to change the output of generated sources

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  updated AXIS2-5369:
--

Priority: Major  (was: Blocker)

> Need to change the output of generated sources 
> ---
>
> Key: AXIS2-5369
> URL: https://issues.apache.org/jira/browse/AXIS2-5369
> Project: Axis2
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.6.2
> Environment: maven, axis2
>Reporter: Tameem Ahmed
>  Labels: maven, newbie, test
> Attachments: codegenSample.zip
>
>
> Need to force the generated source to target/generated-sources/ instead of 
> target/generated-sources/axis2/wsdl2code/src.   
> I am using axis2 maven plugin from here 
> http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
> As per the documentation it generates and dumps sources in 
> target/generated-sources/axis2/wsdl2code/src.  For my project I am using many 
> other plugins which also generate sources and dump in 
> target/generated-sources.But when I add this plugin and other plugins 
> there is a conflict and throws an error that it cannot nest the directories 
> and asks me to remove axis2/wsd2Code/src.   Because of this I am not able to 
> use any other plugin along with this plugin.   Would really appreciate if 
> some can help me out of this situation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is still unstable: Axis2 » Apache Axis2 - Kernel #1642

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 » Apache Axis2 - JSON #1642

2012-07-17 Thread Apache Jenkins Server
See 

--
[INFO] 
[INFO] Building Apache Axis2 - JSON
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 

[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 16 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[34,5]
 method does not override a method from its superclass

[ERROR] 
:[44,5]
 method does not override a method from its superclass

[ERROR] 
:[49,5]
 method does not override a method from its superclass

[ERROR] 
:[78,5]
 method does not override a method from its superclass

[ERROR] 
:[85,5]
 method does not override a method from its superclass

[ERROR] 
:[90,5]
 method does not override a method from its superclass

[INFO] 6 errors 
[INFO] -
[JENKINS] Archiving 
 to 
/home/hudson/hudson/jobs/Axis2/modules/org.apache.axis2$axis2-json/builds/2012-07-17_09-35-53/archive/org.apache.axis2/axis2-json/1.7.0-SNAPSHOT/axis2-json-1.7.0-SNAPSHOT.pom
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

:[34,5]
 method does not override a method from its superclass

:[44,5]
 method does not override a method from its superclass

:[49,5]
 method does not override a method from its superclass

:[78,5]
 method does not override a method from its superclass

:[85,5]
 method does not override a method from its superclass

:[90,5]
 method does not override a method from its superclass


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 36 minutes 2 seconds
[INFO] Finished at: Tue Jul 17 10:12:25 UTC 2012
[INFO] Final Memory: 85M/246M
[INFO] 
Maven failed with error.

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 #1642

2012-07-17 Thread Apache Jenkins Server
See 

Changes:

[sagara] Added test case for AXIS2-4023.

--
[...truncated 8672 lines...]
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.408 sec
Running org.tempuri.complex.ComplexDataTypesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.873 sec
Running org.apache.axis2.engine.MessageContextSaveBTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 sec
Running org.apache.axis2.engine.OperationContextSaveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 sec
Running org.apache.axis2.engine.map.MapServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.573 sec
Running org.apache.axis2.engine.ServiceCreateTest
Running org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest
Running org.apache.axis2.faults.SendingResponseFaultTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.351 sec
Running org.apache.axis2.engine.MessageContextSaveCTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.226 sec
Running org.apache.axis2.transport.http.TransportHeadersTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.axis2.engine.HandlerFailureTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.366 sec
Running org.apache.axis2.engine.UsingTransportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.387 sec
Running org.apache.axis2.engine.MessageSaveAndRestoreTest
Running org.apache.axis2.jaxrs.PojoTest
Running org.apache.axis2.engine.ServiceDispatchingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.426 sec
Running org.apache.axis2.engine.MessageContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.apache.axis2.engine.ObjectSaveTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.apache.axis2.mtom.EchoRawMTOMFileCacheTest
Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest
Running org.apache.axis2.engine.CharactersetEncodingTest

Results :

Tests run: 283, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 

[INFO] [assembly:single {execution: source-release-assembly}]
[INFO] Skipping the assembly in this project because it's not the Execution Root
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 

[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] [gpg:sign {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'551da1a42c652502ae1b1958a5ce0b069f9e2a27'; remote = 
'840e1e546af9c763a3f78aa00050ec2d30a1d72f' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'551da1a42c652502ae1b1958a5ce0b069f9e2a27'; remote = 
'840e1e546af9c763a3f78aa00050ec2d30a1d72f' - IGNORING
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/axis2/axis2-integration/1.7.0-SNAPSHOT/axis2-integration-1.7.0-20120717.093638-837.jar
11K uploaded  (axis2-integration-1.7.0-20120717.093638-837.jar)
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact 
org.apache.axis2:axis2-integration'
[INFO] Retrieving previous metadata from apache.snapshots.https
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'551da1a42c652502ae1b1958a5ce0b069f9e2a27'; remote = 
'840e1e546af9c763a3f78aa00050ec2d30a1d72f' - RETRYING
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'551da1a42c652502ae1b1958a5ce0b069f9e2a27'; remote = 
'840e1e546af9c763a3f78aa00050ec2d30a1d72f' - IGNORING
[INFO] Uploading repository metadata for: 'snapshot 
org.apache.axis2:axis2-integration

Handling multiple response in Axis1.2

2012-07-17 Thread CV, Tejaswi (SPD)
Hi,

We are using Axis1.2 as a webservice client, our server is a gSOAP server. We 
have come across a situation where we are not able to handle multiple response 
at the client end. To elaborate, we send a request to the server and the server 
sends multiple responses (for a single request), which is multiple soap 
envelopes on the same connection. So axis tries to receive both of them and try 
to parse but this will be unsuccessful and gives a sax exception. But for our 
requirement, what we want is the axis should parse the first envelope as soon 
as it comes on the socket and then get the next envelope and parse and so on 
until the connection is closed. Please let us know if this is possible using 
Axis

We want to use Axis1.2 itself and not Axis2 as we want to support DIME 
attachment and this is not supported in Axis2.

Thanks,
Tejaswi


Thanks,
Tejaswi



[jira] [Resolved] (AXIS2-5369) Need to change the output of generated sources

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-5369.
---

Resolution: Not A Problem

By default Axis2 code generate tool generate codes on 
"target/generated-sources/axis2/wsdl2code/src" by setting outputDirectory it is 
possible to change the out put directory location.

${project.build.directory}/generated-sources

After adding above line it will generate codes on 
""target/generated-sources/src", note that removing "src" directory is a not a 
possible option for Axis2 for the moment. 

Please refer attached sample it will generate code and compile with default 
"mvn clean install " command.  If you need more customization options  refer 
build-helper-maven-plugin. 

Clearly this is not a bug or issue in Axis2 context. 

> Need to change the output of generated sources 
> ---
>
> Key: AXIS2-5369
> URL: https://issues.apache.org/jira/browse/AXIS2-5369
> Project: Axis2
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.6.2
> Environment: maven, axis2
>Reporter: Tameem Ahmed
>  Labels: maven, newbie, test
> Attachments: codegenSample.zip
>
>
> Need to force the generated source to target/generated-sources/ instead of 
> target/generated-sources/axis2/wsdl2code/src.   
> I am using axis2 maven plugin from here 
> http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
> As per the documentation it generates and dumps sources in 
> target/generated-sources/axis2/wsdl2code/src.  For my project I am using many 
> other plugins which also generate sources and dump in 
> target/generated-sources.But when I add this plugin and other plugins 
> there is a conflict and throws an error that it cannot nest the directories 
> and asks me to remove axis2/wsd2Code/src.   Because of this I am not able to 
> use any other plugin along with this plugin.   Would really appreciate if 
> some can help me out of this situation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Resolved] (AXIS2-4073) Extend the schema generation providing ability to generate wrapped array types

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-4073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-4073.
---

Resolution: Fixed

> Extend the schema generation providing ability to generate wrapped array types
> --
>
> Key: AXIS2-4073
> URL: https://issues.apache.org/jira/browse/AXIS2-4073
> Project: Axis2
>  Issue Type: New Feature
>  Components: kernel
>Reporter: Detelin Yordanov
>
> Currently the schema generator will create unwrapped array schema types, e.g. 
> for a String[]:
> 
> 
>  nillable="true" type="xs:string"/>
> 
> 
> It would be valuable if it could also generate array types in wrapped format 
> which is the default behaviour in .NET and JAX-WS, e.g.
> 
> 
>  type="ArrayOfString"/>
> 
> 
> 
> 
>  nillable="true" type="xs:string"/>
> 
> 
> The wrapped format has certain benefits over the unwrapped one, more on this 
> can be found in this article:
> http://www.ibm.com/developerworks/webservices/library/ws-array/ .
> This option can possibly be configured with a parameter in the axis2 
> configuration (or per service level).
> The parameter could be named "generateWrappedArrayTypes" or something like 
> this. The default should be not to generate wrapped array types as it is 
> right now providing backward compatibility.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Updated] (AXIS2-5289) Request for a doc which describes how to set an axis2 classpath manually: purpose of each jars in the /lib folder

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  updated AXIS2-5289:
--

Fix Version/s: (was: 1.6.3)
   1.7.0

> Request for a doc which describes how to set an axis2 classpath manually: 
> purpose of each jars in the /lib folder
> 
>
> Key: AXIS2-5289
> URL: https://issues.apache.org/jira/browse/AXIS2-5289
> Project: Axis2
>  Issue Type: Improvement
>  Components: documentation
>Affects Versions: 1.6.1
>Reporter: François Courtault
> Fix For: 1.7.0
>
>
> I want to set an axis2 client classpath manually but I didn't find any useful 
> axis2 doc which gives me this information.
> On another webservice stack (CXF) I have been able to find such doc at 
> http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/lib/WHICH_JARS?view=markup
> So the question is: why the axis2 team doesn't provide this information which 
> could be very useful ?
> Best Regards.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-4162) AxisDescription.applyPolicy() fails to engage any neccessary modules if called on AxisBinding/AxisEndpoint

2012-07-17 Thread Sagara Gunathunga (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416161#comment-13416161
 ] 

Sagara Gunathunga  commented on AXIS2-4162:
---

Patch applied in r1362479.

Thanks for patch Detelin , you are welcome for further improvement on this area 
according to your suggestion.   

> AxisDescription.applyPolicy() fails to engage any neccessary modules if 
> called on AxisBinding/AxisEndpoint
> --
>
> Key: AXIS2-4162
> URL: https://issues.apache.org/jira/browse/AXIS2-4162
> Project: Axis2
>  Issue Type: Bug
>  Components: kernel
>Affects Versions: 1.4, 1.4.1, nightly
>Reporter: Detelin Yordanov
> Attachments: patch.txt
>
>
> Hi guys,
>I have been using the applyPolicy() method to automatically engage any 
> modules required for the current policy.  Nandana pointed me out that this is 
> also being used in ADB generated client and I expected it to work properly 
> any AxisDescription instance.
> However I noticed that if calling this method on AxisEndpoint and AxisBinding 
> nothing happens - the policy is there but the modules do not get engaged.
> It seems that the reason for this is that the applyPolicy() iterates over the 
> children of the current AxisDescription till it reaches the AxisMessage, then 
> goes up the hierarchy collecting the effective policy.
> This works fine when called on any AxisDescription in the AxisService -> 
> AxisOperation(s) -> AxisMessage(s) hierarchy, but if it is called on the
> AxisEndpoint it does not go further below since the AxisBinding is not added 
> as a child to the AxisEndpoint.
> Furthermore even if it was able to go down and reach any potential 
> AxisBindingMessages in the 
> AxisEndpoint -> AxisBinding -> AxisBindingOperation -> AxisBindingMessage 
> hierarchy it would not be able to compute the effective policy since the 
> getApplicablePolicy(AxisDescription) method is working only on an AxisMessage 
> instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Resolved] (AXIS2-4162) AxisDescription.applyPolicy() fails to engage any neccessary modules if called on AxisBinding/AxisEndpoint

2012-07-17 Thread Sagara Gunathunga (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sagara Gunathunga  resolved AXIS2-4162.
---

   Resolution: Fixed
Fix Version/s: 1.7.0

> AxisDescription.applyPolicy() fails to engage any neccessary modules if 
> called on AxisBinding/AxisEndpoint
> --
>
> Key: AXIS2-4162
> URL: https://issues.apache.org/jira/browse/AXIS2-4162
> Project: Axis2
>  Issue Type: Bug
>  Components: kernel
>Affects Versions: 1.4, 1.4.1, nightly
>Reporter: Detelin Yordanov
> Fix For: 1.7.0
>
> Attachments: patch.txt
>
>
> Hi guys,
>I have been using the applyPolicy() method to automatically engage any 
> modules required for the current policy.  Nandana pointed me out that this is 
> also being used in ADB generated client and I expected it to work properly 
> any AxisDescription instance.
> However I noticed that if calling this method on AxisEndpoint and AxisBinding 
> nothing happens - the policy is there but the modules do not get engaged.
> It seems that the reason for this is that the applyPolicy() iterates over the 
> children of the current AxisDescription till it reaches the AxisMessage, then 
> goes up the hierarchy collecting the effective policy.
> This works fine when called on any AxisDescription in the AxisService -> 
> AxisOperation(s) -> AxisMessage(s) hierarchy, but if it is called on the
> AxisEndpoint it does not go further below since the AxisBinding is not added 
> as a child to the AxisEndpoint.
> Furthermore even if it was able to go down and reach any potential 
> AxisBindingMessages in the 
> AxisEndpoint -> AxisBinding -> AxisBindingOperation -> AxisBindingMessage 
> hierarchy it would not be able to compute the effective policy since the 
> getApplicablePolicy(AxisDescription) method is working only on an AxisMessage 
> instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is still unstable: Axis2 » Apache Axis2 - Kernel #1643

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 » Apache Axis2 - JSON #1643

2012-07-17 Thread Apache Jenkins Server
See 

--
[INFO] 
[INFO] Building Apache Axis2 - JSON
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 

[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 16 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[34,5]
 method does not override a method from its superclass

[ERROR] 
:[44,5]
 method does not override a method from its superclass

[ERROR] 
:[49,5]
 method does not override a method from its superclass

[ERROR] 
:[78,5]
 method does not override a method from its superclass

[ERROR] 
:[85,5]
 method does not override a method from its superclass

[ERROR] 
:[90,5]
 method does not override a method from its superclass

[INFO] 6 errors 
[INFO] -
[JENKINS] Archiving 
 to 
/home/hudson/hudson/jobs/Axis2/modules/org.apache.axis2$axis2-json/builds/2012-07-17_13-01-16/archive/org.apache.axis2/axis2-json/1.7.0-SNAPSHOT/axis2-json-1.7.0-SNAPSHOT.pom
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

:[34,5]
 method does not override a method from its superclass

:[44,5]
 method does not override a method from its superclass

:[49,5]
 method does not override a method from its superclass

:[78,5]
 method does not override a method from its superclass

:[85,5]
 method does not override a method from its superclass

:[90,5]
 method does not override a method from its superclass


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 34 minutes 5 seconds
[INFO] Finished at: Tue Jul 17 13:35:47 UTC 2012
[INFO] Final Memory: 84M/246M
[INFO] 
Maven failed with error.

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 #1643

2012-07-17 Thread Apache Jenkins Server
See 

Changes:

[sagara] Upgrade HTTPClient and HTTPCore versions in to 4.2.1

--
[...truncated 8531 lines...]
Running org.apache.axis2.engine.MessageContextSaveATest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec
Running org.apache.axis2.engine.ObjectSave2Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.apache.axis2.engine.WSDLClientTest
Running org.apache.axis2.rpc.AddressServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.496 sec
Running org.apache.axis2.swa.EchoRawSwAFileCacheTest
Running org.apache.axis2.engine.SOAPversionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.383 sec
Running org.tempuri.complex.ComplexDataTypesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.78 sec
Running org.apache.axis2.engine.MessageContextSaveBTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.195 sec
Running org.apache.axis2.engine.OperationContextSaveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.184 sec
Running org.apache.axis2.engine.map.MapServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.56 sec
Running org.apache.axis2.engine.ServiceCreateTest
Running org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest
Running org.apache.axis2.faults.SendingResponseFaultTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.347 sec
Running org.apache.axis2.engine.MessageContextSaveCTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.213 sec
Running org.apache.axis2.transport.http.TransportHeadersTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.022 sec
Running org.apache.axis2.engine.HandlerFailureTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.358 sec
Running org.apache.axis2.engine.UsingTransportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.39 sec
Running org.apache.axis2.engine.MessageSaveAndRestoreTest
Running org.apache.axis2.jaxrs.PojoTest
Running org.apache.axis2.engine.ServiceDispatchingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.411 sec
Running org.apache.axis2.engine.MessageContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 sec
Running org.apache.axis2.engine.ObjectSaveTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running org.apache.axis2.mtom.EchoRawMTOMFileCacheTest
Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest
Running org.apache.axis2.engine.CharactersetEncodingTest

Results :

Tests run: 283, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 

[INFO] [assembly:single {execution: source-release-assembly}]
[INFO] Skipping the assembly in this project because it's not the Execution Root
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 

[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] [gpg:sign {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/axis2/axis2-integration/1.7.0-SNAPSHOT/axis2-integration-1.7.0-20120717.130157-838.jar
11K uploaded  (axis2-integration-1.7.0-20120717.130157-838.jar)
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact 
org.apache.axis2:axis2-integration'
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot 
org.apache.axis2:axis2-integration:1.7.0-SNAPSHOT'
[INFO] Uploading project information for axis2-integration 
1.7.0-20120717.130157-838
[INFO] Retrieving previous build number from apache.snapshots.https
U

[jira] [Updated] (AXIS2-5350) Service dependencies are included in webapp

2012-07-17 Thread Auke Schrijnen (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Auke Schrijnen updated AXIS2-5350:
--

Attachment: aar-dependency-bug.zip

As requested on the mailing list, a sample project. When the root project is 
build with 'mvn package' the dependency 'commons-lang-2.6.jar' is packed in 
'service/target/my-service-1.0.0-SNAPSHOT.aar' (lib/commons-lang-2.6.jar) and 
in 'webapp/target/my-webapp-1.0.0-SNAPSHOT.war' 
(WEB-INF/lib/commons-io-1.4.jar).

> Service dependencies are included in webapp
> ---
>
> Key: AXIS2-5350
> URL: https://issues.apache.org/jira/browse/AXIS2-5350
> Project: Axis2
>  Issue Type: Bug
>  Components: Tools
>Affects Versions: 1.7.0
>Reporter: Auke Schrijnen
>Priority: Minor
> Attachments: 
> 0001-Include-optional-dependencies-in-aar-and-mar-plugin.patch, 
> aar-dependency-bug.zip
>
>
> When a axis2 service defined as an aar package in maven is used as dependency 
> in a war webapp project all dependencies of the service are included in the 
> webapp. There is no way to include the dependencies only in the service 
> (.aar).
> To achieve this, the axis2 aar maven plugin could add optional dependencies, 
> which are currently ignored (AbstractAarMojo.java @ 180).
> This is also the case for the axis2 mar maven plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 » Apache Axis2 - JSON #1644

2012-07-17 Thread Apache Jenkins Server
See 

--
[INFO] 
[INFO] Building Apache Axis2 - JSON
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 

[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 16 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[44,5]
 method does not override a method from its superclass

[ERROR] 
:[49,5]
 method does not override a method from its superclass

[ERROR] 
:[78,5]
 method does not override a method from its superclass

[ERROR] 
:[85,5]
 method does not override a method from its superclass

[ERROR] 
:[90,5]
 method does not override a method from its superclass

[ERROR] 
:[34,5]
 method does not override a method from its superclass

[INFO] 6 errors 
[INFO] -
[JENKINS] Archiving 
 to 
/home/hudson/hudson/jobs/Axis2/modules/org.apache.axis2$axis2-json/builds/2012-07-17_14-01-25/archive/org.apache.axis2/axis2-json/1.7.0-SNAPSHOT/axis2-json-1.7.0-SNAPSHOT.pom
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

:[44,5]
 method does not override a method from its superclass

:[49,5]
 method does not override a method from its superclass

:[78,5]
 method does not override a method from its superclass

:[85,5]
 method does not override a method from its superclass

:[90,5]
 method does not override a method from its superclass

:[34,5]
 method does not override a method from its superclass


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 28 minutes 25 seconds
[INFO] Finished at: Tue Jul 17 14:29:58 GMT 2012
[INFO] Final Memory: 85M/246M
[INFO] 
Maven failed with error.

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is still unstable: Axis2 » Apache Axis2 - Kernel #1644

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-4162) AxisDescription.applyPolicy() fails to engage any neccessary modules if called on AxisBinding/AxisEndpoint

2012-07-17 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416242#comment-13416242
 ] 

Hudson commented on AXIS2-4162:
---

Integrated in Axis2 #1644 (See [https://builds.apache.org/job/Axis2/1644/])
Manually adding patch for AXIS2-4162. (Revision 1362479)

 Result = FAILURE
sagara : 
Files : 
* 
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisBinding.java
* 
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisBindingMessage.java
* 
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisBindingOperation.java
* 
/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/AxisEndpoint.java


> AxisDescription.applyPolicy() fails to engage any neccessary modules if 
> called on AxisBinding/AxisEndpoint
> --
>
> Key: AXIS2-4162
> URL: https://issues.apache.org/jira/browse/AXIS2-4162
> Project: Axis2
>  Issue Type: Bug
>  Components: kernel
>Affects Versions: 1.4, 1.4.1, nightly
>Reporter: Detelin Yordanov
> Fix For: 1.7.0
>
> Attachments: patch.txt
>
>
> Hi guys,
>I have been using the applyPolicy() method to automatically engage any 
> modules required for the current policy.  Nandana pointed me out that this is 
> also being used in ADB generated client and I expected it to work properly 
> any AxisDescription instance.
> However I noticed that if calling this method on AxisEndpoint and AxisBinding 
> nothing happens - the policy is there but the modules do not get engaged.
> It seems that the reason for this is that the applyPolicy() iterates over the 
> children of the current AxisDescription till it reaches the AxisMessage, then 
> goes up the hierarchy collecting the effective policy.
> This works fine when called on any AxisDescription in the AxisService -> 
> AxisOperation(s) -> AxisMessage(s) hierarchy, but if it is called on the
> AxisEndpoint it does not go further below since the AxisBinding is not added 
> as a child to the AxisEndpoint.
> Furthermore even if it was able to go down and reach any potential 
> AxisBindingMessages in the 
> AxisEndpoint -> AxisBinding -> AxisBindingOperation -> AxisBindingMessage 
> hierarchy it would not be able to compute the effective policy since the 
> getApplicablePolicy(AxisDescription) method is working only on an AxisMessage 
> instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 #1644

2012-07-17 Thread Apache Jenkins Server
See 

Changes:

[sagara] Manually adding patch for AXIS2-4162.

--
[...truncated 8546 lines...]
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.175 sec
Running org.apache.axis2.engine.ObjectSave2Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.034 sec
Running org.apache.axis2.engine.WSDLClientTest
Running org.apache.axis2.rpc.AddressServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.377 sec
Running org.apache.axis2.swa.EchoRawSwAFileCacheTest
Running org.apache.axis2.engine.SOAPversionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.292 sec
Running org.tempuri.complex.ComplexDataTypesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.301 sec
Running org.apache.axis2.engine.MessageContextSaveBTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec
Running org.apache.axis2.engine.OperationContextSaveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.135 sec
Running org.apache.axis2.engine.map.MapServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.481 sec
Running org.apache.axis2.engine.ServiceCreateTest
Running org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest
Running org.apache.axis2.faults.SendingResponseFaultTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.26 sec
Running org.apache.axis2.engine.MessageContextSaveCTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.161 sec
Running org.apache.axis2.engine.HandlerFailureTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.271 sec
Running org.apache.axis2.engine.UsingTransportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.28 sec
Running org.apache.axis2.transport.http.TransportHeadersTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
Running org.apache.axis2.engine.MessageSaveAndRestoreTest
Running org.apache.axis2.jaxrs.PojoTest
Running org.apache.axis2.engine.ServiceDispatchingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.308 sec
Running org.apache.axis2.engine.MessageContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 sec
Running org.apache.axis2.engine.ObjectSaveTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.035 sec
Running org.apache.axis2.mtom.EchoRawMTOMFileCacheTest
Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest
Running org.apache.axis2.engine.CharactersetEncodingTest

Results :

Tests run: 283, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 

[INFO] [assembly:single {execution: source-release-assembly}]
[INFO] Skipping the assembly in this project because it's not the Execution Root
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 

[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] [gpg:sign {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/axis2/axis2-integration/1.7.0-SNAPSHOT/axis2-integration-1.7.0-20120717.140143-839.jar
11K uploaded  (axis2-integration-1.7.0-20120717.140143-839.jar)
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact 
org.apache.axis2:axis2-integration'
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot 
org.apache.axis2:axis2-integration:1.7.0-SNAPSHOT'
[INFO] Uploading project information for axis2-integration 
1.7.0-20120717.140143-839
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots

[jira] [Comment Edited] (AXIS2-5350) Service dependencies are included in webapp

2012-07-17 Thread Auke Schrijnen (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416178#comment-13416178
 ] 

Auke Schrijnen edited comment on AXIS2-5350 at 7/17/12 2:54 PM:


As requested on the mailing list, a sample project. When the root project is 
build with 'mvn package' the dependency 'commons-lang-2.6.jar' is packed in 
'service/target/my-service-1.0.0-SNAPSHOT.aar' (lib/commons-lang-2.6.jar) and 
in 'webapp/target/my-webapp-1.0.0-SNAPSHOT.war' 
(WEB-INF/lib/commons-lang-2.6.jar).

  was (Author: auke):
As requested on the mailing list, a sample project. When the root project 
is build with 'mvn package' the dependency 'commons-lang-2.6.jar' is packed in 
'service/target/my-service-1.0.0-SNAPSHOT.aar' (lib/commons-lang-2.6.jar) and 
in 'webapp/target/my-webapp-1.0.0-SNAPSHOT.war' 
(WEB-INF/lib/commons-io-1.4.jar).
  
> Service dependencies are included in webapp
> ---
>
> Key: AXIS2-5350
> URL: https://issues.apache.org/jira/browse/AXIS2-5350
> Project: Axis2
>  Issue Type: Bug
>  Components: Tools
>Affects Versions: 1.7.0
>Reporter: Auke Schrijnen
>Priority: Minor
> Attachments: 
> 0001-Include-optional-dependencies-in-aar-and-mar-plugin.patch, 
> aar-dependency-bug.zip
>
>
> When a axis2 service defined as an aar package in maven is used as dependency 
> in a war webapp project all dependencies of the service are included in the 
> webapp. There is no way to include the dependencies only in the service 
> (.aar).
> To achieve this, the axis2 aar maven plugin could add optional dependencies, 
> which are currently ignored (AbstractAarMojo.java @ 180).
> This is also the case for the axis2 mar maven plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-5350) Service dependencies are included in webapp

2012-07-17 Thread Sagara Gunathunga (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416266#comment-13416266
 ] 

Sagara Gunathunga  commented on AXIS2-5350:
---

It seem attached project is invalid and does not contains required files, 
please see below. Please attach a working sample. 

├── pom.xml
├── service
│   ├── pom.xml
│   └── target
│   ├── aar
│   └── surefire
└── webapp
├── pom.xml
└── src
└── main
└── webapp
└── WEB-INF
└── web.xml
 

> Service dependencies are included in webapp
> ---
>
> Key: AXIS2-5350
> URL: https://issues.apache.org/jira/browse/AXIS2-5350
> Project: Axis2
>  Issue Type: Bug
>  Components: Tools
>Affects Versions: 1.7.0
>Reporter: Auke Schrijnen
>Priority: Minor
> Attachments: 
> 0001-Include-optional-dependencies-in-aar-and-mar-plugin.patch, 
> aar-dependency-bug.zip
>
>
> When a axis2 service defined as an aar package in maven is used as dependency 
> in a war webapp project all dependencies of the service are included in the 
> webapp. There is no way to include the dependencies only in the service 
> (.aar).
> To achieve this, the axis2 aar maven plugin could add optional dependencies, 
> which are currently ignored (AbstractAarMojo.java @ 180).
> This is also the case for the axis2 mar maven plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-5350) Service dependencies are included in webapp

2012-07-17 Thread Auke Schrijnen (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416313#comment-13416313
 ] 

Auke Schrijnen commented on AXIS2-5350:
---

The zipfile doesn't contain the binaries, but they will be built when you run 
'mvn clean package' from the root of the project.

> Service dependencies are included in webapp
> ---
>
> Key: AXIS2-5350
> URL: https://issues.apache.org/jira/browse/AXIS2-5350
> Project: Axis2
>  Issue Type: Bug
>  Components: Tools
>Affects Versions: 1.7.0
>Reporter: Auke Schrijnen
>Priority: Minor
> Attachments: 
> 0001-Include-optional-dependencies-in-aar-and-mar-plugin.patch, 
> aar-dependency-bug.zip
>
>
> When a axis2 service defined as an aar package in maven is used as dependency 
> in a war webapp project all dependencies of the service are included in the 
> webapp. There is no way to include the dependencies only in the service 
> (.aar).
> To achieve this, the axis2 aar maven plugin could add optional dependencies, 
> which are currently ignored (AbstractAarMojo.java @ 180).
> This is also the case for the axis2 mar maven plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-5350) Service dependencies are included in webapp

2012-07-17 Thread Sagara Gunathunga (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416331#comment-13416331
 ] 

Sagara Gunathunga  commented on AXIS2-5350:
---

This is what I get 

[INFO] 
[INFO] --- axis2-aar-maven-plugin:1.7.0-SNAPSHOT:aar (default-aar) @ my-service 
---
[INFO] 
[INFO] Reactor Summary:
[INFO] 
[INFO] my-service  FAILURE [1.006s]
[INFO] my-webapp . SKIPPED
[INFO] my-root ... SKIPPED
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 1.472s
[INFO] Finished at: Tue Jul 17 21:43:54 IST 2012
[INFO] Final Memory: 8M/114M
[INFO] 
[ERROR] Failed to execute goal 
org.apache.axis2:axis2-aar-maven-plugin:1.7.0-SNAPSHOT:aar (default-aar) on 
project my-service: Error assembling aar: The configured services.xml file 
could not be found 
at/aar-dependency-bug/service/src/main/resources/META-INF/services.xml -> [Help 
1]


I'm not recommend to attach your actual codes but we need a sample test project 
to reproduce this issue. Unless you are willing to help us it's very hard to 
think someone will look into this issue. 

> Service dependencies are included in webapp
> ---
>
> Key: AXIS2-5350
> URL: https://issues.apache.org/jira/browse/AXIS2-5350
> Project: Axis2
>  Issue Type: Bug
>  Components: Tools
>Affects Versions: 1.7.0
>Reporter: Auke Schrijnen
>Priority: Minor
> Attachments: 
> 0001-Include-optional-dependencies-in-aar-and-mar-plugin.patch, 
> aar-dependency-bug.zip
>
>
> When a axis2 service defined as an aar package in maven is used as dependency 
> in a war webapp project all dependencies of the service are included in the 
> webapp. There is no way to include the dependencies only in the service 
> (.aar).
> To achieve this, the axis2 aar maven plugin could add optional dependencies, 
> which are currently ignored (AbstractAarMojo.java @ 180).
> This is also the case for the axis2 mar maven plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Updated] (AXIS2-5350) Service dependencies are included in webapp

2012-07-17 Thread Auke Schrijnen (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Auke Schrijnen updated AXIS2-5350:
--

Attachment: aar-dependency-bug-v2.zip

Strange, i don't get that error. I use maven 3.0.3 on a clean local repository. 
But the missing services.xml has nothing todo with my dependency issue so next 
try (i just added the services.xml file).

> Service dependencies are included in webapp
> ---
>
> Key: AXIS2-5350
> URL: https://issues.apache.org/jira/browse/AXIS2-5350
> Project: Axis2
>  Issue Type: Bug
>  Components: Tools
>Affects Versions: 1.7.0
>Reporter: Auke Schrijnen
>Priority: Minor
> Attachments: 
> 0001-Include-optional-dependencies-in-aar-and-mar-plugin.patch, 
> aar-dependency-bug-v2.zip, aar-dependency-bug.zip
>
>
> When a axis2 service defined as an aar package in maven is used as dependency 
> in a war webapp project all dependencies of the service are included in the 
> webapp. There is no way to include the dependencies only in the service 
> (.aar).
> To achieve this, the axis2 aar maven plugin could add optional dependencies, 
> which are currently ignored (AbstractAarMojo.java @ 180).
> This is also the case for the axis2 mar maven plugin.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[Axis2] Broken Java 1.5 build

2012-07-17 Thread Andreas Veithen
All,

The main Axis2 trunk build (which uses Java 1.5) [1] is failing for
several days now. The last stable build was 14 days (!) ago. Can the
people who committed the changes that caused these failures please do
the necessary things to fix that situation. Otherwise I will identify
these changes myself and revert them. The current situation prevents
downstream builds to execute or causes them to use outdated Axis2
snapshots.

Andreas

[1] https://builds.apache.org/job/Axis2/

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Commented] (AXIS2-5369) Need to change the output of generated sources

2012-07-17 Thread Tameem Ahmed (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416433#comment-13416433
 ] 

Tameem Ahmed commented on AXIS2-5369:
-

Thanks Sagar,  I a newbie just stepped in to the axis world.   I used the 
plugin that you added and added a parameter to flatten file which got rid of 
src as well.  Now I am able to see my generated sources in 
target/generated-sources.   But with errors on Stubs about 100 of them.   I 
read couple of forums and got to know that something was fixed in 1.7.0 version 
but when I specify that version in plugin it gives me errors that missing 
artifact id.   

must implement the inherited abstract method ADBBean.serialize(QName, 
OMFactory, MTOMAwareXMLStreamWriter, boolean) etc.,  

Appreciate your help in this case.  
Here is my plugin...

> Need to change the output of generated sources 
> ---
>
> Key: AXIS2-5369
> URL: https://issues.apache.org/jira/browse/AXIS2-5369
> Project: Axis2
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.6.2
> Environment: maven, axis2
>Reporter: Tameem Ahmed
>  Labels: maven, newbie, test
> Attachments: codegenSample.zip
>
>
> Need to force the generated source to target/generated-sources/ instead of 
> target/generated-sources/axis2/wsdl2code/src.   
> I am using axis2 maven plugin from here 
> http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
> As per the documentation it generates and dumps sources in 
> target/generated-sources/axis2/wsdl2code/src.  For my project I am using many 
> other plugins which also generate sources and dump in 
> target/generated-sources.But when I add this plugin and other plugins 
> there is a conflict and throws an error that it cannot nest the directories 
> and asks me to remove axis2/wsd2Code/src.   Because of this I am not able to 
> use any other plugin along with this plugin.   Would really appreciate if 
> some can help me out of this situation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Re: [Axis2] Broken Java 1.5 build

2012-07-17 Thread Sagara Gunathunga
On Tue, Jul 17, 2012 at 11:20 PM, Andreas Veithen
 wrote:
> All,
>
> The main Axis2 trunk build (which uses Java 1.5) [1] is failing for
> several days now. The last stable build was 14 days (!) ago. Can the
> people who committed the changes that caused these failures please do
> the necessary things to fix that situation. Otherwise I will identify
> these changes myself and revert them. The current situation prevents
> downstream builds to execute or causes them to use outdated Axis2
> snapshots.

This caused by recent GSoC patches commited by Amila and myself, I
haven't tested them on Java5 and I think same apply for Amila too.
Unfortunately I felt to think these can be build machine issues that
we noticed few days ago and ignore failure mails. Will act on ASAP and
sorry for inconvenience.

Thanks !

>
> Andreas
>
> [1] https://builds.apache.org/job/Axis2/
>
> -
> To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-dev-h...@axis.apache.org
>



-- 
Sagara Gunathunga

Blog  - http://ssagara.blogspot.com
Web  - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 » Apache Axis2 - JSON #1645

2012-07-17 Thread Apache Jenkins Server
See 

--
[INFO] 
[INFO] Building Apache Axis2 - JSON
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory 

[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory 

[INFO] Copying 2 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 16 source files to 

[INFO] -
[ERROR] COMPILATION ERROR : 
[INFO] -
[ERROR] 
:[34,5]
 method does not override a method from its superclass

[ERROR] 
:[44,5]
 method does not override a method from its superclass

[ERROR] 
:[49,5]
 method does not override a method from its superclass

[ERROR] 
:[78,5]
 method does not override a method from its superclass

[ERROR] 
:[85,5]
 method does not override a method from its superclass

[ERROR] 
:[90,5]
 method does not override a method from its superclass

[INFO] 6 errors 
[INFO] -
[JENKINS] Archiving 
 to 
/home/hudson/hudson/jobs/Axis2/modules/org.apache.axis2$axis2-json/builds/2012-07-17_18-06-00/archive/org.apache.axis2/axis2-json/1.7.0-SNAPSHOT/axis2-json-1.7.0-SNAPSHOT.pom
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] Compilation failure

:[34,5]
 method does not override a method from its superclass

:[44,5]
 method does not override a method from its superclass

:[49,5]
 method does not override a method from its superclass

:[78,5]
 method does not override a method from its superclass

:[85,5]
 method does not override a method from its superclass

:[90,5]
 method does not override a method from its superclass


[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 
[INFO] Total time: 34 minutes 23 seconds
[INFO] Finished at: Tue Jul 17 18:41:00 UTC 2012
[INFO] Final Memory: 84M/246M
[INFO] 
Maven failed with error.

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is still unstable: Axis2 » Apache Axis2 - Kernel #1645

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: Axis2 #1645

2012-07-17 Thread Apache Jenkins Server
See 

--
[...truncated 8523 lines...]
Running org.apache.axis2.engine.MessageContextSaveATest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec
Running org.apache.axis2.engine.ObjectSave2Test
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.042 sec
Running org.apache.axis2.engine.WSDLClientTest
Running org.apache.axis2.rpc.AddressServiceTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.498 sec
Running org.apache.axis2.swa.EchoRawSwAFileCacheTest
Running org.apache.axis2.engine.SOAPversionTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.371 sec
Running org.tempuri.complex.ComplexDataTypesTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.737 sec
Running org.apache.axis2.engine.MessageContextSaveBTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.2 sec
Running org.apache.axis2.engine.OperationContextSaveTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.179 sec
Running org.apache.axis2.engine.map.MapServiceTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.552 sec
Running org.apache.axis2.engine.ServiceCreateTest
Running org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest
Running org.apache.axis2.faults.SendingResponseFaultTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.346 sec
Running org.apache.axis2.engine.MessageContextSaveCTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.213 sec
Running org.apache.axis2.transport.http.TransportHeadersTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.021 sec
Running org.apache.axis2.engine.HandlerFailureTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.357 sec
Running org.apache.axis2.engine.UsingTransportTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.393 sec
Running org.apache.axis2.engine.MessageSaveAndRestoreTest
Running org.apache.axis2.jaxrs.PojoTest
Running org.apache.axis2.engine.ServiceDispatchingTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.402 sec
Running org.apache.axis2.engine.MessageContextTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.018 sec
Running org.apache.axis2.engine.ObjectSaveTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.043 sec
Running org.apache.axis2.mtom.EchoRawMTOMFileCacheTest
Running org.apache.axis2.engine.EchoRawXMLOnTwoChannelsTest
Running org.apache.axis2.engine.CharactersetEncodingTest

Results :

Tests run: 283, Failures: 0, Errors: 0, Skipped: 0

[JENKINS] Recording test results
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: 

[INFO] [assembly:single {execution: source-release-assembly}]
[INFO] Skipping the assembly in this project because it's not the Execution Root
[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
[INFO] No goals needed for project - skipping
[INFO] [source:jar {execution: attach-sources}]
[INFO] Building jar: 

[INFO] [javadoc:jar {execution: attach-javadocs}]
[INFO] [gpg:sign {execution: default}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 

 to 

[INFO] Installing 

 to 

[INFO] [deploy:deploy {execution: default-deploy}]
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apache/axis2/axis2-integration/1.7.0-SNAPSHOT/axis2-integration-1.7.0-20120717.180652-840.jar
11K uploaded  (axis2-integration-1.7.0-20120717.180652-840.jar)
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'artifact 
org.apache.axis2:axis2-integration'
[INFO] Retrieving previous metadata from apache.snapshots.https
[INFO] Uploading repository metadata for: 'snapshot 
org.apache.axis2:axis2-integration:1.7.0-SNAPSHOT'
[INFO] Uploading project information for axis2-integration 
1.7.0-20120717.180652-840
[INFO] Retrieving previous build number from apache.snapshots.https
Uploading: 
https://repository.apache.org/content/repositories/snapshots/org/apa

[AXIS2] jaxbri Code Generator Problem

2012-07-17 Thread Harsha Thirimanna
Hi

I have develop the webservice that using AXIS2. There was some issue that i
cant generate java code by WSDL that giving option -uw
. Because it was wring source code segment. You can verify it. I have
corrected that changing the code generate template that in inside the one
of lib.
Please reply me to this problem.

thanks
Harsha Thirimanna


Jenkins build is back to normal : Axis2 » Apache Axis2 - JSON #1646

2012-07-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is back to stable : Axis2 » Apache Axis2 - Kernel #1646

2012-07-17 Thread Apache Jenkins Server
See 



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is back to normal : Axis2 #1646

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Build failed in Jenkins: axis2-transports-trunk #929

2012-07-17 Thread Apache Jenkins Server
See 

--
Started by upstream project "Axis2" build number 1646
Building remotely on ubuntu4 in workspace 

Updating http://svn.apache.org/repos/asf/axis/axis2/java/transports/trunk
At revision 1362657
no change for http://svn.apache.org/repos/asf/axis/axis2/java/transports/trunk 
since the previous build
[axis2-transports-trunk] $ /bin/bash -xe /tmp/hudson539176654713285405.sh
+ '[' -d  
']'
++ find  
-type d -and -name '*-SNAPSHOT'
+ rm -rf
[locks-and-latches] Checking to see if we really have the locks
[locks-and-latches] Have all the locks, build can start
Parsing POMs
Modules changed, recalculating dependency graph
[transports] $ /home/hudson/tools/java/latest1.5/bin/java -cp 
/home/jenkins/jenkins-slave/maven-agent.jar:/home/jenkins/jenkins-slave/classworlds.jar
 hudson.maven.agent.Main /home/hudson/tools/maven/apache-maven-2.2.1 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven-interceptor.jar 43252 
/home/jenkins/jenkins-slave/maven2.1-interceptor.jar
<===[JENKINS REMOTING CAPACITY]===>channel started
   log4j:WARN No appenders could be found for logger 
(org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
Executing Maven:  -B -f 
 
-Dmaven.repo.local=
 clean deploy
[INFO] Scanning for projects...
[INFO] Reactor build order: 
[INFO]   Apache Axis2 - Transport - Root
[INFO]   Apache Axis2 - Transport - Base
[INFO]   Apache Axis2 - Transport - testkit
[INFO]   Apache Axis2 - Transport - HTTP Tests
[INFO]   Apache Axis2 - Transport - TCP
[INFO]   Apache Axis2 - Transport - UDP
[INFO]   Apache Axis2 - Transport - XMPP
[INFO]   Apache Axis2 - Transport - Mail
[INFO]   Apache Axis2 - Transport - JMS
[INFO]   Apache Axis2 - Transport - Sms
[INFO]   Apache Axis2 - Transport - All
[INFO] 
[INFO] Building Apache Axis2 - Transport - Root
[INFO]task-segment: [clean, deploy]
[INFO] 
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting 

[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] [remote-resources:process {execution: default}]
[INFO] snapshot org.apache.axis2:axis2-kernel:1.7.0-SNAPSHOT: checking for 
updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/axis2/axis2-kernel/1.7.0-SNAPSHOT/axis2-kernel-1.7.0-20120717.201431-922.pom

[INFO] snapshot org.apache.axis2:axis2-parent:1.7.0-SNAPSHOT: checking for 
updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/axis2/axis2-parent/1.7.0-SNAPSHOT/axis2-parent-1.7.0-20120717.201431-931.pom

[INFO] snapshot org.apache.ws.commons.axiom:axiom-api:1.2.14-SNAPSHOT: checking 
for updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/ws/commons/axiom/axiom-api/1.2.14-SNAPSHOT/axiom-api-1.2.14-20120717.174252-242.pom

[INFO] snapshot org.apache.ws.commons.axiom:axiom-parent:1.2.14-SNAPSHOT: 
checking for updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/ws/commons/axiom/axiom-parent/1.2.14-SNAPSHOT/axiom-parent-1.2.14-20120717.173833-247.pom

[INFO] snapshot org.apache.james:apache-mime4j-core:0.8-SNAPSHOT: checking for 
updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mime4j-core/0.8-SNAPSHOT/apache-mime4j-core-0.8-20120717.004053-320.pom

[INFO] snapshot org.apache.james:apache-mime4j-project:0.8-SNAPSHOT: checking 
for updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/james/apache-mime4j-project/0.8-SNAPSHOT/apache-mime4j-project-0.8-20120717.004025-348.pom

[INFO] snapshot org.apache.ws.commons.axiom:axiom-impl:1.2.14-SNAPSHOT: 
checking for updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/ws/commons/axiom/axiom-impl/1.2.14-SNAPSHOT/axiom-impl-1.2.14-20120717.175109-242.pom

[INFO] snapshot org.apache.ws.commons.schema:XmlSchema:1.4.8-SNAPSHOT: checking 
for updates from apache.snapshots
Downloading: 
http://repository.apache.org/snapshots/org/apache/w

Jenkins build is back to normal : sandesha2-trunk #849

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Comment Edited] (AXIS2-5369) Need to change the output of generated sources

2012-07-17 Thread Tameem Ahmed (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416433#comment-13416433
 ] 

Tameem Ahmed edited comment on AXIS2-5369 at 7/17/12 10:27 PM:
---

Thanks Sagar,  I a newbie just stepped in to the axis world.   I used the 
plugin that you added and added a parameter to flatten file which got rid of 
src as well.  Now I am able to see my generated sources in 
target/generated-sources.   But with errors on Stubs about 100 of them.   I 
read couple of forums and got to know that something was fixed in 1.7.0 version 
but when I specify that version in plugin it gives me errors that missing 
artifact id.   

must implement the inherited abstract method ADBBean.serialize(QName, 
OMFactory, MTOMAwareXMLStreamWriter, boolean) etc.,  

Appreciate your help in this case.  
Here is my plugin...


org.apache.axis2

axis2-wsdl2code-maven-plugin
1.6.2


codegen
generate-sources

wsdl2code



${basedir}/src/main/resources/wsdl/posapiserv.wsdl

${project.build.directory}/generated-sources

com.touchstone.posapiserv

true 





  was (Author: tameem.ahmed):
Thanks Sagar,  I a newbie just stepped in to the axis world.   I used the 
plugin that you added and added a parameter to flatten file which got rid of 
src as well.  Now I am able to see my generated sources in 
target/generated-sources.   But with errors on Stubs about 100 of them.   I 
read couple of forums and got to know that something was fixed in 1.7.0 version 
but when I specify that version in plugin it gives me errors that missing 
artifact id.   

must implement the inherited abstract method ADBBean.serialize(QName, 
OMFactory, MTOMAwareXMLStreamWriter, boolean) etc.,  

Appreciate your help in this case.  
Here is my plugin...
  
> Need to change the output of generated sources 
> ---
>
> Key: AXIS2-5369
> URL: https://issues.apache.org/jira/browse/AXIS2-5369
> Project: Axis2
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.6.2
> Environment: maven, axis2
>Reporter: Tameem Ahmed
>  Labels: maven, newbie, test
> Attachments: codegenSample.zip
>
>
> Need to force the generated source to target/generated-sources/ instead of 
> target/generated-sources/axis2/wsdl2code/src.   
> I am using axis2 maven plugin from here 
> http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
> As per the documentation it generates and dumps sources in 
> target/generated-sources/axis2/wsdl2code/src.  For my project I am using many 
> other plugins which also generate sources and dump in 
> target/generated-sources.But when I add this plugin and other plugins 
> there is a conflict and throws an error that it cannot nest the directories 
> and asks me to remove axis2/wsd2Code/src.   Because of this I am not able to 
> use any other plugin along with this plugin.   Would really appreciate if 
> some can help me out of this situation. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Comment Edited] (AXIS2-5369) Need to change the output of generated sources

2012-07-17 Thread Tameem Ahmed (JIRA)

[ 
https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416433#comment-13416433
 ] 

Tameem Ahmed edited comment on AXIS2-5369 at 7/17/12 10:28 PM:
---

Thanks Sagar,  I a newbie just stepped in to the axis world.   I used the 
plugin that you added and added a parameter to flatten file which got rid of 
src as well.  Now I am able to see my generated sources in 
target/generated-sources.   But with errors on Stubs about 100 of them.   I 
read couple of forums and got to know that something was fixed in 1.7.0 version 
but when I specify that version in plugin it gives me errors that missing 
artifact id.   

Error in Stub:  must implement the inherited abstract method 
ADBBean.serialize(QName, OMFactory, MTOMAwareXMLStreamWriter, boolean) etc.,  

Appreciate your help in this case.  
Here is my plugin...


org.apache.axis2

axis2-wsdl2code-maven-plugin
1.6.2


codegen
generate-sources

wsdl2code



${basedir}/src/main/resources/wsdl/posapiserv.wsdl

${project.build.directory}/generated-sources

com.touchstone.posapiserv

true 





  was (Author: tameem.ahmed):
Thanks Sagar,  I a newbie just stepped in to the axis world.   I used the 
plugin that you added and added a parameter to flatten file which got rid of 
src as well.  Now I am able to see my generated sources in 
target/generated-sources.   But with errors on Stubs about 100 of them.   I 
read couple of forums and got to know that something was fixed in 1.7.0 version 
but when I specify that version in plugin it gives me errors that missing 
artifact id.   

must implement the inherited abstract method ADBBean.serialize(QName, 
OMFactory, MTOMAwareXMLStreamWriter, boolean) etc.,  

Appreciate your help in this case.  
Here is my plugin...


org.apache.axis2

axis2-wsdl2code-maven-plugin
1.6.2


codegen
generate-sources

wsdl2code



${basedir}/src/main/resources/wsdl/posapiserv.wsdl

${project.build.directory}/generated-sources

com.touchstone.posapiserv

true 




  
> Need to change the output of generated sources 
> ---
>
> Key: AXIS2-5369
> URL: https://issues.apache.org/jira/browse/AXIS2-5369
> Project: Axis2
>  Issue Type: Bug
>  Components: ide plugins
>Affects Versions: 1.6.2
> Environment: maven, axis2
>Reporter: Tameem Ahmed
>  Labels: maven, newbie, test
> Attachments: codegenSample.zip
>
>
> Need to force the generated source to target/generated-sources/ instead of 
> target/generated-sources/axis2/wsdl2code/src.   
> I am using axis2 maven plugin from here 
> http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
> As per the documentation it generates and dumps sources in 
> target/generated-sources/axis2/wsdl2code/src.  For my project I am using many 
> other plugins which also generate sources and dump in 
> target/generated-sources.But when I add this plugin and other plugins 
> there is a conflict and throws an error that it cannot nest the directories 
> and asks me to remove axis2/wsd2Code/src.   Because of this I am not able to 
>

Build failed in Jenkins: Axis2 #1647

2012-07-17 Thread Apache Jenkins Server
See 

--
[...truncated 2846 lines...]
Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 

Generating 


Re: [AXIS2] jaxbri Code Generator Problem

2012-07-17 Thread Sagara Gunathunga
If you have corrected XSLT template then please create a JIRA issue
and attach your patch there with test case or sample WSDL to reproduce
your original issue.

Thanks !

On Wed, Jul 18, 2012 at 12:37 AM, Harsha Thirimanna
 wrote:
> Hi
>
> I have develop the webservice that using AXIS2. There was some issue that i
> cant generate java code by WSDL that giving option -uw
> . Because it was wring source code segment. You can verify it. I have
> corrected that changing the code generate template that in inside the one of
> lib.
> Please reply me to this problem.
>
> thanks
> Harsha Thirimanna
>



-- 
Sagara Gunathunga

Blog  - http://ssagara.blogspot.com
Web  - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Updated] (AXIS2-5372) wsdl2java code generate to jaxbri as unwrap has given incomplete code

2012-07-17 Thread Harsha Thirimanna (JIRA)

 [ 
https://issues.apache.org/jira/browse/AXIS2-5372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harsha Thirimanna updated AXIS2-5372:
-

Summary: wsdl2java code generate to jaxbri as unwrap has given incomplete 
code  (was: wsdl2java code generate to jaxbri as unwrap has given incomplete 
code , this is template solution for that)

> wsdl2java code generate to jaxbri as unwrap has given incomplete code
> -
>
> Key: AXIS2-5372
> URL: https://issues.apache.org/jira/browse/AXIS2-5372
> Project: Axis2
>  Issue Type: Bug
>  Components: codegen
>Reporter: Harsha Thirimanna
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



[jira] [Created] (AXIS2-5372) wsdl2java code generate to jaxbri as unwrap has given incomplete code , this is template solution for that

2012-07-17 Thread Harsha Thirimanna (JIRA)
Harsha Thirimanna created AXIS2-5372:


 Summary: wsdl2java code generate to jaxbri as unwrap has given 
incomplete code , this is template solution for that
 Key: AXIS2-5372
 URL: https://issues.apache.org/jira/browse/AXIS2-5372
 Project: Axis2
  Issue Type: Bug
  Components: codegen
Reporter: Harsha Thirimanna




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is back to normal : Axis2 » Apache Axis2 - Code Generation #1648

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org



Jenkins build is back to normal : Axis2 #1648

2012-07-17 Thread Apache Jenkins Server
See 


-
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org