Linking problem

2009-02-26 Thread Francesco C .
Hi all, sorry for my English! I have problem with linking of my application. I have linked axis_client.lib in the C:\axis-c\lib\axis In my Project options I have : - Link to: C:\axis-c\lib\axis\axis_client.lib - Search Directory: C:\axis-c\lib\axis; C:\axis-c\lib\ but at linking

reverse axiom_node_to_string()

2009-02-26 Thread Elsy Arratia-Scheit
Hi there, Is there a function to reverse axiom_node_to_string() ?? I meant, having a string, i want to have an axiom_node_t structure. cheers, Elsy

Re: reverse axiom_node_to_string()

2009-02-26 Thread Dinesh Premalal
Elsy Arratia-Scheit elsy.arratia-sch...@atl.fraunhofer.de writes: Hi there, Is there a function to reverse axiom_node_to_string() ?? I meant, having a string, i want to have an axiom_node_t structure. AXIS2_EXTERN axiom_node_t* AXIS2_CALL axiom_node_create_from_buffer(

Re: reverse axiom_node_to_string()

2009-02-26 Thread Eugen Hermann
Hi Arratia, axiom_node_t *root_node = NULL; axiom_xml_reader_t *reader = axiom_xml_reader_create_for_memory(env, str, axutil_strlen(str), UTF-8, AXIXS2_XML_PARSER_TZPE_BUFFER); if(reader) { axiom_stax_builder_t *sb = axiom_stax_builder_create(env, reader); if(!sb) {

Re: [Axis2] JMS in axis2

2009-02-26 Thread Prasuna Lanka
Thanks for the replies. I think i didnt put my query clear. I have exposed a webservice using axis2. The client will send the request. Up to this part, i dont require JMS. once i received the request, i want to post it to JMS before it reaches to ReceiverInout or Skeleton level. Is there any way

HashMap serialization problem with Axis2

2009-02-26 Thread Fabian Lambert
Dear Axis Users/Developers I recently try Axis2 and I realised that something is missing comparing to Axis1. I have a web service class with a function like : public String myFunction (HashMap map) With both version of axis installed under a tomcat, it is generating without problem a wsdl. But

Axis2 - the client side suitability for dynamic invocation of web services

2009-02-26 Thread Avi Grossbard
I am new to AXIS and was looking for* client side support classes* that will enable easy *dynamic invocation* of WEB services. At the beginning I found AXIS 1.4 and there I've found in the User's guide an example which seemed to cover what I was looking for: public class TestClient { public

Retry: Axis2 - Retrieving SOAPBody through MessageContext versus OMException (WstxUnexpectedCharException)

2009-02-26 Thread Geuze, Marinus
Dear Axis2 Users, I hope you can help me with this problem. This is the situation. I use the Axis2 framework for accessing a WebService. When I use the generated Stub then everything works perfectly fine. However I want to obtain the actual message which is sent to and received from the

Issue with Provider-based Jax-ws service and Wsdl

2009-02-26 Thread sharath reddy
Hi, I'm having trouble trying to deploy a Provider-based web service: @WebServiceProvider( portName=SamplePort, serviceName=SampleProvider, targetNamespace=http://sample.org;, wsdlLocation=META-INF/provider.wsdl )

Re: How to create phase for axis2 handler?

2009-02-26 Thread sharath reddy
Hi, In your axis2.xml file, you will see the phases defined. You can either use one of the existing phases or add your own phase. If you want a handler for outgoing messages, use one of the phases in phaseOrder type=OutFlow. For incoming messages, use phaseOrder type=InFlow. For example, in

Re: WSDL2Java - Skip Classes options

2009-02-26 Thread amit shah
Re-replying to the mail in case I was not clear in explaining the problem. I want to generate java classes from a published wsdl file (exposed by Microsoft SQL Reporting Services 2008). During the class generation, I want to skip some of these classes (for e.g TrustedUserHeader). Pasting a

Re: [Axis2] JMS in axis2

2009-02-26 Thread Sagara Gunathunga
Hi Prasuna, May be you can write a Axis2 Module for this , where in your in-phase handler you can construct a JMS message from MessageContext and post it to a JMS queue. in this case you could use Module's init method to initialize connection to a JMS broker , I'm not sure how to optimize JMS

Re: Axis2 - the client side suitability for dynamic invocation of web services

2009-02-26 Thread Pradeep Fernando
hi Avi, I'll be much obliged if someone can tell me that whether Axis2 is suitable for one who *does not care about building web services* but only in *consuming them dynamically* may be what you are looking for is Axis2 dynamic client, where you can give the WSDL of the service as a argument

way .mar(Module Archive) file generate

2009-02-26 Thread 김해현
How to generate .mar file? and Can .mar file inside context see. because i want to modify existed .mar file -- From: sharath reddy sharathre...@yahoo.com Sent: Thursday, February 26, 2009 7:49 PM To: axis-user@ws.apache.org Subject: Re: How to

Re: Retry: Axis2 - Retrieving SOAPBody through MessageContext versus OMException (WstxUnexpectedCharException)

2009-02-26 Thread Sagara Gunathunga
Hi Marinus, I don't have exact idea about the exception you got , may be input stream is closed or in a invalid state when the time of you access it using getLastOperationContext() method, someone more knowledgeable will share his insights regarding this . Meanwhile try to access in coming SOAP

Memory problems using axis2 tomcat and ssl

2009-02-26 Thread Håkon Sagehaug
Hi all, I'm experimenting with web services deployed with axis2 in tomcat using ssl for securing them and noticed something strange. I can call one of the services many times and no problems, but when I want to call another service I get java.lang.OutOfMemoryError: PermGen space from tomcat.

Re: Memory problems using axis2 tomcat and ssl

2009-02-26 Thread m4rkuz
This exception usually apears when your code is messing with the classloader, or you're making hot redeploys etc. Ring a bell? Regards, Marcus V. Sánchez D. __ Enterprise Developer. Sun Certified Java Programmer (SCJP) PD: if you know some spanish there is a really good

RE: Memory problems using axis2 tomcat and ssl

2009-02-26 Thread Martin Gainty
Hakkon If you dont mind taking advice from a norsk please read http://my.opera.com/karmazilla/blog/2007/03/13/good-riddance-permgen-outofmemoryerror as this is related to the JVM and permgen settings you must tweak JAVA_OPTS env parameter please add these parameters to your JAVA_OPTS env

Re: Memory problems using axis2 tomcat and ssl

2009-02-26 Thread m4rkuz
Hello Martin, I've been down that path too, but extracted from the same blog: http://my.opera.com/karmazilla/blog/2007/03/15/permgen-strikes-back This solution only works fine in some cases, in other it just delay the error. Regards, Marcus V. Sánchez D. __ Enterprise

Re: Memory problems using axis2 tomcat and ssl

2009-02-26 Thread Håkon Sagehaug
Hi I did not want to just increase the heap size and other properties, because this just as markus say often just delay the error. I now this error has something to do with classloading and, redeployment, but since I dont do anything like this and everything works fine with out ssl enabled for

RE: Problem using special character

2009-02-26 Thread Manuel Lenz
Hi Developers, I´ve got a hint for resolving the problem. Axis ist changing lt; into amp;lt;. So the webservice isn´t able to change amp;lt; into . Do you know how to prevent the change from lt; to amp;lt;? Thanks for your help, M. Lenz

Location of constants

2009-02-26 Thread Richard Hu
Hi, I'm looking for some constants that previously were accessible in Axis and even earlier versions of Axis 2 and was wondering if anyone happen to know where they are located in the new API or if they have been renamed. So far, I have been unable to find them. Specifically, I am looking

Re: REST not working after upgrade from 1.1.1 to 1.4.1

2009-02-26 Thread Ben Williams
I'm not sure if my wsdl is generated or hand-written (I inherited this project) but here's what it looks like. Operation definition: wsdl:binding name=CertifyChannelHTTPGETBinding type=tns:CertifyChannelPortType http:binding verb=GET/http:binding wsdl:operation name=certifyContact

Re: REST not working after upgrade from 1.1.1 to 1.4.1

2009-02-26 Thread keith chapman
Hi Ben, What is the URL you used when sending request (including the query parameters). According to your wsdl if you send a request to /certifyContact?clientUserID=someUserIDlicenseID=someLicenseIDphoneNumbers=SomePhoneNumbers it should work. Thanks, Keith. On Thu, Feb 26, 2009 at 9:28 PM,

Re: File transported by AXIS2 SwA was added an extra CRLF

2009-02-26 Thread Andreas Veithen
This problem has been reported as WSCOMMONS-328 [1] and was fixed in Axiom 1.2.8. Andreas [1] https://issues.apache.org/jira/browse/WSCOMMONS-328 On Thu, Feb 26, 2009 at 17:25, Colinhy colin.hu...@mizuhocbus.com wrote: For certain size of file (plain text file), when uploaded by AXIS2 SwA,  

Re: REST not working after upgrade from 1.1.1 to 1.4.1

2009-02-26 Thread Ben Williams
Yep, my URL looks just like that. When I look at the OMElement that gets passed to my service method, though, it is just an empty tag like this: axis2ns1:certifyContact xmlns:axis2ns1=http://myhost.com/rest/certify; / -Ben On Thu, Feb 26, 2009 at 11:23 AM, keith chapman keithgchap...@gmail.com

Option to not generate inner factory classes for stubs

2009-02-26 Thread Harshad Chavan
Hi all, I am generating stubs with wsdl2java with -s -g -u options. It generates individual file for each complex type in the wsdl, which is fine. But I also see that it generates an inner Factory class for each of these java files. Is there any any way I can tell wsdl2java to not to generate

Re: REST not working after upgrade from 1.1.1 to 1.4.1

2009-02-26 Thread Ben Williams
I got this working after much stepping through Axis code with the debugger. What finally worked was switching the order of the GET and POST bindings in the wsdl. I noticed that Axis was fetching the POST binding while processing my GET request so I thought swapping them in the wsdl might make GET

axis2java Vs jax-ws

2009-02-26 Thread Jason Fister
Hello folks, We need to write and host a webservice which will act as both a server as well as a client to a 3rd party webservice. let me make it more clear: My webservice will receive requests from applications with in our company, process the requests, call a webservice hosted by a third party

Re: Bug in Code Generator Wizard - Eclipse Plug-in

2009-02-26 Thread Car Toper
On Thu, Feb 26, 2009 at 2:23 AM, ibrahim demir ibrahimdem...@yahoo.com wrote: Eclipse configuration is not important . System java version is important here ant just check it with command prompt Just write java -verison and if it is not set to 1.6 than go and add java path to system variables

How to get Content-Length of SOAP response message!

2009-02-26 Thread Seshi Patibanda
Hello all, I need to get the content length of the SOAP response message. Following is the SOAP response seen coming over the wire. [java] DEBUG [org.apache.commons.httpclient.methods.EntityEnclosingMethod] Request body sent [java] DEBUG [httpclient.wire.header] HTTP/1.1 200 OK[\r][\n] [java]

Daylight savings problem in Australia

2009-02-26 Thread Felix Castanar
Hi, I'm in Sydney (Australia) where actually there is daylight savings (DST). The problem I have is the following: I'm accessing a web service server (in Australia) which sends the following: LocalStartTime2009-02-26T19:10:00/LocalStartTime But the response object (generated using Axis2 1.4.1)

Re: HTTP connection leak and other related issues

2009-02-26 Thread Alexis Midon
no taker for an easy patch? Alexis On Wed, Feb 25, 2009 at 6:45 PM, Alexis Midon mi...@intalio.com wrote: Hi everyone, All the issues relatives to AXIS2-935 are really messy, some of them are closed but their clones are not. Some are flagged as fixed but are obviously not. All these

org.apache.xmlbeans does not exist error

2009-02-26 Thread Claire Loto
Hi, I used wsdl2java tool to generate classes for my axis2 implementation.I used xmlbeans for the databinding. However, I am getting a lot of compilation errors such as below : javac C:\project\vanilla\src\net\brokerhub\xml\bhml\BHml.java (16:49)package org.apache.xmlbeans does not exist

Re: REST not working after upgrade from 1.1.1 to 1.4.1

2009-02-26 Thread keith chapman
Would you mind posting your complete WSDL? That may help figure out what happened. Thanks, Keith. On Fri, Feb 27, 2009 at 3:06 AM, Ben Williams ben.willi...@gmail.comwrote: I got this working after much stepping through Axis code with the debugger. What finally worked was switching the order

Re: Bug in Code Generator Wizard - Eclipse Plug-in

2009-02-26 Thread Car Toper
Also, I just tried running in the debugger, like the article and the stack isn't anything like the article: Thread [main] (Suspended (exception CodeGenerationException)) AxisServiceBasedMultiLanguageEmitter.emitSkeleton() line: 1370 CodeGenerationEngine.generate() line: 253

How to remove namespaces

2009-02-26 Thread Chisholm, Paul
Hi, I have an Axis2 web service that was running for some time without any namespaces. Just recently I found out that at some point a few months ago namespaces started appearing in the response. Since I only just got a report its difficult to recall what changed. I am certain my service and the

AUTO: Katherine Sanders is out of the office. (returning 02/03/2009)

2009-02-26 Thread Katherine Sanders
I am out of the office until 02/03/2009. I will respond to your message when I return. For urgent Web Services issues please contact my team leader Ben Bakowski/UK/IBM. Note: This is an automated response to your message Re: Bug in Code Generator Wizard - Eclipse Plug-in sent on 27/2/09