problem with session management

2007-03-01 Thread Filip Pekarek
Hello, I've got problem getting right response from server. Webservice on server is written in .NET. I invoke a Login service with right parameters (it works in a browser). The service use cookies on client side, so I guess that could be my problem. I've found macro in axis2/c

[Axis2] link error - missing axis2_rest_sender_get_param_string() method

2007-03-01 Thread Dave Meier
axis2_rest_sender_get_param_string is declared and called in rest_sender.c, but there is no method supplied. Generating Code... Creating library ..\deploy\lib\axis2_http_sender.lib and object ..\deploy\lib\axis2_http_sender.exp rest_sender.obj : error LNK2019: unresolved external symbol

Re: [Axis2/C] Passing axiom node to xerces

2007-03-01 Thread Dinesh Premalal
Hi Simon, Simon Elbaz [EMAIL PROTECTED] writes: Hi, I would like to transmit an axiom_node_t or axiom_element_t (axis2c-src-0.96) to a Xerces parser (xerces-2.7.0) through for example a stringbuffer message. Is it possible to do it and how ? If you need a node as a string there is a

Axis2C IIS settings - doubt in IISforAxis2c.txt document

2007-03-01 Thread Vijayalakshmi.VenkadaSwamy
Hi, I am trying to add the filter for isapi_redirect.dll in IIS for mod_axis2_IIS.dll using IIS management console as per the documents points Using the IIS management console, add isapi_redirect.dll as a filter in your IIS/PWS web site. The name of the filter should reflect its task

Re: [Axis2] link error - missing axis2_rest_sender_get_param_string() method

2007-03-01 Thread Dushshantha Chandradasa
this is fixed now. try with the latest svn. Dushshantha On 3/2/07, Dave Meier [EMAIL PROTECTED] wrote: axis2_rest_sender_get_param_string is declared and called in rest_sender.c, but there is no method supplied. Generating Code... Creating library ..\deploy\lib\axis2_http_sender.lib

RE: Axis2C IIS settings - doubt in IISforAxis2c.txt document

2007-03-01 Thread Dave Meier
Hi Viji, I followed the directions in the iis text file and the filter shows green in the IIS console. Are you using IIS 6.0 or 5.1? The filter appears to be for 5.x only, so maybe that's the problem. I did all the steps in: How to configure IIS module for Axis2C Use the Axis2C vc project

[AXIS2] MessageContext to SOAPMessage

2007-03-01 Thread Lorenzo
Hi, i have a problem... I have a org.apache.axis2.context.MessageContext and to work on attachments i should use the SAAJ api, but how can i obtain an org.apache.axis2.saaj.SOAPMessageImpl from a MessageContext? Thx! - To

Re: [AXIS2] MessageContext to SOAPMessage

2007-03-01 Thread sumedha rubasinghe
Hi Lorenzo; Go through the example located @ axis2-home/samples/soapwithattachments It demonstrates how to use SwA to send attachments. /sumedha Lorenzo wrote: Hi, i have a problem... I have a org.apache.axis2.context.MessageContext and to work on attachments i should use the SAAJ api, but

Axis and Apache XML-RPC api

2007-03-01 Thread Oscar
Hi all, I'm a newbie in web services and after lots of reading I'm trying to evaluate Apache Axis and Apache XML-RPC api. The following questions come to my mind: 1- does Axis make any use of xml-rpc internally? 2- does an Apache XML-RPC based web service peform better than a

Re: [AXIS2] MessageContext to SOAPMessage

