[axis 2] how to invoke automatic wsdl export from deployed services

2005-06-23 Thread Joerg Buchberger
Hi. The user guide says, that axis2 can automatically export wsdl of deployed services. Unfortunately I couldn't find any documentation how to do it. So, I tried it the way it used to be in axis1 (?wsdl), but that didn't work. I'd appreciate any hints. --Joerg

RE: where to put server-config.wsdd

2005-06-23 Thread Merten Schumann
Hi Janos, thought about bundling server-config.wsdd in my .war too ... At the end I decided NOT to do this, one reason was the mailto:[EMAIL PROTECTED] > Sent: Friday, June 24, 2005 5:59 AM > To: axis-user@ws.apache.org > Subject: where to put server-config.wsdd > > Hi > > The production peo

where to put server-config.wsdd

2005-06-23 Thread Janos Mucsi
Hi The production people at my company say that an application can not write into its WEB-INF directory for security reasons (they can not have the Axis administration servlet running), therefore I need to prepackage the server-config.wsdd file in my ear. The context attribute "javax.servlet.cont

Re: No such operation error - malformed WSDL?

2005-06-23 Thread Anne Thomas Manes
No worries -- change it to "body" or whatever else you like. Anne On 6/23/05, Patrick Quinn <[EMAIL PROTECTED]> wrote: > Hi Anne > > As mentioned last week, I got a broken WSDL working on Axis with your changes > (many thanks once again). > Our customer, however, cannot get the changes through

Re: Dynamic Endpoints

2005-06-23 Thread Jeff
For a service called MyService, i.e. your WSDL file contains , source code generated by WSDL2Java will contain classes with these (or similar) names (amongst others): MyServiceLocator MyServiceSoap MyServiceSoapStub You can then invoke myMethod() against the service using code like:

Adding a SOAPHeaderElement that's more than just a string

2005-06-23 Thread Gabor Siklos
I know it's been asked before here, but I've searched through the archives and could not find anything that would help me, so here it goes: I'm trying to add a header to a stub but it's more that just a simple string, it's a custom header. Here's the relevant wsdl declaration and code piece: In

.net client issue for session management

2005-06-23 Thread Rajesh Patel
I am using axis 1.2.1. I am implementing session management by adding --deployScope Session option for server side stub generation. I created java client with serviceLocator.setMaintainSession(true); for client stub locator and it works as expected for java client. I am trying to consume w

WSDL2Java - Classes for some types and not for others

2005-06-23 Thread Paul Barry
I am trying to use apache axis to access the web services of a thrid-party app. The WSDL for the third party app has many , and elements that are children of the element. So it looks basically like this: ... ... When I run

RE: .Net and Axis interoperability

2005-06-23 Thread bjmallow
UserBean only contains Strings. The WEB Service runs to completion on the server when its invoked. But I get the cast exception on the client. In this case it's a Java client that was generated with WSDL2Java. It actually fails in the SoapBindingStub on the invoke. java.lang.Ob

Re: .Net and Axis interoperability

2005-06-23 Thread Wille Faler
Looks ok. If it compiles and runs ok "without" Axis and SOAP it should run ok with Axis as well. This is of course assuming that UserBean only contains allowed attributes as mentioned in the earlier mail, or at least only beans which in turn only contain allowed attributes. Keep that link I sent

TypeMapping between 1.2_rc3 and 1.2 final

2005-06-23 Thread Benjamin . Temko
Hello all, Here I am again with this TypeMapping business. It seems that all of the code I wrote which works for axis 1.2RC3 no longer works with 1.2final. It seems that my client-side type registration is being ignored in its entirety. I have not changed my TypeMapping code since I first figur

RE: Bug with Arrays as Return Types

2005-06-23 Thread Andrew Vardeman
Duarte, Thanks for your replies on- and off-list. It took me a bit to follow what you were saying. I'm not very familiar with Axis internals, and I've never tried to build the source. Do you mean that your fix causes Axis to serialize the array as it did in 1.1, or just that switching the

using proxy to connect to server with ssl and arrays

2005-06-23 Thread Jairam, Roopnaraine
i am getting the following error when trying to send an array with more than one element with a proxy and openssl with gsoap to the axis server on gsoap. SOAP FAULT: SOAP-ENV:Server.userException "java.net.SocketTimeoutException: Read timed out" Detail: myserver my soap client is trying to talk

RE: .Net and Axis interoperability

2005-06-23 Thread bjmallow
Wille Thank you for the response. Another question if I may. Below is the code where I used to be returning a Vector. I changed it to return an array of UserBean objects. I remember trying this before but got a class cast exception. Should this work? Thanks Brad public UserBean[] getListOfUs

