Re: Exception doesnt contain ObjectFactory.class or jaxb.index

2008-01-12 Thread Trasca Virgil
Hi Andreas,

Meenwhile I changed the tactic and I am generating the xsd from java and I 
have also the jaxb.index file. I took the jar with datatypes I putted 
everywhere in axis2\web-inf\lib in axis2\web-inf\classes hopping that it is a 
classpath issue and I will fix it that way but no success. I am getting the 
same exception.

Do you have some advice?

Thank you,
Virgil

- Original Message 
From: Andreas Veithen [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Saturday, January 12, 2008 4:57:01 PM
Subject: Re: Exception doesnt contain ObjectFactory.class or jaxb.index


Virgil,

You are right. Only the ObjectFactory class is generated in XSD-Java  
mode. The file jaxb.index is only used when in Java-XSD mode and you  
don't need it.

Andreas

On 10 Jan 2008, at 20:49, Trasca Virgil wrote:

 Hi Andreas,

Thanks for help. I am generating jaxb2 code with XJC ant task.  
 This is generating ObjectFactory.java but not jaxb.index file. Is  
 this file from jaxb2 or it is from old jaxb1? If I am googling for  
 this file I get so few references and no clear documentation for  
 jaxb.index.

 I putted the generated classes including ObjectFactory.java as a jar
  
 in WEB-INF\lib folder of the Axis2 web-app in order  to be in the  
 classpath but still the same error. What do you think I am doing  
 wrong?

 Thanks,
 Virgil

 - Original Message 
 From: Andreas Veithen [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Thursday, January 10, 2008 8:53:46 PM
 Subject: Re: Exception doesnt contain ObjectFactory.class or  
 jaxb.index


 Virgil,

 Both the ObjectFactory class and the jaxb.index file are generated by
 JAXB 2. They are required by JAXB to load the generated classes at
 runtime. So, the message basically tells you that the generated
 classes are not available in the classpath.

 Andreas

 On 10 Jan 2008, at 19:33, Trasca Virgil wrote:

 Hello,

I have a service which is exposing some classes which are mapped

 to an external xml file with jaxb2. I want to use jaxb2 for getting/
 writting values to my xml but when I send data on http for
 webservice I want to use the axis2 adb binding. My method that is
 exposing xml with jaxb2 is working outside axis2.

 But when I deploy this method as a web service and I call the web
 service I get javax.xml.bind.JAXBException:
 burster.generated.jaxb2 doesnt contain ObjectFactory.class or
 jaxb.index.

 What is this exception? What is jaxb.index? I want to use ADB as
 binding over the htpp.

 Thank you,
 Virgil


 -
 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]



-
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]



Exception doesnt contain ObjectFactory.class or jaxb.index

2008-01-10 Thread Trasca Virgil
Hello,

 I have a service which is exposing some classes which are mapped to an 
external xml file with jaxb2. I want to use jaxb2 for getting/writting values 
to my xml but when I send data on http for webservice I want to use the axis2 
adb binding. My method that is exposing xml with jaxb2 is working outside axis2.

But when I deploy this method as a web service and I call the web service I get 
javax.xml.bind.JAXBException: burster.generated.jaxb2 doesnt contain 
ObjectFactory.class or jaxb.index.

What is this exception? What is jaxb.index? I want to use ADB as binding over 
the htpp.

Thank you,
Virgil

