[jira] Created: (AXIS2-1323) Consume Axis 2 web service in VB.NET

2006-10-06 Thread Ravi (JIRA)
Consume Axis 2 web service in VB.NET


 Key: AXIS2-1323
 URL: http://issues.apache.org/jira/browse/AXIS2-1323
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
Affects Versions: 0.95
 Environment: Win 2003
Reporter: Ravi


Please let me know how to hanle request and response object in vb.net client 
application. i am trying to invoke sample web service from axis2 
(getVersion()). It is asking me to pass request object and returns as response 
object. 

i have used axis getVersion which returns of type string and directly assign 
variable and use it. but in axis2 its not the same.

Please do help me.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis2 1.1 Release Plan - Release Candidates

2006-10-06 Thread Jaliya Ekanayake

+1 from me
-Jaliya
- Original Message - 
From: "Thilina Gunarathne" <[EMAIL PROTECTED]>

To: 
Sent: Friday, October 06, 2006 8:15 AM
Subject: [Axis2] Axis2 1.1 Release Plan - Release Candidates



Hi all,
We are planning to cut a series of Axis2 1.1 Release Candidates for
user and developer review prior to the Axis2 1.1 release...

I'm thinking of cutting the RC1 ASAP (Hopefully today)... Then an RC2
by the end of next week after fixing the major issues found in the
RC1...

If we do not find any major issues in RC2, I would like to do the
Axis2 1.1 release on 20th October..

Thoughts and Comments??

~Thilina

--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis2 1.1 Release Plan - Release Candidates

2006-10-06 Thread Srinath Perera

+1

On 10/6/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:

+1

Chuck Williams wrote:
> Seems like a good plan.
>
> +1
>
> Thilina Gunarathne wrote on 10/06/2006 02:15 AM:
>
>> Hi all,
>> We are planning to cut a series of Axis2 1.1 Release Candidates for
>> user and developer review prior to the Axis2 1.1 release...
>>
>> I'm thinking of cutting the RC1 ASAP (Hopefully today)... Then an RC2
>> by the end of next week after fixing the major issues found in the
>> RC1...
>>
>> If we do not find any major issues in RC2, I would like to do the
>> Axis2 1.1 release on 20th October..
>>
>> Thoughts and Comments??
>>
>> ~Thilina
>>
>>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--

Srinath Perera:
  http://www.cs.indiana.edu/~hperera/
  http://www.bloglines.com/blog/hemapani

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] When merging changes between branches please put the revision number that the changes are coming from into the commit message

2006-10-06 Thread Thilina Gunarathne

+1.

~Thilina

On 10/7/06, Bill Nagy <[EMAIL PROTECTED]> wrote:

e.g. Merged r23914 (Spelling fixes) from 1.1 branch.

This makes it easier to keep track of which changes have been merged
into where.  Thanks.

-Bill



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Rationalizing the m1/m2 groupId's

2006-10-06 Thread Davanum Srinivas

Folks,

I took a stab at standardizing the groupId's after looking at existing
groupId's package names etc. and adjusted all the commons projects and
axis2 trunk and 1.1 branch as well.

Examples:

neethi - org.apache.ws.commons.neethi
xmlschema - org.apache.ws.commons.schema
axiom - org.apache.ws.commons.axiom
axis2 - org.apache.axis2

Thanks,
dims

--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fwd: question about call.invoke

2006-10-06 Thread TC Heiner
what is the difference between call.invoke in axis 1.2 and 1.4?why does my code return a 503 (service unavailable) error in 1.2 and not 1.4?i did a diff between the two source for 
call.java and only saw some mime differences.i'm simply sending a soap message with a logon id and password.i'm sending this out hoping one of the developers on the project can clue me in.thanks.




question about call.invoke

2006-10-06 Thread TC Heiner
what is the difference between call.invoke in axis 1.2 and 1.4?why does my code return 


[jira] Updated: (AXIS2-1322) Adding Initial Holder Support and Refactoring Client and Server Message Marshalling.

2006-10-06 Thread Nikhil Thaker (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1322?page=all ]

Nikhil Thaker updated AXIS2-1322:
-

Attachment: JIRA_1322_HolderSupportAndMethodMarshaller.txt

This is the patch for holder support and new Method Marshaller code.

> Adding Initial Holder Support and Refactoring Client and Server Message 
> Marshalling.
> 
>
> Key: AXIS2-1322
> URL: http://issues.apache.org/jira/browse/AXIS2-1322
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: New Feature
>  Components: jaxws
>Reporter: Nikhil Thaker
> Attachments: JIRA_1322_HolderSupportAndMethodMarshaller.txt
>
>
> I am adding Holder support to JAXWS Proxy code. I will add test cases for 
> Wrap and Bare methods that use Holders.
> Seconldy I am adding the common Method Marshaller code that will be used on 
> client and server to marshall message and demarshal Message.  I have 
> discussed the architecure with Rich and Nick on this so they are aware of the 
> changes. As a result of refactoring the abstract ProxyHandler model and Proxy 
> Descriptor on client and Mappler code on server side will be deleted
> I will submit patch for this JIRA.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1322) Adding Initial Holder Support and Refactoring Client and Server Message Marshalling.

2006-10-06 Thread Nikhil Thaker (JIRA)
Adding Initial Holder Support and Refactoring Client and Server Message 
Marshalling.


 Key: AXIS2-1322
 URL: http://issues.apache.org/jira/browse/AXIS2-1322
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: New Feature
  Components: jaxws
Reporter: Nikhil Thaker


I am adding Holder support to JAXWS Proxy code. I will add test cases for Wrap 
and Bare methods that use Holders.

Seconldy I am adding the common Method Marshaller code that will be used on 
client and server to marshall message and demarshal Message.  I have discussed 
the architecure with Rich and Nick on this so they are aware of the changes. As 
a result of refactoring the abstract ProxyHandler model and Proxy Descriptor on 
client and Mappler code on server side will be deleted

I will submit patch for this JIRA.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2] When merging changes between branches please put the revision number that the changes are coming from into the commit message

2006-10-06 Thread Bill Nagy
e.g. Merged r23914 (Spelling fixes) from 1.1 branch.

This makes it easier to keep track of which changes have been merged
into where.  Thanks.

-Bill



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis2 1.1 Release Plan - Release Candidates

2006-10-06 Thread Dennis Sosnoski

+1

Chuck Williams wrote:

Seems like a good plan.

+1

Thilina Gunarathne wrote on 10/06/2006 02:15 AM:
  

Hi all,
We are planning to cut a series of Axis2 1.1 Release Candidates for
user and developer review prior to the Axis2 1.1 release...

I'm thinking of cutting the RC1 ASAP (Hopefully today)... Then an RC2
by the end of next week after fixing the major issues found in the
RC1...

If we do not find any major issues in RC2, I would like to do the
Axis2 1.1 release on 20th October..

Thoughts and Comments??

~Thilina





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis2 1.1 Release Plan - Release Candidates

2006-10-06 Thread Davanum Srinivas

+1

On 10/6/06, Chuck Williams <[EMAIL PROTECTED]> wrote:

Seems like a good plan.

+1

