Re: Very Basic Question

2006-07-31 Thread Soumadeep-Infravio
Are you guys coming up with something like MONO(Linux) for .NET or am I missing the point here!! Or is a C# implementation ;-) Just curious - Original Message - From: "Deepal Jayasinghe" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 01, 2006 12:16 PM Subject: Re: Very Basic Quest

Re: Very Basic Question

2006-07-31 Thread Deepal Jayasinghe
Unfortunately we do not have Axis2/.net implementation yet Dhakshinamoorthy, Hariharasudhan wrote: >Is there a Axis2/.Net like Axis2 /C . >I need to write a .Net webservice in Axis2 > >Regards, >Hariharasudhan.D >Syntel Inc. > >~ When I do good, I feel good. When I do bad, I feel bad. That's my

Very Basic Question

2006-07-31 Thread Dhakshinamoorthy, Hariharasudhan
Is there a Axis2/.Net like Axis2 /C . I need to write a .Net webservice in Axis2 Regards, Hariharasudhan.D Syntel Inc. ~ When I do good, I feel good. When I do bad, I feel bad. That's my religion.~ Abraham Lincoln Confidential: This electronic mess

READ TIME OUT using NONBlocking client

2006-07-31 Thread nancy
Hello,       I want to use callback means nonblocking axis client to call webservice.I am using following code for that.But even then read time out is occurring.As my process can take several hours in responding,so I need this kind of thing.Please help     *

RE: Java client using another web service

