AW: Using asynchronous messaging

2006-11-21 Thread Stadelmann Josef
Hi Dalys, when I look at your architectur it seams that we have one more times :-) a) a client talking to b) an agent which in turn talks to c) a server (your external program) The agent is the server for your client but then it becomes a client for the real server which is your external progra

Re: [AXIS2] issue converting REST request to XML

2006-11-21 Thread Christopher Bare
Davanum, Yep, looks like you fixed it. I tried the 1.1 release version and get correct behavior. My request now looks as expected: Bob Smith Thanks and good work, -Chris - Original Message From: Davanum Srinivas <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent: Saturday,

Re: Using asynchronous messaging

2006-11-21 Thread Ali Sadik Kumlali
Hi Dalys, Please see my comments inline. Regards, Ali Sadik Kumlali > - Original Message > From: Dalys Sebastian <[EMAIL PROTECTED]> > To: axis-user@ws.apache.org > Sent: Wednesday, November 22, 2006 12:47:58 AM > Subject: Re: Using asynchronous messaging > > Hi Ali, > > Thanks for the

[axis2]http://tools.wso2.net:12001/axis2/services/SimplifiedSpellCheck?wsdl

2006-11-21 Thread Qiyun Yang
Hi, I tried to use http://tools.wso2.net:12001/axis2/services/SimplifiedSpellCheck?wsdl but repeatedly get connect error. Just wonder if it is still acciable. [I tries some other site, e.g., xmethods, it shows no problem in my internet access] Please advise. Q ___

Re: Hai how to change the url

2006-11-21 Thread Martin Gainty
Hello Mehar- AxisServlet is configured via mapping of AxisServlet which you supply in tomcat $CATALINA_HOME/webapps/NameOfWebApp/WEB-INF/web.xml as in AxisServlet /servlet/AxisServlet when deploying your service you can specify -u URLParameter The client has the

[AXIS2]Savan Module - possible to notify client instead of another service?

2006-11-21 Thread Bastian Köhler
Hi, I have a question about the Axis2 Savan Module, which provides WS-Eventing support. I downloaded the sample application code from the svn repository. In the example a listenerservice is notified about new events (produced by another service). Is it also possible to send the notification messag

RE: [Axis2] JMS client How

2006-11-21 Thread Spies, Brennan
You can use the generated client that the Axis 2.0 code generator supplies. The default endpoint in the generated stub/unit test and the generated WSDL won’t be correct, but you can modify them to fit pretty easily. Brennan Spies Sr. Programmer Analyst Shared Application Services -

Re[2]: Road map

