Re: Axis2 HttpRequest

2006-12-14 Thread Deepal Jayasinghe
Hi Punnoose; At the moment we can not , but we can provide a way to get that. pls log a JIRA Thanks Deepal > Is it possible to get the incoming HTTPRequest object from the > OperationContext when the web service is invoked? Or how about the > HttpSession? > > > > **Roshan Punnoose** > > Phone:

Re: XMLStreamException

2006-12-14 Thread Schalk Neethling
Thanks a billion Javier! Javier Kohen wrote: El jue, 14-12-2006 a las 23:45 +0200, Schalk Neethling escribió: Greetings Javier, If you could send me the skeleton code that would be very helpful. Thanks! SOAP over HTTP. Feel free to add this to the project's documentation if you find

Re: Axis 1.2 to Axis 2.1.1 migration question

2006-12-14 Thread robert lazarski
From the stacktrace, you are using soap encoded arrays which axis2 does not support. I'm not sure how xmlbeans could be working for you if that's the case. Consider using doc / lit or rpc / lit style WSDL's if possible. Probably the most popular three databinding options are adb, xmlbeans and jib

RE: setting actor in the outgoing wsse headers

2006-12-14 Thread George Stanchev
Hi Ruchith, After peeking at the wss4j source code, I found a way to set it for the defaule wsse header: options.setProperty(WSHandlerConstants.ACTOR, "uri:my.actor"); But I need to be able to generate 2 wsse headers, so that doesn't cut it for me. http://issues.apache.org/jira/browse/AXI

Axis 1.2 to Axis 2.1.1 migration question

2006-12-14 Thread Harish Hirasave
Axis team, I am migrating a webservice which is axis 1.2 to axis 2.1.1. I get the following error when I generate code using the wsdl in axis 2.1.1 When I used xmlbeans as the databinding type I was able to generate the code but it generates a lot of other classes(xmlbeans) which I don't want. Wha

RE: setting actor in the outgoing wsse headers

2006-12-14 Thread Harish Hirasave
Axis team, I am migrating a webservice which is axis 1.2 to axis 2.1.1. I get the following error when I generate code using the wsdl in axis 2.1.1 When I used xmlbeans as the databinding type I was able to generate the code but it generates a lot of other classes(xmlbeans) which I don't want. Wha

Re: Axis2 dynamic usertoken configuration problem

2006-12-14 Thread Ruchith Fernando
Hi, This is a known issue [1] that occurs when a client receives a SOAP 11 fault. If possible please try using SOAP 12 : options.setSoapVersionURI(SOAP12Constants.SOAP_ENVELOPE_NAMESPACE_URI); Thanks, Ruchith [1] https://issues.apache.org/jira/browse/AXIS2-1643 On 12/15/06, Vedha Vijayan <[E

Re: setting actor in the outgoing wsse headers

2006-12-14 Thread Ruchith Fernando
This is not supported in Rampart right now... Please file a JIRA. The new configuration is based on WS-SecurityPolicy and I'm not sure how we can achieve this with policy. Maybe we should ask the WS-SX folks about it. Thanks, Ruchith On 12/15/06, George Stanchev <[EMAIL PROTECTED]> wrote: H

Re: How to get an init parameter from Axis in my web services method

2006-12-14 Thread Lenny Wintfeld
Hi Figured it out on my own. To get the [TOMCATPATH]/conf/context.xml contents: String infoOfInterest; HttpServlet servletContext = (HttpServlet)MessageContext.getCurrentContext().getProperty(HTTPConstants.MC_HTTP_SERVLET);

setting actor in the outgoing wsse headers

2006-12-14 Thread George Stanchev
Hi, Is there a way to set the actor of the outgoing security headers using rampart? I would like to create 2 security headers on an outgoing message - one with the default actor and another targeting a specific actor name. I am not able to find a way to do it via the (now deprecated) configu

Axis2 dynamic usertoken configuration problem

2006-12-14 Thread Vedha Vijayan
I'm working with rampart samples to better understand dynamic configuration of usernameToken context. I'm trying to do the following; ConfigurationContext ctx = ConfigurationContextFactory.createConfigurationContextFromFileSystem(args[1], args[1] + "/conf/axis2.xml"); ServiceCli

Polymorphism and xsi:type

2006-12-14 Thread delta 78
Hello, Following up on various polymorphism questions: How do we send the entire derived type from an axis generated client to the server? Specifically, soap requests don't seem to contain fields from derived class that are not present in the base class. Lets use the familiar example of Shape an

Re: XMLStreamException

2006-12-14 Thread Javier Kohen
El jue, 14-12-2006 a las 23:45 +0200, Schalk Neethling escribió: > Greetings Javier, > > If you could send me the skeleton code that would be very helpful. Thanks! SOAP over HTTP. Feel free to add this to the project's documentation if you find it useful. It's based on code found inside ServiceCl

Re: XMLStreamException

