Re: Axis2 .NETproblem

2006-06-05 Thread Jim Collins
Hi Thilina,   I will send the TCPMON snapshots later. I am not sure that there are any stack traces from the .NET client. As far as I am aware the client calls the operation and the return object that is null.   Regards   Jim - Original Message - From: Thilina Gunarathne

Re: [Axis2] Stateful services question

2006-06-05 Thread Deepal Jayasinghe
Hi Michele pls see my comments below Michele Mazzucco wrote: >Hi all, > >If I'm right the application scope allows me to build steteful web >services since there is only one service instance. > Yes >What happens if >several invocations happen concurrently? Only one passes through (and >all othe

Re: [Axis2] Stateful services question

2006-06-05 Thread Deepal Jayasinghe
Hi Michele; Yes , you can store states in service instance without having any problems . But if you store the state in service context external parties can access that good example could be a handler can change properties there in service context. Michele Mazzucco wrote: >Hi Deepal, > >ok, if I'v

Axis Handling Multi Part response

2006-06-05 Thread Nicolas-Viet Nguyen
Hi Everyone, Is it possible to have Axis capable of  handling multi-part soap response (Not MIME) as below? The style I am using is Document Literal.  As you can see I have two parts in the resonse at the same level, the second part which is Session simply returns the id.  When Axis parses this res

RE: Axis Fault: Premature end of file

2006-06-05 Thread Ryan Norris
Title: Axis Fault: Premature end of file I've seen this problem when the server couldn't find a deserializer for an object.  Registering a bean or type mapping for the object has fixed it for me.    -Ryan From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 05, 2006 5:32 P

Re: Problem with multiple operations in the same service

2006-06-05 Thread Jian Zhen
I guess I should have looked harder. I found this post from yesterday: http://marc.theaimsgroup.com/?l=axis-user&m=114946721715784&w=2 Does this mean this is not considered a bug in Axis and it won't be fixed? thx From: "Anne Thomas Manes" Date: 2006-06-05 0:26:23 Message-ID:

Re: Axis2 .NETproblem

2006-06-05 Thread Thilina Gunarathne
Can you post the message snaphots from TCPMON and the exact stack trace .net gave...  Thanks, ~Thilina  On 6/6/06, Jim Collins <[EMAIL PROTECTED]> wrote: Hi all,   I have a simple web service for uploading and downloading files that is MTOM enabled. I have used it with no problems from a Java cl

Re: AW: Axis arrays and .NET problem

2006-06-05 Thread Stanley Stanev
Martin, why did you send me this service description? is that related to the problem that I have? thanks, Stan Martin Gainty wrote: Stan-   The example of service  "java:RPC">       which deploys to %TOMCAT_HOME%\webapps\axis\WEB-INF\classes\org\apache\axis Ma

Re: AW: Axis arrays and .NET problem

2006-06-05 Thread Martin Gainty
Stan-   The example of service        which deploys to %TOMCAT_HOME%\webapps\axis\WEB-INF\classes\org\apache\axis Martin --   This email message and any files transmitted with it contain confidentialinformation intended only for the person(s) to whom this email message isaddressed.  If you ha

Problem with multiple operations in the same service