- Original Message 
From: andreas netter [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Thursday, January 10, 2008 5:35:46 PM
Subject: Re: [Axis2] RuntimeException when using SOAPMonitor


Hi Robert,

I'm using SOAP 1.1 and JAXB-RI data binding.

The correct soap envelope for the response should look like this:
soapenv:Envelope
 xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
soapenv:Bodyns1:RESPONSE
 xmlns:ns1=http://my.company.com;../ns1:RESPONSE
/soapenv:Body/soapenv:Envelope

But i'm not 100% sure if it does because i can't monitor the correct
 response due to the Exception.

The log statement before the Exception prints the following (RESPONSE
 is the Element name in the Response Message):
[OMSourcedElementImpl] forceExpand: expected element namespace
 RESPONSE, found

The fact that the service works normal when SOAPMonitor is *NOT* used
 confuses me a bit, 
because the exception is thrown deep into axiom, as you mentioned.

Greets,
Andi

 Original-Nachricht 
 Datum: Thu, 10 Jan 2008 12:33:48 -0200
 Von: robert lazarski [EMAIL PROTECTED]
 An: axis-user@ws.apache.org
 Betreff: Re: [Axis2] RuntimeException when using SOAPMonitor

 What SOAP version (1.1 or 1.2) and databinding are you using? You
 seem
 to missing a uri in your envelope. All the soap monitor does is
 convert the soap envelope to a string, and this error seems to be
 deep
 into axiom. Seems to be failing around this code:
 

 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-impl/src/main/java/org/apache/axiom/om/impl/llom/OMSourcedElementImpl.java?view=markup
 
 String readerURI = readerFromDS.getNamespaceURI();
 readerURI = (readerURI == null) ?  : readerURI;
 String uri = getNamespace().getNamespaceURI();
if (!readerURI.equals(uri)) {
log.error(forceExpand: expected element namespace  +
 getLocalName() + , found  + uri);
 throw new RuntimeException(Element namespace from
 data source is  +
 readerURI + , not the expected  + uri);
 }
 
 Post your envelope and maybe we can help.  It also would help if you
 post the logs that are printed on this line:
 
 log.error(forceExpand: expected element namespace  +
 getLocalName() + , found  + uri);
 
 So you need a uri and it doesn't appear you have one for some reason.
 
 You could try a nightly release or use TCPMon instead of the
 soapmonitor.
 
 HTH,
 Robert
 
 On Jan 10, 2008 12:00 PM,  [EMAIL PROTECTED] wrote:
  Hi Axis2 users,
 
  i have implemented a very simple Axis2 webservice
 (request-response),
 which works correct as long as i don't use SOAPMonitor.
 
  When I integrate SOAPMonitor into my Axis2 web-application, i get
 the
 following RuntimeException (mapped to an axis2fault) at the
 webservice
 response:
  java.lang.RuntimeException: Element namespace from data source is
 http://my.company.com, not the expected
 
  I assume i configured SOAPMonitor correct. I can use the
 SOAPMonitor
 applet, it shows the correct request message and the above-named
 fault-message. SOAPMonitor also works fine for me with one-way
 webservices.
 
  So why do i get an error at the response when using SOAPMonitor?
  Has anyone an idea or a similar problem?
 
  Version:
  Axis2-1.3
  SOAPMonitor applet classes taken from
 Axis2-1.3/lib/soapmonitor-1.3.jar
 
  The RuntimeException stacktrace is attached.
 
  Thanks in advance,
  Andi
 
 
  Stacktrace (part of):
  java.lang.RuntimeException: Element namespace from data source is
 http://my.company.com, not the expected
  at

 
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.forceExpand(OMSourcedElementImpl.java:184)
  at

 
org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerialize(OMSourcedElementImpl.java:568)
  at

 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:772)
  at

 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:756)
  at

 
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:210)
  at

 
org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:756)
  at

 org.apache.axiom.om.impl.llom.OMNodeImpl.serialize(OMNodeImpl.java:345)
  at

Re: Exception doesnt contain ObjectFactory.class or jaxb.index

2008-01-10 Thread Trasca Virgil
Hi Andreas,

Thanks for help. I am generating jaxb2 code with XJC ant task. This is 
generating ObjectFactory.java but not jaxb.index file. Is this file from jaxb2 
or it is from old jaxb1? If I am googling for this file I get so few references 
and no clear documentation for jaxb.index.

I putted the generated classes including ObjectFactory.java as a jar in 
WEB-INF\lib folder of the Axis2 web-app in order  to be in the classpath but 
still the same error. What do you think I am doing wrong?

Thanks,
Virgil