2006-12-14 Thread Schalk Neethling
Greetings Javier, If you could send me the skeleton code that would be very helpful. Thanks! Javier Kohen wrote: El jue, 14-12-2006 a las 23:09 +0200, Schalk Neethling escribió: Hi there everyone, My apologies beforehand for the large amount of code etc. I am new to Axis2 and I am current

Re: XMLStreamException

2006-12-14 Thread Javier Kohen
El jue, 14-12-2006 a las 23:09 +0200, Schalk Neethling escribió: > Hi there everyone, > > My apologies beforehand for the large amount of code etc. I am new to > Axis2 and I am currently implementing a web service. All is going well > except when executing the code below I get the following erro

XMLStreamException

2006-12-14 Thread Schalk Neethling
Hi there everyone, My apologies beforehand for the large amount of code etc. I am new to Axis2 and I am currently implementing a web service. All is going well except when executing the code below I get the following error: INFO - [org.apache.commons.httpclient.HttpMethodDirector] - I/O exc

Re: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Davanum Srinivas
ah. i forgot about that. then set the soap action to the name of the method (also read up the article i sent in my prev email) thanks, dims On 12/14/06, Ted Jones <[EMAIL PROTECTED]> wrote: Hmmm... I get this when trying to get to the Axis2 generated WSDL: Unable to generate WSDL for this ser

RE: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Ted Jones
Hmmm... I get this when trying to get to the Axis2 generated WSDL: Unable to generate WSDL for this service If you wish Axis2 to automatically generate the WSDL, then please use one of the RPC message receivers for the service(s)/operation(s) in services.xml. If you have added a custom WSDL in t

Re: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Davanum Srinivas
Yes, if you look at the autogenerated wsdl, you can see which soap action to set for which operation. http://wso2.org/library/176 -- dims On 12/14/06, Ted Jones <[EMAIL PROTECTED]> wrote: The soap action is set. Is this value being used to determine which operation to execute? Is there a way t