2006-06-05 Thread Jian Zhen
Hi all, I am new to Axis2 and am having some issues trying to figure out how to make multiple operations work in the same service. I have the following class public class GetReport { . public OMElement getReport (String authToken, String reportName,

Axis2SampleDocLitPortTypeSkeleton.java?

2006-06-05 Thread Wook Shin
Hello, I am a newbie to Axis2. I downloaded the binary v1.0, installed it, and am following 'Writing web service by code generating skeleton" part of the User's guide. However, I can't find "Axis2SampleDocLitPortTypeSkeleton.java" file in my axis2 directory. Is there anyone who had the same probl

Re: java.util.Date in response for RPCMessageReceiver

2006-06-05 Thread James Taylor
I tried Calendar and I don't get an exception, however my web service client cannot interpret the structure it receives for the Calendar value.  Here's the error I get when the client receives the response:   Validation failed: error: Date value is malformed: java.util.GregorianCalendar[time=11494

Re: Soap monitoring error

2006-06-05 Thread robert lazarski
There's also an applet, and for an alternative try tcpmon. HTH, Robert http://www.braziloutsource.com/On 6/5/06, Saehoon Cheon <[EMAIL PROTECTED] > wrote:I am struggling with setting up the soap monitoring. I just followed the instruction " http://ws.apache.org/axis/java/soapmonitor-user-guide.h

Soap monitoring error

2006-06-05 Thread Saehoon Cheon
I am struggling with setting up the soap monitoring. I just followed the instruction " http://ws.apache.org/axis/java/soapmonitor-user-guide.html#intro ". But in step 4, Administration screen doesn't show anything like attached picture. If it is not working properly, are there other ways, for examp

Re: Changing Default Time Zone in CalendarDeserializer?

2006-06-05 Thread robert lazarski
I'd give an annotation in your xml schema a shot. This example is for JAXB which of course Axis doesn't support. Axis2 does support a wider range of databinding libs, including jaxbri - though I'm not sure how well it works at this point. You could be better off looking at xmlbeans or jibx . I'm sh

SOAP exception while trying to externalize:

2006-06-05 Thread Arsalan Zaidi
Hi.I've trying to construct a SOAP mesg and this is the exception I'm getting. I've tried everything short of standing on my head and the error just refuses to go away. Any hint as to what I'm doing wrong would be appreciated. The Document seems to be picked up and parsed correctly, but the conten

Axis Fault: Premature end of file

2006-06-05 Thread Arvind.Bir
Title: Axis Fault: Premature end of file Hi all, I am getting following error, what is missing? AxisFault  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException  faultSubcode:  faultString: org.xml.sax.SAXParseException: Premature end of file.  faultActor:  fau

Changing Default Time Zone in CalendarDeserializer?

2006-06-05 Thread Brad Lohnes
Hello,   I am new to the list and apologize if this question has already been answered – I spent a few hours searching for the issue but did not find it.   Here is the issue:   When converting XML dateTime types, axis converts to java.util.Calendar, which is fine. However, the impleme

Axis2 .NETproblem

2006-06-05 Thread Jim Collins
Hi all,   I have a simple web service for uploading and downloading files that is MTOM enabled. I have used it with no problems from a Java client but there are problems with a .NET client. I have the TCP monitor and the .NET client calls a connection operation that returns a simple string.

Run RESTClient, Module not found error

2006-06-05 Thread Richard Han
Hi, I'm new to axis2. I try to run the RESTClient example but got: org.apache.axis2.AxisFault: Module not found the exception was thrown at: client.engageModule(new QName(Constants.MODULE_ADDRESSING) Can someone tell me what I'm missing? Thanks Richard --

Re: Tomcat5.5+Axis

2006-06-05 Thread Sidney Senna
Hi Martin, i didn't define the service in server-config.wsdd cuz i saw in the console: - Unable to find config file. Creating new servlet engine config file: /WEB-INFservice in server-config.wsdd. Is it right? thanks - Original Message - From: "Martin Gainty" <[EMAIL PROTECTED]> T

RE:custom serializer/deserializer

2006-06-05 Thread James Armstrong
Hi, It has come very apparent that I must write a custom serializer/deserializer. I am wondering if someone could point me to step by step set of instructions or an easy example of how this needs to be set up or are there docs that describe the process of setting up these items. Do I need to have a

Re: [Axis2] Stateful services question

2006-06-05 Thread Michele Mazzucco
Luc, Scott (ISD, IT) wrote: > Hi Michelle... > > I didn't read all the way through your Q before replying on the intent of > your instance variables. > > If you wanted a simple counter lock on "this". For more complex state > handling... you may look at the Memento pattern which you can l

Re: [Axis2] Stateful services question

2006-06-05 Thread Michele Mazzucco
OK Scott, this is much better than the previous answer :). So I understand the response to my questions is that with an instance only I have to handle the synchronization by my own and thus the solution would be: public class FooService{ private int counter = 0;//or declared as Ato

SAML in message response body

2006-06-05 Thread Flores, Raul
Title: SAML in message response body I built an axis client/service which adds a SAMLResponse to an outgoing message's soap body (see below).  The wsdl for this service has no reference to the SAML part of the response.  My question is: Can I get the client to ignore the SAML in this response

RE: [Axis2] Stateful services question

2006-06-05 Thread Luc, Scott (ISD, IT)
Hi Michelle... I didn't read all the way through your Q before replying on the intent of your instance variables. If you wanted a simple counter lock on "this". For more complex state handling... you may look at the Memento pattern which you can lock and update. public class FooService {

Re: [Axis2] Stateful services question

2006-06-05 Thread Michele Mazzucco
Hi Scott, please see my comments inline. Luc, Scott (ISD, IT) wrote: > Hi Michelle, > > Unless I'm not right, I think you might be wrong : ) > > Application Scope will create 1 instance...similar to using a singleton > class. Yes, that's right and this is my goal. By creating one instance on

RE: Error invoking Web Service from a Java client

2006-06-05 Thread Harish Hirasave
Hi All ,   I am re-submitting my problem. Attached is the WSDL. Any help would be appreciated.   Thanks Harish     I am getting the error below when I invoke my webservice from a java client using both axis-1.2 and axis-1.3.  Please help.     AxisFault  faultCode: {http://schema

RE: [Axis2] Stateful services question

2006-06-05 Thread Luc, Scott (ISD, IT)
Hi Michelle, Unless I'm not right, I think you might be wrong : ) Application Scope will create 1 instance...similar to using a singleton class. In this case, you should avoid using any stateful instance variables outside the method itself. You might be thinking of "request" level scope in whi

Re: [Axis2] Stateful services question

2006-06-05 Thread Michele Mazzucco
Hi all, If I'm right the application scope allows me to build steteful web services since there is only one service instance. What happens if several invocations happen concurrently? Only one passes through (and all others wait) or several threads run concurrently, possibly changing the service st

Re: org.xml.sax.SAXException: Processing instructions are not allowed

2006-06-05 Thread eliza_222
Jeff, Thanks for the reply. I serendipitously discovered that the error was caused by having a security constraint in my web.xml. Removing the constraint resulted in successful deployments of both sample dds and my own. -- View this message in context: http://www.nabble.com/org.xml.sax.SAXExce

Re: [Axis2] Stateful services question

2006-06-05 Thread Michele Mazzucco
Hi Deepal, ok, if I've well understood from [1], if the scope is set to "application" then only one instance of the service exists. So why should I store the system state into the service context and not into an instance variable (remember that there is only one service instance, and thus the inst

[Axis] How do I get wsdl2java to include code in generated stub for custom serializers/deserializers?

2006-06-05 Thread Ryan Norris
It looks as if wsdl2java doesn't support this. I took a look at JavaStubWriter and it doesn't support writing out any custom mappings. It does, however, write out bean mappings for me which seems strange since I have to explicitly list all bean mappings in my server-config.wsdd (it would be

Re: [axis2] How to initialize settings on startup of the service

2006-06-05 Thread studium-sbr
But I did not manage to specify in my properties the correct path to the log-file (FileAppender). I develop the service on my local machine; later the service will run under a different system. I use ant and I designed my build.xml that way, that I did not need to modify it - no matter where I w

RE: AW: Axis arrays and .NET problem

2006-06-05 Thread Dovholuk, Clint
I've had the same issue in the past... The way I solved it was to:     1.) start from wsdl     2.) use wsdl2java to generate all java classes AND the deploy.wsdd file (--server-side i believe to output the deploy.wsdd)     3.) copy the top part of the deploy.wsdd to the server-config.wsdd be

Re: [AXIS2] encryption issues [Interesting findings]

2006-06-05 Thread Anamitra . Bhattacharyya
I will be more than happy to test that. Just FYI - I engaged rampart in the global level [ie axis2.xml] and not per service [ie not in service.xml]. Also I have canged the axis2.xml.path and the axis2.repository.path in the web.xml to point to a folder in my drive. I have the modules under C:\axis2

Re: [axis2] How to initialize settings on startup of the service

2006-06-05 Thread Martin Gainty
Initialising you app via init is one way to accomplish the objective - But if your objective is to write enterprise level applications (governed by ant build and deploy tasks) You will STILL need to initialise the settings For this reason I recommend initializing using .properties Viel Gluck

RE: [Axis2] How to make soap request envelope with string[] as input parameter

2006-06-05 Thread Martin Gainty
Can you send us the WSDL you are working with Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not en

Re: Problems with Axis2

2006-06-05 Thread Michele Mazzucco
What about the /META-INF dir? Is it in the classpath (this way I could avoid to modify global config. files) or only $CATALINA_HOME/conf and $AXIS2_HOME/WEB-INF/classes are? Thanks, Michele Martin Gainty wrote: > dont forget log4.properties must be on the classpath -- > Viel Gluck, > Martin -- >

Re: [axis2] How to initialize settings on startup of the service

2006-06-05 Thread studium-sbr
Thanks Martin, setting up Log4J was not my problem - I got that to work. My point was where do initialisation works concerning the service. Depaal cleared this. See previous mial in this thread. Thanks anyhow Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet:

Re: [axis2] How to initialize settings on startup of the service

2006-06-05 Thread studium-sbr
Thanks Depal, I read in an arcticle that the paramter for init() is messageContext. http://www.developer.com/open/article.php/10930_3589126_3 With the serviceCcontext it works - Thanks for clearing this. Bille > -Ursprüngliche Nachricht- > Von: axis-user@ws.apache.org > Gesendet: 05.06.

jws style deployment

2006-06-05 Thread Phil Eastes
All ... Yes - I know I should read all the docs - but I just started on Axis2 today (from Axis1) and straight off setting up a web service with a 'jws' file doesn't seem to work. Anyone have any advice ? Phil - To unsubscr

Re: char is referenced but not defined

2006-06-05 Thread femke
oopswhat I meant is that the java includes a char variable and the Java2WSDL translates this to type=DefaultNamespace:char, which the WSDL2Java doesn't recognise and produces the following error java.io.IOException: Type {http://DefaultNamespace}char is referenced but not de fined.at org.apa

WSN Question: Query a resource for all the topic spaces and topics it supports

2006-06-05 Thread asaf lahav
Hi all,   I have gone through the WSN specs and didn't find it... but I figured it would be smart to ask anyway J Does WS-Notification specify an operation or a port type that would enable getting all the topic spaces and the topics in it?   Asaf Lahav VP R&D, Prima Grid LTD. Cellula

Re: Problems with Axis2

2006-06-05 Thread Ajith Ranabahu
Hi, What do you mean by "The wizard is working fine without axis2 code" ? I'm not sure how you would remove the axis2 jar and still make the wizard work ? On 6/3/06, aliban <[EMAIL PROTECTED]> wrote: Yes, I don't get any log4j errors anymore. However the eclipse wizard plug-in keeps on not worki

Re: char is referenced but not defined

2006-06-05 Thread Bruno Harbulot
Hi, Indeed, WSDL2Java probably doesn't recognise xsd:char (perhaps other tools do). However, this is incorrect, since there is no such thing as an xsd:char is the xsd specification (I'm assuming that you're refering to http://www.w3.org/2001/XMLSchema). xsd:byte is probably what you're looki

[Axis2] How to make soap request envelope with string[] as input parameter

2006-06-05 Thread nancy
Hi   I want to send the string[] as input to web service.I am creating the soapRequestEnvelope as follows:   Param contains the parameter name as key and value as value of that key.   private SOAPEnvelope getRequestEnvelope(String operationName,     Ha

char is referenced but not defined

2006-06-05 Thread femke
correct me if I'm wrong but does axis not recognise xsd:char? I get an error when trying to WSDL2Java a wsdl file that was generated by axis: java.io.IOException: Type {http://DefaultNamespace}char is referenced but not defined. When backtracking a bitt, axis appears to have generated the wsdl

Re: [Axis2] Stateful services question

2006-06-05 Thread Michele Mazzucco
What are the available options? What are the consequences of this setting? Is there any documentation about this issue? Thanks, Michele Deepal Jayasinghe wrote: > You have to add a attribute called "scope" into your service element , > as an example if you want to deploy your service in applicati

Re: axis compile error - package does not exist

2006-06-05 Thread femke
Hi Martin, Yeah, I've got the jar (landserf220.jar) in the classpath (see below), and it compiles ok if I do it with the javac command at the dos prompt, but axis doesn't seem to find the jar. So I then tried java org.apache.axis.wsdl.Java2WSDL instead, which appeared to work but then gave me a

Re: [Axis2] Stateful services question

2006-06-05 Thread Deepal Jayasinghe
You have to add a attribute called "scope" into your service element , as an example if you want to deploy your service in application scope , then you can do that by just changing your service element as follows ... Michele Mazzucco wrote: >Hi Deepal, > >what do you mean as "scop

Re: [Axis2] Stateful services question

2006-06-05 Thread Michele Mazzucco
Hi Deepal, what do you mean as "scope" and how can I configure my service scope? Thanks, Michele Deepal Jayasinghe wrote: > Hi Michele; > First that depend on the scope that your service going to deploy , lets > say your session scope is application then you can store state in > service context

Re: [Axis2] module design issue

2006-06-05 Thread Michele Mazzucco
Hi Deepal, thanks for your reply. Please see my comments inline. Deepal Jayasinghe wrote: > Hi Michele; > At the transport phase URL based dispatching is happening and Dispatch > phase other kind of dispatching happening. So once Axis2 find your > service you can do this re direction. This is t