Re: [Axis2][1.0] overwrite WSDL ?

2006-05-21 Thread Kinichiro Inoguchi
Deepal, Thanks for your answer. I understand that I can't overwrite WSDL by using RPCMessageReceiver. There are 3 ways to create web service via axis2. 1. from java code with using RPCMessageReceiver. - writing java codes and archive them with services.xml, then deploy. - data binding will be do

Clustering Axis

2006-05-21 Thread faizul sulaiman
Hi, I just want to know about axis and clustering environment. How to cluster an axis web service? Is it by clustering the apache tomcat or axis has it own way of clustering? Right now I'm using axis 1.3. - Mohd Faizul Sulaiman --

Re: [Axis2] Providing custom WSDL

2006-05-21 Thread Junaid . Bhatra
Deepal, I have already created JIRAs for both of these issues last week. http://issues.apache.org/jira/browse/AXIS2-721 http://issues.apache.org/jira/browse/AXIS2-722 Thanks, Junaid Deepal Jayasinghe

Re: [Axis2] Providing custom WSDL

2006-05-21 Thread Davanum Srinivas
"would like to use a different webapp context than 'axis2'" <<< Already fixed in SVN. thanks, dims On 5/21/06, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: Hi Junaid pls see my comments below; [EMAIL PROTECTED] wrote: >Hi all, > >I'm deploying my Web Service using the RawXMLINOutMessageRe

Re: [Axis2] Providing custom WSDL

2006-05-21 Thread Deepal Jayasinghe
Hi Junaid pls see my comments below; [EMAIL PROTECTED] wrote: >Hi all, > >I'm deploying my Web Service using the RawXMLINOutMessageReceiver and >providing my own WSDL in the META-INF folder. However the WSDL that is >returned from the ?wsdl URL is different than the original one, >specifically th

Re: [Axis2][1.0] fireAndDontForget ??

2006-05-21 Thread Deepal Jayasinghe
Hi Ali Ali Sadik Kumlali wrote: >Hi all, > >What I want is: >- Make a request to a service which uses RawXMLINOnlyMessageReceiver. >- If server sends HTTP 200 or 202, don't expect the input stream being >not null and don't do anything. >- If server sends HTTP 500, retrieve the stream (which is a

Re: [Axis2][1.0] "Transport error 500" for EchoBlockingDualClient & echoF

2006-05-21 Thread Deepal Jayasinghe
create a JIRA Ali Sadik Kumlali wrote: >Hi all, > >When I use EchoBlockingDualClient to invoke echoF service which throws >AxisFault, I run into a strange(?) situation. > >Server returnes back an error through the *first* channel. Error says >"Transport error 500 . Error Message is Apache >Tomca

Re: [Axis2][1.0] RPCMessageReceiver and javabeans array

2006-05-21 Thread Deepal Jayasinghe
Hi Inoguchi There was a bug in Axis2 and I fixed that few days ago , any possibility of checking against current SVN . If you still have the problem pls create JIRA so that we will not forget to fix this. Inoguchi, Kinichiro wrote: >Hi, > >I'm testing RPCMessageReceiver with java class >that re

Re: [Axis2] ServiceClient.addStringHeader() problems

2006-05-21 Thread Deepal Jayasinghe
can u pls create a JIRA , I think this is a bug. Michele Mazzucco wrote: >example1/MyService: > >1) no headers added: >HTTP/1.1 200 OK >Server: Apache-Coyote/1.1 >Set-Cookie: JSESSIONID=CF2A6A3A366706087FBBD8818E91A62C; Path=/axis2 >Content-Type: multipart/related; >boundary=MIMEBoundaryurn_uuid_

Re: [Axis2][1.0] overwrite WSDL ?

2006-05-21 Thread Deepal Jayasinghe
Hi Kinichiro pls see my comment below; Kinichiro Inoguchi wrote: >Hi, > >Does anyone know is it possible to overwrite WSDL >of service using RPCMessageReceiver ? > > You can not overwrite wsdl by using RPCMessageReceiver , and wsdl generation noting to do with Message receiver. >I want to u