second call to ws hangs on client side.

2005-06-23 Thread Ian van der Neut
Hello all, I'm having a problem with obtaining a PDF from a webservice as an attachment. The first time I call the web service, everything works as it is expected, but the second time, the client side seems to hang on reading the file. Here's the code: Server: public javax.activation.DataHandler

Re: Best IDE to use for Axis

2005-06-23 Thread Hal
Eclipse Webtools is pretty cool, and has many features. Next release is planned for 1st of July and should normally support Axis 1.2.1 Feature for client-side code generation for web services is useful. Hal [EMAIL PROTECTED] wrote: I'm current using the Lavadora Eclipse plug-in to bring Axi

Re: Best IDE to use for Axis

2005-06-23 Thread Jack_Emmerichs
I'm current using the Lavadora Eclipse plug-in to bring Axis into Eclipse.  The plugin appears to be the work of a single person working on a Master's degree, so the icons are a bit rough, the wizards are pretty bare-bones, and the source comments are all in Polish, but if you can live with a sing

Re: Best IDE to use for Axis

2005-06-23 Thread Don Albertson
I haven't seen much on this topic.  If it was discussed well, I must have missed it.  The one reference I found to using Axis with NetBeans was http://cropcrusher.web.infoseek.co.jp/shufujava/wserv/axisnb4_en.html which I didn't find particularly helpful -- probably because something was lost in tr

NoClassDefFoundError when creating service stub

2005-06-23 Thread Jack_Emmerichs
I'm an Axis newby, so please pardon any obvious dumb mistakes I'm trying to find. I'm trying to follow the example in the Axis User Guide for implementing the client side bindings.  I've created all the generated Java code from the service WSDL (using the Lavadora Eclipse plugin, but the code loo

Dynamic Endpoints

2005-06-23 Thread John Baker
Hi, I'm trying to simplify the configuration of a pre-packaged Axis server which already has a bunch of services deployed. I'd like users to be easily be able to set the endpoint on services that were generated from wsdl, so I'm using the Java stub as my deployed service. You can think of this mod

Re: soapenc:Array vs minOccurs="0" maxOccurs="unbounded"

2005-06-23 Thread Evgeny Beskrovny
Hi, I am just struggling with the same issue. I am using document literal style where encoding namespace is invalid and the .Net client (and not only) is complaining about it. Any changes I did in the wsdd file didn't lead to the solution, so I also would like to know if somebody already solved thi

soapenc:Array vs minOccurs="0" maxOccurs="unbounded"

2005-06-23 Thread Dovholuk, Clint
Hello All,   I've searched through the archives but there's so much overlapping of keywords I can't locate a specific thread that answers this question, so please forgive me if this has been covered before (and I'm sure it HAS, I just can't find where).    Is there some special reason why Ax

TimeZone and date's

2005-06-23 Thread Klas.Nyman
Hi All I have noticed that Axis code/decode xsd:dateTime as GMT (in CalendarSerializer.java for example). If I have got it right xsd:dateTime is required to encode the correct time (base time plus or minus a time zone offset), but is not required to preserve locale information, including the orig

RE: Bug with Arrays as Return Types

2005-06-23 Thread Duarte Marques Moreira
Hello, With Axis 1.1 you have: ... xsi:type="soapenc:Array" soapenc:arrayType="xsd:string[3]" ... With Axis 1.2 you have: ... soapenc:arrayType="soapenc:string[3]" xsi:type="soapenc:Array" I have updated the ArraySerializer.java in order to change the order of the attributes (xsi:type=

Re:Best IDE to use for Axis

2005-06-23 Thread zhangyu
This question has discussed in the past,and you can travel history maillists. Best Regards, Robert Zhang Email:[EMAIL PROTECTED] Tel:86-010-62014411-2437 - 原邮件 - 从: Sammo <[EMAIL PROTECTED]> 日期: 星期四, 六月 23日, 2005 下午1:10 主题: Best IDE to use for Axis > I'm currently using NetBeans 4.1 as

Axis and keystore for SSL connection

2005-06-23 Thread Trimarchi Michele
Title: Messaggio Hi  I'm thinking to switch from Apache Soap to Axis but i have a doubt. i'm using soap since 2003 with success and without any kind of problem (thank u again); i can handle different keystore on different webapps on the same application server using this trick: http://marc.

AXIS as a proxy to all web service

2005-06-23 Thread Ibrahim Salloum
hi,   we have a situation here which we need to intercept all webservice requests insert the requests in a sequence of steps before send it back to the originally requestes web service.   the AXIS fit our need perfectly, but we have the following issue to handle "not all web services installed