RE: [Axis2]wsdl2java with xmlbeans creates interface with xmlbeans.XmlString instead of java.lang.String

2007-10-03 Thread Pantvaidya, Vishwajit
Hi Amila, Am I doing anything wrong in the jaxme/jaxbri options? Or is it not working because their implementation is on a trial basis? If jaxme/jaxbri won't work - I was thinking of proceeding with xmlbeans. Ultimately I need to deal with MTOM attachments - so do I need to choose any particula

Re: [AXIS2] ADBException: Unexpected subelement contentType

2007-10-03 Thread Amila Suriarachchi
Can you send your wsdl? and your request and responses. have you enabled the MTOM or not? Amila. On 10/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Hi > > I am bit new to Axis2 but I worked on SOAP / MTOM.I think element type > need to be xmime:base64Binary as shown in axis2 sampl

Re: wsdl import failing with wsdl2java axis2-1.3

2007-10-03 Thread Amila Suriarachchi
Can you please try out with a nighly build? I fixed a similar issue earlier and this wsdl seems to be ok. Amila. On 10/4/07, Norman Barker <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using the ebRIM wsdl file here > > http://www.oasis-open.org/committees/regrep/documents/3.0/services/ebXMLRegistr

Re: Performance analysis

2007-10-03 Thread Demetris G
Super - thanks Upul. Upul Godage wrote: http://wso2.org/library/91 Hope this helps. Upul On 10/4/07, *Demetris G* < [EMAIL PROTECTED] > wrote: Does anyone know if there has been any work on profiling Axis and Axis 2? Thanks --

Re: Performance analysis

2007-10-03 Thread Upul Godage
http://wso2.org/library/91 Hope this helps. Upul On 10/4/07, Demetris G <[EMAIL PROTECTED]> wrote: > > > Does anyone know if there has been any work on profiling Axis and Axis 2? > > Thanks > > > - > To unsubscribe, e-mail: [EM

Re: *SPAM*: 08.50/4.0 - Re: Problem building available services

2007-10-03 Thread Lahiru Sandakith
Hi Ana, As from here [1] on page 1 we need to specify the correct path to the service classes (this should be ideally the point where your package structure starts). Also this [2] is the reference to the code generator plugins and if you interested here [3] is a tutorial that fully covers both con

wsdl import failing with wsdl2java axis2-1.3

2007-10-03 Thread Norman Barker
Hi, I am using the ebRIM wsdl file here http://www.oasis-open.org/committees/regrep/documents/3.0/services/ebXMLRegistryServices.wsdl which I can't really change and all I have done is make it validate in eclipse by changing

Re: problem with Axis2 1.3 not sending xml body

2007-10-03 Thread Eben Bruyns
Hi Guys, I just made a cut down version of the WSDL that is producing this issue for me, could anybody please point out my mistake? http://schemas.xmlsoap.org/wsdl/"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://www.hiso.org.nz/pms/wsdl"; xmlns:intf="http://www.hiso.org.

problem with Axis2 1.3 not sending xml body

