Re: Axis 1.4 service deployment query

2006-12-05 Thread Tarun Maheshwari
I could not find the mentioned files.. They are axis 1.6 specific files. i am still searching for the answer.. -Tarun FromChinmoy Bhattacharjee [EMAIL PROTECTED] You will need to change the code for this. In mod_axis2.cpp --- there is a hardcoded check for /axis in the function

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 :

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

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 need to make a

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: 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

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

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;

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

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 of

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 that

[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

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

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

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. session-config !-- Default to 5 minute session timeouts -- session-timeout5/session-timeout /session-config Here is a solution which quiesces AxisHttpSessionListener when HTTPSessionListener

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: 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

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

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

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

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
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

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 soap:BodyElementA xmlns=mynamespacecontent/ElementAElementB

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 ns1:Element xmlns:ns1=namespace/; it will only accept it if it looks like Element xmlns=namespace/. If it matters,

[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

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 makes

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 as