Why SimplAxisServer does not work for attachments?

2004-02-02 Thread todd
The readme in samples/attachments (1.1) says: 2. Start a server. You must have a server running (ie., Tomcat) with the AXIS samples available to it. For this test, the AXIS SimplAxisServer is not enough. See the documentation for your server for details. I want to use attachments for fil

How The Heck To Use Helper Class To Create SOAP Header

2004-02-02 Thread Greg Pedder
I need a custom header (see below)  added to my soap message. When I created the client stubs using WSDL2Java, nothing was created for the header even though it was listed in the WSDL document. So, I ran WSDL2Java again giving it the "-H" option for the helper classes. So, I now have a helper

Re: Axis and Document Style RPC

2004-02-02 Thread Dimuthu Leelarathne
Hello Ben, Following is a WSDL for a doc\literal style web service. Hope this helps. :-). Regards, Dimuthu. http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:s="http://www.w3.org/2001/XMLSchema"; xmlns:s0="urn:Notification" xmlns="http://schemas.xmlsoap.org/wsdl/"; targetNamespace="urn:Notification"

RE: Overriding method signatures

2004-02-02 Thread Marepalli, Somesh
You can do overloading in WSDL if your starting document is a WSDL http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=5 1&t=000240 And if you are generating WSDL from Java code - I believe axis renamed operations appropriately... But a general note of cauting - In the Web ser

Overriding method signatures

2004-02-02 Thread Josh Rehman
Can I get Axis to expose overridden method signatures with Java2WSDL? For example, create(Person) and create(Project) are defined in the same interface. I would like to avoid writing something like createPerson(Person) and createProject(Project) but alas I am a SOAP neophyte. Thanks for your h

Service Naming: removing implementation class name from WSDL

2004-02-02 Thread Matt Munz
Hi all, How can I make sure that the name of my web service implementation class does not get into the WSDL?[1] Consider the following case. I have a class named SampleBean[2] that I want to be the implementation class for my web service, named BeanMessage.[3] Why do I see "SampleBean" in

How to suppress xsi:nil="true" elements?

2004-02-02 Thread Yves Langisch
How can I suppress xsi:nil="true" elements in my SOAP Body? I looked through the source and found the 'hardcoded' sendNull flag (which is true) in SerializationContext. Is the only way to suppress them to modify axis' source? Thanks Yves

RE: namespace and java class mapping

2004-02-02 Thread christopher justin
I have done this in the build XML file...you could use the mapping XML tags within the , for example:: output="/src" deployscope="Application" verbose="true" url="${Service}"> From: "Marepalli, Somesh" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAI

RE: namespace and java class mapping

2004-02-02 Thread Marepalli, Somesh
Hi: For WSDL2Java, look at the --NStoPkg option. I believe it should address your problem It's equivalent to what Castor offers IMHO Regards -Somesh -Original Message- From: Liu, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 3:14 PM To: [EMAIL PROTECTED] Subject: n

namespace and java class mapping

2004-02-02 Thread Liu, Scott
Hi, All, In using WSDL2java to generate java classes Axis creates java packages using the namespaces by default. When there is only one namespace there is a command option "-p" to create classes for a user defined package. Does anyone know if there is a way to map more than one namespace to differ

Error accessing web services sequentially (java)

2004-02-02 Thread jason . s . cramer
I am attempting to execute two distinct web services calls to two separate systems that perform different tasks. I took the wsdl for each web service, and using the Axis wsdl2java tool, generated proxy code to connect to each.   I was successful!  I was able to make a SOAP call to and re

RE: return type of an XML doc ?

2004-02-02 Thread christopher justin
Thanks Wagh.. If I return the Document object, when I generate the WSDL through the Java2WSDL tool does Axis know to place the xsd:anyType in the WSDL or do I need to change the WSDL by hand? From: "Wagh, Shrikant" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> CC: "Wa

Re: How to remove "ns1" from Custom Header

2004-02-02 Thread Greg Pedder
Chris   Thanks for the reply. I really have no control over the server. It is up and running and working correctly. The problem is with my client request. Those "nsx" tags are the problem. I don't understand why Axis put the "nsx" in there by default. If I knew why they are put there automati

return xml to .net client

2004-02-02 Thread Cui
hi,all can anybody show me some example to build a web service with aixs which can retrun xml document to .net client ? I've build the service successfully in .net server and it's wsdl look like this : - http://schemas.xmlsoap.org/wsdl/http/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/

SSL Deployment problem

2004-02-02 Thread Safdar Ali
Hi all, I am having problem while deploying my simple web service with SSL on Tomcat 4.1.29, with J2sdk1.4.2.03...and Axis 1.1. The exception is   C:\tomcat4.1.29\webapps\axis\WEB-INF\classes>java org.apache.axis.client.AdminClient -lhttps://localhost:8443/axis/services deploy.wsddProcessing

Array of Sequences

2004-02-02 Thread Jens-Michael Klaus
Hi all, I am not quite sure whether this has been asked before, but I think there was a bugreport. I am not quite sure whether this bug-report really applies to me, so 'll ask anyway. When you have an array of a sequence, axis does not seem to use the name of the sequence-type but only put the el

Axis and Document Style RPC

2004-02-02 Thread Ben Brown
Apologies if this has been asked before: Does anybody have a simple example I can use for document style soap using Axis? (I.e. similar to the first few examples in the user guide?) I'm trying to write a client that will connect to any document style SOAP service but I don't know if this is possi

Re: Re: data transmission with SOAP

2004-02-02 Thread Guillermo Arias del Rio
Hello, thank you for the information. Only two more questions: Do you have a simple Java example how to do this? Are DIME attachments commonly supported? I ask this because we are developing a Linux server with Java and a Windows client with c++ and we use the wsdl file as interface description

Re: Potential bugs in Axis 1.2 alpha (java): java.lang.String mapping

2004-02-02 Thread BLIS Webmaster (Patrick Houbaux)
Hi all, Anybody has any thoughts/ideas about that problem? Regards, Patrick. BLIS Webmaster (Patrick Houbaux) wrote: Hi all, I made a small experience that could lead to some potential bugs in Axis 1.2 alpha. I will try to explain it clearly ;) 1- I used Axis 1.2 alpha to expose my webservice

Re: Can`t build from sources

2004-02-02 Thread Gabriel Dos Santos
Thanks for the help. I'll try with these versions because older ones definitely do not work. I'll tell you how it goes From: <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: Re: Can`t build from sources Date: Mon, 2 Feb 2004 00:19:32 -0500 (EST) Hi, the default gn