Thilina Gunarathne wrote on 10/06/2006 02:15 AM:
> Hi all,
> We are planning to cut a series of Axis2 1.1 Release Candidates for
> user and developer review prior to the Axis2 1.1 release...
>
> I'm thinking of cutting the RC1 ASAP (Hopefully today)... Then an RC2
> by the end of next week after fixing the major issues found in the
> RC1...
>
> If we do not find any major issues in RC2, I would like to do the
> Axis2 1.1 release on 20th October..
>
> Thoughts and Comments??
>
> ~Thilina
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Axis2 1.1 Release Plan - Release Candidates

2006-10-06 Thread Chuck Williams
Seems like a good plan.

+1

Thilina Gunarathne wrote on 10/06/2006 02:15 AM:
> Hi all,
> We are planning to cut a series of Axis2 1.1 Release Candidates for
> user and developer review prior to the Axis2 1.1 release...
>
> I'm thinking of cutting the RC1 ASAP (Hopefully today)... Then an RC2
> by the end of next week after fixing the major issues found in the
> RC1...
>
> If we do not find any major issues in RC2, I would like to do the
> Axis2 1.1 release on 20th October..
>
> Thoughts and Comments??
>
> ~Thilina
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: axis 1.2

2006-10-06 Thread TC Heiner
thank you very much.On 10/6/06, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
http://archive.apache.org/On 10/6/06, TC Heiner <[EMAIL PROTECTED]> wrote:>>> does anyone have the source/binary and api docs for axis 
1.2?> all the links seemed to be removed!>> need urgently...>--Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: 
[EMAIL PROTECTED]


Re: axis 1.2

2006-10-06 Thread Davanum Srinivas

http://archive.apache.org/

On 10/6/06, TC Heiner <[EMAIL PROTECTED]> wrote:



does anyone have the source/binary and api docs for axis 1.2?
all the links seemed to be removed!

need urgently...




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fwd: axis 1.2

2006-10-06 Thread TC Heiner
does anyone have the source/binary and api docs for axis 1.2?all the links seemed to be removed!need urgently...



[jira] Created: (AXIS2-1321) JAXWS test NonWrapTests.testTwoWaySync is failing yet still reporting success

2006-10-06 Thread Jeff Barrett (JIRA)
JAXWS test NonWrapTests.testTwoWaySync is failing yet still reporting success
-

 Key: AXIS2-1321
 URL: http://issues.apache.org/jira/browse/AXIS2-1321
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: jaxws
Reporter: Jeff Barrett


The test org.apache.axis2.jaxws.sample.NonWrapTests.testTwoWaySync is catching 
an exception.  That exception is not expected.
The test is simply printing exception to 
modules/jaxws/target\test-reports/TEST-org.apache.axis2.jaxws.framework.JAXWSTest.txt,
 but the test is not failing.

The exception is:
javax.xml.ws.WebServiceException
at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:217)
at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:81)
at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:185)
at 
org.apache.axis2.jaxws.core.controller.AxisInvocationController.invoke(AxisInvocationController.java:220)
at 
org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.InvokeSEIMethod(BaseProxyHandler.java:189)
at 
org.apache.axis2.jaxws.client.proxy.BaseProxyHandler.invoke(BaseProxyHandler.java:125)
at $Proxy26.twoWay(Unknown Source)
at 
org.apache.axis2.jaxws.sample.NonWrapTests.testTwoWaySync(NonWrapTests.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672)
at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567)
Caused by: org.apache.axis2.AxisFault: unknown
at 
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
at 
org.apache.axis2.jaxws.core.controller.AxisInvocationController.invoke(AxisInvocationController.java:174)
... 25 more
Caused by: java.lang.Exception: javax.xml.ws.WebServiceException
at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:217)
at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:81)
at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:185)
at 
org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:81)
at 
org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:147)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:493)
at 
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:324)
at 
org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:238)
at 
org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.doService(DefaultHttpServiceProcessor.java:179)
at 
org.apache.http.protocol.HttpService.handleRequest(HttpService.java:123)
at 
org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor.run(DefaultHttpServiceProcessor.java:251)
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
at 
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:797)
Caused by: java.lang.NullPointerException
at 
org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.getOperationDescription(JavaBeanDispatcher.java:133)
at 
org.apache.

[jira] Updated: (AXIS2-1320) Service throws error.. fault "null" with if a service method throws Axis Fault

2006-10-06 Thread vikas charak (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1320?page=all ]

vikas charak updated AXIS2-1320:


Attachment: TestService.wsdl

> Service throws error.. fault "null" with if a service method throws Axis Fault
> --
>
> Key: AXIS2-1320
> URL: http://issues.apache.org/jira/browse/AXIS2-1320
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: core
>Affects Versions: nightly
> Environment: Windows Xp
> Jboss4-04GA
> Axis2 Nightly of Oct-05-2006
>Reporter: vikas charak
> Attachments: TestService.wsdl
>
>
> Hi, 
> I have a method which throws Axis fault and that method is exposed as a 
> service method. See below
> public class TestService {
>   public String getName(String ID) throws AxisFault {
>   return "Testing";
>   }
> }
> While deploying the service, I see the following error on my Jboss console
> 13:28:29,288 ERROR [DeploymentEngine] Invalid service  TestService.aar due to 
> fult "null" not found in the Operation getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.deployment.DeploymentException: fault "null" not 
> found
> in the Operation getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame
> org.apache.axis2.deployment.DeploymentException: fault "null" not found in the
> peration getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.deployment.DeploymentException: fault "null" not 
> found
> in the Operation getName; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame; nested exception is:
> org.apache.axis2.AxisFault: fault "null" not found in the Operation 
> get
> ame
> at 
> org.apache.axis2.deployment.repository.util.ArchiveReader.processWSD
> s(ArchiveReader.java:347)
> at 
> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngi
> e.java:511)
> at 
> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfo
> ist.java:200)
> at 
> org.apache.axis2.deployment.RepositoryListener.update(RepositoryList
> ner.java:209)
> at 
> org.apache.axis2.deployment.RepositoryListener.checkServices(Reposit
> ryListener.java:156)
> at 
> org.apache.axis2.deployment.DeploymentEngine.loadServices(Deployment
> ngine.java:84)
> at 
> org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(Wa
> BasedAxisConfigurator.java:249)
> at 
> org.apache.axis2.context.ConfigurationContextFactory.createConfigura
> ionContext(ConfigurationContextFactory.java:72)
> at 
> org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisSe
> vlet.java:366)
> at 
> org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:30
> )
> at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper
> java:1105)
> at 
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:9
> 2)
> at 
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte
> t.java:3917)
> at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:
> 201)
> at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
> .java:759)
> at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
> 9)
> at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
> java:39)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
> sorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at 
> org.apache.commons.

[jira] Created: (AXIS2-1320) Service throws error.. fault "null" with if a service method throws Axis Fault

2006-10-06 Thread vikas charak (JIRA)
Service throws error.. fault "null" with if a service method throws Axis Fault
--

 Key: AXIS2-1320
 URL: http://issues.apache.org/jira/browse/AXIS2-1320
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: core
Affects Versions: nightly
 Environment: Windows Xp
Jboss4-04GA
Axis2 Nightly of Oct-05-2006
Reporter: vikas charak


Hi, 

I have a method which throws Axis fault and that method is exposed as a service 
method. See below

