Re: Help: Exception when i use 2 level

2006-08-11 Thread Guido Walden
Hallo Anne, Also, an element's local name cannot contain spaces:project1:user field That is it! thanks a lot! Do U know, is there some validate tools for SOAP message? it is realy tiring when the message getting bigger.

Re: [Axis 2] MTOM Response is missing MIMEBoundary

2006-08-11 Thread Thilina Gunarathne
imagexop:Include xmlns:xop=http://www.w3.org/2004/08/xop/include; href=cid:1.urn:uuid:[EMAIL PROTECTED] //image This means your client is correctly receiving a MTOM optimised message. Now I wonderhow you got the message snapshot you posted in your first message. What is the mechanism you

Re: [Axis2]How to invoke a webservice built by Axis2 in PHP?

2006-08-11 Thread zhu jiang
Hi Chinthaka, How could I use the stub code in PHP? Thanks, Jiang 2006/8/10, Eran Chinthaka [EMAIL PROTECTED]: The easiest way is to write your implement the contract first approach,which I always encourage.Write your own wsdl, use wsdl2java to generate clients and/or server side code and use

Re: [Axis2]How to invoke a webservice built by Axis2 in PHP?

2006-08-11 Thread Alistair Young
I think there would be two ways of accessing a web service from PHP:1 - use the java stub via PHP's Java integration - http://uk.php.net/java2 - POST a SOAP message to the service's REST endpoint without using the stub. Just create the SOAP message in PHP - http://uk2.php.net/soapI've never had to

Re: User Guide: Code generation for client

2006-08-11 Thread jayachandra
Guys, This issue being discussed seems to be against Axis2, I'd suggest that you append a prefix [Axis2] (without quotes) to your messages and post so that your mail lands up in the filters of the saviours :) cheers Jaya On 8/10/06, Deepak Sharma [EMAIL PROTECTED] wrote: Thanks a lot Marcel for

[Axis2] User Guide: Code generation for client

2006-08-11 Thread Deepak Sharma
Thanks Jaya! Changed the Subject accordingly. I have cut and paste the problem again: This question has already been asked in the forum and I suppose I am the third person to ask this question. But no response has come so far to rectify this

[Axis2] Bizarre chunked thing

