Re: Problem with SVC client send_receieve method

2007-09-26 Thread Dumindu Pallewela
Hi Murali, This doesn't seem to me as a problem with ssl client. It rather is something to do with your rampart configuration. AFAIK, it is not correct to set the user name in axis2.xml. It has to be done with security policy. HTH, Dumindu. Murali Konnipati wrote: Hi Dumindu,

Re: Axis2C: compile error - 'struct' type redefinition

2007-09-26 Thread Samisa Abeysinghe
Can you send the program source so that I would try to compile and see. Samisa... Michael Mole wrote: I am getting some compile errors that I cannot resolve. I'm wondering if this is a known issue or if I'm doing something wrong. Here is the scenario: I have a C++ class that includes

Question on memory allocation / deallocation for AXIS_MALLOC

2007-09-26 Thread Sathya Raghunathan
Hi I have a question on memory allocation and deallocation: Suppose in my service function, I have created an object of a particular type (for ex: adb_pInterchange_t* myInt = adb_pInterchange_create(env);) This particular function uses AXIS_MALLOC to allocate memory for that particular object.

Re: Question on memory allocation / deallocation for AXIS_MALLOC

2007-09-26 Thread Sathya Raghunathan
I am seeing that there is a function call adb_pInterchange_free() that the wsdl2c code generator has generated. But where exactly should we call this? The service function has to return the object. After this, where can the memory be deallocated? Thanks Sathya On 9/26/07, Sathya Raghunathan

Question on reading from configuration files

2007-09-26 Thread Sathya Raghunathan
Hi My c application has an init function which has to be called once when the service comes up. It reads from a set of configuration files and stores all these details in memory until the life of the service, so that all the threads have access to them. If i have to convert this c application

Re: Axis2C: compile error - 'struct' type redefinition

2007-09-26 Thread Michael Mole
Let me first correct myself from before. The two conflicting headers are dirent.h and axis2_util.h. The following is a code snippet that will fail. Unfortunately, I can't just take out the #include dirent.h statement because my real code isn't including it directly. It's really buried deep

RE: Compiling and runtime errors WSDL2C

2007-09-26 Thread Callner, David A.
Is anyone going to look at this? I would really appreciate it. I'd hate to have to scratch using Axis2/C. From: Callner, David A. [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 8:34 AM To: Apache AXIS C User List

Question on user defined faults and multithreading (Please clarify this urgently for me)

2007-09-26 Thread Sathya Raghunathan
Hi 1) I can understand that multithreading is taken care of by axis2_http_server after reading one of the mailing lists. For a new request, a worker thread is created. I would like to know if the number of threads can be configured or not. Should i modify any parameter in the httpd.conf for this?

Re: Client crashed while recieving response

