Re: Tired of aar problem

2008-10-07 Thread ibrahim demir
Hi Everyboy;
 
I understood the problem.The problem was because I have already added the bin 
folder to the classpath of jboss so it confuses whic class it should use. When 
I removed it then it worked.
 
thanks for your interest
 
Yours

 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

 
   
 



- Original Message 
From: ibrahim demir <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Tuesday, October 7, 2008 10:00:45 AM
Subject: Re: Tired of aar problem


Hi Everybody;
 
Firstof all Thanks for your interest to my problem. I attach my test
wsdl file,services.xml and my class . the handling class is under 
tr\com\cs\banking\in=
frastructure\bankingextensions\webservice\handler and it is CSBankingWS
 
I also send the code for that class . This class needs libraries like 
log4j,axiom-api etc. so should I put them in a lib folder within my aar.I can 
not load my class unfortunetly with the wizard. (I do not know why?) So I aar 
them up manually
 
Thanks again

 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

 
   
 



- Original Message 
From: keith chapman <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Tuesday, October 7, 2008 5:12:53 AM
Subject: Re: Tired of aar problem


On Tue, Oct 7, 2008 at 3:04 AM, ibrahim demir <[EMAIL PROTECTED]> wrote:

Hi All;

I have been trying to generate an aar file and deploy it within my war 
file.Everthing deploys well and when I use the axis2 web interface I can see my 
service. But when I send a request from .NET Wweb Service Studio:
System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.Web.Services.Protocols.SoapException: The 
ServiceClass object does not implement the required method in the following 
form: OMElement call(OMElement e)

But my service class object is exactly the same..Before sending my  wsdl file 
and aar I have a few questions

1-while creating my aar should I put the used libraries in a folder called lib 
You could, if you want to make those jars available to this service only. But 
this is not an absolute necessity if the classes are not in the lib of the 
service archive it will be picked off the main lib.


2- when I try to create my aar with Eclipse Axis Archiver Plugin but I can not 
load my class ..So can this a sign that there something wrong
3-My axis2 container is 1.3 verison and I write my services using 1.4.1 libs. 
Can this cause a problem.
Should not be an issue. There are no API changes. 

Thanks,
Keith.



I can send more information if you are interested.

Yours and thanks 


Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

 
   
 




-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org

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


  

Re: Tired of aar problem

2008-10-07 Thread ibrahim demir
Hi Everybody;
 
Firstof all Thanks for your interest to my problem. I attach my test
wsdl file,services.xml and my class . the handling class is under 
tr\com\cs\banking\in=
frastructure\bankingextensions\webservice\handler and it is CSBankingWS
 
I also send the code for that class . This class needs libraries like 
log4j,axiom-api etc. so should I put them in a lib folder within my aar.I can 
not load my class unfortunetly with the wizard. (I do not know why?) So I aar 
them up manually
 
Thanks again

 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

 
   
 



- Original Message 
From: keith chapman <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Tuesday, October 7, 2008 5:12:53 AM
Subject: Re: Tired of aar problem


On Tue, Oct 7, 2008 at 3:04 AM, ibrahim demir <[EMAIL PROTECTED]> wrote:

Hi All;

I have been trying to generate an aar file and deploy it within my war 
file.Everthing deploys well and when I use the axis2 web interface I can see my 
service. But when I send a request from .NET Wweb Service Studio:
System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.Web.Services.Protocols.SoapException: The 
ServiceClass object does not implement the required method in the following 
form: OMElement call(OMElement e)

But my service class object is exactly the same..Before sending my  wsdl file 
and aar I have a few questions

1-while creating my aar should I put the used libraries in a folder called lib 
You could, if you want to make those jars available to this service only. But 
this is not an absolute necessity if the classes are not in the lib of the 
service archive it will be picked off the main lib.


2- when I try to create my aar with Eclipse Axis Archiver Plugin but I can not 
load my class ..So can this a sign that there something wrong
3-My axis2 container is 1.3 verison and I write my services using 1.4.1 libs. 
Can this cause a problem.
Should not be an issue. There are no API changes. 

Thanks,
Keith.



I can send more information if you are interested.

Yours and thanks 


Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org

 
   
 




-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org



  http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tns="urn:cs.com.tr/banking"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>

http://www.w3.org/2001/XMLSchema";>

















































































http://schemas.xmlsoap.org/soap/http"/>












http://localhost:8080/axis2/services/BankingWS?s=CsdemoWsdlTest"/>



package tr.com.cs.banking.infrastructure.bankingextensions.webservice.handler;

import org.apache.axiom.om.OMElement;
import org.apache.log4j.Logger;

import tr.com.cs.aurora.auroracore.utility.CSBag;
import 
tr.com.cs.banking.infrastructure.bankingextensions.webservice.util.AxiomUtility;
import 
tr.com.cs.banking.infrastructure.bankingextensions.webservice.util.HandlerUtility;