Re: Robust In Only with RPC

2006-05-21 Thread Deepal Jayasinghe
yes this is possible , pls use RPCInOnlyMessageReceiver If there is an exception then client will be informed (will send SOAP fault to client) [EMAIL PROTECTED] wrote: >Is there a way to use the Robust In Only MEP with a web service generated >by using the RPC Receivers? > >I have a method: > >v

Re: [Axis2 1.0] WSDL schema imports still not completely working

2006-05-21 Thread Deepal Jayasinghe
Hi Dave; This is a serious bug in the code pls create a JIRA Dave MacLean wrote: >Hi Everyone, >It looks like may be 2 problems with the way schema imports are loaded >from the aar files. > >The first, is that when the AARFileBasedURIResolver is searching for a >given (relative) location, it onl

Re: Schema validation

2006-05-21 Thread Dies Koper
Hello Ken, Axis does not have the functionality to validate the SOAP message. You should look for a third-party tool (hopefully others in the group have suggestions) to do that or write one yourself. Good luck, Dies Ken Tam wrote: Hi all, I am consuming web services made available from my c

Schema validation

2006-05-21 Thread Ken Tam
Hi all, I am consuming web services made available from my customer. I was given a very elaborate WSDL with schemas and I was able to generate the stubs by using Axis's WSDL2Java. Everything was working fine until the service was changed on the customer's end. This causes the deserialization step

Re: AW: Path from the webapp

2006-05-21 Thread Dies Koper
Hello Ralph, Yes, ServiceLifecycle, not ServletLifecycle, sorry. Follow the example in the URL: 1. your impl class implements javax.xml.rpc.server.ServiceLifecycle 2. implement init(Object ctx) and destroy() 3. cast ctx to ServletEndpointContext It works for me in Axis 1.2.1 and Axis 1.3. Search

Re: Path from the webapp

2006-05-21 Thread Martin Gainty
I know that The wsdd Deployment Descriptor and the wsdl Description Language cannot disagree The WSDL will mirror all information specified from the wsdd Here is an example (from GetQuote) first the deploy.wsdd (to deploy the service) Notice the port specification paramet

Share objects across services in the same group

2006-05-21 Thread Andreas Hörnicke
Hi, is there a more simple way of sharing objects between services of the same group besides getting the ServiceGroupContext from the MessageContext each time axis calls the invokeBusinessLogic of the MessageReceiver? Something like AbstractMessageReceiver.init(ServiceContext) or AbstractMessageR

AW: Path from the webapp

2006-05-21 Thread ebaykunde
I think, there is no special in my service implementation. Works the interface for you also in the implementation class? Need I additional configurations in the server-config.wsdd? My ant task: > -Ursprüngliche Nachricht- > Von: Martin Gainty [mailto:[EMAIL PROTECTED]

Re: Path from the webapp

2006-05-21 Thread Martin Gainty
Could you explain How your implementation differ from regular AxisServlet service? Martin - This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in

Compilation error with EchoBlockingClient.java

2006-05-21 Thread Pat Nelson
I am new to Axis2. When I compile the EchoBlockingClient.java program (that came bundled with the samples), I get the error: EchoBlockingClient.java:35: cannot find symbol symbol : variable ClientUtil location: class userguide.clients.EchoBlockingClient OMElement payload = ClientUtil.

Re: WSDL2Java w/ XMLBeans - not generating some source files

2006-05-21 Thread Eran Chinthaka
Do you have axiom-api-1.0.jar and axiom-impl-1.0.jar in your classpath ? Throw Away wrote: > I FINALLY got around the non-generating code. I believe there is an > issue with using a schema include. > > However, now that i have the generated WSDL2Java code, I am having > trouble compiling it. > >

Fwd: failure notice

2006-05-21 Thread A A
I'm trying to invoke  [AXIS 2 ,version1]  web service using nuSOA=P unfortunitly the server response Array([faultcode] => soapenv:Client[faultstring] => null; nested exception is: java.lang.NullPointerException[detail] => Array([Exception] => org.apache.axis2.AxisF

Re: passing XML document as input parameter

2006-05-21 Thread Xinjun Chen
Hi Ken,   Thank you for your info! I will also try using attachment.   Regards, Xinjun  On 5/21/06, Ken Tam <[EMAIL PROTECTED]> wrote: Hi all,   There are quite a few postings on this topic. Another (preferred) alternative is to pass XML as an attachment.   Regards, Ken -Original Messa

Re: passing XML document as input parameter

2006-05-21 Thread Xinjun Chen
Hi Dies,   Thank you very much for sharing this with me. :) This is really very helpful to me.   Regards, Xinjun  On 5/19/06, Dies Koper <[EMAIL PROTECTED]> wrote: Hello Xinjun,Forgot to mention in my previous reply, but you could use an xsd:any type:   This m

