Re: [Axis2]: producing a nicely formatted wsdl file with the java2wsdl tool ?

2006-12-05 Thread Ajith Ranabahu
You can use the jtidy - infact we have a jtidy plugin for WSDL2Java Ajith On 12/5/06, Javier Kohen <[EMAIL PROTECTED]> wrote: El mar, 05-12-2006 a las 17:33 -0800, S. Sharif escribió: > The java2wsdl tool produces a wsdl file that is > difficult to read. Not only is it not nicely > formatted

Re: [Axis2]: producing a nicely formatted wsdl file with the java2wsdl tool ?

2006-12-05 Thread Javier Kohen
El mar, 05-12-2006 a las 17:33 -0800, S. Sharif escribió: > The java2wsdl tool produces a wsdl file that is > difficult to read. Not only is it not nicely > formatted as an xml file should be, but all of the xml > tags in the bottom half of the file are written to a > single line of text, which ma

[Axis2]: producing a nicely formatted wsdl file with the java2wsdl tool ?

2006-12-05 Thread S. Sharif
The java2wsdl tool produces a wsdl file that is difficult to read. Not only is it not nicely formatted as an xml file should be, but all of the xml tags in the bottom half of the file are written to a single line of text, which makes it even more difficult to read. Is there someway to configure

Generating elements without explicit namespace prefix

2006-12-05 Thread Javier Kohen
I'm trying to write the WSDL for an already existing web service that has some strange requirements. For instance, it won't accept elements with an explicit namespace prefix, such as ; it will only accept it if it looks like . If it matters, some of these elements are request headers. Is there a

Messages with many parts

2006-12-05 Thread Javier Kohen
I'm trying to write the WSDL for an already existing web service that requires including two elements as children of the Body element. The web service uses SOAP and expects the request's body in the form contentcontent As I'm using Axis on the client side, I'd like to know what Axis-compatible con

Re: Best way to log service method accesses?

2006-12-05 Thread D . Kreft
Ne'er mind...I got this figured out based upon a response to another question. The solution is to create a handler that inherits from BasicHandler. :-) -dan On 12/5/06, D. Kreft <[EMAIL PROTECTED]> wrote: On 12/5/06, David Illsley <[EMAIL PROTECTED]> wrote: > If this is in Axis2 I'd suggest a

Building the Service using AXIOM Sample

2006-12-05 Thread Danny Lin
I am new to Axis2. I am going through the "Axis2 Quick Start Guide". I was able to run the Stock Quote using POJO. But when I run the example code using AXIOM I got the following error when pointing my browser to http://localhost:8080/axis2/rest/StockQuoteService/getPrice?symbol=IBM. I also get the

Re: Best way to log service method accesses?

2006-12-05 Thread D . Kreft
On 12/5/06, David Illsley <[EMAIL PROTECTED]> wrote: If this is in Axis2 I'd suggest a handler inserted after the dispatch phase in which case you can get the operation name from the AxisOperation which in turn you can obtain from the MessageContext. In general the SOAPAction can't and shouldn't

Re: Best way to log service method accesses?

2006-12-05 Thread David Illsley
If this is in Axis2 I'd suggest a handler inserted after the dispatch phase in which case you can get the operation name from the AxisOperation which in turn you can obtain from the MessageContext. In general the SOAPAction can't and shouldn't be relied upon. David On 05/12/06, D. Kreft <[EMAIL

Best way to log service method accesses?

2006-12-05 Thread D . Kreft
I'm setting up a table in my database to log accesses to my service. I'm grabbing the username, client host and script name from the SOAP header, but I'd also like to log the name of the method called. What's the best way to do this? Can the SOAPAction HTTP header be reliably counted on for this t

Re: Custom Axis Handler

2006-12-05 Thread robert lazarski
Looking at my old axis 1.x code ... it depends on what handler interface you are using. For example: //add ClientHandler to chain of events java.util.List list = svc.getHandlerRegistry().getHandlerChain(portQN); list.add(new javax.xml.rpc.handler.HandlerInfo(ClientHandler.class,this.han

Custom Axis Handler

2006-12-05 Thread Hoying, Ken
I am attempting to create a custom client side handler in Axis 1.2. The handler is being called and seems to working properly. However, I am unable to pass any parameters to it. I am attempting to pass a string to the handler as follows: Stub._setProperty("MyName", "MyValue");

Re: AxisHttpSession not timing out

2006-12-05 Thread Martin Gainty
Jarmo Can you verify session-config parameter in your .\WEB-INF\web.xml e.g. 5 Here is a solution which quiesces AxisHttpSessionListener when HTTPSessionListener sessionDestroyed http://www.mail-archive.com/axis-user@ws.apache.org/msg21645.html Anyone else? M- This e-

Re: Problems building axis2-std-1.1-RC1-src

2006-12-05 Thread Thilina Gunarathne
Please use the 1.1 release available at http://ws.apache.org/axis2/download/1_1/download.cgi ~Thilina On 12/5/06, robert lazarski <[EMAIL PROTECTED]> wrote: AFAIK you can't build a release based off of snapshots. The official releases such as 1.1 do not have snapshot deps. HTH, Robert On 12/5

RE: AxisHttpSession not timing out [resolved]

2006-12-05 Thread Jarmo Doc
Problem resolved. Some other piece of code was overriding the web.xml timeout by explicitly setting the AxisHttpSession timeout. From: "Jarmo Doc" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: AxisHttpSession not timing out Date: Tue, 05 Dec 2006 0

