RE: Query about Axis-C version

2006-08-18 Thread Adrian Dick
Hmm... If, as you say, you have the Axis C++ JARs available on the appropriate paths, and using the command you originally gave, I wouldn't expect you to see this error. Are you using pre-build binaries? If so, could it be the compiler/linker used to create theAxis C++ binaries is not totally

RE: Query about Axis-C version

2006-08-18 Thread Jacoud Bastien
Yes I use binaries version of Axis and the version of the compiler is 3.4.2. I'm trying to re-install Axis with the installation guide to be sure I did not forget something during the 1st installation. -Message d'origine- De : Adrian Dick [mailto:[EMAIL PROTECTED] Envoyé : vendredi 18

Attribute id was already specified for element multiRef Exception, how to custmoize soap response.

2006-08-18 Thread xu cai
I got a weird issue. In my case, the soap response generated by axis engine is not a valid xml, because there are two id attribute in multiRef element. see the snippet : multiRef id=id4 soapenc:root=0 soapenv:encodingStyle=http://schemas.xmlsoap.org/soap/encoding/ id=mgw_monitoring_enabled

Re: Generic request, empty post

2006-08-18 Thread jansson
Ok, this is what I've done: I've got a filter where I check if the header Content-Length is 0. Now, if it is, I would like to change the request, putting in an envelope (since there isn't any yet), and changing the Content-Length to the size of the message I inserted. Then I'll do the

RE: [Axis2] Blockers for Axis2 1.1

2006-08-18 Thread William Ferguson
I'd nominate AXIS2-957 and perhaps AXIS2-959 and AXIS2-962 -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Friday, 18 August 2006 1:22 AM To: Axis User Subject: [Axis2] Blockers for Axis2 1.1 Folks, Here are the current blockers for Axis2 1.1:

[Axis2] namespace for every element in SOAP response

2006-08-18 Thread Kinichiro Inoguchi
Hi, I'm testing latest nightly buils Axis2 war. I noticed that every element in response SOAP message has namespace definition. If you see version service via REST call like this, http://localhost:8080/axis2/rest/version/getVersion you could see this, ns:getVersionResponse

RE: [Axis2] Blockers for Axis2 1.1

2006-08-18 Thread Kinichiro Inoguchi
I'd nominate http://issues.apache.org/jira/browse/AXIS2-805 . RPCMessageReceiver in latest nightly seems doesn't generate valid WSDL. --- William Ferguson [EMAIL PROTECTED] wrote: I'd nominate AXIS2-957 and perhaps AXIS2-959 and AXIS2-962 -Original Message- From: Davanum Srinivas

AXIS1.4 : DataHandler in a bean

2006-08-18 Thread Laurent Berthelot
Hello,I'm a newbie.I try to serialize/deserialize a datahandler, attribute of a bean, and it seems to don't work.It is posisble to do that ?Best regards.

RE: [Axis2] Blockers for Axis2 1.1

2006-08-18 Thread William Ferguson
As well as http://issues.apache.org/jira/browse/AXIS2-957, I'd nominate http://issues.apache.org/jira/browse/AXIS2-937 because as far as I can tell its still a problem. Its certainly a BIG problem for me. Has anyone been able to generate ABD stubs using wsdl2Java using a snapshot since the

Re: [Axis2] multiple ServiceClients problem

2006-08-18 Thread Michele Mazzucco
Hi Bin, no, I think my problem is different: org.apache.axis2.transport.http.SimpleHTTPServer.start (SimpleHTTPServer.java:184) ERROR [pool-1-thread-1] - java.net.BindException: Address already in use [java] ERROR Sender:run Failed send #0 [java]

[Axis2] Marshalling Extened Objects

2006-08-18 Thread Brian Dillon (ext. 944)
Hi, I am tring to move from Axis 1.3 to Axis 2. I currently using JAXME binding with Axis 2 for my tests but have run into a problem with objects which extend other object types. I have a situation where I have an Object type (addressSpaceB:AddressType) which is the extension of another type

Problem in running simple security example

2006-08-18 Thread Genious Soul
Hi All, I am running simple StockQuoteService security example using certificates,I got the following exception while running the example: bash-2.05b$ java -Daxis.ClientConfigFile=client -config.wsdd -classpath $CLASSPATH:. samples.stock.client.StockServiceClient IBM - Unable to find

Re: [Axis2] namespace for every element in SOAP response

2006-08-18 Thread Eran Chinthaka
Hi, I think this is a bug in Axiom and not in Axis2. -- Chinthaka Kinichiro Inoguchi wrote: Hi, I'm testing latest nightly buils Axis2 war. I noticed that every element in response SOAP message has namespace definition. If you see version service via REST call like this,

Re: [Axis2] Blockers for Axis2 1.1

2006-08-18 Thread Davanum Srinivas
ok folks. I've marked all the items mentioned. Please check and let me know if i missed something. -- dims On 8/18/06, William Ferguson [EMAIL PROTECTED] wrote: As well as http://issues.apache.org/jira/browse/AXIS2-957, I'd nominate http://issues.apache.org/jira/browse/AXIS2-937 because as far

[Axis2] Contract first approach

2006-08-18 Thread Brecht Yperman
Hi, I want to create webservices, based on a wsdl. What I have: - The wsdl, with one operation What I want: To generate a webservice, which exposes that one method. All I need as input/output is the Soap Envelope, so databinding is not necessary. How do I do that, without

Re: [Axis2] Marshalling Extened Objects

2006-08-18 Thread Davanum Srinivas
Please log a bug report if the problem still exists in a nightly build. Please upload the wsdl/service code/client code as well. thanks, dims On 8/18/06, Brian Dillon (ext. 944) [EMAIL PROTECTED] wrote: Hi, I am tring to move from Axis 1.3 to Axis 2. I currently using JAXME binding with Axis

Re: [Axis2] Blockers for Axis2 1.1

2006-08-18 Thread Michele Mazzucco
http://issues.apache.org/jira/browse/AXIS2-850? Michele Davanum Srinivas wrote: ok folks. I've marked all the items mentioned. Please check and let me know if i missed something. -- dims On 8/18/06, William Ferguson [EMAIL PROTECTED] wrote: As well as

RE: Using the Generated Classes in an Applet Through a Proxy Server

2006-08-18 Thread Larry Lemons
Ok. I think I figured out how to fix this, but we are in the process of testing it to make sure. If we get it fixed, I will post the answer. Thank you, Larry M. Lemons (304) 726-4809 Ext. 4505 From: Larry Lemons [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 9:28 AMTo:

TCP capture/tunel (java server - c# .net client)

2006-08-18 Thread José Ferreiro
Hello everybody,Here is my configuration:Java server using Axis 1.4 in Tomcat.Am using .Net Framework 1.1 for a client to access the java server web service.I did a web service and the related client using Java and .Net (they work fine) Everything is running on my LOCALHOST machine.I am testing

Re: Using the Generated Classes in an Applet Through a Proxy Server

2006-08-18 Thread robert lazarski
Since you seem to be stuck, I'll offer some advice that may or not help. In axis 1.x and axis2 , there is an applet called the soap monitor. It makes a connection via a socket to a handler . Now if you get that to work via a proxy, that may help you understand how to solve your problem.

Re: Perl SOAP::Lite and Apache Axis2 interoperability

2006-08-18 Thread Eran Chinthaka
Hi Aleksey, I think the SOAP namespace is not defined in your request message. Can you paste your SOAP request here? -- Chinthaka Aleksey Serba wrote: Hi! I've build simple service and deploy it to Apache Axis2 as aar archive ( messageReceiver is RPCMessageReceiver ) I can't make a SOAP

[Axis2][Post 1.0 - SVN] JVM crash (XMLBeans - WebLogic 8.1 - Axis2 embedded in EAR)

2006-08-18 Thread Ali Sadik Kumlali
Hi all, Sorry for the long post. But, as everybody says :), I run into very strange problem: When my service is called, JVM that WebLogic runs in crashes. Here is the exception:

[Axis2] Different behaviour Windows and Unix

2006-08-18 Thread Javier V
Hi. I'm using JDK 1.4.2_12, Axi2 1.0 and Tomcat 4.1.31. I've done a web service in Java and to test it I've done a client java class with axis2 too. My surprise is that when I invoke the service with my testclient in Windows, all is ok. However, when I install ALL in Unix and I call the

Using SAML with Axis

2006-08-18 Thread Andrew Fielden
Can anyone advise on the following issue? - I'm using Axis 1.2. I have a requirement to add SAML security tokens when calling web services. This is possible for document/literal operations by adding SAML tokens to the SOAP message body. However I can't see a way to do this for RPC/literal

Re: [Axis2] multiple ServiceClients problem -- is it a bug???

2006-08-18 Thread Michele Mazzucco
Hi again, unfortunately I cannot found a suitable solution for my problem. [1] provides two possible solutions: 1 - use a single sender object for all threads: this is not possible since I want to send messages concurrently 2 - create multiple senders using the same configuration context.

options.setProperty() documentation?

2006-08-18 Thread David C Leung
I've been perusing the archives for info on turning chunking off, and I saw these references: options.setProperty(MessageContext.CHUNKED, false) and Options options = new Options(); options.setProperty(Constants.Configuration.ENABLE_REST,

Re: Using SAML with Axis

2006-08-18 Thread Anne Thomas Manes
You should pass SAML tokens in a WS-Security header rather than in the body. WSS4J provides a handler to do this for you automatically, and it works with any style message. Anne On 8/18/06, Andrew Fielden [EMAIL PROTECTED] wrote: Can anyone advise on the following issue? - I'm using Axis 1.2.

Re: Using SAML with Axis

2006-08-18 Thread Anne Thomas Manes
Also, if you decide to upgrade to Axis2, use Rampart instead of WSS4J. On 8/18/06, Anne Thomas Manes [EMAIL PROTECTED] wrote: You should pass SAML tokens in a WS-Security header rather than in the body. WSS4J provides a handler to do this for you automatically, and it works with any style

Getting the attachment in soap message by content-id

2006-08-18 Thread Syam Prasad
Hi, Is there a way to get an attachment in soap message by content-id? Thanks for your help. Syam

Re: options.setProperty() documentation?

2006-08-18 Thread Michele Mazzucco
http://www.wso2.net/kb/209 Hope this will help, Michele On 18 Aug 2006, at 16:02, David C Leung wrote: I've been perusing the archives for info on turning chunking off, and I saw these references: options.setProperty(MessageContext.CHUNKED, false) and Options options =

RE: Using SAML with Axis

2006-08-18 Thread Andrew Fielden
Thanks Anne. I've looked at the examples on the WSS4J website. Looks like what I need, however I'm still unclear about how to obtain the SOAP envelope associated with the web service call. E.g. if I'm setting up an RPC/literal WS call like this - org.apache.axis.client.Service service = new

Re: Using SAML with Axis

2006-08-18 Thread Anne Thomas Manes
You don't do it through the call object in your client code. You do it in the handler. Anne On 8/18/06, Andrew Fielden [EMAIL PROTECTED] wrote: Thanks Anne. I've looked at the examples on the WSS4J website. Looks like what I need, however I'm still unclear about how to obtain the SOAP envelope

[Partially SOLVED] - TCP capture/tunel (java server - c# .net client)

2006-08-18 Thread José Ferreiro
[Solution]To look at the payload, when writing C# code, here is the way I used to send the request from my C# client through an HTTP proxy.using System.Net; // for proxy setup... IWebProxy proxyObject = new WebProxy(http://hostname:8099, false); service.Proxy = proxyObject; Note: do not use

[Axis2] Reading POJOs at client side

2006-08-18 Thread Charak, Vikas
Using RPCMessageReceiver I was able pass person POJO to my client from a web service public User[] getUsers() { return User array; } Now I have , public void addUsers(User[]) { } Any idea on writing a java client to send user arrays to addUsers method of the

Re: [Axis2] Contract first approach

2006-08-18 Thread Ajith Ranabahu
Hi, With violation of one of your policies I can suggest a solution. You can use the code generator with -d none option which generates code with no data binding! Ajith On 8/18/06, Kinichiro Inoguchi [EMAIL PROTECTED] wrote: Hi, - you have WSDL already - you don't need data binding - you

Re: [Axis2] Reading POJOs at client side

2006-08-18 Thread robert lazarski
In the latest source there is some integration tests: modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java That has some array examples and should get you started. HTH, Robert http://www.braziloutsource.com/ On 8/18/06, Charak, Vikas [EMAIL PROTECTED] wrote: Using

RE: [Axis2] Reading POJOs at client side

2006-08-18 Thread Charak, Vikas
I might be wrong. This will work if client is a Java Client. What happens if the client is non-java, then is this way recommended or should I be using OMElement as input and output for my method. [Data goes in and out only in raw xml format] Any suggestions? -Original Message- From:

Rampart UsernameToken (setting user id programmatically)

2006-08-18 Thread Mark McCall
I found Ruchiths presentation Secure Web Services with Apache Rampart from http://www.wso2.net/presentations and I downloaded the samples. While these have been extremely helpful, I noticed for all examples with a UsernameToken action, the client.axis.xml has the user id hard

Re: [Axis2] Reading POJOs at client side

2006-08-18 Thread robert lazarski
AFAIK RPCMessageReceiver just follows the old jax-rpc JSR much in the way axis 1.x does , and the integration tests reflect that. So if you find a problem file a jira but I do expect that you can use these examples between languages. HTH, Robert http://www.braziloutsource.com/ On 8/18/06,

how do I use a client security certificate with client side axis program?? please respond

2006-08-18 Thread Hussain, Asim

RE: Axis 2 in WebSphere6

2006-08-18 Thread Martin Gainty
David- I dont see the file: specification in axis2.xml seems harmless enough but this might be a Websphere specific variation Does anyone have any doc on using file: in axis2.xml??? Have you confirmed your hostname http://myApp.com/ws is accessible AND the ports ( 606) are not bound (usually

RE: [Axis2] Reading POJOs at client side

2006-08-18 Thread Charak, Vikas
I guess, I am still trying to find out for interoperability reasons or what is recommended way .If I should be using OMElement as input and output for my methods [raw xml format] or should it be more structured like using POJO etc.? The one issue I see with RawXml is generating XML using

Re: [Axis2] Reading POJOs at client side

2006-08-18 Thread robert lazarski
OM has lots of performance advantages among many others so go with that if in doubt. HTH, Robert http://www.braziloutsource.com On 8/18/06, Charak, Vikas [EMAIL PROTECTED] wrote: I guess, I am still trying to find out for interoperability reasons or what is recommended way .If I should be

RE: [Axis2] Reading POJOs at client side

2006-08-18 Thread Charak, Vikas
I got my answer. Thanks a lot. -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Friday, August 18, 2006 3:35 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Reading POJOs at client side OM has lots of performance advantages among many others so go with that

Re: Using SAML with Axis

2006-08-18 Thread Martin Gainty
WSS4J class you will need to implement is called org.apache.ws.security.handler.WSS4JHandler HTH, M-- You don't do it through the call object in your client code. You do it in the handler. Anne On 8/18/06, Andrew Fielden [EMAIL PROTECTED] wrote: Thanks Anne. I've looked at the examples on

Axis 1.4 beanMapping within wsdd ignores bean methods and generates both getters and setters from fields.

2006-08-18 Thread Bell, Douglas
I can't find any documentation describing the beanMapping process so I am unsure if this is a bug or a feature... I have the following beanMapping within my wsdd: beanMapping qname=myNS:TestObject xmlns:myNS=http://test.boingo.com; languageSpecificType=java:com.boingo.test.TestObject/ The

Re: [Axis2] multiple ServiceClients problem -- is it a bug???

2006-08-18 Thread Eran Chinthaka
Can you create an issue out of this, explaining or better attaching some tests or code for us to re-gen the problem? Thanks, Chinthaka Michele Mazzucco wrote: Hi again, unfortunately I cannot found a suitable solution for my problem. [1] provides two possible solutions: 1 - use a single

Re: [Axis2] Callback question

2006-08-18 Thread Eran Chinthaka
Michele Mazzucco wrote: Hi all, is it possible to specify the port where the callback object has to wait? Try changing port parameter in your client side axis2.xml. If you use default axis2.xml (you do not create your own config context during invocation), create one using your own including

RE: [Axis2] Different behaviour Windows and Unix

2006-08-18 Thread Martin Gainty
Buenos Dias Javier.. look at Regional options Languages Display Languages/Details Add Input Language Spanish many options for Spanish be sure to choose your Country Keyboard be careful here you will need an IME Keyboard for Spanish select Spanish The biggest problem I see is the keyboard

Re: [Axis2] Different behaviour Windows and Unix

2006-08-18 Thread robert lazarski
I was able to reproduce this behavior using português chars lie ã é etc . I was going to try and see if I could fix it but didn't get time yet. Could you try with the latest sources: options.setProperty(org.apache.axis2.Constants.Configuration.CHARACTER_SET_ENCODING, UTF-16); And change UTF-16

Re: [Axis2] Reading POJOs at client side

2006-08-18 Thread Dennis Sosnoski
What kind of performance advantages are you talking about, Robert? AFAIK the only way OM has any performance advantage is if it's not fully built (i.e., when it's used in conjunction with data binding, where the data binding handles actual data conversions to and from objects). Otherwise, it's

Re: [Axis2] Reading POJOs at client side

2006-08-18 Thread robert lazarski
Performance advantages in the context of OM and Stax versus the axis2 implementation of RPC and arrays, as the OP wanted ? AFAIK that case has not been thrown against jmeter but my hunch is that OM and Stax will run circles around anything involving the reflection based RPCMessageReceiver. If you

[Axis2] gzip or any other soap compression

2006-08-18 Thread Vijesh A.V.
Title: [Axis2] gzip or any other soap compression Hi all, I have been trying to find a solution for soap message body compression. How can I do it in Axis2?. I understand that gzip compression support is integrated in Axis2. But I couldn't find any implementation details (there is an axis

RE: how do I use a client security certificate with client side axis program?? please respond

2006-08-18 Thread Larry Lemons
If I am understanding you question correctly, you need to import the certificate into your [JRE_HOME]/lib/security/cacerts certificate list as a trusted certificate. Thank you, Larry M. Lemons (304) 726-4809 Ext. 4505 From: Hussain, Asim [mailto:[EMAIL PROTECTED] Sent: Friday, August

Axis2 trasnport error

2006-08-18 Thread Jeff Ling
Hi guys,Here is a strange error. There is not much information even though I've turned on debug log using Log4j. Any thoughts? How do I config my app to generate more information to help debugging? This happened at a customer's site and the only tool available to me is log files. Thanks in

Re: [Axis2] Reading POJOs at client side

2006-08-18 Thread Dennis Sosnoski
Even reflection-based data binding can be faster than working with object models - but in this case, it looks like the BeanUtil code used for the conversions is building the tree in any case, rather than working directly with the parser. It also looks like it builds the reflection metadata

Re: Need to Get Started

2006-08-18 Thread Richi Plana
Thanks, but I was hoping for an even simpler and quicker example than that. Could someone tell me how to invoke the standalone server that comes with the distribution? There are two application classes in the distribution which, I'm guessing, are standalone servers that can be used to get a feel

RE: Axis2 trasnport error

2006-08-18 Thread Martin Gainty
Jeff- Did you verify hostname(s) mail server(s) are reachable ? Did you verify ports are not already bound? Did you verify the service is published ? http://MachineName:8080/axis2/services/listServices Did you verify you are able to access the published wsdl? Have you verified the

Re: Axis2 trasnport error

2006-08-18 Thread Jeff Ling
Hi Martin,Sorry I didn't make it clear: This is a Microsoft Sharepoint portal Site, not Axis site. I am using Axis as the client (statically generated stub).The site is available, and authentication is successfult. The web services are also available, and many calls have succeeded. JeffOn 8/18/06,

Re: [Axis2] gzip or any other soap compression

2006-08-18 Thread Eran Chinthaka
Vijesh A.V. wrote: Hi all, I have been trying to find a solution for soap message body compression. How can I do it in Axis2?. I understand that gzip compression support is integrated in Axis2. But I couldn't find any implementation details (there is an axis 1.x solution though