ServiceLifecycle

2006-05-21 Thread ebaykunde
Hello, I figured out if I add the same code not in my impl class but instead in the xxxSkeleton class it works fine. public void init(Object context) { System.out.println("*** init ***"); javax.xml.rpc.server.ServletEndpointContext sc = (javax.xml.rpc.server.ServletEndpointContext

AW: Path from the webapp

2006-05-21 Thread ebaykunde
Sorry, I don't understand your solution. My problem is that the service lifecycle methods are called within axis. This is the case for the skeleton class but not for my implementation class. > Question : > Instead of calling AxisServlet init method directly Could you achieve the > same result by

Re: Path from the webapp

2006-05-21 Thread Martin Gainty
Ralph- If you're an axis coder then I would not classify Axis coders as 'stupid' Question : Instead of calling AxisServlet init method directly Could you achieve the same result by passing in the requisite initialisation parameters in web.xml? Viel Gluck, Martin -- This email message and any

AW: Path from the webapp

2006-05-21 Thread ebaykunde
Hi, first thanks for your help but I have still problems with this. First I think you meant the javax.xml.rpc.server.ServiceLifecycle and not the ServletLifecycle interface? I tried now code like this http://forum.java.sun.com/thread.jspa?forumID=331&threadID=621841. The big problem is, that th

[Axis2] [1.0] SOAP tell : net.sourceforge.jtds.jdbc

2006-05-21 Thread A A
I'm using axis2 version 1, i deployed my service archive with success andWSDL is displayed correctly but when i try to invoke it using (soapUI 1.5)i got this SOAP message : jtds-1.2.jar (in lib) is used for SQL Server db access: http://schemas.xmlsoap.org/soap/envelope=/ ">           http://pet

Re: [Axis2] [1.0] RPC primitive types

2006-05-21 Thread Ahmed Ashour
Dear Martin,   Thanks for your feedback.   However, I am asking for Axis2, not older Axis.   .wssd does not apply there.   Kind regards, Ahmed AshourMartin Gainty <[EMAIL PROTECTED]> wrote: The axis deploy implementation java org.apache.axis.utils.Admin server (where server-conf

Re: [Axis2] [1.0] RPC primitive types

2006-05-21 Thread Martin Gainty
The axis deploy implementation java org.apache.axis.utils.Admin server (where server-config.wsdd is the master list of web services) For the service you are deploying the provider attribute for the service in your server should specify transport e.g.   Does this answer your question?Martin

[Axis2] [1.0] RPC primitive types

2006-05-21 Thread Ahmed Ashour
Dear All,   I couldn't figure out a away for RPC handler to generate primitive types instead of unnecessary wrapping.   For instance, to use .NET client for "Version" sample:   Version.version version = new Version.version(); Version.getVersion versionParam = new Version.getVersion(); Strin

SWA Interoperability problem

2006-05-21 Thread Jim Collins
Hi All,   I am hoping someone can help me with a problem that is driving me mad. I wrote a simple Webservice for uploading and retrieving files from a content management system. This worked fine with Java clients but when .NET users tried to use it they had problems generating a proxy from th