public class CSBankingWS {

private static final Logger logger = 
Logger.getLogger(CSBankingWS.class);

public OMElement call(OMElement element){
element.build();
element.detach();
OMElement response=null;
try {

logger.info("*

Re: Tired of aar problem

2008-10-06 Thread keith chapman
On Tue, Oct 7, 2008 at 3:04 AM, ibrahim demir <[EMAIL PROTECTED]>wrote:

> Hi All;
>
> I have been trying to generate an aar file and deploy it within my war
> file.Everthing deploys well and when I use the axis2 web interface I can see
> my service. But when I send a request from .NET Wweb Service Studio:
> System.Reflection.TargetInvocationException: Exception has been thrown by
> the target of an invocation. --->
> System.Web.Services.Protocols.SoapException: The ServiceClass object does
> not implement the required method in the following form: OMElement
> call(OMElement e)
>
> But my service class object is exactly the same..Before sending my  wsdl
> file and aar I have a few questions
>
> 1-while creating my aar should I put the used libraries in a folder called
> lib
>
You could, if you want to make those jars available to this service only.
But this is not an absolute necessity if the classes are not in the lib of
the service archive it will be picked off the main lib.

>
> 2- when I try to create my aar with Eclipse Axis Archiver Plugin but I can
> not load my class ..So can this a sign that there something wrong
> 3-My axis2 container is 1.3 verison and I write my services using 1.4.1
> libs. Can this cause a problem.
>
Should not be an issue. There are no API changes.

Thanks,
Keith.

>
>
> I can send more information if you are interested.
>
> Yours and thanks
>
>
> Ibrahim DEMIR
> CyberSoft Yazilim Muh.
> http://www.ibrahimdemir.org
>
>
>
>
>
>


-- 
Keith Chapman
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://www.keith-chapman.org


RE: Tired of aar problem

2008-10-06 Thread Martin Gainty

please post wsdl

Martin Gainty 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


Date: Mon, 6 Oct 2008 14:34:58 -0700
From: [EMAIL PROTECTED]
Subject: Tired of aar problem
To: axis-user@ws.apache.org



Hi All;

I have been trying to generate an aar file and deploy it within my war 
file.Everthing deploys well and when I use the axis2 web interface I can see my 
service. But when I send a request from .NET Wweb Service Studio:
System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.Web.Services.Protocols.SoapException: The 
ServiceClass object does not implement the required method in the following 
form: OMElement call(OMElement e)

But my service class object is exactly the same..Before sending my  wsdl file 
and aar I have a few questions

1-while creating my aar should I put the used libraries in a folder called lib 
2- when I try to create my aar with
 Eclipse Axis Archiver Plugin but I can not load my class ..So can this a sign 
that there something wrong
3-My axis2 container is 1.3 verison and I write my services using 1.4.1 libs. 
Can this cause a problem.

I can send more information if you are interested.

Yours and thanks 

 Ibrahim DEMIRCyberSoft Yazilim Muh.http://www.ibrahimdemir.org
 





  
_
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/

Re: Tired of aar problem

2008-10-06 Thread Moni
Do you see the web service listed in the list of Available Services when going 
in as admin in the axis2 console?  The class should load when creating the 
archive file.  Usually pointing all the way to the bin folder causes the class 
to load successfully.  When creating the aar itself you can specify the jars to 
include in your aar file.
 
Thanks,
Moni

--- On Mon, 10/6/08, ibrahim demir <[EMAIL PROTECTED]> wrote:

From: ibrahim demir <[EMAIL PROTECTED]>
Subject: Tired of aar problem
To: axis-user@ws.apache.org
Date: Monday, October 6, 2008, 2:34 PM





Hi All;

I have been trying to generate an aar file and deploy it within my war 
file.Everthing deploys well and when I use the axis2 web interface I can see my 
service. But when I send a request from .NET Wweb Service Studio:
System.Reflection.TargetInvocationException: Exception has been thrown by the 
target of an invocation. ---> System.Web.Services.Protocols.SoapException: The 
ServiceClass object does not implement the required method in the following 
form: OMElement call(OMElement e)

But my service class object is exactly the same..Before sending my  wsdl file 
and aar I have a few questions

1-while creating my aar should I put the used libraries in a folder called lib 
2- when I try to create my aar with Eclipse Axis Archiver Plugin but I can not 
load my class ..So can this a sign that there something wrong
3-My axis2 container is 1.3 verison and I write my services using 1.4.1 libs. 
Can this cause a problem.

I can send more information if you are interested.

Yours and thanks 


 Ibrahim DEMIR
CyberSoft Yazilim Muh.
http://www.ibrahimdemir.org