2007-10-03 Thread Eben Bruyns
Hi Guys, I've got an RPC encoded WSDL (yeah I know they are evil) which I converted to an RPC Literal. After I generated the proxy classes I'm unable to find the XML Data in the HTML body (this is a client proxy and it's doing a post). Am I missing something really obvious? Another thing I have

RE: Axis 1.4 configuration to use HTTP/1.1

2007-10-03 Thread Alick Buckley
Using Commons HTTP client with Axis By default Apache Axis 1.4 uses 'org.apache.axis.transport.http.HTTPSender' for http sending. It is possible to change this to use 'org.apache.commons.httpclient'. Change the transport pivot attribute in the configuration to point to the CommonsHTTPSender

Re: [AXIS2] Content-length not set in header

2007-10-03 Thread FFF7878
Hi, No, the Transfer-Encoding: chunked header is not present neither in the request nor in the response. I'm out of the office now until tuesday, so I won't be able to test any more but the response header I gave in the first e-mail are still the one I get when I disable HTTP chunking at runtime,

Re: [AXIS2] ADBException: Unexpected subelement contentType

2007-10-03 Thread Yogesh . Dhake
Hi I am bit new to Axis2 but I worked on SOAP / MTOM.I think element type need to be xmime:base64Binary as shown in axis2 sample. Etienne if you are planning to use MTOM then Axis sample on MTOM is quite useful. See how you can define your "content" element . I was succcessful in transfe

[Axis2] SPNEGO

2007-10-03 Thread Jim Collins
Hi, Has anyone written an Axis2 client that accesses a Web Service using SPNEGO? I don't want to have the username and password of the account I want to authenticate against on the Web Service. Any help with this would be appreciated. Thanks Jim

Re: [Axis2] WS-Policy

2007-10-03 Thread Jim Collins
Hi Sanka, I will send the WSDL tomorrow. Thanks for your help. Jim - Original Message - From: "Sanka Samaranayke" <[EMAIL PROTECTED]> To: Cc: <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2007 12:35 PM Subject: Re: [Axis2] WS-Policy Hi Jim, I would be great if you can post th

Performance analysis

2007-10-03 Thread Demetris G
Does anyone know if there has been any work on profiling Axis and Axis 2? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [AXIS2] ADBException: Unexpected subelement contentType

2007-10-03 Thread Ajith Ranabahu
Hmm.. It could be a bug. I'm thinking that since we have special treatment for base64Binary, the problem could be that. Can you try putting the base64Binary type as the last element of the sequence ? (I have a feeling that the issue could be with something immediately following the base64bin type)

Re: Web Service REST + JSON

2007-10-03 Thread Karina Pereyra
I don't have errors using badgerfish but i want to parse it into javascript and mapped is easier than badgerfish to parse. also i'm a neebie in java and axis2, could you suggest me some guides to create services using axiom or how to specify namespaces to default? thanks a lot. On 10/3/07, T

Re: Web Service REST + JSON

2007-10-03 Thread Thilina Gunarathne
AFAIK POJO support by defualt generates namespaces. But you can try specifying nameapce to package mapping pointing to the defualt namespace... Not sure whether it'll work.. If not you will have to either create your service using Axiom or using a code generation... These are the results of imped

Re: Rampart throws NPE

2007-10-03 Thread Murali Krishnan
The services.xml file contents I had included appear wrong in the earlier message. I have attached it in this mail. - Original Message From: Murali Krishnan <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: axis-user@ws.apache.org Sent: Wednesday, October 3, 2007 2:19:56 PM Subject: Rampart

Re: Web Service REST + JSON

2007-10-03 Thread Karina Pereyra
i look at the link you mentioned but it not cover to deploy a service using pojo + json + axis2 objects. On 10/3/07, keith chapman <[EMAIL PROTECTED]> wrote: > Sorry Karina I'm not very familiar with Badgerfish. Did you have a look at > http://wso2.org/library/768 ? > > Thanks, > Keith. > > > On

Rampart throws NPE

2007-10-03 Thread Murali Krishnan
I'm trying to call a simple service deployed in Axis2. I'm trying to enforce that this service requires a SamlToken whenever it is called... If I invoke this service with a soap request that doesn't have any security headers, I get the below exception at the server. If I disenagage 'rampart' for

Re: [AXIS2] Content-length not set in header

2007-10-03 Thread Thilina Gunarathne
hmm... Sounds like a bug... Better way to specify it is through the axis2.xml. Try disabling "Chunking" using Axis2.xml... If it's still broken try swtiching to http 1.0.. See this document: http://ws.apache.org/axis2/1_3/http-transport.html. thanks, Thilina On 10/3/07, FFF7878 <[EMAIL PROTECTE

Re: Web Service REST + JSON

2007-10-03 Thread Karina Pereyra
i'd like to use mapped service not badgerfish but when i try to use mapped i have this error Mapped formatted JSON with namespaces are not supported in Axis2. Make sure that your request doesn't include namespaces or use the Badgerfish convention. do you know how i can remove namespaces? On 10/

Re: Web Service REST + JSON

2007-10-03 Thread keith chapman
Sorry Karina I'm not very familiar with Badgerfish. Did you have a look at http://wso2.org/library/768 ? Thanks, Keith. On 10/3/07, Karina Pereyra <[EMAIL PROTECTED]> wrote: > > I'm nearby of success. > I have now my pojo services with this method, but i have the last problem. > When i use Badger

Re: [AXIS2] Content-length not set in header

2007-10-03 Thread keith chapman
No it cannot be a bug. Cause the content-length header is set by commonsHTTPTransportSender and this is a basic use case. So I dont think that its broken. Do you see the following header in the response? Transfer-Encoding: chunked Thanks, Keith. On 10/3/07, FFF7878 <[EMAIL PROTECTED]> wrote: > >

Re: [AXIS2] Content-length not set in header

2007-10-03 Thread FFF7878
I've disabled chunking in the service and the content-length is still not included by Axis2 in the HTTP header. Could it be an Axis2 1.3 bug? Thanks, Pierre keith chapman wrote: > > yes it would. > > Thanks, > Keith. > > On 10/3/07, FFF7878 <[EMAIL PROTECTED]> wrote: >> >> >> Thanks for the

Re: Problem with AXIS2 client against an XFire server

2007-10-03 Thread Patrick Houbaux
Thanks Paul and Keith! I was indeed passing the URL with ?wsdl ... my mistake ;) Cheers, Patrick. Paul Fremantle wrote: It seems maybe you are targeting the request against the WSDL url http://engineoushamburg.dyndns.org:6980/Update_BeamInterfaceInterface?wsdl not the SOAP URL http://engineous