[AXIS2] How to generate code from two or more WSDL files

2006-12-05 Thread Shaoguang Cong
Anybody knows how to generate code from two or more WSDL files? According to Deepal's article (http://www.wso2.net/articles/axis2/java/2006/09/13/working-with-axis2.";), this seems achieveable using "service group" introduced in AXIS 2. I want to know whether this is a future fe

Re: [Axis2] Getting a deployment fault when running the example from Axis2 Quick Start Guide

2006-12-05 Thread Davanum Srinivas
i think you are mixing jars from various releases. Please check. -- dims On 12/4/06, S. Sharif <[EMAIL PROTECTED]> wrote: Hi, I am getting a deployment fault after I deploy the code example for "Building the service using AXIOM" from the Axis2 Quick Start Guide. I am using the code example th

AxisHttpSession not timing out

2006-12-05 Thread Jarmo Doc
My Axis 1.3 webapp's web.xml indicates a session timeout of 2 minutes. Regular HTTP sessions in this webapp time out just fine on schedule, as detected by my HttpSessionListener. My Axis sessions, however, never time out. Why would this be? Thanks. _

Re: Problems building axis2-std-1.1-RC1-src

2006-12-05 Thread robert lazarski
AFAIK you can't build a release based off of snapshots. The official releases such as 1.1 do not have snapshot deps. HTH, Robert On 12/5/06, Althea Lee <[EMAIL PROTECTED]> wrote: Hello, I was not able to build axis2-std-1.1-RC1-src using maven. I got the following errors. Please help. Lots o

external jars to use with webservice

2006-12-05 Thread Espen Falkevik
Hi. I'm using Weblogic and Axis 1.4. I have a webservice which should use some classes from some external jar files. The jar files are stored on the weblogic server (e.g. c:\externaljars\ ) and the webservice is stored in another folder (c:\bea\weblogic\webapps\axis\web-inf\lib\mywebservice.jar

Problems building axis2-std-1.1-RC1-src

2006-12-05 Thread Althea Lee
Hello, I was not able to build axis2-std-1.1-RC1-src using maven. I got the following errors. Please help. Lots of thanks for the help Best regards, Althea Attempting to download neethi-SNAPSHOT.jar. Cookie rejected: "$Version=0; JSESSIONID=F133DBF6639444B2

Connection timed out in little slow webservice

2006-12-05 Thread Java Programmer
Hello, My problem concerns some timeouts which are made by long time running process inside soap method. Fault looks like: AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.net.ConnectException: Connection timed out: connect fa

Re: Fwd: [AXIS2] False namespace2package mapping in wsdl2java

2006-12-05 Thread Carlos Ribeiro
You probably need to do: "-n2sp http://www.foo-bar.de/bar=foo.bar.service.types"; Ulf Heyder wrote: Hello, I still can't get wsdl2java to follow my -ns2p option -ns2p bar=foo.bar.service.types,foo=foo.bar.service.types.foo All java classes created from the xsd types in namespace "bar" are

Re: Uploading files in web services

2006-12-05 Thread Thilina Gunarathne
FYI: Axis2/C supports MTOM... AFAIK they are writing a Perl binding too.. Most of the older stacks support SOAP with Attachments.. ~Thilina On 12/5/06, Brian Caruso <[EMAIL PROTECTED]> wrote: I am working on a web service that will need to be able to accept large binary objects, around 10-100mb

Re: Content-Length Header

2006-12-05 Thread Thilina Gunarathne
Please try switching of http chinking... http://wso2.org/kb/209 ~Thilina On 12/5/06, Punnoose, Roshan <[EMAIL PROTECTED]> wrote: Hi, How do I get Axis2/HTTP Client to use the Content-Length header for POST requests? It doesn't seem to be adding it, and my webserver requires it. Roshan

Re: MTOM && FILE CACHING

2006-12-05 Thread Thilina Gunarathne
Hi Marcel, You can rename the file by casting the received dataSource to a fileDataSource, which is the case when the attachment is cached.. You can make sure that all the attachments get cached by making the size threshold zero... DataHandler dataHandler = (DataHandler)omText.getDataHandler(); F

Re: [AXIS2]: How to enable 2D Array Encoding ?

2006-12-05 Thread Alessandro Marini
Just do it: https://issues.apache.org/jira/browse/AXIS2-1827 Any votes to this issue will be appreciate! Thanks! Alessandro > Hi Alessandro ; > > We do not have that feature in Axis2 , but we can have that in future > release, so pls create a JIRA issue. > > Thanks > Deepal > > >Hi! > > > >I ne

Re: [AXIS2.1.1] Generate an Interface for the skeleton

2006-12-05 Thread Mehar SVLN
I think if you dont want to change the sevices.xml you can directly go and change ur ServiceSkeleton.java class I dont think there is any other option.. Hope it helps On 12/5/06, Shaoguang Cong <[EMAIL PROTECTED]> wrote: Ajith, I've read your article on Contract-First Web Services with Apache

send an object containing a java.util.List

2006-12-05 Thread Benoit Decherf
Hi, I want to create a service which return an object containing a List: The object to return: public class Container { private List myList = new ArrayList(); public List getList() { return myList; } } The service (pojo) : public class MyService { private Container container = new

Why it only read 28 bytes

2006-12-05 Thread jim ma
Hi all , I downloaded the aixs2 1.1 std kit and tried a simple sample contains one operation: echoString() . After I deployed the service in repository and launch the server with axis2server.I wrote the following code to send the payload to aixs2server and soap response : httpCon.getOutputStream