2006-07-31 Thread Bharadwaj, Nandita \(GE Healthcare\)
Which complex type you want to convert to java? You can use JavaUtils.convert in axis1.4. Nandita -Original Message- From: Sergio Stateri Jr [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 9:21 AM To: axis-user@ws.apache.org Subject: Java client using another web service

Java client using another web service

2006-07-31 Thread Sergio Stateri Jr
Hi, I need to call a web service that returns a complex type. How can I deserialize this return into a java class ? Thanks in advance, Sergio Stateri Jr. [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PRO

[Axis2 1.0] parameters in services.xml

2006-07-31 Thread Nirmit Desai
Hi all, I am trying to set a parameter in my services.xml file and get it in my service like this (all document/literal with ADB): SampleMember And in my service implementation class: private MessageContext msgCtx=null; public void init(MessageContext ctx) { msgCtx=ctx; System.out

Re: Axis 1.3: Axis Interoperability issue with .net

2006-07-31 Thread Pradeep Reddy
Anne, Thanks for your quick reply.I looked up JIRA and found this issue. http://issues.apache.org/jira/browse/AXIS-2267PublishedAsset is a subclass but I don't have any mixed type arrays. So this might not be the bug that you are referring to. I applied the patch to this issue to the org.apache.axi

Re: Axis 1.3: Axis Interoperability issue with .net

2006-07-31 Thread Anne Thomas Manes
This is a bug in the way Axis 1.3 manages arrays. On 7/31/06, Pradeep Reddy <[EMAIL PROTECTED]> wrote: Hi all, I am using Axis 1.3. My webservice is sending back a response that is similar to this for couple of contained objects. ... ... However, .NET is expecting .. .. and re

Axis 1.3: Axis Interoperability issue with .net

2006-07-31 Thread Pradeep Reddy
Hi all,I am using Axis 1.3.My webservice is sending back a response that is similar to this for couple of contained objects...However, .NET is expecting and returns null values for ContactInfo objects.ContactInfo is the type of object that client builds after recieving the respons

RE: [axis2] use spring configured bean inside axis2 as implementation class

2006-07-31 Thread Shaowei Mao
Dave, thanks for info. I solved class loader problem by setting current thread context class loader. This should work for me now.   Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader());   From: Dave Andreasen [mailto:[EMAIL PROTECTED] Sent: Monday, Jul

SoapEnv

2006-07-31 Thread Bret Kumler
I used the wsdl2java to generate the stubs. I was wondering how I can get the SOAP header information. I noticed the stub extends org.apache.axis2.client.Stub, from there I saw getFactory(SoapVersion), which returns a SOAPFactory, but it's protected. Any tips? Thanks! This e-mail message and

Use of MessageContext setProperty()

2006-07-31 Thread mojo cracker
Hi, Does any one know what is the impact of using MessageContext.setProperty() in a clustered server environment? Would the property get replicated in a manner similar to http session data? Would be nice to hear from some one who knows or has experienced this scenario. Thanks http://www.gillansinn

RE: [axis2] use spring configured bean inside axis2 as implementation class

2006-07-31 Thread Dave Andreasen
I had the same issue.  The problem is related to the Service using it’s own classloader and Spring wanting to use the thread context classloader.  See http://issues.apache.org/jira/browse/AXIS2-400.     There have been some extensions made to support Spring in Axis2 in the nightly builds.

[axis2] use spring configured bean inside axis2 as implementation class

2006-07-31 Thread Shaowei Mao
Hi, I am trying to use spring configured bean by creating spring container inside skeleton generated by wsdl2java to create my own implementation class for web service, but spring container BeanFactory can't load my classes packaged inside axis2 aar file. I think this is related to class lo

RE: stateful web service

2006-07-31 Thread Shaowei Mao
Engaging addressing module fixed the problem. I also need to extract service group id and set it in soap header for all requests in the same session. It would be nice to have a option in wsdl2java to generate these codes. Thanks -Original Message- From: Deepal Jayasinghe [mailto:[EMAIL PR

Re: [Axis2] Problems with wsdl2java

2006-07-31 Thread Anne Thomas Manes
Hmm But I just filtered through both the WS-Trust and WS-Addressing schemas, and neither includes a value of "none" in any processContent attribute. I wouldn't expect ADB to handle these schemas, but I do expect XMLBeans to do so. This looks like a bug in XMLBeans. Anne On 7/31/06, Martin

RE: Axis 1.3 WSDL2Java Overwrites the original files

2006-07-31 Thread Derek
Title: Message What I do is have my ANT script set up to run WSDL2Java to put files in a different source tree, 'build/generatedSrc', which has the same structure as my 'src' tree.   Then I have an ANT target which generates files into the 'generatedSrc' tree.   If I want to modify a file

Running services in distinct classloaders?

2006-07-31 Thread Guus der Kinderen
Hi, I'm currently running Axis inside a Jetty container. As far as I can tell, the soap services I generate use the classloader of that container. Is there any way I can control which service uses which classloader? Is it even possible to load services for a given container using a distinct classl

Axis, Tomcat, and MX4J Integration

2006-07-31 Thread Terrence Irving
I am working on a project that uses MX4J, Tomcat 5.5.17, and Axis 1.1.  As it is now, basically when Tomcat starts up, my MX4J MBean server code begins running.  My goal is to have the client connect to the server code using SOAP, hence the need for Axis.  For this project's purposes, deploying the

Re: [AXIS2] ReferenceParameter

2006-07-31 Thread Paul Fremantle
You're welcome its only because I do these errors so often that I'm good at spotting them :-)PaulOn 7/31/06, Fabien Couble < [EMAIL PROTECTED]> wrote: Thx Paul!! You were right... It was this stupid error   Thx a lot     - Original Message - From: Paul Fremantle To

Re: [AXIS2] ReferenceParameter

2006-07-31 Thread Fabien Couble
Thx Paul!! You were right... It was this stupid error   Thx a lot     - Original Message - From: Paul Fremantle To: axis-user@ws.apache.org Sent: Monday, July 31, 2006 5:18 PM Subject: Re: [AXIS2] ReferenceParameter FabienI think maybe its a simple code mistake.

Re: "No such operation" error

2006-07-31 Thread Paul Fremantle
Richard If you're just starting out you also might want to take a look at Axis2 which is significantly (4-5x) faster than Axis1. Paul On 7/31/06, Richard Jones <[EMAIL PROTECTED]> wrote: Hi Paul, > Can you post some code? Its hard to figure this out from the > description. It looks as if its

Re: [AXIS2] soap header

2006-07-31 Thread Paul Fremantle
Chinthaka Sounds like a great idea. Paul On 7/31/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote: David Illsley wrote: > Fabien, > If you want access to the SOAPHeader, you can get it through the > MessageContext. You can get this by adding the following method to > your skeleton (I think this wo

Re: [AXIS2] ReferenceParameter

2006-07-31 Thread Paul Fremantle
FabienI think maybe its a simple code mistake. You never do sender.setOptions(options) in the code you are showing here.So the options you are setting up arent used.Paul On 7/31/06, Fabien Couble <[EMAIL PROTECTED]> wrote: Hi all, I have a problem with the addressing module!!! Actually this

Re: Evaluating SOAP-Server

2006-07-31 Thread Paul Fremantle
Apache Axis2 does exactly what you ask. 1) It supports remote clients 2) It supports asynchronous calls and asynchronous services, so you can have the server call back when the response is ready (long running queries) 3) It supports bundling AJAX HTML clients that use the same services to build w

Re: Evaluating SOAP-Server

2006-07-31 Thread prashanth shivakumar
All the commercial app servers comes with a builtin SOAP server like IBM websphere,BEA weblogic etc... Also try JBoss..It should have webservices engine as well and its free..  On 7/31/06, Ted Jones <[EMAIL PROTECTED]> wrote: We have used the Systinet SOAP Server successfully.-Original Message-

RE: Evaluating SOAP-Server

2006-07-31 Thread Ted Jones
We have used the Systinet SOAP Server successfully. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Oliver Hirschi Sent: Monday, July 31, 2006 5:35 AM To: axis-user@ws.apache.org Subject: Evaluating SOAP-Server Hi, I'd like to change our application-server from corb

[AXIS2] ReferenceParameter

2006-07-31 Thread Fabien Couble
Hi all, I have a problem with the addressing module!!! Actually this is the code of my client:      WSTransferServiceStub stub = new WSTransferServiceStub(configContext, "http://localhost:8080/axis2/services/WSTransferService");    ServiceClient sender = stub._getServiceClient();  Endpoi

Re: [Axis2] Problems with wsdl2java

2006-07-31 Thread Martin Gainty
Carsten- http://www.filigris.com/products/docflex_xml/xsddoc/examples/html/XMLSchema/schemas/XMLSchema_xsd/complexTypes/wildcard.html xsd:wildcard valid values for attribute processContents are either "skip", "lax", "strict" ONLY "none" is not a valid in this context Viel Gluck, Martin Gaint

Evaluating SOAP-Server

2006-07-31 Thread Oliver Hirschi
Hi, I'd like to change our application-server from corba to soap. The main job of this application server is to interact with java-clients to make database-queries. Additionally there are a few jobs which takes a lot of time, so they should be done on server, not on client. In the future its poss

Re: [AXIS2] soap header

2006-07-31 Thread Davanum Srinivas
+1 from me Eran -- dims On 7/31/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote: David Illsley wrote: > Fabien, > If you want access to the SOAPHeader, you can get it through the > MessageContext. You can get this by adding the following method to > your skeleton (I think this works for all Messag

Re: "No such operation" error

2006-07-31 Thread Richard Jones
Hi Paul, Can you post some code? Its hard to figure this out from the description. It looks as if its incorrectly using SingleGUID as an operation name instead of the requestFileDetails which should be the op name. I am an idiot, sorry. In the process of pulling the code apart to send you th

Re: [AXIS2] soap header

2006-07-31 Thread Paul Fremantle
Oh thanks David and Chinthaka I'd missed that. Paul On 7/31/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote: Paul Fremantle wrote: > Fabien > > If you write your own message receiver then you can get this info, as > you are passed the MessageContext. From there you can navigate to the > header

Re: [AXIS2] soap header

2006-07-31 Thread Eran Chinthaka
David Illsley wrote: > Fabien, > If you want access to the SOAPHeader, you can get it through the > MessageContext. You can get this by adding the following method to > your skeleton (I think this works for all MessageReceivers): > No it doesn't happen for all the message receivers. I think the c

Re: [AXIS2] soap header

2006-07-31 Thread Eran Chinthaka
Paul Fremantle wrote: > Fabien > > If you write your own message receiver then you can get this info, as > you are passed the MessageContext. From there you can navigate to the > headers. One more addition. If you use any of the in-built message receiver, then again you will have access to the me

Re: [AXIS2] soap header

2006-07-31 Thread David Illsley
Fabien, If you want access to the SOAPHeader, you can get it through the MessageContext. You can get this by adding the following method to your skeleton (I think this works for all MessageReceivers): ... OperationContext _oc; public void setOperationContext(OperationContext oc){ _oc

Re: [AXIS2] soap header

2006-07-31 Thread Paul Fremantle
FabienIf you write your own message receiver then you can get this info, as you are passed the MessageContext. From there you can navigate to the headers. In a codegen skeleton I don't think you can (maybe I missed it). You could also modify the generated MessageReceiver to set it onto the object,

Re: "No such operation" error

2006-07-31 Thread Paul Fremantle
Richard Can you post some code? Its hard to figure this out from the description. It looks as if its incorrectly using SingleGUID as an operation name instead of the requestFileDetails which should be the op name. Paul On 7/31/06, Richard Jones <[EMAIL PROTECTED]> wrote: Hi Folks, I am trying

"No such operation" error

2006-07-31 Thread Richard Jones
Hi Folks, I am trying to get a test client to connect to my new service using Axis at both ends, but have encountered a problem which I can't understand. When I make a request, using a data type called "SingleGUID", I get an AxisFault thus: Exception in thread "main" AxisFault faultCode: {h

Re: [Axis2] Problems with wsdl2java

2006-07-31 Thread Carsten Ziegeler
Ajith Ranabahu schrieb: > Hi, > Have you tried with -d xmlbeans ? > I tried it with "-d none". With "-d adb" I get this exception: Caused by: org.apache.axis2.schema.SchemaCompilationException: Unsupported content Simple Content Extension ! at org.apache.axis2.schema.SchemaCompiler.processSimple

Re: [Axis2] Problems with wsdl2java

2006-07-31 Thread Ajith Ranabahu
Hi, Have you tried with -d xmlbeans ? Ajith On 7/31/06, Carsten Ziegeler <[EMAIL PROTECTED]> wrote: Hi, I'm trying to generate a java service using wsdl2java from latest axis2 svn, but I'm getting always the following exception. As far as I understand all this, the element RequestSecurityToke

[Axis2] Problems with wsdl2java

2006-07-31 Thread Carsten Ziegeler
Hi, I'm trying to generate a java service using wsdl2java from latest axis2 svn, but I'm getting always the following exception. As far as I understand all this, the element RequestSecurityToken has a type. I tried to generate client code with axis 1.3 and that worked though. Any help appreciate

[AXIS2] soap header

2006-07-31 Thread Fabien Couble
Hi all, I'd like to know if it is possible to have access to the SOAP  header in the implementation of the service (skeleton). Actually, I'd like to get some information. If it is not possible, I suppose I have to get this information in a module!!?   Thx Fabien This message contains infor

Re: [AXIS 2] WS-addressing module

2006-07-31 Thread Fabien Couble
Thx Paul I didn't know that... - Original Message - From: Paul Fremantle To: axis-user@ws.apache.org Sent: Monday, July 31, 2006 11:14 AM Subject: Re: [AXIS 2] WS-addressing module FabienWS-Management uses the normal extension point for WS-Addressing, which i

Re: [AXIS 2] WS-addressing module

2006-07-31 Thread Paul Fremantle
FabienWS-Management uses the normal extension point for WS-Addressing, which is the reference parameters. This extension point is ALREADY built in.   resource URI       ...    These can be set using the following Axis2 code:EndpointReference epr; epr.addReferenceParameter(OMElement el);PaulOn 7

Re: [AXIS2] problem addressing

2006-07-31 Thread Eran Chinthaka
Do you have servletapi jar in the classpath? Fabien Couble wrote: > > forgot the previous message!! > It was the soapmonitor module. it must be engaged at the server sid only!! > Sorry for disturbing! > > > - Original Message - > *From:* Fabien Couble

Re: [AXIS2] problem addressing

2006-07-31 Thread Fabien Couble
forgot the previous message!! It was the soapmonitor module. it must be engaged at the server sid only!! Sorry for disturbing!   - Original Message - From: Fabien Couble To: axis-user@ws.apache.org Sent: Monday, July 31, 2006 10:35 AM Subject: [AXIS2] problem addressi

[AXIS2] problem addressing

2006-07-31 Thread Fabien Couble
Hi all,   I have a problem to engage the addressing module with a stub. An exception is raised!! This is what I have done:       ConfigurationContext configContext =                  ConfigurationContextFactory.createConfigurationContextFromFileSystem                 ("C:/Program Files/Apa

Re: [AXIS 2] WS-addressing module

2006-07-31 Thread Eran Chinthaka
Hi Fabien, I think you got the point, but let me add couple things to this. First, about where to put the code to extracting the two parameters from the message and putting them back to the SOAP message. 1. You can put the code in AddressingHandlers, but with a flag to indicate whether WS-Manage

[AXIS 2] WS-addressing module

2006-07-31 Thread Fabien Couble
Hi everybody,   I have to adapt the WS-addressing module in order to make it WS-Management compliant. That's why I'd like to have your point of view.In fact, the WS-Management specification adds two attributes to the WS-addressing header.It is the attributes wsman:ResourceURI and wsman:Selec

Axis 1.3 WSDL2Java Overwrites the original files

2006-07-31 Thread Amit Andhale
Hi All, When I run WSDL2Java command, it generates the Stub files, which also overrides my existing files. Could you please help me in this context?   Regards Amit