RE: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Ted Jones
The soap action is set. Is this value being used to determine which operation to execute? Is there a way to force it to pick the method specified in the service.xml that uses the OMElement methodName(OMElement element) signature? Thanks, Ted -Original Message- From: Davanum Srinivas [mail

Re: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Davanum Srinivas
can you paste the autogenerated wsdl when you point your browse to "?wsdl" thanks, dims On 12/14/06, Ted Jones <[EMAIL PROTECTED]> wrote: My WSDL is pasted in below. This same WSDL works in Axis 1.3. When I execute the "getBookCollection" operation, it really accesses a method in the service th

RE: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Ted Jones
My WSDL is pasted in below. This same WSDL works in Axis 1.3. When I execute the "getBookCollection" operation, it really accesses a method in the service that grabs the SOAP Action value and uses that to query against the database, gets a value and updates the SOAP response. This allows a dynamic

Re: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Davanum Srinivas
make sure you set the soap action correctly. -- dims On 12/14/06, Ted Jones <[EMAIL PROTECTED]> wrote: Thanks for the response dims. The Axis 1.* implementation is such that it does not matter what the method name is, as long as the signature matches one if the expected method signatures. If th

Basic Custom objects

2006-12-14 Thread Jose Hernan Valdes Murguia
Hi all. I was beginning using axis and I liked its easy configuration and development. Whereas I use primitive data types and strings, it works well. However my next step was return a custom object, but I can make it work well. This exception arisen when I try to used my custom service. I'm us

Re: wsdl and namespaces

2006-12-14 Thread Mehar SVLN
Hai if u give some more details then may be i will try to explain On 12/15/06, Rolf Schorpion <[EMAIL PROTECTED]> wrote: Hi, i made a webservice in SAP. The WSDL is using namespaces. Can somehow explain me ( in simple terms ) how to create a proxy ( using Axis ) based on this wsdl with namespa

Re: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Martin Gainty
Hi Ted Can you show us the operation from your wsdl? better yet could you display the entire wsdl for your service? Thanks, --- This e-mail message (including attachments, if any) is intended for the use of the individual

wsdl and namespaces

2006-12-14 Thread Rolf Schorpion
Hi, i made a webservice in SAP. The WSDL is using namespaces. Can somehow explain me ( in simple terms ) how to create a proxy ( using Axis ) based on this wsdl with namespaces ? Thanks ! Rolf S. - To unsubscribe, e-mail: [

RE: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Ted Jones
Thanks for the response dims. The Axis 1.* implementation is such that it does not matter what the method name is, as long as the signature matches one if the expected method signatures. If the method name was specified in the allowableMethods property, it would be executed. So the operation name d

Re: module.xml not found on Axis2 / Weblogic 8.1

2006-12-14 Thread Ali Sadik Kumlali
Hi Slim, You should use exploded WAR. Please, look at here[1] for more information. Regards, Ali Sadik Kumlali [1] http://www.mail-archive.com/axis-user@ws.apache.org/msg13935.html - Original Message From: Slim Driss <[EMAIL PROTECTED]> To: axis-user@ws.apache.org Sent: Thursday, Dec

Axis2 HttpRequest

2006-12-14 Thread Punnoose, Roshan
Is it possible to get the incoming HTTPRequest object from the OperationContext when the web service is invoked? Or how about the HttpSession? Roshan Punnoose Phone: 301-497-6039 BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115 EMAIL;PREF;INTERNE

How to get an init parameter from Axis in my web services method

2006-12-14 Thread Lenny Wintfeld
Hi I've been trying (and failing so far) to get an init parameter from axis in my web services method. Ideally I'd like to get the init parameter value from [TOMCATPATH]/conf/context.xml If that's not possible I could get it from [TOMCATPATH]/webapps/axis/WEB-INF/web.xml or from [TOMCATPA

Array within an array is translated into a 2-dimensional array

2006-12-14 Thread Kedar, Shahar
Hi, Could someone please explain to me why SOAP clients (such as .NET or Axis1) translate the "rows" element under the ConnInfoSet complexType into a 2-dimensional array of ConnInfoCell instead of generating a ConnInfoRow object? How can I prevent those clients of performing such translation?

Re: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Davanum Srinivas
Please see http://ws.apache.org/axis2/1_1/quickstartguide.html#axiom public OMElement nameOfMethod(OMElement element) thanks, dims On 12/14/06, Ted Jones <[EMAIL PROTECTED]> wrote: To be more specific as to what Axis 1.3 logic I am trying to convert, the java:msg provider in Axis 1.3 specifies

RE: Axis 1.* to Axis2 Migration Question

2006-12-14 Thread Ted Jones
To be more specific as to what Axis 1.3 logic I am trying to convert, the java:msg provider in Axis 1.3 specifies that the service class contains the following method signature (among others): public void nameOfMethod(org.apache.axis.message.SOAPEnvelope req, org.apache.ax

RE: module.xml not found on Axis2 / Weblogic 8.1

2006-12-14 Thread zze-Basic DRISS S ext RD-MAPS-ISS
Hi, I've resolved this problem by deploying Axis2 in extended structure and not as axis2.war file. Thx Slim De : Slim Driss [mailto:[EMAIL PROTECTED] Envoyé : jeudi 14 décembre 2006 15:07 À : axis-user@ws.apache.org Objet : module.xml not found on Axis2 / We

Missing files in Central Maven2 Repository for Axis 1.4

2006-12-14 Thread Rodrigo Ruiz
Hi all, I have noticed that some POM files (and some source bundles) are missing in the Central Maven2 Repository for several Axis 1.4 artifacts: * axis-ant * axis-jaxrpc * axis-saaj Although it is usually not worrying, I have recently experienced some unexpected problems with those metadata fil

Axis 2: BeanUtil.getOMElement is not working with hierachy

2006-12-14 Thread Philippe PINSTON
Hi all, I have trouble with OMElement transformation of a java pojo. To do that I use utility static method: Test 1 OK - public class MyObject { private String prop; public void setProp(String prop) { this.prop = prop; } public String getProp() {

module.xml not found on Axis2 / Weblogic 8.1

2006-12-14 Thread Slim Driss
Hi, I'm trying to use Axis2 with Weblogic 8.1 (jrockit 1.4.2_08). After deploying the axis2.war and I've got the error listed below. I found this link http://ws.apache.org/axis/java/install.html#WebLogic8.1but is treating Axis1 with Weblogic. So I've tried without succeeding to apply those sugges

Re: Axis 1.2.1 WSDD question

2006-12-14 Thread Martin Gainty
Hi Asaf You need to define at least one service within the wsdd to deploy to AxisServlet Here is an example http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> HTH Martin -- ---

Is it possible without WSDD

2006-12-14 Thread asaf.lahav
Hi all, I'm using MUSE 1.0 which is relying on AXIS 1.2.x as engine. Currently, the code base relies on AXIS wsdd file for registering the WSRF web services. Is there a way I can configure the WSDD file so I won't have to register all the services I want to run on MUSE 1.0/WSRF 1.1?

Re: test

2006-12-14 Thread Manuel Ernstberger
I can see your mail. If you don't get the mails then you certainly haven't subscribed properly to the mailing list. Perhaps you have not clicked on the confirmation link yet? Original-Nachricht Datum: Thu, 14 Dec 2006 11:20:11 +0200 Von: "asaf.lahav" <[EMAIL PROTECTED]> An: ax

test

2006-12-14 Thread asaf.lahav
Can anyone see my mail? For some reason I'm not getting the mails I am sending to the mailing list.

Re: Where is WSDL2Java

2006-12-14 Thread Philipp Perner
Try org.apache.axis.wsdl.WSDL2Java in axis.jar Helen Stephanopoulos schrieb: I have downloaded Axis 1.4, however, I cannot find where wsdl2java resides. Thanks Check out the all-new Yahoo! Mail beta