Soap Message whit MTOM enabled Can't Work

2009-03-30 Thread Yuanfeng Zhang
Hi, We get the latest axis2c source code from svn, built it with Visual C++ 2008, and run it as a client on Window XP platform. It really works without MTOM enabled. BUT, when it is set to be MTOM enabled, it cannot work at all. The server side is Apache2 server with axis2c module, and the

Re: Soap Message whit MTOM enabled Can't Work

2009-03-30 Thread Manjula Peiris
Zhang, Seems to me your message doesn't have any xop:Include elements ? Are you creating the data_handlers correctly in your client code ? Please see the mtom sample for more information. Thanks, Manjula. On Mon, 2009-03-30 at 14:31 +0800, Yuanfeng Zhang wrote: Hi, We get the latest

How to wrap the Calculator WSDL for .Net?

2009-03-30 Thread Sam Carleton
I just created a .Net client to call the sample Calculator service that is in the Axis2/C source and it has the standard calling convention of: Calculator.addResponse add(Calculator.addRequest request); According to what I read in Developing Web Services with Apache Axis2 by Kent Ka lok Tong, if

Re: What is the configuration settings mechanism?

2009-03-30 Thread Supun Kamburugamuva
You can put it as parameters in services.xml Supun On Mon, Mar 30, 2009 at 11:12 PM, Sam Carleton scarle...@miltonstreet.comwrote: How does Axis2/C handle configuration settings for a service? I don't want to hard code in things like the DB connection info and other such info. What is the

Re: How to wrap the Calculator WSDL for .Net?

2009-03-30 Thread Uthaiyashankar
Hi Sam, You can use svcutil.exe to generate C# code. When you generate code using svcutil, you can see the code is generated as you expected. I am attaching the code I generated using svcutil for your reference. Regards, Shankar On Tue, Mar 31, 2009 at 5:38 AM, Sam Carleton

RE: configure client.axis2.xml programmically

2009-03-30 Thread Werner Heinsohn
Hi, I tried to provide the userToken auth info in the following way, but did not succeed, since the soap header is still missing in the request: String serviceUrl = myServiceEndpoint; String repository = myRepositoryPath; ConfigurationContext ctx =

Re: DataHandler.getName() always returns 'MyByteArrayDataSource' if the ds is ByteArrayDataSource

2009-03-30 Thread Chinmoy Chakraborty
Andreas, I am using Axis2 1.4.1 and I am using following AXIOM version: axiom-api-1.2.7.jar axiom-dom-1.2.7.jar axiom-impl-1.2.7.jar and axis2-saaj-1.4.jar axis2-saaj-api-1.4.jar I know these are old jars. Does the latest code fixes the issue? Please send me the url from where I can get AXIOM

wsdl2java issue in upgrading from axis 1.2 to 1.4

2009-03-30 Thread Rishi Renjith
Hello, In my project, we are planning to upgrade from axis 1.2 to axis 1.4. But when we tested, we noticed that wsdl2java is not generating some java classes which it used to generate in axis 1.2 For eg, with the wsdl structure as below, complexType name=ItemEntry sequence element

Help with wsdl2java

2009-03-30 Thread Frank Vyncke
I, Am starting to develop a 'client' for a gSOAP based server, using MTOM attachments. I have a wsdl file, but when I try to compile the wsdl file, I get an exception with the following message: Caused by: org.apache.axis2.schema.SchemaCompilationException: can not find the element

Re: wsdl2java issue in upgrading from axis 1.2 to 1.4

2009-03-30 Thread Jean-christophe cazeaux
Hello, I got exactly the same issue. This occurs with axis 1.3 and axis 1.4. If you add a foo attribute in your wsdl like this : complexType name=ItemList sequence element name=foo type=anyType/ element name=ItemEntry type=abcd:ItemEntry minOccurs=0 maxOccurs=49 nillable=true/

Re: Help with wsdl2java

2009-03-30 Thread robert lazarski
On Mon, Mar 30, 2009 at 1:18 PM, Frank Vyncke frank.vyn...@esko.com wrote: I, Am starting to develop a 'client' for a gSOAP based server, using MTOM attachments. I have a wsdl file, but when I try to compile the wsdl file, I get an exception with the following message: Caused by:

RE: How do we configure Axis to write the proper host name in the WSDL that it generates?

2009-03-30 Thread Ghazzaoui, Ramez (NIH/NLM/LHC) [C]
Hi all, If anyone knows for sure that this cannot be done in Axis 1.6 please let me know so that I stop hoping/waiting for a solution. Cheers, -Ramez From: Ghazzaoui, Ramez (NIH/NLM/LHC) [C] Sent: Friday, March 27, 2009 5:13 PM To: axis-user@ws.apache.org

Axis2Fault -Transport out not set error

2009-03-30 Thread codewzrd
I am connecting to a 3rd party .NET Web service using Axis2. It works fine when I connect to their QA service. This service is using HTTPS. But when I change the End Point URL to point to Production AND change the URL in the constructors of the stub to the same URL, I get this Axis Fault. What

Re: JAX-WS with complex types problems?¿

2009-03-30 Thread HamletDRC
Almost one year later I experience the same issue. Does anyone have a solution to this? lujop wrote: Hi, I've problems making a simple web service that instead of only primitive types returns a bean. What I want is to work as a basis with beans and annotate them. I always get a

The service class cannot be found for this AxisService -- JAX-WS with Axis2 problem

2009-03-30 Thread Ramesh Vishwanatham
All I am having problem with a JAX-WS based web service using Axis2. Below is the Exception stack when client tries to reach this service: [ERROR] The service class cannot be found for this AxisService. java.lang.RuntimeException: The service class cannot be found for this AxisService.

Axis Client Stub base64 encodes user/password

2009-03-30 Thread Davis Ford
Hi, I have a simple client generated from the wsdl. I'm using: axis-1.4.jar axis-jaxrpc-1.4.jar axis-saaj-1.4.jar wsdl4j-1.6.2.jar I have the following simple call to post to a web service: import javax.xml.rpc.ServiceException; import javax.xml.soap.SOAPException; import

problem during schema generation

2009-03-30 Thread Chris van Es
Hi, I've recently began to have a problem with axis2 1.4.1 where during deployment of our service in tomcat 6.0.18, I get an error that the aar file is not valid and fails to load. This code has previously worked and no changes have be made to the methods exposed via the SOAP interface except

RE: problem during schema generation

2009-03-30 Thread Chris van Es
Sorry, just to make things clearer, the inner class isn't exposed via the SOAP interface in either the facade class or any of the response objects, it should be encapsulated out of sight of these. Chris. -Original Message- From: Chris van Es Sent: Tue 3/31/2009 12:41 AM To: