Need Help-Axix C++-Getting Deployment Descriptor Not Found after starting the Apache server.

2007-02-01 Thread Prem
Using Axis C++ (1.6b, axis-c-1.6b-Win32-trace-bin) and Apache Webserver 2.0.59 running on Win XP. Also installed Xerces C++ (2.2.0) For compilation, I used MS.net 2003 VC++. I have the Apache HTTP server running and it is configured for Axis. 1)Added the following to C:\Program

[AXIS2C]LibWWW as AXIS2C Transport

2007-02-01 Thread VijesH
hi, I found that LibWWW Transport support is available to AXIS/C++. I need to implement LibWWW as a Transport to AXIS2/C. How will I go about doing this? The documentation says that need to implement the interfaces in axis2_transport_sender.h and axis2_transport_receiver.h. So how should I start?

Re: [AXIS2C]LibWWW as AXIS2C Transport

2007-02-01 Thread Dinesh Premalal
Hi Vijesh, There are some problems in transport that we need to sort out. Hopefully we will be able to do it in coming week or so. And also there is an open jira for implementing libcurl base transport. That will going to happen soon. Until then if you need a reference to implementation of such

[axis2c] question on http transport...

2007-02-01 Thread Raju, Prabhakar \(P.\)
Hi, Is the http client/server designed/built to send multiple messages with a single instance of axis2_http_client? Apparently it does it but hangs at CLIENT_RECIEVE_HEADER call after 50 times (on win32) and about 100 times in linux. I'm also having only one instance of the environment. Regards

[axis2c] question on http transport...

2007-02-01 Thread Raju, Prabhakar \(P.\)
Hi, Is the http client/server designed/built to send multiple messages with a single instance of axis2_http_client? Apparently it does it but hangs at CLIENT_RECIEVE_HEADER call after 50 times (on win32) and about 100 times in linux. I'm also having only one instance of the environment. Regards

[Axis2] question on http transport...

2007-02-01 Thread Prabhakar Raju
Hi, Is the http client/server designed/built to send multiple messages with a single instance of axis2_http_client? Apparently it does it but hangs at CLIENT_RECIEVE_HEADER call after 50 times (on win32) and about 100 times in linux. I'm also having only one instance of the environment. I'm

Re: [Axis2] question on http transport...

2007-02-01 Thread Nabeel Yoosuf
I've used a single client (through service client API) to send many (thousands) messages without any sorta hanging with axis-.96 on windows. Please try version 0.96 instead of 0.95. If you still experience the problem, you might want to post a code sample which demonstrate the issue. Nabeel. On

RE: [Axis2] question on http transport...

2007-02-01 Thread Raju, Prabhakar \(P.\)
Hi, well I know that service client works with unlimited messages with one instance. We are using( for some reasons) call structure given in the code http/sender/http_client.c with a slightly modified axis2_http_client_send (fixed for memory leaks). This works fine if we re-create the client

Re: [Axis2] question on http transport...