- Original Message 
From: Andreas Veithen [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Thursday, January 10, 2008 8:53:46 PM
Subject: Re: Exception doesnt contain ObjectFactory.class or jaxb.index


Virgil,

Both the ObjectFactory class and the jaxb.index file are generated by  
JAXB 2. They are required by JAXB to load the generated classes at  
runtime. So, the message basically tells you that the generated  
classes are not available in the classpath.

Andreas

On 10 Jan 2008, at 19:33, Trasca Virgil wrote:

 Hello,

 I have a service which is exposing some classes which are mapped
  
 to an external xml file with jaxb2. I want to use jaxb2 for getting/ 
 writting values to my xml but when I send data on http for  
 webservice I want to use the axis2 adb binding. My method that is  
 exposing xml with jaxb2 is working outside axis2.

 But when I deploy this method as a web service and I call the web  
 service I get javax.xml.bind.JAXBException:  
 burster.generated.jaxb2 doesnt contain ObjectFactory.class or  
 jaxb.index.

 What is this exception? What is jaxb.index? I want to use ADB as  
 binding over the htpp.

 Thank you,
 Virgil


-
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: Related to Axis2C generated client issue

2008-01-09 Thread Trasca Virgil
Hi Dimuthu,
 
  Thank you for the help. Meenwhile starting from a previous mail of you I 
started to suspect the error is in the server side and I confirmed that with 
some tests. My issue now is that I don't know how to enable logging in my Axis2 
server in order to track the problem in detail.

Thank you anyway,
Virgil

- Original Message 
From: Dimuthu Gamage [EMAIL PROTECTED]
To: Apache AXIS C User List axis-c-user@ws.apache.org
Sent: Thursday, January 10, 2008 5:25:10 AM
Subject: Related to Axis2C generated client issue


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

It works for me when I tried it with following demo logic.

 public
burster.publicserviceinterface.GetSettingsResponse getSettings
  (

  )
{
//TODO : fill this with the necessary business logic
//throw new
java.lang.UnsupportedOperationException(Please implement  +
this.getClass().getName() + #getSettings);
burster.publicserviceinterface.GetSettingsResponse res
= new burster.publicserviceinterface.GetSettingsResponse();

burster.generated.jaxb2.xsd.BurstSettings setting =
new burster.generated.jaxb2.xsd.BurstSettings();
burster.generated.jaxb2.xsd.DefaultEmailMessage email
= new burster.generated.jaxb2.xsd.DefaultEmailMessage();
burster.generated.jaxb2.xsd.EmailServer emailServer=
new burster.generated.jaxb2.xsd.EmailServer();

email.setEmailMessage(Hi, this is a test mail);
email.setEmailSubject(Mr.TEST);

emailServer.setDebug(false);
emailServer.setEmailAddressFrom(someone here?);
emailServer.setEmailAddressFromLabel(hi all);

emailServer.setHost(localhost);
emailServer.setId(3);
emailServer.setKeyFile(key);
emailServer.setPort(50);
emailServer.setRootCertFile(when);
emailServer.setServerCertFile(this);
emailServer.setType(finish?);
emailServer.setUseSSL(true);
emailServer.setUseTLS(true);
emailServer.setUserId(3);
emailServer.setUserPassword(mypassword);
setting.setEmailServer(emailServer);
setting.setDefaultEmailMessage(email);
res.set_return(setting);

return res;
}

So no doubt this is a problem with your server logic.


PS. I tried to send this as a reply to the mail in the thread. And I
was receiving delivery failures repeatedly. Worse thing it says I m
spamming,
So here I m trying to send minimum..

Thanks
Dimuthu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://firegpg.tuxfamily.org

iD8DBQFHhZALBsYqdCP8GrkRAs8IAKCKZ+C1CGV/+POK+T7HypTx6Tx3DgCeNirD
57+CKKI8mweavTrI9FHhr3g=
=HQg7
-END PGP SIGNATURE-

-
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]



Axis2 logging question

2008-01-09 Thread Trasca Virgil
Hi all,

 I have a service exposed in an war which has aar inside. This service is 
failing when it is called even if calling just the business from POJO in 
eclipse is working.So I feel it is a deployment issue/class path etc. How can I 
enable/see all the logging on the Apache Axis2 java server? My war with aar 
inside is deployed on Jetty.

Thank you,
Virgil

- Original Message 
From: kokie [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Tuesday, January 8, 2008 4:57:22 AM
Subject: [Axis2]About WS-Policy support

  Dear,
 Axis2's great project! I'm using it developing web service with policy support.
 You metioned in the document http://ws.apache.org/axis2/1_3/WS_policy.html 
that axis2   fully supports WS Policy at client-side,
 so could axis give an example like codegen a stub against a WSLD which 
contains policies or else?
 Thanks in advance.
Best wishes. 

-- 
绯村剑心  




Axis2C generated code Documentation

2008-01-08 Thread Trasca Virgil
Hi,

   Is there some kind of documentation/tutorial on how to use the code 
generated by wsdl2c? I am trying for couple of days to use such code without 
much luck. Axis2C samples are simple and are not with code generated by wsdl2C. 
Using such a sample I was able to call a very simple service but when I come to 
more realistic services generated with wsld2c I was not able to handle.

Thank you,
Virgil

- Original Message 
From: Trasca Virgil [EMAIL PROTECTED]
To: Apache AXIS C User List axis-c-user@ws.apache.org
Sent: Tuesday, January 8, 2008 9:05:12 PM
Subject: Re: Axis2C generated client issue (please see atached code for details)


Hi Dimuthu,

  I tried what you said but without success. Result is NULL again.
 But I tried also something else. Please check the attached pictures.
 First picture is the list of services exposed, second is a very simple
 service which I am able to call it also from C client , and third one
 should returns some values from an XML config files but is returning NULL
 from c. Please see my atached picture.

Thank you,
Virgil



- Original Message 
From: Trasca Virgil [EMAIL PROTECTED]
To: Apache AXIS C User List axis-c-user@ws.apache.org
Sent: Tuesday, January 8, 2008 9:20:36 AM
Subject: Re: Axis2C generated client issue (please see atached code for
 details)


Hi,

I will try that. BTW this is how I generated my c client code

target name=generate.service.c.client
 depends=generate.service.wsdl
java classname=org.apache.axis2.wsdl.WSDL2C fork=true
arg value=-uri/
arg
 file=${resources.dir}/wsdl/BursterPublic.wsdl/
arg value=-d/
arg value=adb/
arg value=-u/
arg value=-o/
arg value=${src.generated.dir}/axis2/c/
classpath refid=axis2.classpath/ 
/java

/target

Thank you,
Virgil

- Original Message 
From: Dimuthu Gamage [EMAIL PROTECTED]
To: Apache AXIS C User List axis-c-user@ws.apache.org
Sent: Tuesday, January 8, 2008 8:45:46 AM
Subject: Re: Axis2C generated client issue (please see atached code for
 details)


Actually Payload can be null, in a case of an empty request (If the
WSDL says your request message is empty). There have been places where
users meet simmilar situations[1]. There the user could solved his
problem using the changed endpoint. That should be the solution for
this case as well.


[1]


 
http://www.nabble.com/codegeneration-and-service-with-no-parameters-td14338901.html#a14374273

Thanks
Dimuthu

On Jan 8, 2008 11:57 AM, Trasca Virgil [EMAIL PROTECTED] wrote:
 Hi,

Thank you for helping.
I attached also the wsdl file. Regarding compiling you can
 easily remove 1 wxWidgets stuff and it will compile. What I observed
 debugging and is strange is that generated line code

 ret_node =  axis2_svc_client_send_receive_with_op_qname(
  svc_client, env, op_qname, payload);

 comes to execute with payload = NULL and I think this is incorrect.
 But this is generated code so because of that I don't know what to do.

 I am calling my webservice which is up from Settings.cpp.

 Thank you,
 Virgil


 - Original Message 
 From: Dimuthu Gamage [EMAIL PROTECTED]
 To: Apache AXIS C User List axis-c-user@ws.apache.org
 Sent: Tuesday, January 8, 2008 3:52:40 AM
 Subject: Re: Axis2C generated client issue (please see atached code
 for details)


 On Jan 8, 2008 7:18 AM, Dimuthu Gamage [EMAIL PROTECTED] wrote:
  Yea, It s better we have the WSDL file to figure out what has
  happened.  I cant compile the code since I dont have installed
  wxWidget. :(
 
  I assume this is a problem of dispatching the request with empty
  body.
  ( I noticed that your soap action is not the way Axis2 expected to
  dispatch).
 
 
  So can you try out setting the endpoint uri to.
 
 
 http://your_actual_endpoint/axis2/services/BursterPublic/getStting;

 Correction: this should be
 http://your_actual_endpoint/axis2/services/BursterPublic/getSetting;
  (notice the end it is the operation name)
 
 
  Thanks
  Dimuthu
 
 
 
  On Jan 8, 2008 4:01 AM, Mark Nüßler [EMAIL PROTECTED]
  wrote:
   Hello Trasca,
  
   [sry last mail i said Virgil not Trasca]
  
   can you please send the wsdl-file and the command
   you use to generate you code ?
  
   i think you have to you tcpmon, otherwise
   you wouldn't see what was transmitted - if
   something was really transmitted.
  
   mfg derMark
  
  
   Trasca Virgil schrieb:
  
Hi,
   
I am a newbie to Axis2C client and I have an issue. My
 server
  is Axis2 Java 1.3 and is up with a service getSettings() which is
  correct (I am 100% about that).
   
The client is C and is generated with wsdl2c codegent. The
 issue
  is than when I call getSettings from C I got NULL all the time even
 is
  the service is working.
I tried to use tcpmon but with not success.
   
in Settings.cpp
I have

Re: Axis2C generated client issue (please see atached code for details)

2008-01-07 Thread Trasca Virgil
Hi,

   Thank you for helping.
   I attached also the wsdl file. Regarding compiling you can easily remove 
1 wxWidgets stuff and it will compile. What I observed debugging and is strange 
is that generated line code

ret_node =  axis2_svc_client_send_receive_with_op_qname(
 svc_client, env, op_qname, payload);

comes to execute with payload = NULL and I think this is incorrect. But this is 
generated code so because of that I don't know what to do.

I am calling my webservice which is up from Settings.cpp.

Thank you,
Virgil

- Original Message 
From: Dimuthu Gamage [EMAIL PROTECTED]
To: Apache AXIS C User List axis-c-user@ws.apache.org
Sent: Tuesday, January 8, 2008 3:52:40 AM
Subject: Re: Axis2C generated client issue (please see atached code for details)


On Jan 8, 2008 7:18 AM, Dimuthu Gamage [EMAIL PROTECTED] wrote:
 Yea, It s better we have the WSDL file to figure out what has
 happened.  I cant compile the code since I dont have installed
 wxWidget. :(

 I assume this is a problem of dispatching the request with empty
 body.
 ( I noticed that your soap action is not the way Axis2 expected to
 dispatch).


 So can you try out setting the endpoint uri to.

 http://your_actual_endpoint/axis2/services/BursterPublic/getStting;

Correction: this should be
http://your_actual_endpoint/axis2/services/BursterPublic/getSetting;
 (notice the end it is the operation name)


 Thanks
 Dimuthu



 On Jan 8, 2008 4:01 AM, Mark Nüßler [EMAIL PROTECTED]
 wrote:
  Hello Trasca,
 
  [sry last mail i said Virgil not Trasca]
 
  can you please send the wsdl-file and the command
  you use to generate you code ?
 
  i think you have to you tcpmon, otherwise
  you wouldn't see what was transmitted - if
  something was really transmitted.
 
  mfg derMark
 
 
  Trasca Virgil schrieb:
 
   Hi,
  
   I am a newbie to Axis2C client and I have an issue. My server
 is Axis2 Java 1.3 and is up with a service getSettings() which is
 correct (I am 100% about that).
  
   The client is C and is generated with wsdl2c codegent. The issue
 is than when I call getSettings from C I got NULL all the time even is
 the service is working.
   I tried to use tcpmon but with not success.
  
   in Settings.cpp
   I have function getSettings() which is returning all the time
 NULL even if I consider that I did all the pre-requites correctly. This
 function should not return NULL but a corect value.
  
  
   adb_getSettingsResponse_t* Settings::getSettings()
   {
  return axis2_stub_BursterPublic_getSettings(stub,env);
   }
  
  
   What I observed by debugging and is strange is that in generated
 code
  
   axis2_stub_BursterPublic_getSettings
  
   there is a call to
  
   ret_node =  axis2_svc_client_send_receive_with_op_qname(
 svc_client, env, op_qname, payload); and here payload comes all the time NULL
 as it is initialized
  
   earlier in the function with NULL and is not changed before
 calling axis2_svc_client_send_receive_with_op_qname.
  
   I thing payload should not be null at this point . Please assist
 me.
  
   Thank you,
   Virgil.
  
  
  
  
 
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
  
   No virus found in this incoming message.
   Checked by AVG Free Edition.
   Version: 7.5.516 / Virus Database: 269.17.13/1213 - Release Date:
 07.01.2008 09:14
 
 
 -
  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]





axisc_generated.rar
Description: Binary data
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Fw: Axis2C license questions

2008-01-06 Thread Trasca Virgil
Hello Dinesh,
   
  Please check my comment related with this on your blog.

Thank you,
Virgil

- Original Message 
From: Dinesh Premalal [EMAIL PROTECTED]
To: Apache AXIS C User List axis-c-user@ws.apache.org
Sent: Sunday, January 6, 2008 3:06:39 PM
Subject: Re: Fw: Axis2C license questions


Hi Virgil,

 Please see my comments inline.

On Jan 5, 2008 3:09 PM, Trasca Virgil [EMAIL PROTECTED] wrote:



On Jan 5, 2008 2:22 AM, Trasca Virgil 
[EMAIL PROTECTED] wrote:


Hi,


I see that Axis2C has following dependencies

libxml2.dll [http://www.xmlsoft.org - download the version =

libxml2-2.6.27.win32
] (optional - required only if you are not using Guththila parser)iconv.dll [
http://www.gnu.org/software/libiconv/ - download the

version = iconv-1.9.1.win32]zlib1.dll [


http://www.gzip.org/zlib/ - download the version =

zlib-1.2.3.win32]libxslt.dll [http://www.xmlsoft.org - download the 
version = 
libxslt-1.1.24.win32

]http://ws.apache.org/axis2/c/docs/installationguide.html#win_binary

These dependencies are not comming directly with Axis2C binaries but only links 
to download are provided in the documentation.


iconv is from 
www.gnu.org.






 



So my questions is how are these dependencies licensed and how compatible is 
Apache2 license of Axis with these dependencies licenses? Why these are not 
comming bundled in Axis2C binaries and only links to download are provided?







First of all I'm not a licensing expert :), Please correct me If I'm wrong. I 
think licenses of softwares you mentioned above is not compatible with Apache 
Axis2/C licensing (Apache 
2.0), Therefore I think we could not bundled them with Axis2/C. However I think 
it is upto user to download them and use. I also having questions regarding 
licensing , I'm glad you ask this question.

thanks,

Dinesh




-- 
Dinesh Premalal
http://xydinesh.wordpress.com





Re: Issue compiling Axis2C client with VS2005/C++

2008-01-05 Thread Trasca Virgil
Hi,

I am doing C++ with VS2005 on windows.
data_source = (axiom_data_source_t
*) was only 1 issue from many. For a small wsdl I got 19 cast errors.
 
The rest were mostly about 

   current_element = (axiom_element_t *)axiom_node_get_data_element( 
current_node, env);

The cast I added it was missing.

Now is compiling fine, I am in the process of trying to use it.

Thank you,
Virgil


- Original Message 
From: Dimuthu Gamage [EMAIL PROTECTED]
To: Apache AXIS C User List axis-c-user@ws.apache.org
Sent: Saturday, January 5, 2008 4:32:23 PM
Subject: Re: Issue compiling Axis2C client with VS2005/C++


Hi Trasca,

I m mostly doing WSDL2C generated code tests only in linux and in c,
So until I can test it in windows, It would be really helpful if you
can point out the casting errors you met,

If your error come from following line,

data_source = (axiom_data_source_t
*)axiom_node_get_data_element(current_node, env);

It s already fixed in the nightly build[1].

And AFAIK there are no run-time failures reported recently due to
casting issues. So it s worth doing a try.

Thanks
Dimuthu


[1] http://people.apache.org/dist/axis2/nightly/



On Jan 5, 2008 6:59 PM, Trasca Virgil [EMAIL PROTECTED] wrote:
 Hello,

 Thank you for the help. I did not added explicit cast from 2
 reasons:

 1) I would prefer not to touch generated code. Also I was sure I was
 not the first one that I tried to use wsdl2c generated code from C++ so
 I was sure the solution is not to add explicit cast by hand.(maybe a
 compiler switch??)

 2) I read previously that somebody added explicit cast by hand and it
 was compiling well but it was failing at run-time.

 Because of that 2 reasons I preferred to wait some answers from the
 axis2c mail-list.

 But I will also try explicit cast as it is a quick way to see if it
 is working or not.

 Thank you,
 Virgil


 - Original Message 
 From: Mark Nüßler [EMAIL PROTECTED]
 To: Apache AXIS C User List axis-c-user@ws.apache.org
 Sent: Saturday, January 5, 2008 3:05:03 PM
 Subject: Re: Issue compiling Axis2C client with VS2005/C++

  Hello Virgil,

 have you tried an explicit cast ?

 have a look at :
 http://www.mail-archive.com/axis-c-user@ws.apache.org/msg02568.html

 mfg derMark


 Trasca Virgil schrieb:
  Hi,
 
I have an issue trying to compile the Axis2C client code
 generated  with wsdl2c in VS2005  C++ environment. I know that Axis2C code is
  only C but I need to compile it in an C++ environment.
 
  When I try to compile as C++ in Visual Studioa 2005 I get following
  error messages:
 
   error C2440: '=' : cannot convert from 'void *' to
  'axiom_data_source_t *'
 
  There is an option in VS2005 if the program should be compiled as
 C++  or as C and if I change to C this error disapears but I need to
  compile as C++ as my project will be C++.
 
  How can I compile axis2c client code as C++ in Visual Studio?
 
  Thank you,
  Virgil
 
 
 
 
 
 -
  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]





 -
 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]





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



