Re: Axis2 and JBoss 4.0 and Asynchronous Webservices

2006-03-13 Thread Brian Shields
Tony, Thats great, Ill get stuck into it. Thats pretty much what I assumed would be the way to do it. The only problem I can forsee having is having a SessionBean as the Web Service endpoint rather than a POJO. It should still be straight forward though and a simple JNDI lookup should connect

Re: Axis2 and JBoss 4.0 and Asynchronous Webservices

2006-03-13 Thread Antony Wilson
Brian, I really did not do anything special for deploying Axis2 to JBoss 4.0.3. I unzipped the Axis2 war into the JBoss "deploy" directory and deployed the Axis2 webservices to the Axis2 "services" directory (as described in the Axis2 docs). By default, JBoss 4.0.2+ uses tomcat's classloading

Re: Setting URN in EndpointReference class

2006-03-13 Thread Sricharan Anand
Hi Eran,Thanks for your reply. To answer your question on why my EPR has 2 addresses, please see this blog(the .Net webservice I am communicating with is using a similar architecture):http://www.dynamic-cast.com/mt-archives/50.htmlAs you can infer from the above article/blog, the first URI belo

WSDL2Java and SimpleType doing *strange* things.

2006-03-13 Thread Scott McCoy
When given the declaration...                                WSDL2Java generates a Bean class that has a get_value (named after the internal _value a less complex type declaration has?) and set_value method for accessing the value, but when deployed Axis outputs a wsdl that ha

Bean deserialisation problem

2006-03-13 Thread Rui Alberto L. Goncalves
Hi all! Axis version: 1.3 tomcat: 5.5.7 jdk:1.5.0_02 I'm having problems while trying to deserialize a java bean using complex types. Bean: MyBean.java - Operation : doSomething( InputDataObject ) InputDataObject has the following properties : - AuthenticationData auth

RE: Too Many Parameters, failing during complie

2006-03-13 Thread Alick Buckley
Hi,   I have not counted them, but Java does have limits. Java limits the number of method parameters to 255 or 254 or less if parmeters are of type long for double. This limits the number of member variables that an Axis generated bean class can support to 254, because a constructor is cre

Re: Axis2 and JBoss 4.0

2006-03-13 Thread Brian Shields
Thats a bit disappointing, maybe i was a bit naive thinking it would be straight forward. I need to have a serious think how i will progress. I am not willing to stop using axis2, ive too much time invested now and everything set up the way i need it for my own research. Unfortunately i also ha

failure when trying to build axis2

2006-03-13 Thread Loreno Oliveira
Hi,when I try to build the axis source I got the following problem:+| Executing multiproject:install-callback Apache Axis 2.0 - WSDL| Memory: 8M/11M+ Attempting to download XmlSchema-SNAPSHOT.jar.Response content length

[Axis2] Sender=null trying to use version 0.95-SNAPSHOT

2006-03-13 Thread tore.larsen
Title: [Axis2] Sender=null trying to use version 0.95-SNAPSHOT Hei, I have tried to use generated stub from my client class:  /* Create the client stub for service invokation */     DLExternalInformationStub stub = new DLExternalInformationStub(null, endpointServiceURL);   

Re: Axis2 and JBoss 4.0

2006-03-13 Thread robert lazarski
I haven't mixed JBoss and Axis2 together yet - but I know both reasonably well independently. I've used JBoss and EJB with JWSDP alot. Internally JBoss 4.0.x comes with Axis 1.x - though strangely their docs and examples favor JWSDP. Furthermore, It tends to be more natural to use a Statelful ses

autptyping question

2006-03-13 Thread Siddhartha Subramanian
Using 1.3 and turning on Autotyping (axis.doAutoTypes) on the client wsdd makes axis base64 encode the headers, is there some way this disable this encoding?   Any information will be helpful   Regards, Siddhartha G. Subramanian (Sid) MCP Base - Web Services .Do or do not. There

Re: Anne can u please tell me what is interoperable data type.

2006-03-13 Thread Anne Thomas Manes
If the response comes back as a Dataset type, then you will have to parse and process the response using DOM.On 3/12/06, Giri < [EMAIL PROTECTED]> wrote:Hianne pls gieve me suggestions ,is there any major modification in the dot net coding.(becoz they have already coded using data set).   as we ag

Re: null namespace generated for qualified elements

2006-03-13 Thread Anne Thomas Manes
Now, according to your WSDL, the child element of the SOAP Body should be called "tns:PutSCIRequest". But your child element is call "tns:PutConfigRequest". Anne On 3/13/06, Vikas Singh <[EMAIL PROTECTED]> wrote: Anne, Thanks for your help.I tried changes suggested by you but it did not work.WSDL f

Re: An RFC example needed!

2006-03-13 Thread Anne Thomas Manes
Niels,You're right -- the Apache SOAP page should provide a warning that tells you to use Axis 1 instead. Axis 2 isnt feature-complete yet, so I don't think it's appropriate to put the same warning on the Axis 1 page. Axis 1 is Apache's current production release SOAP engine. Given that you've alre

Re: An RFC example needed!

