Naming of parameters and exceptions

2009-09-22 Thread Sebastian Schneider
Hello everybody, I got a question regarding the naming of parameters and exceptions in the generated stub code for the client. Why are numbers added to the parameter names? For example, if my service method looked like findUserByName(String name) after generating the stub client from the WSDL

Re: Naming of parameters and exceptions

2009-09-22 Thread Amila Suriarachchi
On Tue, Sep 22, 2009 at 12:16 PM, Sebastian Schneider schnei...@dvz.fh-aachen.de wrote: Hello everybody, I got a question regarding the naming of parameters and exceptions in the generated stub code for the client. Why are numbers added to the parameter names? For example, if my service

Re: Naming of parameters and exceptions

2009-09-22 Thread Sebastian Schneider
Hello Amila, hello everybody first of all thank you for your answer. I got a question regarding the naming of parameters and exceptions in the generated stub code for the client. Why are numbers added to the parameter names? this is a technique done to avoid any possible compilation

How can I force namespace declarations in the envelope? (Axis2 1.4.1 / XMLbeans 2.3 / Java 1.4.2)

2009-09-22 Thread Christian Gosch
Hi, by default, Axis2 seems to put namespace declarations like 'xmlns:ns=http://my.namespace.com/this/one/is/it;' at the latest / deepest point in the XML possible, which seems to be perfectly in line with W3C requirements. My SOAP client has to talk to the Web Service via a XML security

Cannot compile AXIS2/C samples

2009-09-22 Thread madmaze
Cannot compile AXIS2/C samples I keep getting tons of errors like these: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token any suggestions? what am i doing wrong.. -- View this message in context:

RE: How can I force namespace declarations in the envelope? (Axis2 1.4.1 / XMLbeans 2.3 / Java 1.4.2)

2009-09-22 Thread Christian Gosch
Finally I found a solution by deep and rigorous web search... http://stackoverflow.com/questions/74960/how-do-i-add-a-namespace-reference-to-a-soap-response-with-apache-axis2-and-wsdl2 explains how to do it. BUT: The result is not that nice. To be honest: I forgot to mention that I

Axis + SOAP message + How to expose services

2009-09-22 Thread sh_santosh
Dear All, I need to expose web services. I got a SOAP request XML structure and a SOAP response XML. By seeing the SOAP XMLs structure, i am not able to identify, which kind of web service (rpc/encodec or doc/literal or wrapped/literal) i have to expose. Which tools, i need to use to expose the

unsubscribe

2009-09-22 Thread Harshad Chavan

[AXIS2] A question on axis2-wsdl2code-maven-plugin

2009-09-22 Thread Indrit Selimi
Dear all, I'm using the maven plugin of axis2. As a maven plugin I thought that giving an output directory of outputDirectorysrc/main/java/outputDirectory(or better nothing at all) and the right package name I could find the generated sources on my package, but I'm seeing that the plugin

Axis2 useOriginalwsdl not embedding imported schemas

2009-09-22 Thread karlovitz
For some reason when I set useOriginalwsdl = false and access the wsdl via services/MyService?wsdl it is returning the wsdl with the imports still listed. Does anyone know a way to utilize Axis to embed these xsd's. Thanks -- View this message in context:

unsubscribe

2009-09-22 Thread Grazi, Victor
-Original Message- From: karlovitz [mailto:steve.karlov...@synegen.com] Sent: Tuesday, September 22, 2009 2:19 PM To: axis-user@ws.apache.org Subject: Axis2 useOriginalwsdl not embedding imported schemas For some reason when I set useOriginalwsdl = false and access the wsdl via

Re: [AXIS2] A question on axis2-wsdl2code-maven-plugin

2009-09-22 Thread Andreas Veithen
In a Maven build you should never let a plugin output generated code into src/main/java, but instead into a temporary directory under target (so that it will be removed by mvn clean). In that case it doesn't matter that axis2-wsdl2code-maven-plugin places the code in a subdirectory called src.

unsubscribe

2009-09-22 Thread shantanu chawla
unsubscribe -- Graduate Student Department of Computer Science, San Diego State University

SOAP Message handler

2009-09-22 Thread Dominik Świątek
I have generated WebService client using wsdl2java (axis2-1.5). Client is working fine, i can call methods and receive correct results. Now I would like to intercept incoming and ougoing SOAP Messages to save them to file for reference. Question: how i do this? Right now i'm hand-editing

Re: SOAP Message handler

2009-09-22 Thread Deepal Jayasinghe
You need to write a module with two handlers [1], and then just engage the module to the service client. [1] : http://blogs.deepal.org/2009/02/writing-axis2-module.html Thanks, Deepal Dominik Świątek wrote: I have generated WebService client using wsdl2java (axis2-1.5). Client is working

content type for rest/pox requests

2009-09-22 Thread Alexis Midon
Hi all, I struggled for a while before I finally managed to invoke a service with non-soap message. Here is why. The following documentation *http://ws.apache.org/axis2/1_5/rest-ws.html* says: if the content type is **text/xml** and if the SOAP Action Headers are missing, then the Message is

Re: Axis2 and .Net Interoperability for MTOM

2009-09-22 Thread Nirav Shah
Can anyone help here? Thanks, Nirav On Mon, Sep 21, 2009 at 9:52 AM, Nirav Shah snirav.s...@gmail.com wrote: Hi, Can anyone tell me is Axis2 MTOM completely Interoperable with .Net ? I am trying to build a service using Axis2 and will have a .Net Client probably..Any inputs or suggestions

Axis 2 Attachment Service and Axis 1.4 Client

2009-09-22 Thread Nirav Shah
Hi, I have a Axis2 MTOM Attachment service. I have an Element *details* which is a apachesoap:DataHandler defined in my Schema which gets generated as a parameter OMElement in Axis2 for databinding ADB. My Client is an Axis 1.4 generated Client . When i use TCPMON, i can see the request contains

unsubscribe

2009-09-22 Thread Steve Buster
unsubscribe _ Hotmail® has ever-growing storage! Don’t worry about storage limits. http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage_062009

unsubscribe

2009-09-22 Thread Jeremy O'Donohue

AXIS2 Client beginner... Exception converting to string.

2009-09-22 Thread lyall
I have created an AXIS2 1.5 client using a WSDL as a starting point. My client wants to access the entire SOAP message, not the body, so I hacked the Stub.java code as shown further down... What I am trying to do is simply convert the SOAP Envelope into a string so I can look at it (and do

Re: Axis + SOAP message + How to expose services

2009-09-22 Thread Chinmoy Chakraborty
By looking at the SOAP header, it seems that it is WS-Security enabled SOAP... for this you may find [1] useful.. [1] http://ws.apache.org/axis2/modules/rampart/1_0/security-module.html If you have WSDL then you can use WSDL2Java tool. Chinmoy On Tue, Sep 22, 2009 at 10:38 PM, sh_santosh