public class TestService {
public String getName(String ID) throws AxisFault {
return "Testing";
}
}




While deploying the service, I see the following error on my Jboss console

13:28:29,288 ERROR [DeploymentEngine] Invalid service  TestService.aar due to 
fult "null" not found in the Operation getName; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.deployment.DeploymentException: fault "null" not found
in the Operation getName; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame
org.apache.axis2.deployment.DeploymentException: fault "null" not found in the
peration getName; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.deployment.DeploymentException: fault "null" not found
in the Operation getName; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame; nested exception is:
org.apache.axis2.AxisFault: fault "null" not found in the Operation get
ame
at org.apache.axis2.deployment.repository.util.ArchiveReader.processWSD
s(ArchiveReader.java:347)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngi
e.java:511)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfo
ist.java:200)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryList
ner.java:209)
at org.apache.axis2.deployment.RepositoryListener.checkServices(Reposit
ryListener.java:156)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(Deployment
ngine.java:84)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(Wa
BasedAxisConfigurator.java:249)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigura
ionContext(ConfigurationContextFactory.java:72)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisSe
vlet.java:366)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:30
)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper
java:1105)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:9
2)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardConte
t.java:3917)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:
201)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBas
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:7
9)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java
503)
at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:
64)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.apache.catalina.core.StandardContext.init(StandardContext.java:5
16)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
java:39)
at sun

[jira] Created: (AXIS2-1319) Redeployment of service with '.' in aar name fails

2006-10-06 Thread Jeff Peterson (JIRA)
Redeployment of service with '.' in aar name fails
--

 Key: AXIS2-1319
 URL: http://issues.apache.org/jira/browse/AXIS2-1319
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
  Components: deployment
Affects Versions: 1.0
Reporter: Jeff Peterson


There seems to be a problem with service archives having names like 
"service-2.0.aar".  I presume its an issue with the additional "." in the 
archive name not being handled correctly.  It seems that the service group name 
is being set to "service-2" instead of "service-2.0".

My services.xml looks like the following:


  

  


Here's what I did and the accompanying error message:

1. Deploy service "service-1.0.aar" by dropping it in the 
"axis2/WEB-INF/services" directory
2. Make change to service, and repackage.
3. Redeploy service "service-1.0.aar" by dropping it in the 
"axis2/WEB-INF/services" directory
4. Notice the following errors in server log

...
06 Oct 2006 16:52:34,330 DEBUG ProjectResourceBundle []: 
org.apache.axis2.i18n.resource::handleGetObject(invalidservicegroupname)
06 Oct 2006 16:52:34,330 DEBUG ProjectResourceBundle []: 
org.apache.axis2.i18n.resource::handleGetObject(invalidservicegroupname)
06 Oct 2006 16:52:34,331 INFO  DeploymentEngine []: org.apache.axis2.AxisFault: 
invalid service group name : service-2
06 Oct 2006 16:52:34,331 INFO  DeploymentEngine []: org.apache.axis2.AxisFault: 
invalid service group name : service-2
06 Oct 2006 17:02:17,944 DEBUG ProjectResourceBundle []: 
org.apache.axis2.i18n.resource::handleGetObject(twoservicecannothavesamename)
06 Oct 2006 17:02:17,945 ERROR DeploymentEngine []: Invalid service  
service-2.0.aar due to Two services can not have same name, a service with 
TestWebService already exists in the system org.apache.axis2.AxisFault: Two 
services can not have same name, a service with TestWebService already exists 
in the system
at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfigu
ration.java:198)
at org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(Deployme
ntEngine.java:438)
e.java:624)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoL
ist.java:195)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListe
ner.java:207)
...


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



wsdl2Java for Axis 1.3

2006-10-06 Thread Joseph Vincens

I'm trying to find an answer to a problem
I'm having with Axis 1.3. 
I have an existing bean with a field
defined as a calendar and my wsdl defines this as a time. When I run the
wsdl2Java I get a bean with a field org.apache.axis.types.Time. I also
found that when I ran the service it attempted to use the TimeDeserializer
which creates a org.apache.axis.types.Time. I read that Axis was tested
against Jax-Rpc 1.1 which lists a "time" as a calendar. Is there
a switch that will force the wsdl2Java and the runtime to treat a time
as a calendar?

Does Axis 1.3 support the type mapping
of Jax-Rpc 1.0 or 1.1?

thanks
Joe


[jira] Created: (AXIS2-1318) Basic Authentication support

2006-10-06 Thread Samuel Isokpunwu (JIRA)
Basic Authentication support


 Key: AXIS2-1318
 URL: http://issues.apache.org/jira/browse/AXIS2-1318
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: New Feature
  Components: jaxws
Affects Versions: 1.0
 Environment: Windows
Reporter: Samuel Isokpunwu
Priority: Critical


Working on providing HTTP Basic Authentication support per JAXWS Specification, 
Section 10.4.1.3 -- Security.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r453622 - in /webservices/axis2/trunk/java/modules: integration/test/org/apache/rampart/ rahas/src/org/apache/rahas/impl/ security/src/org/apache/rampart/ security/src/org/apache/rampa

2006-10-06 Thread Ruchith Fernando

This requires the latest WSS4J SNAPSHOT.

Thanks,
Ruchith

On 10/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Author: ruchithf
Date: Fri Oct  6 07:49:55 2006
New Revision: 453622

URL: http://svn.apache.org/viewvc?view=rev&rev=453622
Log:
Makesure we use the map of contexts only in the client side and use the sct 
info from the request at the service.
Provided a mechanism to handle set the SCT id in teh message context. This will 
be used in token cancellation and in sending RM ack msgs.


Modified:

webservices/axis2/trunk/java/modules/integration/test/org/apache/rampart/RampartTest.java

webservices/axis2/trunk/java/modules/rahas/src/org/apache/rahas/impl/SCTIssuer.java

webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/MessageBuilder.java

webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/RampartMessageData.java

webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/builder/SymmetricBindingBuilder.java

webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/errors.properties

Modified: 
webservices/axis2/trunk/java/modules/integration/test/org/apache/rampart/RampartTest.java
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/integration/test/org/apache/rampart/RampartTest.java?view=diff&rev=453622&r1=453621&r2=453622
==
--- 
webservices/axis2/trunk/java/modules/integration/test/org/apache/rampart/RampartTest.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/integration/test/org/apache/rampart/RampartTest.java
 Fri Oct  6 07:49:55 2006
@@ -103,6 +103,10 @@
 options.setProperty(RampartMessageData.CANCEL_REQUEST, 
Constants.VALUE_TRUE);
 serviceClient.sendReceive(getEchoElement());

