Re: Is there any guide about how to use Axis-C to call HTTPS web service?

2006-06-08 Thread Fred Preston
Hi Rose, No you do not need to use SetSecure for OpenSSL. I do not know how to set the root-CA certificate, I assume that this is described in the OpenSSL documentation. Regards, Fred Preston. Rose Knain [EMAIL PROTECTED] 08/06/2006 03:45 Please respond to Apache AXIS C User List

RE: Axis can't find my xerces library

2006-06-08 Thread Yair Zaslavsky
As explained in previous emails, I am trying to compile axis on linux 64bit machine. I downloaded xerces c++ 2.2.0 for that. Apaches xerces instructions are for 2.7.0. I tried building xerces c++ 2.2.0 with these versions, but in vein. I tried budiling xerces c++ 2.7.0 with the

RE: Axis can't find my xerces library

2006-06-08 Thread Adrian Dick
Hi, So, you're saying that you're trying to use Axis-C 1.6b with Xerces-C 2.7.0 ? If this is the case and assuming you're using using the binary distribution of Axis-C you will have problems, as this was built against Xerces-C 2.2.0 (hence not finding the correct library). My initial reaction is

RE: Axis can't find my xerces library

2006-06-08 Thread Adrian Dick
Hi, When Axis-C is built it is linked with a dependency on the version of Xerces-C present while building. This means, if you build against Xerces-C v2.2.0 then you will need Xerces-C v2.2.0 available when running Axis-C. I'm surprised you're able to build Axis-C, when Xerces-C v2.2.0 failed to

Problem in C++ interaction to java webservice over SSL

2006-06-08 Thread SKUNNIKURU
Iam having a problem using Axis CPP client interacting with a Java web service.I am getting Not found error when I call my Java web service(websphere environment) from C++ client(axis C++ toolkit) over https, it works without any problem using the Http. I am wondering if it is related to SSL

Re: [Axis2] Axis 1.X cross-compatibility

2006-06-08 Thread Eran Chinthaka
Hoda Nadeem wrote: Instead of sorting through all the jars, I figured I'd ask: Was Axis2 designed to be deployable alongside Axis 1.X, i.e., are the packages, classes, etc., able to be deployed/used concurrently? Yes. In Axis 1.x packages go as org.apache.axis.* and in axis2 its

Re: Force replacement for , , , ', and

2006-06-08 Thread Eran Chinthaka
Hi, This seems to be a parser question. Forwarding this to stax_builders list. (I personally do not think this is a right thing to do) wesleyalanking wrote: Is there a way to always force the serializer to print gt; for . I understand according to the XML specifications, this only needs

Re: [Axis2] Http Basic Authentication

2006-06-08 Thread Xinjun Chen
Hi Saminda, I am trying to set proxy for an Axis2 client. The code snippet is as follows: HttpTransportProperties htp = new HttpTransportProperties();httpProxyProperties = htp.new ProxyProperties();

How to get the service URL and method in handler?

2006-06-08 Thread 蘇 軼(CEC)
hi all, I want to use handler to log which service the client is accessing, for example the service URL, name and method, but in the handler invoke() method, there is only the MessageContext that can be used. (I tried most the mc.getXXX() method but no one is helpful to get information above.)

Incremental process of streamed attachment

2006-06-08 Thread Rodrigo Ruiz
Hi all, At the client side, I need to process data from a streamed attachment at the same time it is being received. Is this possible to do this with Axis 1.x or 2? The reason I need this is I can process data faster than I receive it, but it may reach a huge size. By implementing a

[Axis2] How to get the service URL and method in handler?