2006-03-13 Thread robert lazarski
Take a look at the migration guide: http://ws.apache.org/axis2/0_93/migration.html There will be a new axis2 release in the upcomming days, and this page will have an axis 1.x to axis2 data binding (wsdl) example. In the meantime, you can take a peek here: http://issues.apache.org/jira/browse/

Re: Why Can't I run WSDL2Java on this WSDL?

2006-03-13 Thread Anne Thomas Manes
Jason,You have multiple schemas with a targetNamespace of "http://www.opengis.net/wcs". Make sure that you haven't defined the same element or type more than once. Also, you must import the "gml" schema into the "wcs" schemas in order to reference elements and types from the "gml" schema. Likewis

Axis2 and JBoss 4.0

2006-03-13 Thread Brian Shields
Hi All, I am currently using Axis2 and WSS4J as a test environment for some secure services. I want to now deploy these secure services on a JBoss 4.0 AS. My experience with JBoss is limited, this work has been carried out by another member of the group. We have an ejb application which uses a

An RFC example needed!

2006-03-13 Thread Niels Baloe
Hi all, I have a problem. Last week I needed to implement a webservice, I saw Apache SOAP, heared some good things about it, so I used it to implement my webservice, and it worked quite fine in no-time. Then I needed to do things with a WSDL and I found out about Apache Axis. Hmmm, well, so I

Re: How to Deploy Axis1.3 webservice on HTTPS enabled Tomcat server

2006-03-13 Thread Junaid . Bhatra
See the section on Security in the Axis Wiki http://wiki.apache.org/ws/FrontPage/Axis It has a section on deploying and accessing Web Services over SSL - Junaid Rhimbo

Re: [Axis2] EchoNonBlockingDualClient problem

2006-03-13 Thread robert lazarski
Could you start another thread with an axis2 prefix mentioning jboss ? I know jboss with web services ok, but it was with either axis 1 or jwsdp - not axis2 . Are you using wsdl and ejb ? Robert http://www.braziloutsource.com/On 3/13/06, Brian Shields < [EMAIL PROTECTED]> wrote:Tony,Apologies for

Re: [Axis2] EchoNonBlockingDualClient problem

2006-03-13 Thread Brian Shields
Tony, Apologies for jumping into this thread on an unrelated issue but i notice you have axis2 deployed on JBoss 4.0. I am about to undertake this task and was wondering if there was any resources on the web to help in it. I dont have a lot of experience with JBoss so not looking forward to it

org.xml.sax.SAXParseException: Premature end of file.

2006-03-13 Thread Hans Rupp
Hello, i've got the following problem. I'm using Axis1.3. I generated the client- and server-classes for my webservice with wsdl2java. I also wrote a simple proxy, which forwards the request and sends back the response, to get through my firewall. I got the following problem: When i use my client

Re: axis2 and mtom

2006-03-13 Thread Brian Shields
Thanks Thilina, MTOM was obviously not switched by default in my deployment. I will explore Secure MTOM, it seems perfect for my needs. Regards, Brian. Thilina Gunarathne wrote: Hi Brian, See my comments below... On 3/12/06, *Brian Shields* <[EMAIL PROTECTED] > wrot

Re: Setting URN in EndpointReference class

2006-03-13 Thread Eran Chinthaka
Hi Sricharan, Let me explain how EndpointReference class (EPR) works with Axis2. It models the same EPR concept in WS-Addressing EndpointReference. So you can set only one address to that. I exactly can not understand why you need to have two addresses, for the same EPR, one for internal and one

Re: null namespace generated for qualified elements

2006-03-13 Thread Vikas Singh
Anne, Thanks for your help.I tried changes suggested by you but it did not work.WSDL file: http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns=" http://myns/schemas/2006/02/26/sciwsdl" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" name="NewWSDLFile" target

Re: WS-Addressing headers in generated Stub(Cont.)

2006-03-13 Thread Deepal Jayasinghe
Hi Chinthka , I think you are the best person to answer this question :) Sricharan Anand wrote: > Thanks Deepal for your reply. I tried what you said below and still > couldn't get it to work - maybe i am doing something basically wrong. > > Here is the issue in more detail: > > Like I said befo

Re: WSDL2Java changed WSDL

2006-03-13 Thread Deepal Jayasinghe
pls read (http://www.developer.com/open/article.php/3589126 item 3) when we auto generate we can not get back the original WSDL , but I dont think there will be interoperability problem with that. Lianghwa Jou wrote: > Hi, > > When followed the used guide and deployed the sample > "Axis

Re: [Axis 2] Exposing an existing java service

2006-03-13 Thread Deepal Jayasinghe
First you have to write a services.xml , in your case it may like below; net.foo.SchedulerServiceWs [optionla] http://www.w3.org/2004/08/wsdl/in-out"; class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/> Next create a service archive file , then you are done :)

Re: Attachment Exception: End of physical stream

2006-03-13 Thread Rodrigo Ruiz
Hi Dave, maybe the following link can be of help for your problem :-) http://wiki.apache.org/ws/FrontPage/Axis/AttachmentProblems Regards, Rodrigo Ruiz