2007-03-01 Thread Lorenzo
I just saw that sample, but it didn't help me... I'm at server side, and i have a service using Axis1.4. Now i have to rewrite it in Axis2, but there is nomore the getMessage() in MessageContext class to retrive a SOAPMessage object. Maybe i can do the same things without using saaj (starting

[Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Sebastian Roschke
Hello, due to memory efficiency I work with SwA to send messages based on java streams. Is there a possibility to secure such messages with Rampart? Is there any support for SwA in Rampart planned for future releases? Regards, Sebastian signature.asc Description: OpenPGP digital signature

Re: MOTM and Encoding/Decoding

2007-03-01 Thread Thilina Gunarathne
Hi, OMElement result = servClient.sendReceive(method); System.out.println(result); I get this body: soap:Body/soap:Envelope PassExcelBinaryResponse

axis 1.4: Axis Fault Charset

2007-03-01 Thread Peter
hi, is there a possibility to set the charset of the axis fault from utf-8 to iso-8859-1 thanks, peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Thilina Gunarathne
Rampart has the capability to secure attachments send using MTOM.. I'm not sure whether is there or planned support for SwA.. Thanks, Thilina On 3/1/07, Sebastian Roschke [EMAIL PROTECTED] wrote: Hello, due to memory efficiency I work with SwA to send messages based on java streams. Is there

HTTP Authorization Header

2007-03-01 Thread Thomas michelbach
Hi, I'm trying to pass the Authorization header via HTTP. Im using axis2 1.1.1 and trying to set the options like that HttpTransportProperties.Authenticator auth = *new* HttpTransportProperties.Authenticator(); auth.setUsername(username); auth.setPassword(password);

Re: [AXIS2] Echo ws with headers

2007-03-01 Thread Thilina Gunarathne
You can get this done by putting a custom written handler in to the outflow.. This guide[1] will help you out.. Thilina [1] http://ws.apache.org/axis2/1_1_1/modules.html On 2/28/07, keith chapman [EMAIL PROTECTED] wrote: If you try getCurrentMessageContext() from the skeleton what you get is

Re: [AXIS2] MessageContext to SOAPMessage

2007-03-01 Thread Lorenzo
Still stuck... i still need to retrive a SOAPMessage from the MessageContext.. for example: java.util.Iterator it = msg.getMessage().getAttachmentsImpl().getAttachments().iterator(); where msg is a MessageContext... How do i rewrite it in AXIS2?? If i find a way to obtain a

Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Sebastian Roschke
Hi Thilina, thanks for the answer. I know that Rampart is able to secure MTOM messages. But utilizing MTOM is not usable for large messages. The amount of required memory is that high it is not usable for our project... I don't know the excact reasons for that, but in our performance tests the

Issue with Axis when sending abstract class to .NET webservice

2007-03-01 Thread David Elliott
I am testing some interoperability between a Java Client using Axis and a .NET ASMX Webservice and am experiencing a problem and was wondering if anyone has an idea of what is going on. If I have a class that contains a data member that is abstract and try to pass a derived class type into

[AXIS2] Builders and formatters for REST

2007-03-01 Thread keith chapman
Hi all, I have implemented messageformatters and messageBuilders for REST. The following message formatters have been set in the default axis2.xml. messageFormatter contentType=application/x-www-form-urlencoded class=

RE: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Ryan Nelsestuen
I have done some investigating in the Rampart module and one reason it uses a lot of memory is that in the RampartEngine it creates a RampartMessageData which appears to convert the entire message to a DOM and then back to OM. Bypassing this processing by modifying the Rampart module.xml allows us

Send an attachment in response with soap headers

2007-03-01 Thread Romain Conseil
Hello, I'm pretty new in web services and axis... Here is the simplified class file IDataCenter.java package com.cnes.sitools.amda; import java.util.Date; import javax.activation.DataHandler ; public interface IDataCenter { public DataHandler getParameter(String mission, String

RE: Web Service sent hook

2007-03-01 Thread Punnoose, Roshan
Haha, ok. I was looking at the code in AxisEngine.java and the Phase code as well, and maybe there is a way to do this without code changes. If I declare a Post-Dispatch phase, without specifying the class attribute, it will be a default Phase that does nothing. Then if I implement my own CleanUp

RE: setOperationContext

2007-03-01 Thread Punnoose, Roshan
Sorry to keep bringing this up, but how do I get access to the OutMessageContext. I'm assuming that the MessageContext.getCurrentContext() will only bring back the InMessageContext? Roshan Punnoose Phone: 301-497-6039 -Original Message- From: Punnoose, Roshan [mailto:[EMAIL PROTECTED]

Re: sendReceive and sendRobust

2007-03-01 Thread Rishi krish
Hi Keith/Depal I had read that article and I beleive still I have few questions on this: Whats an in-only operation - is it mapping to an operation like void test(OMElement om) on the Service? I tried that operation type with sendReceive and it worked [the service was also deployed in axis2 with

arrayMapping usage

2007-03-01 Thread cudatha
Hi , i have defined a bean using beanMapping in Wsdd file. do i need to use arrayMapping if i am using the array of beans in method signatures? what difference it makes by using arrayMapping tag? -chandra

Session Management for axis2 ServiceClient

2007-03-01 Thread Thomas michelbach
Hi, I'm having a problem with session using a Service Client. I have two methods calling two different operations of a web service. The webservice is not implemented in axis2. I need to use a session so the web service can identify the axis2 client by each call. My class defines a single

Is there a way to programmatically get the content of server-config.wsdd?

2007-03-01 Thread Kathy Chan
Hi, I would like to find out if there is a way I could get the content of server-config.wsdd programmatically. I understand that server-config.wsdd is created when I call the Axis AdminClient with the Axis servlet URL and a deploy.wsdd file. The server-config.wsdd file is generated into the

Axis user problem

2007-03-01 Thread bdevil
Hi! I am relatively new to axis. I was able to install axis and the happyaxis part shows fine. Every thing except the the list action works. When called, it returns the following error: And now... Some Services AXIS error Sorry, something seems to have gone wrong... here are the details:

Re: MOTM and Encoding/Decoding

2007-03-01 Thread Derek Clayton
Thank you for the very fast response. If possible please post us some numbers of the time comparison. Make sure to avoid the System.out part when doing the comparison (this encoding takes time :( )... First let me explain the setup. The two machines are identical hardware...Pentium 4 2.8GHz

System property locations

2007-03-01 Thread Robin Harvey
Hi, Apologies for the newbie question. I need to use Saxon in my service, and I'm struggling to figure out where to set the system property needed to achieve this. I've tried making calls to System.setProperty() in my service implementation class, but this results in class not found exceptions

RE: Benefits of using Message style WS

2007-03-01 Thread Spies, Brennan
If you have overloaded operations in WSDL, you cannot use doc/literal wrapped style. In the wrapped pattern, you require an element to have the same name as the operation, and you cannot have two elements with the same name in XML. Other than that, doc/lit wrapped has the nice advantage that it is

RE: System property locations

2007-03-01 Thread Ryan Nelsestuen
You can probably pass them into Tomcat as command line options in the Tomcat startup .sh file... (e.g. add -Dsome.property=foo to the java command). Sometimes you can set an environment variable that will automatically be read and included as part of the startup script (e.g. weblogic has

Unable to find serviceContextId

2007-03-01 Thread Punnoose, Roshan
Anyone ever see this error before: Unable to find corresponding context for the serviceGroupId: some large ID I'm using the nightly build Roshan Punnoose Phone: 301-497-6039 BEGIN:VCARD VERSION:2.1 N:Punnoose;Roshan FN:Punnoose, Roshan ADR;WORK:;2115 LABEL;WORK:2115

Re: MOTM and Encoding/Decoding

2007-03-01 Thread Davanum Srinivas
Derek, Could you please log a JIRA bug and upload the sample code? Let's try to create the scenario on our boxes... thanks, dims On 3/1/07, Derek Clayton [EMAIL PROTECTED] wrote: Thank you for the very fast response. If possible please post us some numbers of the time comparison. Make sure

Set Read Timeout Programatically

2007-03-01 Thread Johnson, Larry D \(LJOHNSON\)
All, Is there anyway to set a requests read timeout programmatically? I know it can be set within the axis2.xml file; however, the value there is fine for most requests. I need to extend this value for only one or two request types. Regards, Larry Johnson

RE: Set Read Timeout Programatically

2007-03-01 Thread Ryan Nelsestuen
There is a setTimeOutInMilliSeconds method on the Options class if you are using the ServiceClient. _ From: Johnson, Larry D (LJOHNSON) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 12:08 PM To: axis-user@ws.apache.org Subject: Set Read Timeout Programatically All,

trouble with namespace url in wsdl file

2007-03-01 Thread Donahue, Bill
I have a two enet addresses on a server. When I request the wsdl file from my browser: http://gcnss2.atsdev.sensis.com/DBRI/services/AssetInfoService?wsdl this is an excerpt of what I see: …. wsdl:output name=getAllAssetsResponse wsdlsoap:body

Re: Benefits of using Message style WS

2007-03-01 Thread Joshua White
Brennan, Thanks for the reply. I understand the value of the doc/literal wrapped style. I was hoping to go one step further though. Axis 1.X supports RPC, Document, Wrapped, and Message style services. I was hoping to determine the benefits of using Messsage style services over doc/literal

Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Thilina Gunarathne
Also, some research I did indicated (if I understood it correctly) that in Axis1.1.1 MTOM doesn't really work as an attachment - it ALWAYS will get encoded as Base64 embedded in the message - there was a config option previously (in Axis1.0) that allowed some sort of parameter to define binary

RE: Benefits of using Message style WS

2007-03-01 Thread Spies, Brennan
The Message style, as defined in Axis 1.x, is really just raw XML (no databinding). You would, of course, use this if you did not want Java - XML databinding. E.g., you want to do a transformation with XSL or XQuery, or do your own XML parsing, etc., etc. -Original Message- From:

Re: Benefits of using Message style WS

2007-03-01 Thread robert lazarski
If I understand the question correctly, then applying: -d databinding none To wsdl2java would be the way to do this in axis2. See: http://ws.apache.org/axis2/tools/1_1/CodegenToolReference.html HTH, Robert On 3/1/07, Spies, Brennan [EMAIL PROTECTED] wrote: The Message style, as defined

Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Thilina Gunarathne
Hi Sebastian, thanks for the answer. I know that Rampart is able to secure MTOM messages. But utilizing MTOM is not usable for large messages. The amount of required memory is that high it is not usable for our project... There can't be any difference between the memory consumption of SwA MTOM

Re: Benefits of using Message style WS

2007-03-01 Thread Joshua White
Exactly. I am trying to determine if there is any benefit of creating a service this way. Are you still able to specify a schema for both your input/output arguments in the wsdl file if you send messages this way? -Josh On 3/1/07, Spies, Brennan [EMAIL PROTECTED] wrote: The Message

RE: Benefits of using Message style WS

2007-03-01 Thread Spies, Brennan
Yes. This is independent of your databinding choice. -Original Message- From: Joshua White [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 12:46 PM To: axis-user@ws.apache.org Subject: Re: Benefits of using Message style WS Exactly. I am trying to determine if there

RE: Benefits of using Message style WS

2007-03-01 Thread Spies, Brennan
The Axis 1.x user's guide is using style in this context to refer to both the WSDL style and the databinding choice. The only difference then b/n Document and Message is that Message has no databinding. -Original Message- From: Spies, Brennan Sent: Thursday, March 01, 2007 12:49 PM

Axis and HTTP Proxy question

2007-03-01 Thread Mario Felarca
Hello, I have a Java client running through Java 5.0 that is utilizing Axis to connect to an https endpoint. It appears that the Call object I am using builds up a direct socket connection (socket:// PROXY=DIRECT) to do this, even if I have specified an HTTP proxy that it should be using.

Wrap Array and Null Pointer Exceptions :

2007-03-01 Thread John Eapen
I am using Axis 1.3 and would like to know if the issue related to wrapArrays has been resolved in later versions of Axis. Currently we see null pointer exceptions as a result of this ambiguity. In the following example we are not using the undocumented option of wraparrays and probably using

Re: Is there a way to programmatically get the content of server-config.wsdd?

2007-03-01 Thread Davanum Srinivas
You can use the org.apache.axis.utils.Admin instead of the AdminClient. See usages here: http://www.google.com/search?hl=enq=org.apache.axis.utils.AdminbtnG=Google+Search -- dims On 3/1/07, Kathy Chan [EMAIL PROTECTED] wrote: Hi, I would like to find out if there is a way I could get the

Re: [Axis2][Rampart] Rampart and SwA

2007-03-01 Thread Davanum Srinivas
[EMAIL PROTECTED] please subscribe first using rampart-dev-subscribe@ On 3/1/07, Thilina Gunarathne [EMAIL PROTECTED] wrote: Hi Sebastian, thanks for the answer. I know that Rampart is able to secure MTOM messages. But utilizing MTOM is not usable for large messages. The amount of required

Re: Axis and HTTP Proxy question

2007-03-01 Thread Mario Felarca
Ok..a couple of additional questions and some interesting behavior. The first items is that I was trying to convert my endpoint into a URI, and when I did a super.cachedEndpoint.toURI() from within the Stub class, it actually fired a correct network connection, with https://host and proxy=HTTP

RE: How can I set wsdlFile attribute in the WSDD ?

2007-03-01 Thread WANG Chi
Hi, I need this too. Because Axis 1.4 seems can't generate wsdl in which an element has minOccurs=0 attribute automatically -Original Message- From: John Eapen [mailto:[EMAIL PROTECTED] Sent: Friday, March 02, 2007 2:27 AM ? To: axis-user Subject: How can I set wsdlFile attribute

how to configure java2wsdl to generate minOccurs=0 attribute

2007-03-01 Thread WANG Chi
Hi all, I need to generate wsdl from a java interface in which an element has attribute minOccurs=0, can axis 1.4 generate this? thank you very much Best Regards, WANG Chi

Re: how to configure java2wsdl to generate minOccurs=0 attribute

2007-03-01 Thread Martin Gainty
Wang- java -classpath %CLASSPATH%;. org.apache.axis.wsdl.Java2WSDL %1 -location=http://localhost:8080/axis/services/%1 -o %1.wsdl replace %1 with the name of the Java class Martin-- --- This e-mail message (including

Re:how to configure java2wsdl to generate minOccurs=0 attribute

2007-03-01 Thread Pierpaolo Pagnoni
In http://ws.apache.org/axis/java/user-guide.html you can find all the info, expecially in http://ws.apache.org/axis/java/user-guide.html#Java2WSDLBuildingWSDLFromJava you can read how to produce a wsdl from a java interface This guide is about Axis1.2 but I use that with Axis1.4 Regards P.

RE: How can I set wsdlFile attribute in the WSDD ?

2007-03-01 Thread WANG Chi
Hi Eapen, I've found this. In wsdd in service element you can add a subelement wsdlFile to specify the handcoded wsdl, for example wsdlFileinvocationmanager.wsdl/wsdlFile I put this wsdl in WEB-INF/classes, so it is in classpath Regards, WANG Chi -Original Message- From: WANG

RE: how to configure java2wsdl to generate minOccurs=0 attribute

2007-03-01 Thread WANG Chi
Hi Martin, Thank you. But this seems doesnot work. I use the ant task to do this, axis-java2wsdl typemappingversion=1.2 style=WRAPPED use=LITERAL classname=com.aaa.InvocationManager location=${invocation-url} bindingname=InvocationManagerSoapBinding namespace=urn:card.soap.ota.gemplus.com

Re: Unable to find serviceContextId

2007-03-01 Thread Deepal Jayasinghe
yes , you are sending an invalid service group id to the server. One issue might me session has timeout. Thanks Deepal Punnoose, Roshan wrote: Anyone ever see this error before: Unable to find corresponding context for the serviceGroupId: some large ID I’m using the nightly build

Re: Session Management for axis2 ServiceClient

2007-03-01 Thread Deepal Jayasinghe
Hi Thomas; Please create a JIRA , seems like we need to support different session ids , at the moment we support JSSION but not ssnid. Thanks Deepal Hi, I'm having a problem with session using a Service Client. I have two methods calling two different operations of a web service. The

RE: [axis2] problem with 'enableRESTInAxis2MainServlet' flag

2007-03-01 Thread Nalini Srivastava
Hi, I am trying to enable my webservice to handle both REST and SOAP. I am currently using ADB for databinding. Also I changed the ' 'enableRESTInAxis2MainServlet' flag to true in axis2.xml file. Please see the file snippet below: !--parameters help to tweak the message handling

Re: [axis2] problem with 'enableRESTInAxis2MainServlet' flag

2007-03-01 Thread Deepal Jayasinghe
Hi Nalini ; As I can see you are using Axis2 1.1 release , any possibility of checking with nightly builds ? Even in current code base we are no loner use that parameter as well , only one parameter to control the REST support. Thanks Deepal Hi, I am trying to enable my webservice to