2006-08-11 Thread Brecht Yperman
Hi, when using Axis-1.0, I had to put (CHUNKED = true) to call the Google Webservice client.getOptions().setProperty(MessageContextConstants.CHUNKED, new Boolean(true)); otherwise I'd get a java.net.SocketException: Software caused connection abort: recv failed; Now I'm using the snapshot (aug

Webservice deployment in Axis/AppServer

2006-08-11 Thread GiJo
Hello, I have a question about web-service deployment: Introduction: My project has 3 tiers - View tier (struts(jsp) / servlets / webService) - Service tier (the business services) - Data tier (data access with hibernate / DAO...) My business processes can be called from different ways: - By

Disappearing SOAP header when using MIME attachments

2006-08-11 Thread Luigi Lo Iacono
Hi there! I encountered a very strange behavior while using Axis with several handlers and MIME attachments. I tried a bunch of different Axis versions including 1.2, 1.3 and 1.4. The problem occurs in all of them. At the client-side I have two handlers in the global chain. The first one

FW: Base64

2006-08-11 Thread Nirmish Dholakia
Thanks Anne, We have a service returning a string as XML. Following is the sample out-put of the service. ?xml version=”1.0” encoding=”UTF-8”? person firstnameNirmish/firstname lastnameDholakia/lastname age25/age /person So in the WSDL the type of the output is defined as

Re: [Axis2]How to invoke a webservice built by Axis2 in PHP?

2006-08-11 Thread Samisa Abeysinghe
Well you can also use the PHP Axis2 extention built on top of Axis2/C. It is here: http://pecl.php.net/package/axis2 Samisa... Alistair Young wrote: I think there would be two ways of accessing a web service from PHP: 1 - use the java stub via PHP's Java integration - http://uk.php.net/java 2

Installation problem with Tomcat 5.5

2006-08-11 Thread Patrice . Aubry
Hello, I've deployed the axis2.war in Tomcat 5.5 on Windows XP. Everything seems fine (validate, etc..). When I test the default version service, the WSDL is available but the service invocation fails with Resource not found!. I've tried the same thing with the latest nightly build

[AXIS2] Integration with SPRING

2006-08-11 Thread Fabien Couble
Hi all, Actually, I'm implementing a protocol using the AXIS2, HIBERNATE and SPRING architecture. I have an application which use HIBERNATE and SPRING to do the Data Object Access. And I want to use this code to ensure the persistence in Axis2. Actually, I was wondering how I should

RE: Apache Conference Asia

2006-08-11 Thread Brecht Yperman
http://www.asia.apachecon.com/ Google is your friend. Brecht From: Senaka Suriyaarachchi [mailto:[EMAIL PROTECTED] Sent: vrijdag 11 augustus 2006 12:33 To: axis-user@ws.apache.org Subject: Apache Conference Asia Hi, I heard that there is an Apache

Re: [AXIS2] Integration with SPRING

2006-08-11 Thread robert lazarski
Spring support is in the nightlies: http://people.apache.org/dist/axis2/nightly/ Its documented here: http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/xdocs/latest/spring.html HTH, Robert http://www.braziloutsource.com/On 8/11/06, Fabien Couble [EMAIL PROTECTED] wrote:

request always calls the first operation defined in server-config.wsdd

2006-08-11 Thread Richard Jones
Hi Folks, I am starting to really get to grips with my web services now, with much thanks to Axis. This morning, though, I have encountered a problem which I can't work out whether is my fault (likely) or a potential problem. I have two requests defined (in the scope of this problem):

[Axis2] OutflowSecurity config

2006-08-11 Thread a_mjones
Is it possible to configure OutflowSecurity in the single global axis2.xml file (axis2/WEB-INF/conf/axis2.xml) for many services that are in the axis2/WEB-INF/services directory (for when they act as clients, sending requests to any of the other services)? --amj

Re: [Axis 2] MTOM Response is missing MIMEBoundary

2006-08-11 Thread Sathija Pavuluri
Thilina, Here is the client code. DeviceServiceStub.GetReportResponse repResponse = stub.getReport(rep); OMElement reportElement = null; reportElement = repResponse.get_return(); System.out.println(First child: +

complextype problem

2006-08-11 Thread Luca Pandolfo
Hi to all, I have implemented a complete web services framework with a UDDI registry in Axis enviroment.In this context I am not able to map a complextype from wsdl document to java: schema elements are always null. Does anyone know a mode to resolve this my problem? I am programming in axis_1.3

Re: request always calls the first operation defined in server-config.wsdd

2006-08-11 Thread Anne Thomas Manes
Each operation must have a unique signature, i.e., you must specify a different qname for your two input parameters. (They can be the same type, but they must have different names.) Anne On 8/11/06, Richard Jones [EMAIL PROTECTED] wrote: Hi Folks, I am starting to really get to grips with my

Re: FW: Base64

2006-08-11 Thread Anne Thomas Manes
Don't use SOAP Encoding. Define the service as style=wrapped (in either java2wsdl or WSDD). You may need to edit the generated WSDL file and specify the type of the image as xsd:base64binary. On 8/11/06, Nirmish Dholakia [EMAIL PROTECTED] wrote: Thanks Anne, We have a service returning a

Re: request always calls the first operation defined in server-config.wsdd

2006-08-11 Thread Richard Jones
Hi Anne, Each operation must have a unique signature, i.e., you must specify a different qname for your two input parameters. (They can be the same type, but they must have different names.) I'm not sure I understand, sorry. Each operation in my WSDL has a different name, but some of them

Re: [Axis2] OutflowSecurity config

2006-08-11 Thread Ruchith Fernando
Hi, The best way to do this would be to dynamically configure the clients as mentioned here [1] Thanks, Ruchith [1] http://marc.theaimsgroup.com/?l=axis-userm=115517624610919w=2 On 8/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Is it possible to configure OutflowSecurity in the single

Re: [Axis2] User Guide: Code generation for client

2006-08-11 Thread Ajith Ranabahu
Hi, Are you guys using the -d xmlbeans option while code generating ? On 8/11/06, Deepak Sharma [EMAIL PROTECTED] wrote: Thanks Jaya! Changed the Subject accordingly. I have cut and paste the problem again: This question has already been asked in

Re: [Axis2] OutflowSecurity config

2006-08-11 Thread a_mjones
Okay, thank you. --amj -- Original message -- From: "Ruchith Fernando" [EMAIL PROTECTED] Hi, The best way to do this would be to dynamically configure the clients as mentioned here [1] Thanks, Ruchith [1]

Where did org.apache.axis.encoding.ser.xbeans.* go?

2006-08-11 Thread Mike Kolb
Title: Where did org.apache.axis.encoding.ser.xbeans.* go? Hello, I'm trying to use Axis 1.4 with XMLBeans. I notice that the 1.2 JavaDoc (http://ws.apache.org/axis/java/apiDocs) documents the package mentioned in the subject with a Serializer and Deserializer for XMLBeans, but these

Re: [Axis2] OutflowSecurity config

2006-08-11 Thread a_mjones
I do not see any downloadable jar containing"org.apache.axis2.security.config", from the web site... where do I get this, please? Thank you amj -- Original message -- From: "Ruchith Fernando" [EMAIL PROTECTED] Hi, The best way to do this would be to dynamically

Re: [Axis2] missing features when converting from Axis1 to Axis2

2006-08-11 Thread Eran Chinthaka
Implement org.apache.axis2.Service interface to your service implementation. init method will be called when your service gets deployed. setOperationContext method will be called, whenever your service is invoked, by which you can access the config context. -- Chinthaka Johan Lundberg wrote:

Re: [AXIS2]NewBie: obtain Parameter from a custom service

2006-08-11 Thread Eran Chinthaka
Use init method. See org.apache.axis2.Service interface. Chuan Guo wrote: Hi, i'd like get some customed configuration informations for my service from the axis2.xml or services.xml. e.g. using Parameters. Then I need get the AxisConfiguration or the AxisService, right? (use

Re: [Axis2] User Guide: Code generation for client

2006-08-11 Thread Deepak Sharma
Hi Ajith, In the generation of client code, we are not using -d option. We have followed the steps mentioned in the following site: http://ws.apache.org/axis2/1_0/userguide3.html#Writing_Web_Service_Clients_using_Code_Generation_with_Data_Binding_Support Just reiterating the problem

Axis2: Code Generator - Create list of objects

2006-08-11 Thread debasish . duttaroy
All I need an object which contains a member variable, which is list of another object. Class A { //list of object B private java.util.List bList; } Class B { private String str; } How do I represent this in WSDL. I am using WSDL2Java commandline. Since I am using the tool I expect to get

Re: [Axis2] NoSuchMethodError in a generated type class

2006-08-11 Thread Davanum Srinivas
Dave, Please log a bug report and upload the wsdl as well. -- dims On 8/11/06, Dave Andreasen [EMAIL PROTECTED] wrote: Sorry for the repost. I forgot to put Axis2 in the subject line. I am using the August 10th nightly build and I am getting a NoSuchMethod error in one of my classes. Here

Re: incorrect code generated for custom exception by Axis2 WSDL2JAVA using Jibx mapping

2006-08-11 Thread Ajith Ranabahu
Hi, Can you attach the generated code please ? Ajith On 8/11/06, Z Chen [EMAIL PROTECTED] wrote: I defined a fault in my wsdl file for a custom exception. I also use Jibx for the mapping. When I use wsdl2java to generate the code, it doesn't care about the mapping and the custom exception. It

Re: [Axis2] User Guide: Code generation for client

2006-08-11 Thread Ajith Ranabahu
Hi, The problem seems to be the databinding as I thought. If you want to follow the exact steps of tyhe userguide you have to add the -d xmlbeans option to the set of commandline arguments. In the mean time I'll see whether the documentation can be improved! Ajith On 8/11/06, Deepak Sharma

Re: [Axis2] NoSuchMethodError in a generated type class

2006-08-11 Thread Ajith Ranabahu
Hi, Are you having older classes/jars in the classpath ? Ajith On 8/11/06, Davanum Srinivas [EMAIL PROTECTED] wrote: Dave, Please log a bug report and upload the wsdl as well. -- dims On 8/11/06, Dave Andreasen [EMAIL PROTECTED] wrote: Sorry for the repost. I forgot to put Axis2 in the

RE: [Axis2] NoSuchMethodError in a generated type class

2006-08-11 Thread Dave Andreasen
I thought of that. I did pull down the axis2.war at the same time as I pulled down the snapshot. I also checked the jar files in the war with the jar files from the snapshot. One of them did not match so I updated the axis2.war with the snapshot jar file. Dave -Original Message-

[Axis2] Error loading sec.properties

2006-08-11 Thread Jones, Alan R
Hi Ruchith, Is there any reason why the sec.properties file is not being loaded at at the service side: - From TCPMON on response side: java.lang.RuntimeException: CryptoFactory: Cannot load properties: sec.properties

Axis2 v1.0: Namespace prefix error

2006-08-11 Thread D P
Hello everyone:Axis2 v1.0CF 7.0I'm attempting to send the following SOAP message through cold fusion to a service I've written. SOAP message: ?xml version='1.0' encoding='utf-8'?soapenv:Envelope xmlns:soapenv= http://schemas.xmlsoap.org/soap/envelope/soapenv:Headerns1:credential

Re: request always calls the first operation defined in server-config.wsdd

2006-08-11 Thread Anne Thomas Manes
Please post the WSDL. On 8/11/06, Richard Jones [EMAIL PROTECTED] wrote: Hi Folks, I am starting to really get to grips with my web services now, with much thanks to Axis. This morning, though, I have encountered a problem which I can't work out whether is my fault (likely) or a potential

Re: [Axis2] missing features when converting from Axis1 to Axis2

2006-08-11 Thread Johan Lundberg
Tank you very much for your help. /johan Eran Chinthaka wrote: Implement org.apache.axis2.Service interface to your service implementation. init method will be called when your service gets deployed. setOperationContext method will be called, whenever your service is invoked, by which you can

Re: Unable to compress message with GZIP in Axis 1.4

2006-08-11 Thread Cyrille Le Clerc
Hello Damian, Did you enable http compression on your server ? Usually, it is done in the http server layer. In Websphere world ; it is usually done in Ibm Http Server (aka IHS) layer with mod_deflate. Here is a doc of mod_deflate : http://www.howtoforge.com/apache2_mod_deflate Hope

Re: [Axis 2] MTOM Response is missing MIMEBoundary

2006-08-11 Thread Thilina Gunarathne
Sithija, Looking at your ealier posted message snapshot, your client need to dig one more level in to the OM. /image /ns:return /ns:getDiscrepancyReportResponse /soapenv:Body Now it seems your only looking at the children of the return element. Also it would have been easier to use

Re: [Axis2] OutflowSecurity config

2006-08-11 Thread a_mjones
there it is! Thanks! amj -- Original message -- From: "Ruchith Fernando" [EMAIL PROTECTED] Please try here: http://people.apache.org/repository/axis2/jars/axis2-security-1.0.jar Thanks, Ruchith On 8/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: I do