Re: [AXIS2] Content-length not set in header

2007-10-03 Thread keith chapman
yes it would. Thanks, Keith. On 10/3/07, FFF7878 <[EMAIL PROTECTED]> wrote: > > > Thanks for the answer. > Will Axis2 include the content-length value in the HTTP header if I > disable > the chunking by default? The client seems to be very dependant of this > header value! > > > Thanks in advance

Re: [AXIS2] Content-length not set in header

2007-10-03 Thread FFF7878
Thanks for the answer. Will Axis2 include the content-length value in the HTTP header if I disable the chunking by default? The client seems to be very dependant of this header value! Thanks in advance Pierre keith chapman wrote: > > AFAIK chunking is true by default (When HTTP 1.1 is used)

Re: Problem with AXIS2 client against an XFire server

2007-10-03 Thread Paul Fremantle
It seems maybe you are targeting the request against the WSDL url http://engineoushamburg.dyndns.org:6980/Update_BeamInterfaceInterface?wsdl not the SOAP URL http://engineoushamburg.dyndns.org:6980/Update_BeamInterfaceInterface I tried building a simple client (ADB not XMLBeans) wsdl2java.bat -ur

RE: Axis 1.4 configuration to use HTTP/1.1

2007-10-03 Thread Walker, Jeff
Hi, So, I tried playing around with the http version. Theoretically, you should be able to set a property on the binding (or at least, the Call object) to switch between http 1.0 and http 1.1 This did not work. I could only manage to change to http 1.1 by editing the method writeToSocket() in HTT

Re: [AXIS2] Content-length not set in header