2007-09-26 Thread Dimuthu Gamage
Hi Sathya, Since your service is running fine, the error should be in the deserialize logic. And there were some bugs in the deserialize logic. But I think in the latest axis2/java source svn, these bugs are fixed. (At least current test cases are working fine) And AFIK the second problem (The

Re: Axis Java 1.5 Release?

2007-09-26 Thread José Antonio Sánchez
I've used Axis in Java 1.5 and 1.6. Sun's JDK is backward compatible so there is no problem with Axis being compiled for JDK 1.4. On 9/25/07, Winograd, Theodore [EMAIL PROTECTED] wrote: Hi, I am working on a project that relies on Axis 1.4. I've noticed in the Subversion repository that some

[AXIS2] 1.1.1 soapsession, addressing, error when i connect a second client

2007-09-26 Thread Fabrice Airault
hi, I have a problem when i am using axis2 with addressing and soapSession. I connect a first client on my service and all work fine. when a second client do a connection on my axis2-server, the destroy method is call on my first service instance. I can't have more than one service instance.

cannot compile the SWAClient

2007-09-26 Thread Thomas Barth
Hi, I m working through the examples of axis2 just to figure out how to create a soap message with attachments in the MM7 format to send it to my provider. I found the swaclient to learn how soap works, but the following example cant be compiled because of the error: The type

[END] find issue Re: [AXIS2] 1.1.1 soapsession, addressing, error when i connect a second client

2007-09-26 Thread Fabrice Airault
http://marc.info/?l=axis-userm=117316427720305w=2 http://issues.apache.org/jira/browse/AXIS2-1991 in axis2.xml set 3 instead of 30 !--This will give out the timout of the configuration contexts, in seconds-- parameter name=ConfigContextTimeoutInterval locked=false3/parameter

Re: Axis2, Session not keeping.

2007-09-26 Thread Andrew Martin
Store session information like this: MessageContext.getCurrentMessageContext().getSessionContext().setProperty(key, val) Retrieve it like this: MessageContext.getCurrentMessageContext().getSessionContext().getProperty(key) Andrew James Neff wrote: in my services.xml I have the attribute

Re: cannot compile the SWAClient

2007-09-26 Thread Thilina Gunarathne
Hi, I m working through the examples of axis2 just to figure out how to create a soap message with attachments in the MM7 format to send it to my provider. I found the swaclient to learn how soap works, but the Interesting... The type javax.wsdl.Definition cannot be resolved. It is indirectly

RE: ADBException: Unexpected subelement Code

2007-09-26 Thread Erwin Reinhoud
Hello Amila, I see that your request does not contain the Type attribute (see section below). For the moment i found that generating a client stub will only allow one option (the last, in this case Bas64) to be available otherwise a runtimeException is given. For the serverside i think the

Exchanging XML Documents

2007-09-26 Thread Fátima Milla Olaya
Hi, I want to exchange arbitrary XML documents with my webservice. In the WSDL definition I use xsd:anytype and when I create the java classes with wsdl2java the object is OMElement. How can I manage this object to parse to an XML file? Thanks

[AXIS 2: RM] Engaging Sandesha2 causes client to block, timeout and fail...

2007-09-26 Thread Par Nagi
Hi, I have a Service that is deployed, following the instructions in the Sandesha2 user guide. * The Service.xml for this service engages Sandesha2 by including: module ref=sandesha2 / * The axis2.xml file in the Axis web app. has been updated to include the phase name=RMPhase/ (in four places)

Re: Exchanging XML Documents

2007-09-26 Thread Paul Fremantle
Hi OMElement is the represenation of XML that Axis2 uses. It is similar to DOM. Do you already have the XML in an object (DOM, SAX, StAX, String, byte[]), or do you want to create the XML in your program? There are answers for all of these but I figured it would be easier to start with your

POJO web service not deploying...

2007-09-26 Thread alexandra . stehman
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Why does axis-user@ws.apache.org report spam threshold exceeded?

2007-09-26 Thread alexandra . stehman
I am trying to post a question about generating WS from POJO's using Axis but my message keeps bouncing. The extent of the error detail I get is: 552 spam score (8.2) exceeded threshold

Re: Exchanging XML Documents

2007-09-26 Thread Fátima Milla Olaya
Paul Fremantle a écrit : Hi OMElement is the represenation of XML that Axis2 uses. It is similar to DOM. Do you already have the XML in an object (DOM, SAX, StAX, String, byte[]), or do you want to create the XML in your program? There are answers for all of these but I figured it would be

POJO web service not deploying...

2007-09-26 Thread alexandra . stehman
Greetings, I have built deployed a basic WS basd on the POJO model instructions: http://ws.apache.org/axis2/1_3/userguide-buildingservices.html#deploypojo I copied the service directory over and now have a directory structure as shown in the attached screenshot (deleted). I see JBoss

Re: Axis2 1.3: Generated stubs have *Marker methods?

2007-09-26 Thread John G. Norman
Here is what goes on: The generated stub introduces new protected attributes. Before there was only localyourAttribute Now there is not only localyourAttribute but localyourAttributeTracker The Tracker attribute is used to detect when the setter is called, so that the field can serialized

RE: AXIS2 session create, access, and invalidate

2007-09-26 Thread Golam Chowdhury
Thanks Thilina for your reply, Wondering, if you could give me some example. I know to enable the session I have to add the service name=foo scope= transportsession /service in the service.xml ??? using serviceContext how do I access the session and store information in the session. public

Re: [axis2-1.3] wsdl2java takes forever - unbearably long

2007-09-26 Thread John G. Norman
I also am seeing extraordinary time generating stubs: From 15 minutes to 10+. My machine has 3 GB RAM, and the memory allocation to javac is ample. This use of jalopy without telling users is pretty horrible. It looks to me like it might have pretty-printed my whole project, so now everything's

Urgent - Exception Mapping with Axis2

2007-09-26 Thread Jay Zawar
Hi people, I am really puzzled about Axis Code generators and the way custom exceptions are passed. I do not even find good documentation on it. I've been on this problem for almost a week now, and still do not find any answer. My problem: I can invoke web services without problems, but I do

RE: Urgent - Exception Mapping with Axis2

2007-09-26 Thread Jay Zawar
just to correct: AxisFault.getDetail is not empty, it is null. -Original Message- From: Jay Zawar Sent: mercredi 26 septembre 2007 16:32 To: axis-user@ws.apache.org Subject: Urgent - Exception Mapping with Axis2 Hi people, I am really puzzled about Axis Code generators and

Customize tags

2007-09-26 Thread Golam Chowdhury
Hi, Axis2 generates: ax24:data type=com.fw.webservice.Data ax24:lat43.40391/ax24:lat ax24:lon-80.04648/ax24:lon ax24:time2006-07-28 00:40:02.0/ax24:time /ax24:data What I want is: data lat42.2323/lat lon80.2323/lon

Re: Customize tags

2007-09-26 Thread Paul Fremantle
Those two XMLs are identical except for the namespace. SOAP *requires* the body element to be namespace qualified. So it would be breaking the SOAP spec to do what you are suggesting. So, sorry, no its not possible. Paul On 9/26/07, Golam Chowdhury [EMAIL PROTECTED] wrote: Hi, Axis2

Re: [AXIS 2: RM] Engaging Sandesha2 causes client to block, timeout and fail...

2007-09-26 Thread Par Nagi
The CreateSequenceResponse does not have the following XML stanza: wsrm:Accept wsrm:AcksTo wsa:Address URI of Target for some reason, even though addressing is engaged and the CreateSequence Request message has a wsa:To that specifies the target URI. One other point is that the

[AXIS2] ClassPath problems in JBoss

2007-09-26 Thread Lorenzo
Hi all, i have this problem: i deployed mi axis2 app on jboss into a .ear myapp.ear |- lib |- mdb.jar |- META-INF |- manifest.mf |- ejb-jar.xml |- jboss.xml |- web.war-- axis2 |- META-INF |- manifest.mf |- WEB-INF |- modules |- mymodule.mar

Axis2 1.1: Sign Timestamp

2007-09-26 Thread Chris82KS
Hello, I use Rampart 1.1 and I want to sign a timestamp. I use folowing configuration inmy services.xml: parameter name=OutflowSecurity action itemsTimestamp Signature Encrypt/items signaturePropFileserver.properties/signaturePropFile userusername/user signatureparts

Getting Raw XML From Axis Return Type

2007-09-26 Thread hundel
Hi all. Thanks for all the great advice on the forum. We're exercising a web service via Axis 1.4 from Java. The Call has a complex return type. The object type is a business document. Our company is well-suited to deal with the document XML directly, but the java object is not of much use

Re: Document/literal bare in POJO services?

2007-09-26 Thread Deepal jayasinghe
This b'coz some problem in your services.xml , please try and see it is a valid xml document. parameter name=doclitBaretrue/parameter Thanks Deepal First of all, thanks a lot for this information (although I think it should go somewhere onto the online documentation). However, now I am

Re: [AXIS2] ClassPath problems in JBoss

2007-09-26 Thread sumedha rubasinghe
Hi, The problem here is both Jboss Axis have their own SAAJ Implementation. What is the version of Jboss Axis2 your using? Do you intend to run other applications on this server as well? You do not need to move several jars.The classes you need are located inside axis2-saaj-version.jar.

Re: [AXIS2] ClassPath problems in JBoss

2007-09-26 Thread Lorenzo
Hi Sumeda, i use Axis2 1.3 and Jboss 4.0.5.GA If i move only axis2-saaj nothing happens (it still use jboss impl) If i move also axis2-kernel module fail deploy module and services: 18:54:54,035 ERROR [ModuleDeployer] The OpenSPCoopModule.mar module, which is not valid, caused

Re: [AXIS2] ClassPath problems in JBoss

2007-09-26 Thread robert lazarski
Have you deferred your classloading preference to axis2 jars in a boss-app.xml as shown here? http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration HTH, Robert Hi Sumeda, i use Axis2 1.3 and Jboss 4.0.5.GA If i move only axis2-saaj nothing happens (it still use jboss impl) If

Axis2 client error - (WSSecurityEngine: Callback supplied no password for : ....)

2007-09-26 Thread Rajesh, Peter (CLAIMS, WIP)
Hi, While I try to access a service in a remote webservice through a simple java Axis 2 client with Rampart security, below error message is displayed. Please let me know the reason for this error and any workaround for this. org.apache.axis2.AxisFault: General security error

Problem loading JMS protocol handler on AIX

2007-09-26 Thread Beat Ris
Hi all I use Axis 1.2 final and have a WebService using JMS as transport. On my windows box running with Sun's JRE 1.4.2_09 all works fine. Now we have deployed the software to AIX (5.2) which used IBM's JRE 1.4.2. In the AIX I get following exception: java.net.MalformedURLException:

RE: Error while trying to use original wsdl in Axis2 1.3

2007-09-26 Thread Bhatra, Junaid
It might be because your WSDL appears invalid. Remove the part=getWeatherService attribute from mime:content and try again. - Junaid -Original Message- From: Todd Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 9:53 AM To: axis-user@ws.apache.org Subject: Re: Error

Reusing an Axis2 OperationClient -- how, exactly?? Does anyone have a non-trivial OperationClient sample?

2007-09-26 Thread Merritt, Norris
I have been trying without success to reuse an OperationClient to send multiple messages without having to reconstruct the OperationClient, ServiceClient, and related objects for each message transmission. I am pursuing this as part of an effort to get my client to reuse the same HTTPS connection

services.xml reference?

2007-09-26 Thread Sai Chow
Hi, I've looked up and down the apache axis2 site and not able to locate the detail specs for services.xml. Could someone send me the url please? Thank you. Sai No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.13.31/1031 - Release

problem: AXIS client = .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Wojciech Buczak
Hi, I've encountered a problem while using AXIS-generated java client that tries to call a .NET web service. Using AXIS 1.4 I've generated the client's stub from WSDL of the OPC DA XML web service and tried to call some of it's interfaces. While some of them work fine, calling some others end

Re: Beginner Q: How can I handle incoming SOAP streams with axis2?

2007-09-26 Thread Mike Krell
I have a couple of questions. Are X, Y, and Z in different JVMs or separate machines? The webservice that you are call, does it ever receive the soap message and do work on it or does it just modify the soap to a different XML? Is it the modified xml that is sent to Z where all the magic

Re: problem: AXIS client = .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Anne Thomas Manes
I'm not able to access the WSDL. Can you post it here for us? Anne On 9/26/07, Wojciech Buczak [EMAIL PROTECTED] wrote: Hi, I've encountered a problem while using AXIS-generated java client that tries to call a .NET web service. Using AXIS 1.4 I've generated the client's stub from

Re: Getting Raw XML From Axis Return Type

2007-09-26 Thread Anne Thomas Manes
Use the messaging API. It will return the result as a DOM. On 9/26/07, hundel [EMAIL PROTECTED] wrote: Hi all. Thanks for all the great advice on the forum. We're exercising a web service via Axis 1.4 from Java. The Call has a complex return type. The object type is a business document.

Re: problem: AXIS client = .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Anne Thomas Manes
Gmail cut off most of the WSDL. Could you send it as an attachment please? Thanks, Anne On 9/26/07, Wojciech Buczak [EMAIL PROTECTED] wrote: Sure! Thanks for your help! PS. This is a standard OPC-XML da WSDL, which specifies basic operations for accessing OPC servers from SOAP. Cheers

ssl-enabled web service client problem

2007-09-26 Thread Huitang Li
Hi, I am trying to create an axis2 web service client to access a ssl-enabled web service (https://..). I got the following error. I think that the problem is caused by the server certificate on the web service side. Probably if I import that server certificate and root certificate into

Re: problem: AXIS client = .NET service (wrong content of the SOAP messages)

2007-09-26 Thread Anne Thomas Manes
Okay -- the message generated by the Axis client is clearly wrong. Can you show me your client code? Anne On 9/26/07, Wojciech Buczak [EMAIL PROTECTED] wrote: Sure, Please find the WSDL attached Cheers Wojtek -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]

Re: axis2.log missing

2007-09-26 Thread Srinath Perera
did you try putting it in the classes directory of the Axis2 war ? On 9/24/07, vpl [EMAIL PROTECTED] wrote: Hi, I've browsed the axis user mailing list and could not find a clear answer to this new-comer ... question. Please help I'm unsing the axis2.war deployed into a tomcat 6.0.14. In

Re: axis2.log missing

2007-09-26 Thread Jochen Rieß
Hi there, I've faced a similar problem. I figured out that due to the fact that axis itself uses log4j the common easy way of putting a log4j.properties inside the deployed webservice does not work. You have to configure the logging for your classes manually, i.e. telling your webservice

Re: [ANN] Apache Rampart 1.3 Released

2007-09-26 Thread Par Nagi
Hi, Could you kindly let me know if you have tested (or know if it will work) a situation where: A service client connects to Rahas (STS), obtains a SamlToken by calling the RequestSecurityToken and using Rampart, places the SamlToken in the header of a SOAP message to a target service?

Re: services.xml reference?

2007-09-26 Thread Charitha Kankanamge
Sai Chow wrote: Hi, I've looked up and down the apache axis2 site and not able to locate the detail specs for services.xml. Could someone send me the url please? Thank you. Sai No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database:

Unable to pass data to webservices using Axis2 1.3

2007-09-26 Thread Anumodh Sreedharan
Hi, I've a web service that uses a wsdl of doc-literal style. I use Axis2 1.3, Spring and hibernate for this purpose. The method that I follow is to first create the data Transfer objects from the wsdl using the WSDL2Java tool. After that, I code the rest of the service (business, DAO...) and

Re: services.xml reference?

2007-09-26 Thread Nadir Amra
A more complete definition is given in: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/resources/services.xsd?view=log Nadir K. Amra Charitha Kankanamge [EMAIL PROTECTED] wrote on 09/26/2007 11:14:06 PM: Sai Chow wrote: Hi, I've looked up and down the apache

setOperationContext not being called

2007-09-26 Thread Matthew Roberts
Hi, As I understand it, if you have a public void setOperationContext(OperationContext operationContext) throws AxisFault function in your XXXSkeleton.java file, then that function is automatically called on startup. However, I have done this in my code and the function is just not

Exposing JAVA Overloaded methods as service

2007-09-26 Thread Raghavan
Hi All, I have created a class which has two over loaded methods. The method signature is as follows public String getMessages(String username, String status) The overloaded method signature is as follows public String getMessages(String username, String status,Connection con) where the

Re: Java 1.4.x compatibilty

2007-09-26 Thread Thilina Gunarathne
Is it possible to run this client in the Java SDK 1.4.x environment? yes. Previously, I believe there have been discussions on this forum that only 1.5 is supported. Axis2 has few modules which depend on JDK1.5... But they don't get in your way unless you want to do something really specific

RE: Java 1.4.x compatibilty

2007-09-26 Thread Gennady Shumakher
I was able to work with axis2 saaj and saaj-api with JDK 1.4. Futhermore I do not see any JDK 1.5 dependecy explicitly defined in poms of these modules. Could you elaborate on saaj jdk 1.5 dependency? Thanks, Gennady -Original Message- From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]