Re: Axis2 service level access by IP address

2007-05-24 Thread Paul Fremantle
Luis We are planning our 1.0 any day. We believe that Synapse is close to production. If you have a specific config, we might be able to do some extended testing in our test lab. And the ESB comes with full production support. Paul On 5/24/07, Luis Mariano Luporini <[EMAIL PROTECTED]> wrote: P

Re: MTOM error "java.lang.OutOfMemoryError: Java heap space"

2007-05-24 Thread Dennis Sosnoski
Hi Paul, I'm not sure exactly what you mean with this code. This thread has been repurposed a time or two, but the question from Tammy was how to stream out data from a database as the body of a response. So the data is not in the form of an OMElement, and the point of using OMDataSource is to

Re: Axis2: question regarding modules

2007-05-24 Thread Deepal Jayasinghe
Hi , To which phase you are adding the handler ? > Hello > > > > I have one question regarding modules. I have developed one handler in > a module and trying to call another method within this handler and I > have packaged both methods together. Now there is one strange thing > happening. When

Re: Problem consuming POJO-based Webservice with Axis2-1.1.1

2007-05-24 Thread Deepal Jayasinghe
Hi Alan , I hope you will get a Rampart release soon. Thanks Deepal > Hi folks, > > I was able to successfully deploy and consume a POJO-based webservice > by closely following the POJO guide on the Axis2-1.2 site. However I > need to include a username/password token in each message, therefore

Invoke a service via a Java call instead of a WS call

2007-05-24 Thread Martin Feller
Hi, we use Axis 1.2 as Web Service Engine in the Globus Toolkit v.4. If our container is under load, calls that are done to services located in the same container tend to perform not so well. That's why we are trying to do calls to services in the same container via direct Java calls instead of W

Re: Rest APIs

2007-05-24 Thread Glen Mazza
I'd hate to expose my ignorance, but is there such a thing as a REST -->API<--? Glen Am Donnerstag, den 24.05.2007, 16:49 +0530 schrieb [EMAIL PROTECTED]: > Hi > > > > Can anybody help me to enable rest APIs in my webservices with Axis2? > > > > Regards > > Smitha Aldrin > > > > >

Problem consuming POJO-based Webservice with Axis2-1.1.1

2007-05-24 Thread Alan Sunley
Hi folks, I was able to successfully deploy and consume a POJO-based webservice by closely following the POJO guide on the Axis2-1.2 site. However I need to include a username/password token in each message, therefore I need to use Rampart. Unfortunately the current version of Rampart (1.1)

Re: No Such Operation 'xxx'

2007-05-24 Thread Anne Thomas Manes
You've specified a binding style of document/literal, but your message parts represent types. That's not valid. Your message parts must reference elements. I also recommend that you design your WSDL so that it conforms to the "wrapped" convention. See http://atmanes.blogspot.com/2005/03/wrapped-d

Re: Getting an Error while deploying JNI based web service

2007-05-24 Thread Martin Gainty
Genious which class is calling your JNI Function? Have you placed the jar (containing the class) on %AXIS2_HOME%\lib? M-- 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 re

How do I eliminate the action parameter (or add it) - bad request?

2007-05-24 Thread Furash Gary
I've got a service, built with ASP.NET, that says it accepts this: POST /ObjAcct-Bridge-MS/ObjAcctBridge.asmx HTTP/1.1 Host: localhost Content-Type: application/soap+xml; charset=utf-8 Content-Length: length http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"

Getting an Error while deploying JNI based web service

2007-05-24 Thread Genious Soul
Hi, I just converted my JNI based program into web service.It deployed successfully but when I click to see the WSDL of the deployed service.I got the following error : AXIS error Sorry, something seems to have gone wrong... here are the details: Exception - java.lang.NoClassDefFoundError

Re: No Such Operation 'xxx'

2007-05-24 Thread Shanna7463
So incase someone else runs into this error, I believe I figured out the problem. I had an old version of wsdl4j.jar...I am using Axis-1.4 and I needed to be using wsdl4j-1.5.1.jar... Now everything works! :) -- Shanna -- GlenMazza wrote: > > I'd forget about your WSDL right now and look at