Java2WSDL ant task

2007-12-23 Thread Trasca Virgil
Hi all,

From where I can download the Java2wsdl Ant task so I can generate wsdl 
from Ant builds?

Thank you,
Virgil



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



Axi2 Maven2 Plugin

2007-12-14 Thread Trasca Virgil
Hi,

I wanted to download the maven2 plugin but the links are broken? Somebody 
else had the same issue in the past? It is a temporarely problem?


http://www.apache.org/dyn/mirrors/mirrors.cgi/ws/axis2/tools/1_3/axis2-wsdl2code-maven-plugin-1.3.jar

Thank you,
Virgil



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



Axis2 and java5 annotations

2007-12-07 Thread Trasca Virgil
Hi,
 
Using Axis is possible to expose methods as web-services in an Java5 annots 
fashion?
Axis has features similar with what jax-ws2?
 
Thank you,
Virgil

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



HiveMind and Axis

2007-12-06 Thread Trasca Virgil
Hi,

 I am trying to deploy HiveMind services as web services with the help of 
Axis. I also prefer to avoid making my application a web application(with a 
full web server like Tomcat or Jetty) just for this small gain of deploying web 
services. Did anybody found a simple/straightforward solution which is also 
working?


Thank you,
Virgil



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



Strange Websphere AxisFault