+options.setProperty(RampartMessageData.CANCEL_REQUEST, 
Constants.VALUE_FALSE);
+serviceClient.sendReceive(getEchoElement());
+options.setProperty(RampartMessageData.CANCEL_REQUEST, 
Constants.VALUE_TRUE);
+serviceClient.sendReceive(getEchoElement());
 }

 } catch (Exception e) {

Modified: 
webservices/axis2/trunk/java/modules/rahas/src/org/apache/rahas/impl/SCTIssuer.java
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/rahas/src/org/apache/rahas/impl/SCTIssuer.java?view=diff&rev=453622&r1=453621&r2=453622
==
--- 
webservices/axis2/trunk/java/modules/rahas/src/org/apache/rahas/impl/SCTIssuer.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/rahas/src/org/apache/rahas/impl/SCTIssuer.java
 Fri Oct  6 07:49:55 2006
@@ -172,10 +172,6 @@

 sctToken.setState(Token.ISSUED);
 TrustUtil.getTokenStore(data.getInMessageContext()).add(sctToken);
-this.getContextMap(data.getInMessageContext()).put(
-this.getContextIdentifierKey(data.getInMessageContext()),
-sctToken.getId());
-
 return env;
 } catch (ConversationException e) {
 throw new TrustException(e.getMessage(), e);

Modified: 
webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/MessageBuilder.java
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/MessageBuilder.java?view=diff&rev=453622&r1=453621&r2=453622
==
--- 
webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/MessageBuilder.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/MessageBuilder.java
 Fri Oct  6 07:49:55 2006
@@ -98,7 +98,7 @@
 String ctxIdKey = RampartUtil.getContextIdentifierKey(msgCtx);
 String tokenId = 
(String)RampartUtil.getContextMap(msgCtx).get(ctxIdKey);

-if(RampartUtil.isTokenValid(rmd, tokenId)) {
+if(tokenId != null && RampartUtil.isTokenValid(rmd, tokenId)) {
 OMElement bodyElem = msgCtx.getEnvelope().getBody();
 OMElement child = bodyElem.getFirstElement();
 OMElement newChild = 
TrustUtil.createCancelRequest(tokenId, rmd.getWstVersion());

Modified: 
webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/RampartMessageData.java
URL: 
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/RampartMessageData.java?view=diff&rev=453622&r1=453621&r2=453622
==
--- 
webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/RampartMessageData.java
 (original)
+++ 
webservices/axis2/trunk/java/modules/security/src/org/apache/rampart/RampartMessageData.java
 Fri Oct  6 07:49:55 2006
@@ -38,10 +38,13 @@
 import org.apac

Re: svn commit: r453338 - /webservices/axis2/branches/java/1_1/modules/kernel/src/org/apache/axis2/transport/http/HTTPWorker.java

2006-10-06 Thread Thilina Gunarathne

Hi Chuck,
Can you please have a look at this...

This is blocking me from  cutting  the release candidate...

~Thilina

On 10/6/06, Ruchith Fernando <[EMAIL PROTECTED]> wrote:

Hi Chuck,

> -String serviceName = uri.replaceAll(contextPath+"/", "");
> +if (!uri.endsWith(contextPath)) {
> +String serviceName = uri.replace(contextPath, "");
>  if (serviceName.indexOf("/") < 0) {

This only works with JDK 1.5 [1] :-(

Thanks,
Ruchith

[1] 
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#replace(java.lang.CharSequence,%20java.lang.CharSequence)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error in deplyoing services(*.aar) in weblogic.

2006-10-06 Thread Davanum Srinivas

http://e-docs.bea.com/wls/docs81/webapp/deployment.html

"Redeploying a Web Application in Exploded Directory Format"

On 10/6/06, Reddy, Sanket (US - Hyderabad) <[EMAIL PROTECTED]> wrote:

Hi
So u mean when I have my aar files inise the axis2.war I need to deploy
them using the option "exploded war configuration option of weblogic".

I am new to weblogic to..can u just forward me the link where I can get
some information :- way to use the exploded war configuration option.


Regards
Sanket


-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Friday, October 06, 2006 6:33 PM
To: axis-dev@ws.apache.org
Subject: Re: Error in deplyoing services(*.aar) in weblogic.

Use the exploded war configuration option of weblogic, don't deploy
the war as-is.

-- dims

On 10/6/06, Reddy, Sanket (US - Hyderabad) <[EMAIL PROTECTED]>
wrote:
> Hi All
>
> I am trying to upload a service (*.aar ) files in my weblogic
> server.Using the admin page of axis.
> (I have already deployed the axis2.war file in weblogic).
>
> I get an error saying they are Faulty service (as shown below).
>
> Available Services
> Faulty Services
>
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
> \WEB-INF\services\HelloWorld.aar
>
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
> \WEB-INF\services\version.aar
>
> Same *.aar files I load using apache tomcat. 5.X and they are depolyed
?
>
>
> Am I missing some configuration in weblogic to deploy these services?
>
> Regards
> Kris
>
>
> This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message.
>
>
> Any disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited. [v.E.1]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error in deplyoing services(*.aar) in weblogic.

2006-10-06 Thread Reddy, Sanket \(US - Hyderabad\)
Hi 
So u mean when I have my aar files inise the axis2.war I need to deploy
them using the option "exploded war configuration option of weblogic".

I am new to weblogic to..can u just forward me the link where I can get
some information :- way to use the exploded war configuration option.


Regards
Sanket


-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 06, 2006 6:33 PM
To: axis-dev@ws.apache.org
Subject: Re: Error in deplyoing services(*.aar) in weblogic.

Use the exploded war configuration option of weblogic, don't deploy
the war as-is.

-- dims

On 10/6/06, Reddy, Sanket (US - Hyderabad) <[EMAIL PROTECTED]>
wrote:
> Hi All
>
> I am trying to upload a service (*.aar ) files in my weblogic
> server.Using the admin page of axis.
> (I have already deployed the axis2.war file in weblogic).
>
> I get an error saying they are Faulty service (as shown below).
>
> Available Services
> Faulty Services
>
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
> \WEB-INF\services\HelloWorld.aar
>
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
> \WEB-INF\services\version.aar
>
> Same *.aar files I load using apache tomcat. 5.X and they are depolyed
?
>
>
> Am I missing some configuration in weblogic to deploy these services?
>
> Regards
> Kris
>
>
> This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and is
protected by law.  If you are not the intended recipient, you should
delete this message.
>
>
> Any disclosure, copying, or distribution of this message, or the
taking of any action based on it, is strictly prohibited. [v.E.1]
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service
Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error in deplyoing services(*.aar) in weblogic.

2006-10-06 Thread Davanum Srinivas

Use the exploded war configuration option of weblogic, don't deploy
the war as-is.

-- dims

On 10/6/06, Reddy, Sanket (US - Hyderabad) <[EMAIL PROTECTED]> wrote:

Hi All

I am trying to upload a service (*.aar ) files in my weblogic
server.Using the admin page of axis.
(I have already deployed the axis2.war file in weblogic).

I get an error saying they are Faulty service (as shown below).

Available Services
Faulty Services
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
\WEB-INF\services\HelloWorld.aar
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
\WEB-INF\services\version.aar

Same *.aar files I load using apache tomcat. 5.X and they are depolyed ?


Am I missing some configuration in weblogic to deploy these services?

Regards
Kris


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message.


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (AXIS2-1317) Codegeneration does not work when option is "uw" [unwarpping] and type is xsd:anyType

2006-10-06 Thread Saminda Wishwajith Abeyruwan (JIRA)
Codegeneration does not work when option is "uw" [unwarpping] and type is 
xsd:anyType
-

 Key: AXIS2-1317
 URL: http://issues.apache.org/jira/browse/AXIS2-1317
 Project: Apache Axis 2.0 (Axis2)
  Issue Type: Bug
 Environment: Any
Reporter: Saminda Wishwajith Abeyruwan


Codegeneration doesnot work if the given option is "uw" and if the wsdl 
contains xsd:anyType. 

 org.apache.axis2.AxisFault: Error occurred during code generation. 
org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to 
the name omEle with namespace echoOMElement_input; nested exception is:
java.lang.RuntimeException: Error occurred during code generation. 
org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to 
the name omEle with namespace echoOMElement_input; nested exception is:
org.apache.axis2.AxisFault: Error occurred during code generation. 
org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to 
the name omEle with namespace echoOMElement_input; nested exception is:
java.lang.RuntimeException: Error occurred during code generation. 
org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to 
the name omEle with namespace echoOMElement_input


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2]Axis2 build FAILED (Comiple)[]

2006-10-06 Thread Thilina Gunarathne

Hi Srinath,
Hope you are talking about the Axis2 trunk...
I'm porting the MTOMBuilder changes from 1.1 release branch to the trunk..

thanks,
Thilina

On 10/6/06, Srinath Perera <[EMAIL PROTECTED]> wrote:

I got following compilation error. Ple give me a hand to fix it
This is on Ubuntu

BTW .. I did a recent re-install of Ubuntu .. So my maven repository
is clean. This could be a good building test for Axis2?

Srinath

multiproject:install-callback:
[echo] Running jar:install for Apache Axis 2.0 - Kernel
java:prepare-filesystem:
[mkdir] Created dir:
/home/hperera/svncode/axis2/modules/kernel/target/classes

java:compile:
[echo] Compiling to
/home/hperera/svncode/axis2/modules/kernel/target/classes
[javac] Compiling 238 source files to
/home/hperera/svncode/axis2/modules/kernel/target/classes
[javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
[javac]  * into services.xml 
[javac]^
[javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
[javac]  * into services.xml 
[javac]^
[javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
[javac]  * into services.xml 
[javac] ^
[javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
[javac]  * into services.xml 
[javac]   ^
[javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java:26:
package org.apache.axiom.om.impl.mtom does not exist
[javac] import org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder;
[javac]  ^
[javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java:267:
cannot find symbol
[javac] symbol  : class MTOMStAXSOAPModelBuilder
[javac] location: class org.apache.axis2.transport.TransportUtils
[javac] builder = new
MTOMStAXSOAPModelBuilder(streamReader, attachments,
soapEnvelopeNamespaceURI);
[javac]   ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 2 errors
[javac] 4 warnings


--

Srinath Perera:
   http://www.cs.indiana.edu/~hperera/
   http://www.bloglines.com/blog/hemapani




--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/


[Axis2] Axis2 1.1 Release Plan - Release Candidates

2006-10-06 Thread Thilina Gunarathne

Hi all,
We are planning to cut a series of Axis2 1.1 Release Candidates for
user and developer review prior to the Axis2 1.1 release...

I'm thinking of cutting the RC1 ASAP (Hopefully today)... Then an RC2
by the end of next week after fixing the major issues found in the
RC1...

If we do not find any major issues in RC2, I would like to do the
Axis2 1.1 release on 20th October..

Thoughts and Comments??

~Thilina

--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2]Axis2 build FAILED (Comiple)[]

2006-10-06 Thread Srinath Perera

I got following compilation error. Ple give me a hand to fix it
This is on Ubuntu

BTW .. I did a recent re-install of Ubuntu .. So my maven repository
is clean. This could be a good building test for Axis2?

Srinath

multiproject:install-callback:
   [echo] Running jar:install for Apache Axis 2.0 - Kernel
java:prepare-filesystem:
   [mkdir] Created dir:
/home/hperera/svncode/axis2/modules/kernel/target/classes

java:compile:
   [echo] Compiling to
/home/hperera/svncode/axis2/modules/kernel/target/classes
   [javac] Compiling 238 source files to
/home/hperera/svncode/axis2/modules/kernel/target/classes
   [javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
   [javac]  * into services.xml 
   [javac]^
   [javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
   [javac]  * into services.xml 
   [javac]^
   [javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
   [javac]  * into services.xml 
   [javac] ^
   [javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/engine/ServiceLifeCycle.java:27:
warning: unmappable character for encoding UTF8
   [javac]  * into services.xml 
   [javac]   ^
   [javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java:26:
package org.apache.axiom.om.impl.mtom does not exist
   [javac] import org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder;
   [javac]  ^
   [javac] 
/home/hperera/svncode/axis2/modules/kernel/src/org/apache/axis2/transport/TransportUtils.java:267:
cannot find symbol
   [javac] symbol  : class MTOMStAXSOAPModelBuilder
   [javac] location: class org.apache.axis2.transport.TransportUtils
   [javac] builder = new
MTOMStAXSOAPModelBuilder(streamReader, attachments,
soapEnvelopeNamespaceURI);
   [javac]   ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] 2 errors
   [javac] 4 warnings


--

Srinath Perera:
  http://www.cs.indiana.edu/~hperera/
  http://www.bloglines.com/blog/hemapani


[jira] Resolved: (AXIS2-1309) Improved MTOM sample

2006-10-06 Thread Thilina Gunarathne (JIRA)
 [ http://issues.apache.org/jira/browse/AXIS2-1309?page=all ]

Thilina Gunarathne resolved AXIS2-1309.
---

Resolution: Fixed
  Assignee: Thilina Gunarathne

Patch Apllied...
http://svn.apache.org/viewvc?view=rev&rev=453559
Thanks Saliya..

> Improved MTOM sample
> 
>
> Key: AXIS2-1309
> URL: http://issues.apache.org/jira/browse/AXIS2-1309
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Improvement
>  Components: samples, build,site  & docs
>Reporter: Saliya Ekanayake
> Assigned To: Thilina Gunarathne
>Priority: Minor
> Attachments: patch.txt
>
>
> I have added some improvements to MTOM sample

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Disable "Transfer-Encoding: chunked" response

2006-10-06 Thread HHDirecto . Net
Hi,How can I disable "Transfer-Encoding: chunked" in the response of my axis 1.4 webservice? Thanks in advance



[jira] Commented: (AXIS2-1316) "Unexpected subelement" when parsing simple request

2006-10-06 Thread Dennis Sosnoski (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1316?page=comments#action_12440396 ] 

Dennis Sosnoski commented on AXIS2-1316:


I understand that, Saminda - the point of my last comment is that the operation 
is being set improperly by the SOAPAction handling, when it should be left for 
the message receiver (which will look at the actual content).

> "Unexpected subelement" when parsing simple request
> ---
>
> Key: AXIS2-1316
> URL: http://issues.apache.org/jira/browse/AXIS2-1316
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: adb
>Affects Versions: nightly
> Environment: Linux, Java 1.5.0
>Reporter: Dennis Sosnoski
>Priority: Blocker
> Attachments: library.zip
>
>
> In trying to build and run some test code that had been working last week I 
> found that the requests were not properly parsed. Here's a snippet of the 
> WSDL:
>   
>  targetNamespace="http://ws.sosnoski.com/library/wsdl";
> xmlns="http://www.w3.org/2001/XMLSchema";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>   
>   http://ws.sosnoski.com/library/types"/>
> 
>   
> 
>   
> 
>   
> 
>   
> Here's the XML sent by the generated ADB client:
> 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   
>   
>  http://ws.sosnoski.com/library/wsdl";>
> 0061020052
>  
>   
>
> This looks correct to me, but the server responds:
>   org.apache.axis2.AxisFault: 
> java.lang.RuntimeException: Unexpected subelement isbn; nested exception is:  
>java.lang.RuntimeException: java.lang.RuntimeException: Unexpected 
> subelement isbn  at 
> org.apache.axis2.AxisFault.makeFault(AxisFault.java:318) at 
> ...
> I wonder if this could relate to recent changes for attributeFormDefault 
> handling? In this case I'm using elementFormDefault, but I know there was 
> some confusion between the two earlier (and in fact, last week the generated 
> code was improperly namespace qualifying attributes used in other messages 
> for this service).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Error in deplyoing services(*.aar) in weblogic.

2006-10-06 Thread Reddy, Sanket \(US - Hyderabad\)
Hi All

I am trying to upload a service (*.aar ) files in my weblogic
server.Using the admin page of axis.
(I have already deployed the axis2.war file in weblogic).

I get an error saying they are Faulty service (as shown below).

Available Services
Faulty Services
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
\WEB-INF\services\HelloWorld.aar
C:\bea\user_projects\domains\VAP_Domain\VAp_server\stage\axis2\axis2.war
\WEB-INF\services\version.aar

Same *.aar files I load using apache tomcat. 5.X and they are depolyed ?


Am I missing some configuration in weblogic to deploy these services?

Regards
Kris 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Two different builders

2006-10-06 Thread Thilina Gunarathne

Thanks Syam for finding this out...

Created the Jira http://issues.apache.org/jira/browse/WSCOMMONS-107..

~Thilina

On 10/6/06, Thilina Gunarathne <[EMAIL PROTECTED]> wrote:

Forwarding to the Axis-dev list...

-- Forwarded message --
From: Syam Prasad <[EMAIL PROTECTED]>
Date: Oct 6, 2006 1:11 AM
Subject: RE: [Axis2] Two different builders
To: Thilina Gunarathne <[EMAIL PROTECTED]>


Thilina,

Thanks for your reply.

What I mean MTOMStAXSOAPModelBuilder builds soap message incorrectly
means

I have soap message built in the following way.


  
Attachment text
sometext
someothertext
  


Note: child element has mixed text i.e. plain text and element text.
I make attachment text from simple string and make it as MTOM attachment.

When I receive this message on the server side in the service class, this
message is being transformed in to


  Attachment text
  sometext
  someothertext


I think what you said is right. The MTOMStAXSOAPModelBuilder builder
Is looking at  and replacing with OMText's and also appending
the end tag that is causing me the problem.

I am getting my attachment text correctly. But when I ask child for
grandchild1 and grandchild2 it is throwing exception because now the
grandchild1 and grandchild2 are sub elements of parent.

By the way the other builder i.e. MTOMStAXSOAPModelBuilder is giving me the
soap message as I expected.

Any suggestions/recommendation are greatly appreciated.

Regards,
Syam

-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 11:57 AM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: Re: [Axis2] Two different builders

see my comments inline..

> "org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder"
> and in another
This is to handle non-mtom-optimised messages
> "org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder"
This is to handle MTOM optimised messages... This builder identifies
the XOP:Include elements and create OMText's in the place of
XOP:Include...

Axis2 selects the appropriate builder by looking at the
message...(specifically, the content type header of the message)..

> The service with StAXSOAPModelBuilder does build my soap message correctly
> and the service with MTOMStAXSOAPModelBuilder does not build my soap
message
> correctly.
What do you mean by this...  ?? Please elaborate more..

> Is there a way to debug axis2?
http://www.wso2.net/tutorials/axis2/java/2006/07/28/debug-ws

HTH,
Thilina

>
>
>
> Thanks in advance for your help.
>
>
>
> Regards,
>
> Syam
>
>


--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/



--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/




--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Fwd: [Axis2] Two different builders

2006-10-06 Thread Thilina Gunarathne

Forwarding to the Axis-dev list...

-- Forwarded message --
From: Syam Prasad <[EMAIL PROTECTED]>
Date: Oct 6, 2006 1:11 AM
Subject: RE: [Axis2] Two different builders
To: Thilina Gunarathne <[EMAIL PROTECTED]>


Thilina,

Thanks for your reply.

What I mean MTOMStAXSOAPModelBuilder builds soap message incorrectly
means

I have soap message built in the following way.


 
   Attachment text
   sometext
   someothertext
 


Note: child element has mixed text i.e. plain text and element text.
I make attachment text from simple string and make it as MTOM attachment.

When I receive this message on the server side in the service class, this
message is being transformed in to


 Attachment text
 sometext
 someothertext


I think what you said is right. The MTOMStAXSOAPModelBuilder builder
Is looking at  and replacing with OMText's and also appending
the end tag that is causing me the problem.

I am getting my attachment text correctly. But when I ask child for
grandchild1 and grandchild2 it is throwing exception because now the
grandchild1 and grandchild2 are sub elements of parent.

By the way the other builder i.e. MTOMStAXSOAPModelBuilder is giving me the
soap message as I expected.

Any suggestions/recommendation are greatly appreciated.

Regards,
Syam

-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 11:57 AM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: Re: [Axis2] Two different builders

see my comments inline..


"org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder"
and in another

This is to handle non-mtom-optimised messages

"org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder"

This is to handle MTOM optimised messages... This builder identifies
the XOP:Include elements and create OMText's in the place of
XOP:Include...

Axis2 selects the appropriate builder by looking at the
message...(specifically, the content type header of the message)..


The service with StAXSOAPModelBuilder does build my soap message correctly
and the service with MTOMStAXSOAPModelBuilder does not build my soap

message

correctly.

What do you mean by this...  ?? Please elaborate more..


Is there a way to debug axis2?

http://www.wso2.net/tutorials/axis2/java/2006/07/28/debug-ws

HTH,
Thilina





Thanks in advance for your help.



Regards,

Syam





--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/



--
http://webservices.apache.org/~thilina/
http://thilinag.blogspot.com/

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1316) "Unexpected subelement" when parsing simple request

2006-10-06 Thread Saminda Wishwajith Abeyruwan (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1316?page=comments#action_12440384 ] 

Saminda Wishwajith Abeyruwan commented on AXIS2-1316:
-

Hi Dennis,

>From the wsdl, 


  
  
  

  
  
  

  


There is no value for @soapAction. Thus, soap action based dispatching would 
not work. Thus, the message left with url based or body based dispatching. 
""Unexpected subelement" when parsing simple request" caused when the message 
dispatch to a wrong service.  



> "Unexpected subelement" when parsing simple request
> ---
>
> Key: AXIS2-1316
> URL: http://issues.apache.org/jira/browse/AXIS2-1316
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: adb
>Affects Versions: nightly
> Environment: Linux, Java 1.5.0
>Reporter: Dennis Sosnoski
>Priority: Blocker
> Attachments: library.zip
>
>
> In trying to build and run some test code that had been working last week I 
> found that the requests were not properly parsed. Here's a snippet of the 
> WSDL:
>   
>  targetNamespace="http://ws.sosnoski.com/library/wsdl";
> xmlns="http://www.w3.org/2001/XMLSchema";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>   
>   http://ws.sosnoski.com/library/types"/>
> 
>   
> 
>   
> 
>   
> 
>   
> Here's the XML sent by the generated ADB client:
> 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   
>   
>  http://ws.sosnoski.com/library/wsdl";>
> 0061020052
>  
>   
>
> This looks correct to me, but the server responds:
>   org.apache.axis2.AxisFault: 
> java.lang.RuntimeException: Unexpected subelement isbn; nested exception is:  
>java.lang.RuntimeException: java.lang.RuntimeException: Unexpected 
> subelement isbn  at 
> org.apache.axis2.AxisFault.makeFault(AxisFault.java:318) at 
> ...
> I wonder if this could relate to recent changes for attributeFormDefault 
> handling? In this case I'm using elementFormDefault, but I know there was 
> some confusion between the two earlier (and in fact, last week the generated 
> code was improperly namespace qualifying attributes used in other messages 
> for this service).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1143) Basic Authentication with client stub

2006-10-06 Thread Saminda Wishwajith Abeyruwan (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1143?page=comments#action_12440376 ] 

Saminda Wishwajith Abeyruwan commented on AXIS2-1143:
-

Hi Dang,

We've been discovered few bugs and inconveniences when setting authentications. 
Thus, we have come up with a new structure in current code. The new procedure 
has been well documented. 

Following is what you have to do to enable basic auth. 

try {
TrafficAccidentServiceStub stub = new TrafficAccidentServiceStub();

//Fill your stub as requried
...

Options options = stub._getServiceClient().getOptions();

HttpTransportProperties.Authenticator auth = new 
HttpTransportProperties.Authenticator();
auth.setPassword("password");
auth.setUsername("username");
options.setProperty(HTTPConstants.AUTHENTICATE,auth);

// if you are getting the parser exception, please uncomment 
following.
//auth.setAllowedRetry(true);

stub.TrafficAccident(...);




} catch (AxisFault axisFault) {
axisFault
.printStackTrace();
}

Thus, user dosen't need to know what type of authentication scheme he is using. 
User just have to provide the credentials. The Axis2's transport will select 
most suitable auth scheme based on the challenge provided  by the server and 
the user provided credentials. 

Please do try with this, and report us the progress.

Thank you

Saminda 

> Basic Authentication with client stub
> -
>
> Key: AXIS2-1143
> URL: http://issues.apache.org/jira/browse/AXIS2-1143
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>Affects Versions: 1.0
> Environment: Windows XP
>Reporter: christopher dang
> Attachments: ws.java, wsdl1.wsdl
>
>
> Used WSDL2Java to generate client stub from the following wsdl:
> 
> http://schemas.xmlsoap.org/wsdl/";
>  xmlns:reqns="http://www.exampleApp.TrafficAccident.Request.com";
>  xmlns:resns="http://www.exampleApp.TrafficAccident.Response.com";
>  xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
>  xmlns:tns="http://www.exampleApp.TrafficAccident.com";
>  targetNamespace="http://www.exampleApp.TrafficAccident.com";>
>  
>   http://www.exampleApp.TrafficAccident.Request.com";
>xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>attributeFormDefault="qualified"
>elementFormDefault="qualified"
>targetNamespace="http://www.exampleApp.TrafficAccident.Request.com";
>xmlns:reqns="http://www.exampleApp.TrafficAccident.Request.com";>
>
> 
>  
>   
>
> 
>  
>  
> 
>
>   
>   
>
> 
>  
>  
> 
>
>   
>  
> 
>
>   
>   http://www.exampleApp.TrafficAccident.Response.com";
>xmlns:xsd="http://www.w3.org/2001/XMLSchema";
>attributeFormDefault="qualified"
>elementFormDefault="qualified"
>targetNamespace="http://www.exampleApp.TrafficAccident.Response.com";>
>
> 
>  
>   
>
> 
>  
>  
> 
>
>   
>   
>
> 
>  
>  
> 
>
>   
>  
> 
>
>   
>  
>  
>   
>  
>  
>   
>  
>  
>   
>
>
>   
>  
>  
>   transport="http://schemas.xmlsoap.org/soap/http"/>
>   
>
>
> 
>
>
> 
>
>   
>  
>  
>   
> location="http://citsf.state.co.us:25007/cics/cwba/cwshttpx"/>
>   
>  
> 
> Tried to access the web service with the following code:
> public class ws {
>public static void main( String[] args ) {
>   try {
>  
> org.apache.axis2.transport.http.HttpTransportProperties.BasicAuthentication 
> ba =
> new 
> org.apache.axis2.transport.http.HttpTransportProperties.BasicAuthentication();
>  ba.setPassword( "password" );
>  ba.setUsername( "username" );
>  com.trafficaccident.exampleapp.www.TrafficAccidentServiceStub stub =
> new 
> com.trafficaccident.exampleapp.www.TrafficAccidentServiceStub();
>  org.apache.axis2.client.Options op = 
> stub._getServiceClient().getOptions();
>  op.setProperty( 
> org.apache.axis2.transport.http.HTTPConstants.BASIC_AUTHENTICATION,
> ba );
>  op.setProperty( 
> org.apache.axis2.Constants.Configuration.TRANSPORT_URL 
> ,"http://citsf.state.co.us:25007/cics/cwba/cwshttpx";);
>  
> com.request.trafficaccident.exampleapp.www.TrafficAccidentRequestDocument doc 
> =
> 
> com.request.trafficaccident.exampleapp.www.TrafficAccidentRequestDocument.Factory.newInstance();
>  
> com.request.trafficaccident.exampleapp.www.TrafficAccidentRequestDocument.TrafficAccidentRequest
> req = doc.addNewTrafficAcciden

[jira] Commented: (AXIS2-1316) "Unexpected subelement" when parsing simple request

2006-10-06 Thread Dennis Sosnoski (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1316?page=comments#action_12440375 ] 

Dennis Sosnoski commented on AXIS2-1316:


By turning on debugging I confirmed that the operation is being set before the 
message receiver is called:

DEBUG Phase: 375  -  Invoking Handler 'SOAPActionBasedDispatcher' in Phase 
'Transport'
DEBUG SOAPActionBasedDispatcher:45  -  Checking for Operation using SOAPAction 
:.
DEBUG ProjectResourceBundle:67  -  
org.apache.axis2.i18n.resource:handleGetObject(operationfound)
DEBUG AbstractDispatcher:96  - Found AxisOperation : getTypes

The SOAPAction header is the empty string, so I'm not sure what it's matching 
on here. It looks like somehow the empty SOAPAction header string is being 
translated into a non-empty (but also non-printable) string, and that the 
operations have been added to the alias map for the service using that string. 
Hope this rings a bell for someone...

> "Unexpected subelement" when parsing simple request
> ---
>
> Key: AXIS2-1316
> URL: http://issues.apache.org/jira/browse/AXIS2-1316
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: adb
>Affects Versions: nightly
> Environment: Linux, Java 1.5.0
>Reporter: Dennis Sosnoski
>Priority: Blocker
> Attachments: library.zip
>
>
> In trying to build and run some test code that had been working last week I 
> found that the requests were not properly parsed. Here's a snippet of the 
> WSDL:
>   
>  targetNamespace="http://ws.sosnoski.com/library/wsdl";
> xmlns="http://www.w3.org/2001/XMLSchema";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>   
>   http://ws.sosnoski.com/library/types"/>
> 
>   
> 
>   
> 
>   
> 
>   
> Here's the XML sent by the generated ADB client:
> 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   
>   
>  http://ws.sosnoski.com/library/wsdl";>
> 0061020052
>  
>   
>
> This looks correct to me, but the server responds:
>   org.apache.axis2.AxisFault: 
> java.lang.RuntimeException: Unexpected subelement isbn; nested exception is:  
>java.lang.RuntimeException: java.lang.RuntimeException: Unexpected 
> subelement isbn  at 
> org.apache.axis2.AxisFault.makeFault(AxisFault.java:318) at 
> ...
> I wonder if this could relate to recent changes for attributeFormDefault 
> handling? In this case I'm using elementFormDefault, but I know there was 
> some confusion between the two earlier (and in fact, last week the generated 
> code was improperly namespace qualifying attributes used in other messages 
> for this service).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Commented: (AXIS2-1316) "Unexpected subelement" when parsing simple request

2006-10-06 Thread Dennis Sosnoski (JIRA)
[ 
http://issues.apache.org/jira/browse/AXIS2-1316?page=comments#action_12440368 ] 

Dennis Sosnoski commented on AXIS2-1316:


I just did a full rebuild and test of the current 1.1 branch, then tried this 
again with the same results as before. I'm at a loss as to why the problem 
doesn't appear to be repeatable. I did track this further on my system, and 
found that the message dispatch appears to be selecting the wrong operation. 
The operation selected is the last one defined in the service definition 
(getTypes, which is why the  child element is not expected).

> "Unexpected subelement" when parsing simple request
> ---
>
> Key: AXIS2-1316
> URL: http://issues.apache.org/jira/browse/AXIS2-1316
> Project: Apache Axis 2.0 (Axis2)
>  Issue Type: Bug
>  Components: adb
>Affects Versions: nightly
> Environment: Linux, Java 1.5.0
>Reporter: Dennis Sosnoski
>Priority: Blocker
> Attachments: library.zip
>
>
> In trying to build and run some test code that had been working last week I 
> found that the requests were not properly parsed. Here's a snippet of the 
> WSDL:
>   
>  targetNamespace="http://ws.sosnoski.com/library/wsdl";
> xmlns="http://www.w3.org/2001/XMLSchema";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
>   
>   http://ws.sosnoski.com/library/types"/>
> 
>   
> 
>   
> 
>   
> 
>   
> Here's the XML sent by the generated ADB client:
> 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
>   
>   
>  http://ws.sosnoski.com/library/wsdl";>
> 0061020052
>  
>   
>
> This looks correct to me, but the server responds:
>   org.apache.axis2.AxisFault: 
> java.lang.RuntimeException: Unexpected subelement isbn; nested exception is:  
>java.lang.RuntimeException: java.lang.RuntimeException: Unexpected 
> subelement isbn  at 
> org.apache.axis2.AxisFault.makeFault(AxisFault.java:318) at 
> ...
> I wonder if this could relate to recent changes for attributeFormDefault 
> handling? In this case I'm using elementFormDefault, but I know there was 
> some confusion between the two earlier (and in fact, last week the generated 
> code was improperly namespace qualifying attributes used in other messages 
> for this service).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[axis2] Client stub generates empty soap body

2006-10-06 Thread Andrew Zahra



I am using a client 
stub generated by Axis2 WSDL2Java. I can call a method that takes a string as an 
argument and returns a string fine. But I have another method that takes an 
array and a string as arguments and returns an array. When I use the client stub 
I always get an empty soap body. I have stepped through the code with the 
debugger as best I can and I can see that the Type class has the required 
getPullParser() method, which seems to be doing the right 
thing.
 
Does anyone who 
understands the internals of axis2 have any tips for me on how to debug 
this?
 
Here is a sample of 
the messages generated.
 
===This is 
successful=
POST 
/axis2/services/VREXJurisdiction HTTP/1.1
 
User-Agent: 
Axis/2.0
 
SOAPAction: 
systemAvailable
 
Host: 
127.0.0.1:2002
 
Transfer-Encoding: 
chunked
 
Content-Type: 
text/xml; charset=UTF-8
 
 
 
123
 
http://schemas.xmlsoap.org/soap/envelope/">quest 
xmlns:ns1="urn:types">NSWuest>
 
0
 
===This one 
fails=
POST 
/axis2/services/VREXJurisdiction HTTP/1.1
 
User-Agent: 
Axis/2.0
 
SOAPAction: 
submitIncidents
 
Cookie: 
JSESSIONID=BE3A84AF5D4ABA3194A4B13C0819A27C
 
Cookie2: 
JSESSIONID=BE3A84AF5D4ABA3194A4B13C0819A27C
 
Host: 
127.0.0.1:2002
 
Transfer-Encoding: 
chunked
 
Content-Type: 
text/xml; charset=UTF-8
 
 
 
Thanks,
Andrew


Re: [Axis2] Broken 1.1 build

2006-10-06 Thread Ruchith Fernando

apologies ... I did successfully built both trunk and 1_1 branch...
but missed the changed etc/project.properties file in my commit :-).

- Ruchith

On 10/6/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:

Hey - you think maybe that's why we're supposed to do builds before
checking in changes? ;-)

  - Dennis

Ruchith Fernando wrote:
> hmm ... my bad ... we have to use latest axiom for this... this is
> fixed in the trunk... Since axis2-1.1 seems to stick to axiom-1.1.1
> I'll revert this change from the axis2-1.1 branch.
>
> Thanks,
> Ruchith
>
> On 10/6/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:
>> I'm getting failures on org.apache.rampart.RampartTest in integration
>> with:
>>
>> java.lang.NullPointerException
>> at
>> org.apache.axiom.om.impl.dom.ChildNode.getNextOMSibling(ChildNode.java:45)
>>
>> ...
>> at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:93)
>>
>> Am I the only one seeing this?
>>
>>   - Dennis
>>
>> --
>> Dennis M. Sosnoski
>> SOA, Web Services, and XML
>> Training and Consulting
>> http://www.sosnoski.com - http://www.sosnoski.co.nz
>> Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
www.ruchith.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Broken 1.1 build

2006-10-06 Thread Dennis Sosnoski
Hey - you think maybe that's why we're supposed to do builds before 
checking in changes? ;-)


 - Dennis

Ruchith Fernando wrote:

hmm ... my bad ... we have to use latest axiom for this... this is
fixed in the trunk... Since axis2-1.1 seems to stick to axiom-1.1.1
I'll revert this change from the axis2-1.1 branch.

Thanks,
Ruchith

On 10/6/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:
I'm getting failures on org.apache.rampart.RampartTest in integration 
with:


java.lang.NullPointerException
at
org.apache.axiom.om.impl.dom.ChildNode.getNextOMSibling(ChildNode.java:45) 


...
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:93)

Am I the only one seeing this?

  - Dennis

--
Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]