Re: Axis2 service level access by IP address

2007-05-24 Thread Luis Mariano Luporini
Paul: This seems very interesting. I will go deeper on it. The only concern (at this point I spent just a few minutes navigating the sites) could be that I need to go to production with a solution and maybe I'll need too much test on these ones (I'm a little paranoid usually). Anyway

Re: Axis2 service level access by IP address

2007-05-24 Thread Paul Fremantle
Another approach without using code is Apache Synapse (http://ws.apache.org/synapse). In Synapse we offer the ability to do Regex type matching on properties. The WSO2 throttling code is also available on top of Synapse inside the WSO2 ESB (http://wso2.org/projects/esb/java) (basically Synapse+ an

Re: java.lang.IllegalArgumentException with Document/Literal...help please

2007-05-24 Thread Martin Gainty
Hi Mike- in the server-config.wsdd.. look for attribute dotNotSoapEncFix and set to true Also ..any element declaration defining a boolean type should be of type xsd:boolean Does this help? Martin-- This email message and any files transmitted with it contain confidential information int

Axis2: question regarding modules

2007-05-24 Thread Inder Dhillon
Hello I have one question regarding modules. I have developed one handler in a module and trying to call another method within this handler and I have packaged both methods together. Now there is one strange thing happening. When am engaging this module globally, then its able to call that meth

Re: Transport out has not been set.

2007-05-24 Thread chaoticinc
I encountered the same problem and found that the issue was caused when the commons-httpclient-[version].jar was missing. It would be nice if this was caught with a ClassNotFoundException instead. Jason Kania mas wrote: > > Okay thank you that seemed to at least fix the dependency errors!

Re: Axis2 service level access by IP address

2007-05-24 Thread Luis Mariano Luporini
Paul, you are right. I would like to handle this at a configuration level instead of relying on coding. I know I can make a module for this, think something like Marcello pointed to me some minutes ago (http://wso2.org/projects/commons/throttle). I was hoping to find a way to handle it natively

Re: Axis2 service level access by IP address

2007-05-24 Thread Luis Mariano Luporini
Wow, that was a quick response. I've just went to the link you provided, I will need to go deeper but it may seem like a solution for my needs. Anyway, I will have to test how this scales in production as opposed to a proxy-like setup filtering directly on HTTP URL and client IP. I will provide

Re: Axis2: Support for NTLM v2

2007-05-24 Thread Paul Fremantle
Carl We support NTLM. I'm afraid I don't know the difference between NTLM and NTLM v2. Paul On 5/24/07, Carl Fredrik Bøkestad <[EMAIL PROTECTED]> wrote: Hi, I am having some trouble with getting Axis 2 to work with NTLM v2. As far as I can see there is not support for that yet. Other

Re: Axis2 service level access by IP address

2007-05-24 Thread Paul Fremantle
Luis According to JIRA 1610 you can retrieve the IP address this way: String remoteClientAddress = messageContext.getProperty(MessageContext.REMOTE_ADDR); Paul On 5/24/07, Luis Mariano Luporini <[EMAIL PROTECTED]> wrote: Hi, I been trying since this morning to get around this but did not succ

RE: Axis2 service level access by IP address

2007-05-24 Thread Marcello Sales
Hello Luiz, I think you are talking about Throttling mechanism, right? If so, there's a project at wso2.org, which description is as follows (http://wso2.org/projects/commons/throttle): "WSO2 Throttle is an add-on module for Apache Axis2/WSO2 WSAS 1.1 and above. This module is used for controlli

Axis2 service level access by IP address

2007-05-24 Thread Luis Mariano Luporini
Hi, I been trying since this morning to get around this but did not succeeded. I'm starting to get a little frustrated so I think, by now, the best path is to trust in others knowledge. Anyway, I'm using Axis2 1.2, Tomcat 6.0.10 and Sun J2SE 1.5.0.11 on FC5 Linux. I'm trying to figure out a way

RE: Axis2: Support for NTLM v2

2007-05-24 Thread Carl Fredrik Bøkestad
Hi, I am having some trouble with getting Axis 2 to work with NTLM v2. As far as I can see there is not support for that yet. Other commercial actors (like Oakland Software) have implemented support for this already. Does anyone know if there are any plans to support this in Axis 2 as

RE: [Axis2] Beating a dead horse...

2007-05-24 Thread Ted Jones
Great. Thanks Paul/Dims. -Original Message- From: Paul Fremantle [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 3:16 PM To: axis-user@ws.apache.org; [EMAIL PROTECTED] Subject: Re: [Axis2] Beating a dead horse... Thanks Dims! Paul On 5/24/07, Davanum Srinivas <[EMAIL PROTECTED]

Re: [Axis2] Beating a dead horse...

2007-05-24 Thread Paul Fremantle
Thanks Dims! Paul On 5/24/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: Paul, it's at: http://people.apache.org/dist/rampart/nightly/ On 5/24/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: > Real Soon Now! > > We are trying hard. It should be here within a week. You could try a > nightly bu

Re: MTOM error "java.lang.OutOfMemoryError: Java heap space"

2007-05-24 Thread Paul Fremantle
Dennis What about getting to the actual StAX? That would seem efficient to me. Or does it go wrong when you write out the new OMElement? public OMElement sayHello(OMElement element) { XMLStreamReader xsr = element.getXMLStreamReaderWithoutCaching(); // use xsr // create a new StAX strea

Re: [Axis2] Beating a dead horse...

2007-05-24 Thread Davanum Srinivas
Paul, it's at: http://people.apache.org/dist/rampart/nightly/ On 5/24/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: Real Soon Now! We are trying hard. It should be here within a week. You could try a nightly build which are meant to be here http://ws.zones.apache.org/dist/rampart/nightly/ B

Re: MTOM error "java.lang.OutOfMemoryError: Java heap space"

2007-05-24 Thread Dennis Sosnoski
The easiest way to write data to the output without first creating a copy in memory is to use OMDataSource, as dims had said. I was adding some details on how OMDataSource is used, and pointing you at one example of its use in the Axis2 code. OMDataSource is not really designed for end users,

The endpoint reference (EPR) for the Operation not found exception

2007-05-24 Thread Gul Onural
Recently we have migrated our web service to Axis2 1.2. Since then I see "The endpoint reference (EPR) for the Operation not found exception..." when I invoke one of our web service operations, consistently. I have created an example web service and an example test client to reproduce the prob

RE: [Axis2] Beating a dead horse...

2007-05-24 Thread Ted Jones
Sorry, I missed that posting. Thanks for the update. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 2:41 PM To: axis-user@ws.apache.org Subject: Re: [Axis2] Beating a dead horse... First of all, this is the wrong mailing list for that que

Re: [Axis2] Beating a dead horse...

2007-05-24 Thread Paul Fremantle
Real Soon Now! We are trying hard. It should be here within a week. You could try a nightly build which are meant to be here http://ws.zones.apache.org/dist/rampart/nightly/ But its not up. I'll chase it. Paul On 5/24/07, Ted Jones <[EMAIL PROTECTED]> wrote: I know this has come up quite a

Re: stumper

2007-05-24 Thread Davanum Srinivas
Rich, Please log a bug in JIRA with your wsdl/xsd/testcase. this is definitely weird. -- dims On 5/24/07, Rich Adili <[EMAIL PROTECTED]> wrote: Hi One of my methods takes, among other things, an bit of generic xml. Can't make heads or tails of this exception. Only clue I've found is that

Re: [Axis2] Beating a dead horse...

2007-05-24 Thread Davanum Srinivas
First of all, this is the wrong mailing list for that question. Secondly, i answered it just yesterday. http://mail-archives.apache.org/mod_mbox/ws-rampart-dev/200705.mbox/[EMAIL PROTECTED] -- dims On 5/24/07, Ted Jones <[EMAIL PROTECTED]> wrote: I know this has come up quite a bit, but wha

[Axis2] Beating a dead horse...

2007-05-24 Thread Ted Jones
I know this has come up quite a bit, but what is the status of a Rampart module that is compatible with Axis2 1.2? The download link on the Axis2 1.2 module site is still pointing to 1.1. Thanks, Ted

Re: wsa:Action header emitted from client with value ""

2007-05-24 Thread David Illsley
I'll look into the generation problem tomorrow. I know it used to work, but that was a while ago. The urn: thing is not standardised, please, please use something that is refleted in a WSDL e.g. soapAction, wsaw:Action, or in the near future wsam:Action I'm currently sitting an interop testing s

stumper

2007-05-24 Thread Rich Adili
Hi One of my methods takes, among other things, an bit of generic xml. Can't make heads or tails of this exception. Only clue I've found is that the exception does not fire if I create the stub using one of the ctors that does not take a ConfigurationContext; not much of a clue I suppose. The onl

Re: Axis2 1.1.1 WSDL2JAVA - Not generating java classes for

2007-05-24 Thread Jess Fisher
I still cannot get all the portTypes generated even with Axis 1.2. Any plans on fixing this ? Bo Xie <[EMAIL PROTECTED]> wrote: Sorry to bother you again. Just want to know if this is a bug or I did not set the parameter correctly. Any advice on how to make this work. Thanks, -Bo On 5/20/0

Re: MTOM error "java.lang.OutOfMemoryError: Java heap space"

2007-05-24 Thread Tammy Dugan
I still don't understand what to do. I don't use WSDLs for my Axis2 services. I just used the following form: public OMElement sayHello(OMElement element) { return method; } Something inside Axis2 after the return is buffering the whole output string into memory. Are you telling m

Re: Axis 1 to Axis 2

2007-05-24 Thread Paul Fremantle
Doug Service service = new Service(); Call call = (Call) service.createCall(); ServiceClient sc = new ServiceClient(); //set the properties for using the SOAPaction call.setProperty(Call.SOAPACTION_USE_PROPERTY, Boolean.TRUE); call.setProperty(Call.SOAPACTION_URI_PROPERTY, SOA

Re: Axis 1 to Axis 2

2007-05-24 Thread Davanum Srinivas
Please see samples\quickstartaxiom sample in Axis2 1.2 zip file. thanks, dims On 5/24/07, Doug Schaible <[EMAIL PROTECTED]> wrote: Good afternoon! Can anyone tell me what the code below would look like in Axis2? I need to create a SOAP client in Axis 2 that allows me to pass the payload and o

Axis 1 to Axis 2

2007-05-24 Thread Doug Schaible
Good afternoon! Can anyone tell me what the code below would look like in Axis2? I need to create a SOAP client in Axis 2 that allows me to pass the payload and one that allows me to pass the entire message. I understand that I should use the operation client interface and the service client in

Axis2_Codegen_Wizard_1.2.0

2007-05-24 Thread Pavan Madiraju
I am trying to write a simple webservice integrating Jibx for databinding. Does anyone know how to add New Databinding name in the codegen Wizard ? Any information is greatly appreciated. Thanks, PM <>- To unsubscribe, e-mail: [

Re: Setting use of Ws-Addressing header mandatory at service

2007-05-24 Thread David Illsley
It is possible, simply put the UsingAddressing element defined in [1] in your service WSDL with wsdl:required="true" on it. I hope that helps, David [1] http://www.w3.org/TR/2006/CR-ws-addr-wsdl-20060529/#uaee On 24/05/07, Erwin Reinhoud <[EMAIL PROTECTED]> wrote: Hello, I know the client c

Re: [Axis2] Required element null defined...

2007-05-24 Thread jnedzel
Ognjen: Many thanks -- that worked. It would be great if this was put into the FAQ and the manual. Jared Ognjen Blagojevic wrote: This is a Java compiler issue. When you compile your web service class, the resulting .class file have no information about parameter names. Since axis2 is parsi

Re: AXIS2 and JAXB2.0

2007-05-24 Thread Davanum Srinivas
If you have issues, please log them in JIRA. As i've said before on this list, test thoroughly your "specific" case before putting anything into production. that's the only thing that counts. thanks, dims On 5/24/07, Sivasubramanian, Rajkumar (Consultant) <[EMAIL PROTECTED]> wrote: Thanks for y

java.lang.IllegalArgumentException with Document/Literal...help please

2007-05-24 Thread Bauer, Michael
To all: I am stressing about this exception I am getting. We have a web service, deployed on JBoss 4.2.5 using Axis 1.4. We were using the default style, but recently we gained a requirement to support .NET as a consumer of this WS. The people writing the .NET code reported back to me that t

Re: [Axis2] problem to display the WSDL in a browser in Axis2.1.2

2007-05-24 Thread Stephane Roy
Hi, I have more information about this problem. I have a scenario to reproduce the problem. Our web service is defined with a WSDL divided in three parts. First we have a concrete WSDL (defining the Service and the Binding). This WSDL imports an abstract WSDL (defining the PortType and the M

HTTPActionHandler

2007-05-24 Thread Doug Kunzman
Hi -- I have the same url and the same Soap Action calling different methods in my wsdl. Unfortunately, Axis 1.4/Tomcat 5.0/Java 5.0 is unable to call the different methods when the url and endpoint are the same even though I can process the wsdl using WSDL2Java without error. When I added the m

RE: AXIS2 and JAXB2.0

2007-05-24 Thread Sivasubramanian, Rajkumar (Consultant)
Thanks for your reply I tried this option and had some issues. But I didn't looked into this issue deeply after seeing that JAXRI is in experimental mode(in axis2 web site). What does this mean, can I go ahead and use JAXB2 in my application using AXIS2. Your input in this regard is highly appre

Re: AXIS2 and JAXB2.0

2007-05-24 Thread Davanum Srinivas
Axis2 1.2 already supports JAXB2.0 just use the (-d jaxbri) when running wsdl2java. -- dims On 5/24/07, Sivasubramanian, Rajkumar (Consultant) <[EMAIL PROTECTED]> wrote: Hello Everyone I am want to know when Axis2 is planning to rollout finalized JAXB2.0(or JAXRi) as part of its pluggabl

Re: [axis2] client side : how to get servicegroupid [END] .

2007-05-24 Thread Fabrice Airault
thanks Deepal & thanks paul Fabrice Deepal Jayasinghe a écrit : Hi Fabrice , Pls have a look at http://wso2.org/library/182 Thanks Deepal hi Paul, i copy addressing.mar in addressing.jar and i add in my classpath. in my code i add this line System.out.println(AddressingFaultsHelper.class)

AXIS2 and JAXB2.0

2007-05-24 Thread Sivasubramanian, Rajkumar (Consultant)
Hello Everyone I am want to know when Axis2 is planning to rollout finalized JAXB2.0(or JAXRi) as part of its pluggable xml bindings. I have seen xFire supporting JAXB2, but I am not clear whether its good to move for xfire or wait for Axis2 to come up with the full jaxb2 support. I will ap

Re: Axis2 1.2 sanity check: Can generated POJO service/client handle 0-length array?

2007-05-24 Thread John G. Norman
Here it is: https://issues.apache.org/jira/browse/AXIS2-2706 On 5/24/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: Absolutely, please do log a JIRA. thanks, dims On 5/24/07, John G. Norman <[EMAIL PROTECTED]> wrote: > See note after exception trace below. > > Dims, if you advise, I will add

Re: Mutiple Prologs in SOAP Message

2007-05-24 Thread Martin Gainty
You are going to have to either declare your namespace as empty as in this example http://www.foo.org/";> abcd so references to A B nodes have a default namespace of http://www.foo.org any references to C D have NO namespace assignment *Or you

Re: Axis2 1.2 sanity check: Can generated POJO service/client handle 0-length array?

2007-05-24 Thread Davanum Srinivas
Absolutely, please do log a JIRA. thanks, dims On 5/24/07, John G. Norman <[EMAIL PROTECTED]> wrote: See note after exception trace below. Dims, if you advise, I will add some code to the POJO example code shipped with Axis 1.2, and will add to Jira. Also see after the exception trace below f

Re: Axis2 1.2 sanity check: Can generated POJO service/client handle 0-length array?

2007-05-24 Thread John G. Norman
See note after exception trace below. Dims, if you advise, I will add some code to the POJO example code shipped with Axis 1.2, and will add to Jira. Also see after the exception trace below for a note about the POJO service. Here's a summary: In the Java POJO service: return new Job[0];

RE: Java2Wsdl with DataHandler method

2007-05-24 Thread Brendan Reekie
Hi Thilina, We've been trying to go from server code -> wsdl using the Java2Wsdl tool. All the working examples we've seen are going from wsdl -> server code which you can then specify the base64Binary type. Is the wsdl -> server code the approach that we should be taking? Thanks for all of the

Setting use of Ws-Addressing header mandatory at service

2007-05-24 Thread Erwin Reinhoud
Hello, I know the client can mandate the use of WS-Addressing bij use of mustUnderstand. But i would like to impose the policy that all clients must add a WS-addressing header on messages to a Axis2 1.1.1 service. I can not find any information how to configure the service that it mandates this

RE: [SOLUTION] Example of Logging SOAP requests/responses in AXIS 1.4

2007-05-24 Thread Rich Adili
You shall dance at my wedding, José!!! From: José Ferreiro [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 2:07 AM To: axis-user@ws.apache.org Subject: [SOLUTION] Example of Logging SOAP requests/responses in AXIS 1.4 Dear Rich, This will probably

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Deepal Jayasinghe
Hi Fabrice , Pls have a look at http://wso2.org/library/182 Thanks Deepal > hi Paul, > > i copy addressing.mar in addressing.jar and i add in my classpath. > > in my code i add this line > System.out.println(AddressingFaultsHelper.class); > > i have my trace ans always exception. > class org.apac

Rest APIs

2007-05-24 Thread smitha.aldrin
Hi Can anybody help me to enable rest APIs in my webservices with Axis2? Regards Smitha Aldrin The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confident

Re: Java2Wsdl with DataHandler method

2007-05-24 Thread Thilina Gunarathne
Is it correct than for Java2Wsdl to map a DataHandler to xsd:anytype versus the other examples of using base64Binary? It should map a DataHandler to base64Binary.. The issue we're experiencing is we are sending a file attachment from the server to the client. We can see the Soap attachment (we

RE: Java2Wsdl with DataHandler method

2007-05-24 Thread Brendan Reekie
Hi Deepal, Is it correct than for Java2Wsdl to map a DataHandler to xsd:anytype versus the other examples of using base64Binary? The issue we're experiencing is we are sending a file attachment from the server to the client. We can see the Soap attachment (we're using MTOM) via TCPMON. On the c

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Paul Fremantle
If you rename it addressing.jar its no good. Axis2 has a special classloader for MARs. It must be named .MAR Also you need to create the stub: WebServiceWCPStub stub = new WebServiceWCPStub ("http://localhost:8080/axis2/services/WebServiceWCP";); (remove ?wsdl) Paul On 5/24

Re: action mappings in the service.xml file.

2007-05-24 Thread Deepal Jayasinghe
Jim Alateras wrote: > I have been able to get axis2 to correctly generate the actionMapping > and outputActionMapping uris in the service.xml and client stub files. > > The actionMapping seems to be picked up from the soapAction attribute > in the wsdl:binding section of the wsdl document. > >

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Fabrice Airault
hi Paul, i copy addressing.mar in addressing.jar and i add in my classpath. in my code i add this line System.out.println(AddressingFaultsHelper.class); i have my trace ans always exception. class org.apache.axis2.addressing.AddressingFaultsHelper org.apache.axis2.AxisFault: Unable to engage m

Re: Java2Wsdl with DataHandler method

2007-05-24 Thread Deepal Jayasinghe
Hi Brendan , We had that issue in Axis2 1.1.1 , but in Axis2 1.2 release we have fixed that. Thanks Deepal > > Hi, > > I’m trying to generate a WSDL from an existing Bean class that has a > method that returns a complex response with a DataHandler element. > From what I understand the Java2Wsdl u

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Paul Fremantle
Have you got addressing.mar in the client's classpath? Paul On 5/24/07, Fabrice Airault <[EMAIL PROTECTED]> wrote: Hi Deepal Jayasinghe, in client side; i don't know how to engage addressing. if i add this line : stub._getServiceClient().engageModule(new QName("addressing")); i have an except

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Fabrice Airault
Hi Deepal Jayasinghe, in client side; i don't know how to engage addressing. if i add this line : stub._getServiceClient().engageModule(new QName("addressing")); i have an exception : org.apache.axis2.AxisFault: Unable to engage module : addressing at org.apache.axis2.client.ServiceClient.enga

Re: How to configure HTTPSSender?

2007-05-24 Thread Paul Fremantle
Nencho If you target a service with an HTTPS url it will automatically do HTTPS. Paul On 5/24/07, Nencho Lupanov <[EMAIL PROTECTED]> wrote: Hi all, is there a way to configure a https sender for the service client? thanks, Nencho -- Paul Fremantle Co-Founder and VP of Technical Sales, WS

Re: [axis2] client side : how to get servicegroupid.

2007-05-24 Thread Deepal Jayasinghe
Hi Fabrice , You need to engage addressing in both client and server side. Thanks Deepal > Hi, > > > I create a "Web Service"(axis2-1.1.1) and i want to use SoapSession > but I never receive a servicegroupid. > > > i create a Stub (WebServiceWCPStub) with $AXIS2_HOME/bin/wsdl2java.sh > and my clie

How to configure HTTPSSender?

2007-05-24 Thread Nencho Lupanov
Hi all, is there a way to configure a https sender for the service client? thanks, Nencho

Re: Unable to import "org.apache.axis2.client.Call" Class

2007-05-24 Thread Deepal Jayasinghe
Hi dhillarun , You need to call org.apache.axis2.ServiceClient. Thanks Deepal > Hi all, > > I am using Apache axis2 framwork (axiom) to create web servies. > But while implementing the client program, > I am unable to import the "org.apache.axis2.client.Call" Class. > > In which .jar file its av

Re: [Axis2] Required element null defined...

2007-05-24 Thread Ognjen Blagojevic
Hi, This is a Java compiler issue. When you compile your web service class, the resulting .class file have no information about parameter names. Since axis2 is parsing .class files, it can't know the original parameter name. Hence, it calls the parameters param0, param1 and so on. Workaroun

Re: How does axis decide the endpoint URL?

2007-05-24 Thread Tobias Seng
Jeremy, I'm using the SimpleAxisServer and had the same problem. Setting the following prameters in axis2.xml solved the problem class="org.apache.axis2.transport.http.SimpleHTTPServer" name="http"> name="hostname">http://the.real.domain:8123 Tobias

[axis2] client side : how to get servicegroupid.

2007-05-24 Thread Fabrice Airault
Hi, I create a "Web Service"(axis2-1.1.1) and i want to use SoapSession but I never receive a servicegroupid. i create a Stub (WebServiceWCPStub) with $AXIS2_HOME/bin/wsdl2java.sh and my client is: try{ WebServiceWCPStub stub = new WebServiceWCPStub("http://localhost:8080/axis2/services/We

[SOLUTION] Example of Logging SOAP requests/responses in AXIS 1.4

2007-05-24 Thread José Ferreiro
Dear Rich, This will probably of your interest. I am using successfully the log method in Axis 1.4. It made it working but i didn't investigate all the options, for example where to store the log file, the log file name, etc. I was only curious to see if it could work to keep a trace of the mess