2007-02-01 Thread Nabeel Yoosuf
On 2/1/07, Raju, Prabhakar (P.) [EMAIL PROTECTED] wrote: Hi, well I know that service client works with unlimited messages with one instance. We are using( for some reasons) call structure given in the code http/sender/http_client.c with a slightly modified axis2_http_client_send (fixed for

Re: [Axis2] question on http transport...

2007-02-01 Thread Samisa Abeysinghe
Raju, Prabhakar (P.) wrote: Hi, well I know that service client works with unlimited messages with one instance. We are using( for some reasons) call structure given in the code http/sender/http_client.c with a slightly modified axis2_http_client_send (fixed for memory leaks). This works

Re: [Axis2] question on http transport...

2007-02-01 Thread Prabhakar Raju
Hi, how do I send the code? as an attachment? regards From: Samisa Abeysinghe [EMAIL PROTECTED] Reply-To: Apache AXIS C User List axis-c-user@ws.apache.org To: Apache AXIS C User List axis-c-user@ws.apache.org Subject: Re: [Axis2] question on http transport... Date: Fri, 02 Feb 2007 08:11:36

Re: [Axis2] question on http transport...

2007-02-01 Thread Dinesh Premalal
Hi, how do I send the code? as an attachment? Please create a jira issue and attach your code there. It will be easier to track. thanks, Dinesh -- Dinesh Premalal [EMAIL PROTECTED] WSO2, Inc.; http://www.wso2.com/ GPG Key ID : A255955C GPG Key Finger Print : C481 E5D4 C27E DC34 9257 0229

Re: [Axis2] Weird error

2007-02-01 Thread schalk
Does anyone have any idea about the below? Any and all help much appreciated. schalk wrote: Hi All, When running the following code: log.debug(Set AuthHeader elements...\n); DataServiceStub.AuthHeader authHeaderElements = new DataServiceStub.AuthHeader();

Building SOAP enevlopes aroun a regular XML

2007-02-01 Thread Venky Vasant
Hello I have used Apache Axis and have written a client which connects to webservices and gets response using Invoke, it worked fine for me thanks for this one. Unfortunately my requirement is to write a client which builds SOAP XML from the regular XML myself and may be read WSDL (i am

[Axis2] SAAJ 1.3 status

2007-02-01 Thread Davanum Srinivas
Sumedha, I see some JIRA's in WS-Commons with patches. Have all the patches made it to svn? Can you please review and confirm? Folks, When you check in a patch. *PLEASE* resolve the JIRA. thanks, dims - To unsubscribe, e-mail:

Re: Building SOAP enevlopes aroun a regular XML

2007-02-01 Thread Jeff Greif
Axis incorporates SAAJ and wsdl4j. The first is used to create and manipulate SOAP envelopes and their content. The second is used to read information from WSDLs. If you Google for these APIs you can find descriptions of how to use them; perhaps they are adequate to your purpose. Axis also

Re: Building SOAP enevlopes aroun a regular XML

2007-02-01 Thread Alistair Young
not sure if this is what you want? This invokes a web service without the wsdl: MessageFactory factory = MessageFactory.newInstance(); SOAPMessage soapMessage = factory.createMessage(); SOAPBody body = soapMessage.getSOAPBody(); body.addDocument(YourXMLDocument); SOAPConnectionFactory

Newbie question

2007-02-01 Thread Daniel Kasmeroglu
Hi there, I wasn't able to find the answer in the archive so here's my question: I've generated an Axis2 client which has to connect with a service written in PHP. Calling this service causes a SOAPProcessingException which indicates that the PHP service isn't sending back the proper SOAP

Re: Newbie question

2007-02-01 Thread robert lazarski
You can use either the soap monitor - an applet in a browser - or tcpmon . See the docs for more info. HTH, Robert On 2/1/07, Daniel Kasmeroglu [EMAIL PROTECTED] wrote: Hi there, I wasn't able to find the answer in the archive so here's my question: I've generated an Axis2 client which has to

Re: Newbie question

2007-02-01 Thread Alistair Young
tcpmon lets you see the SOAP on the wire http://ws.apache.org/commons/tcpmon/ Alistair -- mov eax,1 mov ebx,0 int 80h On 1 Feb 2007, at 13:50, Daniel Kasmeroglu wrote: Hi there, I wasn't able to find the answer in the archive so here's my question: I've generated an Axis2

How to create Java Client to invoke webservices written in Java using Axis2

2007-02-01 Thread Anwaruddin Syed
Hi All, I am new to web service development. I need to invoke Web services written in Java on a Java Client. I have a WSDL file with me. After generating Client side stubs how should I call this from my Java Client. I need some inputs on how to organize my Java Client code to invoke the web

Basic question about using axis for such jobs or not

2007-02-01 Thread Istvan Orban
Hello Everyone, I am very new to Web services and Axis, so please bear with me. (once I wrote a simple service which validates some incomming values againts our database.) I am now dealing with a big SOA system and I do not really know where to start. This is the scenario. I have to write a

[Axis2] Rampart configuration

2007-02-01 Thread Brecht Yperman
Hi, I'm trying to migrate security from Axis2 1.0 / Rampart 1.0 to Axis2 1.1/Rampart1.1. I used to use the following construction to hand a reference to a PWCallBack-class to Rampart: client.getOptions().setProperty(passwordCallbackRef, new

Re: How to create Java Client to invoke webservices written in Java using Axis2

2007-02-01 Thread keith chapman
Hi Syed, This article [1] explains how to invoke a service using the generated stub. Hope that it will help you. If you have more question you can try the userguide too. [1] http://wso2.org/library/95 Thanks, Keith. On 2/1/07, Anwaruddin Syed [EMAIL PROTECTED] wrote: Hi All, I am new to

[AXIS2] Problem while using xmlBeans with AXIS2

2007-02-01 Thread mvkirankumar
Hi, I tried ADB, but it was not that schema supportive and did not work good for complex schema types. Hence according to DIMS/Anne's suggestion started using xmlBeans for my implementation. xmlBeans is awesome, it creates plent of java files but. I have attached the WSDL, which gives me Data

Re: [AXIS2] Problem while using xmlBeans with AXIS2

2007-02-01 Thread Ajith Ranabahu
Hi Kiran, would you have a serverside log or a stacktrace ? All I can think of is that the client request is not formed properly - perhaps certain elements missing ? Ajith On 2/1/07, mvkirankumar [EMAIL PROTECTED] wrote: Hi, I tried ADB, but it was not that schema supportive and did not

Re: Basic question about using axis for such jobs or not

2007-02-01 Thread Anne Thomas Manes
I recommend using Axis2. If the messages you will receive are encoded using SOAP Encoding, then you'll have to use Axis instead. Don't under any circumstances even think about using Apache SOAP. You say you are subscribing to messages from a server? How are you doing that? Is the server using

non java client

2007-02-01 Thread Harish Hirasave
Hi All, I am trying to test my document/literal Java web service in axis2 with a non java client but unsuccessful. Either the client generates a soap encoded message or the xml generated is malformed and the service provider returns a client error. I have tried with python, php and windows xp

Re: non java client

2007-02-01 Thread Anne Thomas Manes
Try PocketSoap: www.pocketsoap.com. On 2/1/07, Harish Hirasave [EMAIL PROTECTED] wrote: Hi All, I am trying to test my document/literal Java web service in axis2 with a non java client but unsuccessful. Either the client generates a soap encoded message or the xml generated is malformed

setOperationContext on service

2007-02-01 Thread George Stanchev
Hi, How can I get a hold of message context within a service? There are several places on the web that show that if the service implements a void setOprationContext(OperationContext) method, it will get called prior to the operation method. However I have not been successful in getting

Recover from Axis timeout

2007-02-01 Thread Gerald Bostock
Hi, I have a scenario where several clients are accessing a particular web service and I need to redeploy this service, having made some revisions. When I do so, the Axis servlet gets stopped and restarted, usually in under 1 second. However, the clients are unaware of this, and if any

Re: setOperationContext on service

2007-02-01 Thread Angel Todorov
Hi George, You can probably implement a custom message receiver that extends any of the default ones, and inject any object in your service implementation. In this way you basically gain control over the lifecycle of the business logic. Regards, Angel On 2/1/07, George Stanchev [EMAIL

RE: setOperationContext on service

2007-02-01 Thread Punnoose, Roshan
Try implementing the Service interface (forget the whole package), but that worked for me. Roshan Punnoose Phone: 301-497-6039 -Original Message- From: Angel Todorov [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 1:56 PM To: axis-user@ws.apache.org Subject: Re:

RE: setOperationContext on service

2007-02-01 Thread George Stanchev
Hi Angerl, Yeah, I did this and it works fine. I just wanted to avoid it and use the out-of-the-box mechanism for obtaining the message context since there were several examples out there on the web indicating that setOperationContext should work. After I posted my question on this list I

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-02-01 Thread robert lazarski
What is the structure of your AAR, ie, what files are in it and where ? The problem seems env related . Robert On 2/1/07, Bo Xie [EMAIL PROTECTED] wrote: Thanks a lot, Rebert, for your advice. I tried the sample XMLBean program with some simple derived type, it indeed work with the

Service not found problem

2007-02-01 Thread Vedha Vijayan
Hi, I'm having trouble fixing the Service not found operation terminated problem. The end point in my wsdl in http://localhost:8080/Comergent/ws/matrix/services/UserService;. I've turned on logging and i see in the logs on the server side, that the 'RequestURIBasedDispatcher handler is trying

Re: Issue loading .xsb resource from XBean-packaged.jar in service [Was:Re: [axis2] WSDL2JAVA with XMLBean binding does not create instance of the derived type]

2007-02-01 Thread robert lazarski
Most if not all of those jars are in WEB-INF/lib already, and the rest can safely be placed there. Have you tried keeping only one copy of those jars under WEB-INF/lib ? The classes in those jars under WEB-INF/lib will be visible inside the aar. There are of course cases wher it makes sense to

WSDL - original vs generated

2007-02-01 Thread Bentzy Sagiv
I started my first axis2 experience creating stuff using WSDL2JAVA My question : what's exactly the wsdl generated file? Can I recreate webservices starting from an old jwsdp generated wsdl, keeping the same interface toward our third parties Thanks in advance --bentzy

Re: Service not found problem

2007-02-01 Thread Sathija Pavuluri
Does your services.xml describe the UserService? Hi, I'm having trouble fixing the Service not found operation terminated problem. The end point in my wsdl in http://localhost:8080/Comergent/ws/matrix/services/UserService;. I've turned on logging and i see in the logs on the server

Re: Service not found problem

2007-02-01 Thread Vedha Vijayan
Yes, the services.xml does describe the UserService. I've attached the services.xml file and the wsdl. Thanks, vedha On Thu, 2007-02-01 at 17:36 -0500, Sathija Pavuluri wrote: Does your services.xml describe the UserService? Hi, I'm having trouble fixing the Service not found

Re: Service not found problem

2007-02-01 Thread Vedha Vijayan
I think, the reason why this problem occurs is because of the combination of usin unwrapped elements in my wsdl and the wsdl importing the schema defined in a different namespace. The input parameter to getUser operation defined in the wsdl, is userContactBean which is in a namespace that is

Re: Broken StAXOMBuilder

2007-02-01 Thread Lucas Theisen
Dims, After fixing the previous issue we ran into one more. It turns out that our test case was creating a more complete xml to start from than the generated code (the generated code is not setting the prefix initially where as if you call .parse and pass in a string it did) so they

[Axis2] Nightly builds form svn head?

2007-02-01 Thread Samisa Abeysinghe
When I try to get a nightly build form http://people.apache.org/dist/axis2/nightly/, I get snapshots with version number 1.1.1. Does this mean that the nightly builds come form 1.1.1 branch, or is it really coming form the latest svn head and the numbering is incorrect? Thanks, Samisa...

Re: [Axis2] Nightly builds form svn head?

2007-02-01 Thread Davanum Srinivas
Samisa, Please check the dates...Don't pick the ones marked with 1.1.1 :) -- dims On 2/2/07, Samisa Abeysinghe [EMAIL PROTECTED] wrote: When I try to get a nightly build form http://people.apache.org/dist/axis2/nightly/, I get snapshots with version number 1.1.1. Does this mean that the