2006-11-21 Thread javaDev
Dims, hi Thanx for a fast answer. Once mroe question regarding that Release message (http://ws.apache.org/blog/): WS-Trust (Apache Rahas), <<<- . WS-Eventing (Apache Savan) <<<- .. Please see these projects' own sites - I tried to find thes

Re: Axis2.1.1 wsdl2java

2006-11-21 Thread Mehar SVLN
Hai, Can anyone gimme some tips on this On 11/21/06, Mehar SVLN <[EMAIL PROTECTED]> wrote: Hai All, I have a wsdl i am generating stubs/skeletons seperately from it... First i do a stub generation it will compile all my xsds, which will result in some xmlbean classes Can i stop wsdl2java to

Re: Axis2.1.1 question

2006-11-21 Thread Mehar SVLN
Thanks for the reply Thilina, But in my case i have similiar things to do with the headers in all the operations... If i put my logic into the MessageReceiverInOut.. i can just do it once otherwise i have to do the same thing for each operation in the skeleton... Any suggestions will be greatly

Colliding element names

2006-11-21 Thread Jagannath
Hi, I have a WSDL wherein two element types are defined with similar names with the only difference being the first character case. One is upper and the other one lower as shown below The problem is whe

Re: [AXIS2] Create a new WSDL for MTOM

2006-11-21 Thread Thilina Gunarathne
Yes.You can alter and use the WSDL that comes with the MTOM sample.. More info can be found from http://ws.apache.org/axis2/1_1/mtom-guide.html#25 ~Thilina On 11/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hi, I'm new java

Re: SecurityManager problems

2006-11-21 Thread Michele Mazzucco
Some more details: I've tried to add the following lines to catalina.policy: grant codeBase "file:${catalina.home}/webapps/axis2/*" { permission java.security.AllPermission; }; but if I try to hit http://localhost:8080/axis2 I get this SEVERE: Servlet /axis2 threw load() exception

Axis2: Can Attachachments and POJOs work together?

2006-11-21 Thread Peter Neu
Hi, I think I didn't ask the right question in my first post. Can I somehow use simple POJOs and the attachement API together? If yes how? I didn't find anything on this in the docs. Cheers, Pete - To unsubscribe, e-mail:

Axis2.1.1 question

2006-11-21 Thread Mehar SVLN
Hai, I have a question about MessageReceiverInOut... I have a wsdl, where i ve generated the server side skeleton I can see MyServiceMessageReceiverInOut, MyServiceSkeleton as important claases... I need acccess to SoapEnvelope typically. mainly to get some info from soap Header elemen

Re: names of methods generated with WSDL2Java

2006-11-21 Thread Amila Suriarachchi
I fixed your bug in trunk. can you take a nightly build and check. On 11/21/06, Amila Suriarachchi <[EMAIL PROTECTED]> wrote: On 11/20/06, Julien Nioche <[EMAIL PROTECTED]> wrote: > > Hello, > > I am using WSDL2Java to generate client stubs from a WSDL. Some of the > messages and operations in

RE: Hai how to change the url

2006-11-21 Thread Vallabh.Mulye
Hi you can extract the WEB-INF folder from axis.war or Axis folder and simply paste it into services folder and then make additional changes to your web.xml Regards, From: Mehar SVLN [mailto:[EMAIL PROTECTED] Sent: Monday, November 20, 2006 1:05 PM To:

How to unload a service from Axis2???

2006-11-21 Thread Michael Moser
I have installed Axis2 in Geronimo. Now I am developing a service using axis2, so from time to time I have to deplpy/upload a new version of my .aar file using the Axis2 admin page. But apparently, when a service is already loaded, uploading a service with the same name "does nothing", i.e. I g

Axis Individual Service Configuration

2006-11-21 Thread Fernando
Hi all, I see that one can configure individual services using the element under the definition in the wsdd file (I mean that the element allows one to define name/value pairs that can be used to pass configuration information to the service). The question I have is how (what's the API) to ret

Re: AXIS2 Auto-WSDL generation incompatible (when including ?WSDL in the endpoint)

2006-11-21 Thread Deepal Jayasinghe
When you use OMElement as you method parameter , Axis2 does not have a way to know the structure of that element. Only the service author knows that , that is why we generate anyType for OMElements. Thanks Deepal Andrew P. wrote: > Hi Deepal! Thank you for your asnwer! I got that! It worked fin

Re: AXIS2 Auto-WSDL generation incompatible (when including ?WSDL in the endpoint)

2006-11-21 Thread Andrew P.
Hi Deepal! Thank you for your asnwer! I got that! It worked fine now, with 2 parameters! :) So, when I want to parse the WSDL to get the input parameters (for example, parse the wsdl to get the 2 inputs of a sum), I cannot use the OMElement? Because even if I have for example 4 parameters, the

Re: [AXIS2] Request-Response Messaging

2006-11-21 Thread Kinichiro Inoguchi
Hi stefano, How about using org.apache.axis2.client.ServiceClient instead of Call ? http://ws.apache.org/axis2/1_1/quickstartguide.html See "Creating a Client with AXIOM" section. I've never used Call with Axis2, so I can't say anything about Call class, though. kinichiro --- "[EMAIL PROTECTED

Re: Re: Java2WSDL ant task reference?

2006-11-21 Thread javaDev
Good morning Martin As I see, Axis2.1.1 provides the Java2WSDL ant task - org.apache.ws.java2wsdl.Java2WSDLTask but the opposit direction generatin (WSDL2Java) is available just as spript/API - org.apache.axis2.wsdl.codegen.CodeGenerationEngine (org.apache.axis2.wsdl.WSDL2Java in scripts). Am

Re: What the necessary steps to develop axis2 client only?

2006-11-21 Thread Amila Suriarachchi
This is a problem with the service you are trying to access. I observed the soap message sent by the Axis2 using tcpmon. http://schemas.xmlsoap.org/soap/envelope/";> http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.StockQuote/ "> test

Re: Type xxx is referenced but not defined

2006-11-21 Thread Kinichiro Inoguchi
BTW, axis-1.4 wsdl2java message: > java.io.IOException: Type ReturnCode is referenced but not defined. ReturnCode is defined by using and axis2-1.1 wsdl2java message: > Warning: Type {http://www.sweden.se/swebok}ResponseBase missing! ResponseBase is referred by Does anyone know these tags

Axis2 supporting SCA?

2006-11-21 Thread Takahiko Saito
Hi, We are working on a project that uses Apache Axis. On the Apache website, the newly release of Axis 2.0 does not list Service Component Architecture (SCA) as one of the supported features. If that is indeed the case, is there be any plan to release a follow-on version supporting SC

asking help to memory analysis

2006-11-21 Thread xu cai
Env: Axis1.4/Tomcat 5.0.30/Java 1.5.0_07/Solaris 10. Description : right after system(tomcat) is started, the "top" command show that tomcat process will use 210M memory, the heap size (using Jprofiler) is 58m/20m(total/used). there is a 150M gap between total process memory size and java heap si

Re: How to unload a service from Axis2???

2006-11-21 Thread Michael Moser
That did the trick! Thanks! Michael "Deepal Jayasinghe" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi Michael ; In your axis2.xml there is a parameter called "hotupdate" make the value of that to true , then it will do the right thing. true Thanks Deepal

AXIS2 Auto-WSDL generation incompatible (when including ?WSDL in the endpoint)

2006-11-21 Thread Andrew P.
Hello list! I'm using the Axis2 1.1, and I have a sample add service that has 2 input parameters as input. But when I auto-generate the wsdl, including an ?WSDL in the end of the endpoint, it generates my WSDL fine. *BUT* the weird thing is that my WSDL has only *ONE* input parameter of "anyTyp

No Endpoint error calling service method

2006-11-21 Thread Andreas Goetz
Trying to call the hello("string") method on the attached local web service, I'm receiving this error: Exception in thread "main" AxisFault faultCode: {http://xml.apache.org/axis/}Server.NoEndpoint faultSubcode: faultString: No endpoint faultActor: faultNode: faultDetail: {http://xml.apach

[AXIS2] Create a new WSDL for MTOM

2006-11-21 Thread [EMAIL PROTECTED]
Hi, I'm new java develope and I would want to use axis 2 in order to create an application for the exchange of files. I have seen the example on the MTOM.But I would want to add at the service of exchange of the files other operation

Re: [axis2] org.apache.axis2.AxisFault for xmethods StockQuote client

2006-11-21 Thread Davanum Srinivas
Axis2 does not support rpc/encoded wsdl's. -- dims On 11/20/06, Qiyun Yang <[EMAIL PROTECTED]> wrote: Hi, I developed an axis2 clinet to access xmethids web service: delayed stock quote (using axis2 command line code generate approach): WSDL2Java -d xmlbeans -uri http://services.xmethods.ne

Re: Using asynchronous messaging

2006-11-21 Thread Ali Sadik Kumlali
Hi Dalys, If you mean axis2, you might start from: - "Do a Non-Blocking Invocation" title in user guide[1] - "Request-Response, Non-Blocking that uses two transport connections" title in this[2] page. - Similar e-mails in axis-user list[3] Regards, Ali Sadik Kumlali [1] http://ws.apache.org/

Re: [axis2] Oneway msg/JMS transport

2006-11-21 Thread Ali Sadik Kumlali
Hi Kamal, Have you set separate listener option to true? stub._getServiceClient().getOptions().setUseSeparateListener(true); Regards, Ali Sadik Kumlali P.S.: Added [axis2] to the subject. - Original Message From: "Kang, Kamaljeet K." <[EMAIL PROTECTED]> To: axis-user@ws.apache.org S

Axis2.1.1 wsdl2java

2006-11-21 Thread Mehar SVLN
Hai All, I have a wsdl i am generating stubs/skeletons seperately from it... First i do a stub generation it will compile all my xsds, which will result in some xmlbean classes Can i stop wsdl2java to stop compiling xsds again for the skeleton generation( Essentially it can use the same xmlbean

Road map

2006-11-21 Thread javaDev
Hi A question to Axis team: what is the Axis roadmap - for 2.1.2 and further? There as small hints in Thilina Gunarathn's Ax211 release message - - Unwrapping of response messages (coming in 1.2) - JSR 181/183 Annotation support (coming in 1.2) Is there smth more detailed? Sincerely, Alex

RE: Re: RE: [Axis2] JMS client H ow

2006-11-21 Thread Brennan Spies
The code generator does not recognize soap/jms extensibility elements in the WSDL, nor does it generate anything but HTTP bindings in the generated WSDL under /resources. I submitted a patch for this that I created against the trunk a few weeks ago (http://issues.apache.org/jira/browse/AXIS2-138

Re: Using asynchronous messaging

2006-11-21 Thread Dalys Sebastian
Hi Ali, Thanks for the links. I had read through these links, and I still am not able to get the complete picture of the service-side processing. For e.g.,suppose my service class will look like this: public class A { public void asyncservice(String data) { //determine the replyTo

Using asynchronous messaging

2006-11-21 Thread Dalys Sebastian
Hello, I am trying to figure out how to configure the service side for solving the following problem: The server gets a request from a client which cannot be immediately processed. It has to go to an external program to fetch information which may take a delay. Only after a response is obtaine

Re: Axis2 supporting SCA?

2006-11-21 Thread Manoj Khangaonkar
Tak, You might want to check the tuscany project at http://incubator.apache.org/tuscany I think SCA does support AXIS2 as a binding. Mj On 11/21/06, Takahiko Saito <[EMAIL PROTECTED]> wrote: Hi, We are working on a project that uses Apache Axis. On the Apache website, the newly release of A

Axis2: Problems with running MTOM Sample

2006-11-21 Thread Peter Neu
Hello, I'm trying to get the MTOM example from the sample directory to work. When I trying to run the client I get this exception: Exception in thread "main" org.apache.axis2.AxisFault: org.apache.ax iom.om.OMException: Referenced Attachment not found in the MIME Message. Content ID:1.urn:uuid:[

Re: Axis2: Can Attachachments and POJOs work together?

2006-11-21 Thread Thilina Gunarathne
Have a look at the Soap with Attachments sample.. It uses a POJO+Attachment API.. ~Thilina On 11/21/06, Peter Neu <[EMAIL PROTECTED]> wrote: Hi, I think I didn't ask the right question in my first post. Can I somehow use simple POJOs and the attachement API together? If yes how? I didn't find

Re: Axis2: Problems with running MTOM Sample

2006-11-21 Thread Thilina Gunarathne
Hmm... Strange... Please try using inverted commas to the file names as follows. ant run.client -Dfile "C:\out.txt" -Ddest "C:\in.txt" Thanx, ~Thilina On 11/21/06, Peter Neu <[EMAIL PROTECTED]> wrote: Hello, I'm trying to get the MTOM example from the sample directory to work. When I trying t

WSDL changes Java Set type to Object

2006-11-21 Thread dave .
Env: Axis 1.4, Hivernate 3.2, Struts 1.29 WSDL changes Set to Object. How can I convert (cast?) from Object to Set when accessing rooms? the original code public Set getRooms() { return rooms; }

Oneway msg/JMS transport

2006-11-21 Thread Kang, Kamaljeet K.
Hi, I have one way message as defined I am using JMS as transport, auto generated the code, the client seems to be waiting for the reply. Nov 21, 2006 3:43:14 PM org.apache.axis2.transport.jms.JMSSender invoke WARNING: Did not receive a JMS response within 30

Re: No Endpoint error calling service method

2006-11-21 Thread Andreas Goetz
Found the problem. I was directly calling the stub generated instead of using the locator to obtain a port: VideodbBindingStub proxy = new VideodbBindingStub(); proxy.hello("abc"); instead of VideodbLocator service = new VideodbLocator(); VideodbPortType port = service.getvideodbPort(); port.h

SocketTimeout exception occurs during Serviceclient.sendReceiveNonBlocking call

2006-11-21 Thread Sriram Vaidyanathan
Hi, I am experiencing SocketTimeout exceptions during the serviceclient.sendRecieveNonBlocking call. This doesn't happen everytime but intermittently. Is it related to some timeout value set at the server end ? Any help on this would be appreciated. The full exception Stacktrace:

Axis2 Generate WSDL from XSD

2006-11-21 Thread John Pfeifer
I have a document literal web service and I would like axis2 to generate the wsdl based on an xsd that I provide. Is there any way to do this currently using Axis2? Thanks, jp4

Re: Axis2.1.1 question

2006-11-21 Thread Thilina Gunarathne
AFAIK the generated MessageReceiver is not meant to be altered by the user. U can use the MessageContext.getCurrentContext() inside your skeleton to access the MessageContext . You can get the SOAPEnvelope from the MessageContext. Thanks, ~Thilina On 11/21/06, Mehar SVLN <[EMAIL PROTECTED]> wrot

Axis https/SSL Server Certificate Validation question

2006-11-21 Thread Luis Rivera
Dear axis users, I googled my way up to this point, but now I have to ask about this. I am sure it is being asked, but have not being able to find a way to do this, unless I am misunderstanding something. OK, I want to use https for encryption using only Server side authentication. I mana

Re: How to unload a service from Axis2???

2006-11-21 Thread Deepal Jayasinghe
Hi Michael ; In your axis2.xml there is a parameter called "hotupdate" make the value of that to true , then it will do the right thing. true Thanks Deepal > I have installed Axis2 in Geronimo. Now I am developing a service > using axis2, so from time to time I have to deplpy/upload a new > ver

Re: Type xxx is referenced but not defined

2006-11-21 Thread Magnus Bergman
Sorry, I'm using axis-1.4 /magnus Kinichiro Inoguchi wrote: Hi Magnus, What version of Axis2 are you using ? I tried your wsdl with wsdl2java of Axis2 1.1 release, I got this result. C:\work>set AXIS2_HOME=C:\work\axis2-1.1 C:\work>%AXIS2_HOME%\bin\wsdl2java -uri ticketfacade.wsdl -o test2 Us

REPOST Trace/BPT trap + additional test

2006-11-21 Thread Melanie Courtot
Hi, As I didn't manage to solve the issue mentionned above (original post below), I tried sending back an object which would actually be a collection of terms (which is what I'm already doing with the castor XML serialization) Something like: ... ... ... I'm still able to

Re: Re: RE: [Axis2] JMS client H ow

2006-11-21 Thread Ali Sadik Kumlali
Hi Falom, I'm not sure wheter WSDL2Java supports JMS bindings yet. But you may - Use HTTP binding in your WSDL - Generate your stub with WSDL2Java - In your client code which invokes the stub: - Create JMS URL endpoint[1] - Create your stub instance by passing JMS URL endpoint[2] to it

Re: Problem with attachments and Asix2/1.1

2006-11-21 Thread Thilina Gunarathne
Hi Sean, I do not understand your use case.. We normally use MTOM or SwA to avoid the overhead of base64 conversion and to avoid the bloating of data by base64 conversion. They are the mechanisms introduced in order to enable the sending of raw binary data with SOAP. In the case of MTOM/SwA atta

Re: [AXIS2]Savan Module - possible to notify client instead of another service?

2006-11-21 Thread Chamikara Jayalath
Hi Bastian, Yes. The way u suggested will certainly work. All u need to have is a endpoint that is capable of capturing the events send by the EventSource. You can set this endpoint as the delivery EPR, of the EventingClient. e.g.: String address = "address of your desired delivery endpoi