2006-06-08 Thread Samisa Abeysinghe
Forwarding with correct prefix. hi all, I want to use handler to log which service the client is accessing, for example the service URL, name and method, but in the handler invoke() method, there is only the MessageContext that can be used. (I tried most the mc.getXXX() method but no one is

Re: How to get the service URL and method in handler?

2006-06-08 Thread Michele Mazzucco
mc.getAxisService() gets the target service (.getEndpoint() returns the target service endpoint). mc.getAxisOperation() gets the axis operation You have to put your handler after the system handlers, since these values are filled into the transport/dispatch phase. Michele 蘇 軼(CEC) wrote: hi

Re: How to get the service URL and method in handler?

2006-06-08 Thread 蘇 軼(CEC)
hi Michele, Thank you for your help. I tried... I think these methods could be used in Axis2 but not Axis1.4. :( Sorry for confused title ! - sukie - Original Message - From: Michele Mazzucco [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, June 08, 2006 5:41 PM Subject:

Could I make a one-way call in Axis1.4?

2006-06-08 Thread 蘇 軼(CEC)
hi all, Sorry for so many questions. I saw there is a ONE_WAY property in the Call object but it is protected, the javadoc is Internal property to indicate a one way call. That will disable processing of response handlers.. It just disable the handlers. Is that meaning I cann't make a one-way

Re: [Axis2] How to get the service URL and method in handler?

2006-06-08 Thread Eran Chinthaka
Samisa Abeysinghe wrote: Forwarding with correct prefix. hi all, I want to use handler to log which service the client is accessing, for example the service URL, name and method, but in the handler invoke() method, there is only the MessageContext that can be used. (I tried most the

Re: Axis2 Changing WSDL

2006-06-08 Thread Ajith Ranabahu
Hi, The logic of the WSDL reader is to wrap and generate a schema for that if used in the rpc style. Your WSDL would have been an rpc lit one so the reader made a new doc/lit style WSDL with it. But note that the two WSDL's result in the same wire message Ajith On 6/8/06, Jim Collins [EMAIL

Re: [Axis2]wsdl schema type generation bug with byte[]- More bugs??

2006-06-08 Thread Deepal Jayasinghe
Hi Anamitra; I wrote a service implementation class with your method , and then I generated the code and invoke the service and I got the following response. So I can not find any bug can you please check the current code base and let me know. MemberServiceStub stub = new

How to create a client with attachments using wsdl2java

2006-06-08 Thread Julio César Pérez Arques
Hello axis-users. I am developing a ws with axis 1.4 and using wsdl2java. I have the ws and client working. But i need to include attachments support, i have some code to the ws but i dont know how to use them in the client, the port generated by wsdl2java have not any method to include any

Axis2 1.0 server remove nillable attributes

2006-06-08 Thread Sébastien Arod
When I deploy a web service with a specified WSDL in the Axis2 webapp the xsd nillable attributes are removed by Axis2. It seems to me that's a bug. Why Axis2 do that? Is there a way to avoid that? Thanks, Sebastien - To

[Axis2] stop reporting wsdl

2006-06-08 Thread Bram Biesbrouck
Hi all, Is there a way to prevent axis2 from reporting WSDL in listServices? Bram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Axis2] stop reporting wsdl

2006-06-08 Thread Deepal Jayasinghe
Just remove wsdl file from the service archive file. Bram Biesbrouck wrote: Hi all, Is there a way to prevent axis2 from reporting WSDL in listServices? Bram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Could I use the stub class generated by wsdl2java to access a .Net service?

2006-06-08 Thread DeRemer, Bob
Glad I could help! That’s one of the great things about sharing knowledge on the internet - your ability to help people is global! Regards, Bob -Original Message- From: 蘇 軼(CEC) [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 9:52 PM To: axis-user@ws.apache.org Subject: Re:

RE: How to create a client with attachments using wsdl2java

2006-06-08 Thread Julio César Pérez Arques
Ok i solved, i use wsdl2java without server option and later i cast the port object to org.apache.axis.client.Stub to use the addAttachment method. From: Julio César Pérez Arques [EMAIL PROTECTED] Reply-To: axis-user@ws.apache.org To: axis-user@ws.apache.org Subject: How to create a client

[Axis2]Re: I tried to work around the Java2WSDL issue, but got an non-document/literal service

2006-06-08 Thread Deepal Jayasinghe
forward with correct prefix Jim Bender wrote: I hand-edited the wsdl file generated from the Java2WSDL process to remove the duplicate complex type definition and skipped WSDL generation. What I ended up with was a skeleton for a non-document/literal web service: /** *

Re: Axis 2 Intellij Plugin won't install right???

2006-06-08 Thread Deepal Jayasinghe
You need to extract the zip file into .IntelliJIdea50\config\plugins directory in you user home. James Armstrong wrote: Does anyone know how to successfully install the Intellij plugin for Axis 2 1.0. It will not correctly install for Intellij version 4.5.2 build 2244. TIA, James --

Custom cookies in request

2006-06-08 Thread Sai Arunachalam
Hi, I am an Axis newbie. I want to use Axis to communicate with a web service but there are 2 (seemingly) problems:1. I need to set a custom persistent cookie in my request.2. The webservice returns only a string without the SOAP envelopes. Can I use Axis in this scenario too?Thanks in advance,Sai

Re: Out Of Memory Error in codegen task

2006-06-08 Thread Davanum Srinivas
Please create a JIRA issue then you can upload a zip in that issue. thanks, dims On 6/7/06, homauoon mahboobi [EMAIL PROTECTED] wrote: Hi I'm new in Axis 2.I want to build java classes from HL7 standard schemas. But when I run codegen task,I get out of memory error. This is my ant task:

Re: [Axis2] stop reporting wsdl

2006-06-08 Thread Bram Biesbrouck
Thanks. Is there any other way the (perhaps autogenerated) wsdl file can be extracted from a service? b. Op donderdag 8 juni 2006 13:14, schreef Deepal Jayasinghe: Just remove wsdl file from the service archive file. Bram Biesbrouck wrote: Hi all, Is there a way to prevent axis2 from

Re: Axis2 1.0 server remove nillable attributes

2006-06-08 Thread Ajith Ranabahu
Hi, Yes this seems a bug indeed. We'll look into it Ajith On 6/8/06, Sébastien Arod [EMAIL PROTECTED] wrote: When I deploy a web service with a specified WSDL in the Axis2 webapp the xsd nillable attributes are removed by Axis2. It seems to me that's a bug. Why Axis2 do that? Is there a way

Customizing SOAP messages

2006-06-08 Thread Phani Sekhar
Hi, I am new to Apache Axis, infact I am new to webservices. Our aim is to send netconf messages over soap. Can anyone please tell me how to customize the soap messages so that I can embed the netconf messages inside the soap body I didnt find any useful info in the internet.

Re: Why do i get a No such operation error?

2006-06-08 Thread ANTHONY ZIOLKOWSKI
I fixed it. I had failed to update my server-config.wsdd file.ANTHONY ZIOLKOWSKI [EMAIL PROTECTED] wrote: I get a "No such operation" error when I run my client stub. I can't figure out why.I generate the client code using the following ant task: target name="generate-client-stub" axis-wsdl2java

[AXIS2] WS-Addressing HTTP-SMTP problem!

2006-06-08 Thread Dharmendra Dubey
Hi, I am trying to build a request-response soap service that will take a request on HTTP but would respond on SMTP (Using WS-Addressing). I am using the mail server provided by axis. Please find attached the client side program which invokes a echo service which simple returns the incoming

Re: [Axis2 1.0][Sandesha2] Problem connecting server RMSampleService

2006-06-08 Thread Mancinelli Elodie
Hi Chamikara, I restart the setup of Axis2 and I download once time sandesha2. I make sure that the RMSampleService is available. No problem appears. Logs give no information. But I join it nevertheless. I don't inderstand where is the error. Is the error can be due to the proxy? I really

Re: [Axis2]wsdl schema type generation bug with byte[]- More bugs??

2006-06-08 Thread Anamitra . Bhattacharyya
Hi Depal I am sorry that was my bad - I was not using the stubs and I was posting the xml directly inside xmldata element without escaping it. But that still leaves the byte[] issue standing. Why do you think axis is generating the binding as xs:element minOccurs=0 type=xs:byte name=xmldata

Re: Customizing SOAP messages

2006-06-08 Thread Eran Chinthaka
Phani Sekhar wrote: Hi, I am new to Apache Axis, infact I am new to webservices. Our aim is to send netconf messages over soap. Can anyone please tell me how to customize the soap messages so that I can embed the netconf messages inside the soap body U can send anything inside the

RE: [AXIS2] WS-Addressing HTTP-SMTP problem!

2006-06-08 Thread Dharmendra Dubey
Hi Chinthaka, Thanks for your response. We did follow the transport guide. We are using HTTP as in protocol and SMTP as out protocol. We are using the following statement to achieve the same: options.setTransportInfo(Constants.TRANSPORT_HTTP,Constants.TRANSPORT_MAIL,t rue); Please suggest.

Re: [Axis2]Re: I tried to work around the Java2WSDL issue, but got an non-document/literal service

2006-06-08 Thread Jim Bender
Deepal, I am not really sure what you are asking, but I am replying with the two files attached, instead of inline (the WSDL file and the generated skeleton). The WSDL file is that generated by Java2WSDL with the duplicate complex type definition removed. I am reviewing how I invoke WSDL2Java.

RE: Axis 2 Intellij Plugin won't install right???

2006-06-08 Thread James Armstrong
It doesn't work 4.5? -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 5:45 AM To: axis-user@ws.apache.org Subject: Re: Axis 2 Intellij Plugin won't install right??? You need to extract the zip file into .IntelliJIdea50\config\plugins

RE: Customizing SOAP messages

2006-06-08 Thread Phani Sekhar
Hi chinthaka, Thanks for ur response. I have installed tcpmon. I am able to see the http messages(when I open a website) using that But i am not able to see the soap messages, when I try to invoke a soap service using a soap client Is there any extra configuration we need to do for tcpmon

RE: Customizing SOAP messages

2006-06-08 Thread Harish Hirasave
I am also having the same issue. Any help will be appreciated. -Original Message- From: Phani Sekhar [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 11:06 AM To: axis-user@ws.apache.org Subject: RE: Customizing SOAP messages Hi chinthaka, Thanks for ur response. I have installed

Does AXIS support Doc/Literal no-arg, empty body operations/messages?

2006-06-08 Thread IdRatherBeSailing
Someone here was trying to hit a new service another group built (with a non-AXIS service producer) where one of the operations is defined as a no-arg method, with an empty wsdl:message for an input (as opposed to a message that points to an empty schema element). Such services expect an empty

Re: Customizing SOAP messages

2006-06-08 Thread Nicolas Guaneme
Phani Sekhar wrote: Hi chinthaka, Thanks for ur response. I have installed tcpmon. I am able to see the http messages(when I open a website) using that But i am not able to see the soap messages, when I try to invoke a soap service using a soap client Is there any extra

Re: Customizing SOAP messages

2006-06-08 Thread robert lazarski
TCPMon is a popular tool and does work well. If having problems, however, you could try the soap monitor: http://ws.apache.org/axis2/1_0/soapmonitor-module.html I've never used netconf, but generally any data transfer is either text, binary, or objects. For text or binary, I'd send the data as

RE: Customizing SOAP messages

2006-06-08 Thread Phani Sekhar
Thanks for ur help. Its working now Thx Sekhar -Original Message- From: Nicolas Guaneme [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 10:03 PM To: axis-user@ws.apache.org Subject: Re: Customizing SOAP messages Phani Sekhar wrote: Hi chinthaka,Thanks for ur

RE: How do I get SOAP Header contents while using Axis2's ServiceClient

2006-06-08 Thread Scudder, Jeffrey W
Thank you very much. This is exactly what I was looking for :) Thanks again, Jeff Scudder -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 07, 2006 10:55 PM To: axis-user@ws.apache.org Subject: Re: How do I get SOAP Header contents while using

Re: Axis2 Changing WSDL

2006-06-08 Thread Jim Collins
Hi Ajith, Thanks for your help. Regards Jim - Original Message - From: Ajith Ranabahu [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, June 08, 2006 10:31 AM Subject: Re: Axis2 Changing WSDL Hi, The logic of the WSDL reader is to wrap and generate a schema for that if

any help will be welcome

2006-06-08 Thread muthana
From Eclipse I got the following error when I try to run the StubClient Exception in thread main AxisFault  faultCode: {http://xml.apache.org/axis/}HTTP  faultSubcode:  faultString: (404)/Axis/services/SimpleServiceSOAP  faultActor:  faultNode:  faultDetail:   {}:return

[axis2] Disable service web-interface

2006-06-08 Thread Bram Biesbrouck
Hi all, Is there a way to disable the web-interface to a webservice, so it is only accessible from a client (xml, soap)? I searched the docs, but nothing.. b. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: any help will be welcome

2006-06-08 Thread robert lazarski
Aparently your container - tomcat for example - doesn't have a SimpleServiceSOAP installed. Veryify via the happy axis page that you ran the admin client correctly and indeed have SimpleServiceSOAP installed correctly. HTH, Robert http://www.braziloutsource.com/ On 6/8/06, muthana [EMAIL

RE: any help will be welcome

2006-06-08 Thread Harish Hirasave
Hi All, I am getting this when I am trying to install axis2. I have copied the files form the axis war to the deploy directory in Jboss 3.2.3 and then restarted the server. I get the home page but when I try to validate I get this error. The server.log does not indicate much. What is

Re: any help will be welcome

2006-06-08 Thread robert lazarski
Jboss 3.2.3 ? What version of tomcat does that run, ie, what servlet spec ? Post that info and maybe we can help. I don't see any axis2 errors which is suspicious, but my guess is that its a axis2 jsp issue with an older version of tomcat. Another option is to turn on debug logging under

RE: any help will be welcome

2006-06-08 Thread Harish Hirasave
It uses tomcat 4.1. I am able to run axis 1.2 without errors. From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 3:33 PM To: axis-user@ws.apache.org Subject: Re: any help will be welcome Jboss 3.2.3 ? What version of tomcat does that run, ie,

Re: any help will be welcome

2006-06-08 Thread robert lazarski
Tomcat 4.1 hasn't been tested as well with Axis2 as say, Tomcat 5.5 . This may be particuarly true for some of the JSP pages. My recomendations are: 1) Run the nightlies, as some of the developers have been testing some issues concerning tomcat 4.1 in the last few days:

[Axis2] MTOM example wsdl generation fails

2006-06-08 Thread Hoda Nadeem
I'm running the MTOM sample in the Axis2 1.0 release, and I am able to deploy the service, and talk to the server using the sampleGUI web client successfully. But... when I try to go to the wsdl through the admin interface, I get the following error: url:

RE: [Axis2] MTOM example wsdl generation fails

2006-06-08 Thread Scudder, Jeffrey W
Hi Nadeem, I was told to change RawXMLINOutMessageReceiver to RPCMessageReceiver in the services.xml file of the service. The RawXMLINOutMessageReceiver is designed to not produce a WSDL. messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/ messageReceiver

URGENT !! error accessing webservices via SSL

2006-06-08 Thread ip vp
Hi all! First of all, I am a newbie in webservices. :-) I have a remote webservice to acess from java and get a message. I do not need to send any parameters, only get a String. I have de client certificate ( .pfx). I got the BouncyClaster lib. PLEASE, take a llok ate the code and the

I am trying to debug this issue with WSDL2Java (probably caused by inexperience with Axis2 Std 1.0)

2006-06-08 Thread Jim Bender
I had been running the WSDL2Java generator from Leafcutter, using the Java Ant task. I switched to building an arg array and running the main(String[]) programmatically, so I can see what is happening. I have been able to make some progress that way, along with trying to get a closer reading of