2007-05-01 Thread Trasca Virgil
Hello,

A webservice program which is working on weblogic is
failing on Websphere with follwowing crypting error. As you can see the
description of the error is null.

What is even more strange is that If I move the same code to a JSP page on the 
same Websphere (currently it is from
java code) it is working and I get the expected result. What could be the 
problem?



[4/27/07
0:40:50:980 EEST] 001d ServletWrappe E   SRVE0068E: Could not
invoke the service() method on servlet action. Exception thrown :
AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode: 
 faultString: (0)null
 faultActor: 
 faultNode: 
 faultDetail: 
{}:return code:  0

{http://xml.apache.org/axis/}HttpErrorCode:0

(0)null
at 
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at
apmwebservice.amdocs.APILink.webservices.ws.PartnerWSSoapBindingStub.getPropertyString(PartnerWSSoapBindingStub.java:1040)
at 
apmwebservice.amdocs.APILink.webservices.ws.PartnerWS_WSProxy.getPropertyString(PartnerWS_WSProxy.java:318)
at 
amdocs.prm.web.selfreg.utils.PortalUtils.getIsAddlInfoVisible(PortalUtils.java:426)
at 
amdocs.prm.web.selfreg.utils.PortalUtils.loadAddlInfoLabels(PortalUtils.java:157)
at 
amdocs.prm.web.selfreg.actions.DispatcherAction.register(DispatcherAction.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
 Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at 
org.apache.struts.actions.ActionDispatcher.dispatchMethod(ActionDispatcher.java:335)
at 
org.apache.struts.actions.ActionDispatcher.dispatchMethod(ActionDispatcher.java:318)
at 
org.apache.struts.actions.ActionDispatcher.execute(ActionDispatcher.java:220)
at 
amdocs.prm.web.selfreg.actions.DispatcherAction.execute(DispatcherAction.java:63)
at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:673)
at 
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:89)
at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1897)
at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
at 
com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1698)
at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at 
com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1470)

[4/27/07 0:40:50:996 EEST] 001d ServletWrappe E   SRVE0014E: Uncaught 
service() exception root cause action: (0)null
[4/27/07 0:40:51:167 EEST] 001d WebAppE   SRVE0026E: [Servlet 
Error]-[action]: AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode: 
 faultString: (0)null
 faultActor: 
 faultNode: 
 faultDetail: 
{}:return code:  0