2007-10-03 Thread keith chapman
AFAIK chunking is true by default (When HTTP 1.1 is used) and if you wanna turn it off you have to specify it explicitly. Try this in your service MessageContext msgContext = org.apache.axis2.context .MessageContext.getCurrentMessageContext().getOperationContext().getMessageContext( WSDLConstants.

Re: Axis 2.0 Content-type

2007-10-03 Thread keith chapman
Well I cannot recollect it not working in 1.1.1, nevertheless 1.3 is much stable that that. If i remember correct the builders and formatters concept was introduced in 1.2 so I dont see it having an implication on 1.1. Thanks, Keith On 10/3/07, Ganesan, Chandru <[EMAIL PROTECTED]> wrote: > > > I

Re: Problem with AXIS2 client against an XFire server

2007-10-03 Thread keith chapman
Hi Patrick, Can you please check the EPR you send your request to, cause looking at ypur exception it looks like XFire responded with the WSDL (Thats where the definitions element came from instead of the SOAP envelop). Thanks, Keith. On 10/3/07, Patrick Houbaux <[EMAIL PROTECTED]> wrote: > > Hi

RE: Axis 2.0 Content-type

2007-10-03 Thread Ganesan, Chandru
I can try this as last resort. Is there any patch for this in 1.1.1? Thanks Chandru Ganesan From: keith chapman [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 03, 2007 10:29 AM To: axis-user@ws.apache.org Subject: Re: A

Problem with AXIS2 client against an XFire server

2007-10-03 Thread Patrick Houbaux
Hi all, I have generated a client stub using WSDL2Java using XMLBeans against the following WSDL apparently created with XFire: http://engineoushamburg.dyndns.org:6980/Update_BeamInterfaceInterface?wsdl When I invoke the only method from this webservice with the AXIS2 generated stub I'm getti

[AXIS2] ADBException: Unexpected subelement contentType

2007-10-03 Thread Etienne Giraudy
Hi, I'm working on migrating a web service client from axis 1.4 to axis2 1.3. With axis2 I have an issue with a complex type containing a base64Binary element: When the client fails with the following exception; org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Un

Re: Axis 2.0 Content-type

2007-10-03 Thread keith chapman
Would it be possible for you the check this with the 1.3 release? Apparently its very stable (And i'm sure your scenario works perfectly on it). Thanks, Keith. On 10/3/07, Ganesan, Chandru <[EMAIL PROTECTED]> wrote: > > > Hi Keith > > Wonder if you had a chance to look at this. > > Thanks > Chand

RE: Axis 2.0 Content-type

2007-10-03 Thread Ganesan, Chandru
Hi Keith Wonder if you had a chance to look at this. Thanks Chandru Ganesan From: Ganesan, Chandru Sent: Tuesday, October 02, 2007 1:11 PM To: axis-user@ws.apache.org Subject: RE: Axis 2.0 Content-type

Re: Issue with Axis2 MTOM client

2007-10-03 Thread Yogesh . Dhake
Hi Mr Thilina Thanks for answering query. My Issue got resolved when I upgraded to axis2 1.3 . I was using axis2.1.1 on tomcat. Summary. 1) Axis2 can work as MTOM client or server. 2) For memory optimization we can do file caching on both sides. Thanks again. regards Yogesh Dhake

Re: AXISCLASSPATH

2007-10-03 Thread Upul Godage
Hi, You are missing package apache. java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient If you still get the class not found error for AdminClient. Check whether AXISCLASSPATH has all axis/lib jars. e.g. echo %AXISCLASSPATH% Upul On 10/3/07, zhshqzyc <[EMAIL PROTECTED]> wrote: > > > W

RE: Autogenerated code format - configuration for PrettyPrint (Jalopy)

2007-10-03 Thread James Maes
Would the developers list be a better place for this question? James Maes Software Architect Materialogic PH: 800-333-7144 PH: 314-997-4342 Ext. 3422 FX: 314-997-7814 From: James Maes [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 02, 2007 4:00 PM To: axis-user@ws.apache.org Subject

how many service instances are created in request scope?

2007-10-03 Thread Michele Mazzucco
Hi all, I know that if a service is deployed in application scope a new object instance will be created every time the service is called [1]. Others, instead, create a single instance [2]. Isn't it better to use the second approach, especially if the service is heavily used (if not, it could be p

Cast Problem Example Axis2SampleDocLit

2007-10-03 Thread Johnson, Chris
All - I'm in the process of becoming familiar with Axis2(v1.3) as I have used Axis1 in the past. I'm running through the example found at the following location: http://ws.apache.org/axis2/1_2/adv-userguide.html After following all the steps as described and deploying the service with ease I ge

Re: [Axis2] WS-Policy

2007-10-03 Thread Sanka Samaranayke
Hi Jim, I would be great if you can post the WSDL which you used to generate the stub so that we see whether we can reproduce the problem. Thanks, Sanka Jim Collins wrote: Hi Paul/Sanka, Thanks for the reply and apologies for taking so long in getting back to you. I have looked at the

RE: *SPAM*: 06.70/4.0 - Re: *SPAM*: 08.50/4.0 - Re: Problem building available services

2007-10-03 Thread Ana Belén Antón Gironés
Hi Suran! >Obviously, as members of the Axis2 dev community, we wouldn't be suggesting that you move to another framework, although that is up to you. :-) No, of course. I think I am mixing basic concepts. I am going to try understand the basis first and then I will ask you again. Thanks. How

Re: AXISCLASSPATH

2007-10-03 Thread zhshqzyc
What is wrong when I run the admin client. [CODE] C:\Documents and Settings\Owner>cd c:\axis\samples\stock C:\axis\samples\stock>java -cp %AXISCLASSPATH% org.axis.client.AdminClient -lhtt p://localhost:8080/axis/services/AdminService deploy.wsdd Exception in thread "main" java.lang.NoClassDefFou

Re: *SPAM*: 08.50/4.0 - Re: Problem building available services

2007-10-03 Thread Suran Jayathilaka
Ana Belén Antón Gironés wrote: Hi! Thank you very much for your help, Suran and Lahiru. >First of all, I see that your class uses generics. Please note that Axis2 only supports simple-types, arrays and beans. Since Axis2 is JDK1.4 compliant, generics are not >supported. >So what you can do

[AXIS2] Content-length not set in header

2007-10-03 Thread FFF7878
Hello Axis users, I have a web service integrated with Axis2 that communicates with clients using gSOAP. The problem is that the client don't receive the complete XML response (sent in three TCP packets) when the WS is using Axis2 while it is working when using Axis1. HTTP 1.1 is used. In axis2.xm

RE: *SPAM*: 08.50/4.0 - Re: Problem building available services

2007-10-03 Thread Ana Belén Antón Gironés
Hi! Thank you very much for your help, Suran and Lahiru. >First of all, I see that your class uses generics. Please note that Axis2 only supports simple-types, arrays and beans. Since Axis2 is JDK1.4 compliant, generics are not >supported. >So what you can do is replace your genericised List a

Re: Problem building available services

2007-10-03 Thread Lahiru Sandakith
Hi Ana, AFAIK on POJO scnenario to work correctly on all areas, axis2 supports simple types, simple type arrays and java beans in the method signatures of the service methods that needed to be exposed as web service. In your exact case, given that Class21 is a bean and recursively all the internal

Re: Problem building available services

2007-10-03 Thread Suran Jayathilaka
Ana Belén Antón Gironés wrote: Hello Suran, My service makes use of several packages and classes and interfaces. It has a complex structure. So, I have created the following folder structure: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis2\WEB-INF\services\ - MyS

Axis2 generation tools for services

2007-10-03 Thread Jay Zawar
Hi, I noticed that the working sample generates quite some code when strting from that Bank service wsdl. Especially, the exceptions seem to be "manually" serialized. In the sample, the service and clients are generated from the wsdl file. I'd like to discuss the following points: a) the WSDL

Axis 1.4 configuration to use HTTP/1.1

2007-10-03 Thread Shadab
Hi All, Please let me know if there is any way to configure Axis1.4 such that it uses HTTP/1.1 instead of HTTP/1.0 The request from the soapclient (implemented using service stub) lands with Axis/1.4 which in turn by default presumably uses HTTP/1.0. Can't this be changed somehow using Commo

RE: Problem building available services

2007-10-03 Thread Ana Belén Antón Gironés
Hello Suran, My service makes use of several packages and classes and interfaces. It has a complex structure. So, I have created the following folder structure: C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\axis2\WEB-INF\services\ - MyService -eu

Re: Does WSDL2Java always generate Java code in UTF-8?

2007-10-03 Thread Lahiru Sandakith
Hi Kelvin, Assume that you have point the WTP to the Axis2 earlier version than 1.3, there has been an issue reported with the Axis2 Codegen results and it has been now fixed in the 1.3 version of the Axis2. if you can please try it with 1.3, The solution that you have come up is maybe an valid wor

Re: Problem with service archiver plugin eclipse

2007-10-03 Thread Lahiru Sandakith
Please send us the latest log note on /.metadata/.log file Thanks Lahiru On 10/2/07, Jay Zawar <[EMAIL PROTECTED]> wrote: > > Hi, > > I wanted to add: I use the following plugin versions: > > Axis2_Codegen_Wizard_1.2.0 > Axis2_Service_Archiver_1.0.0 > > (and using Axis2 1.2) > > Kind regards, > >