Questions about the SOAP Request

2004-06-29 Thread Tysnes Are Thobias
Hello! I'm using Axis 1.1 with Castor and found some "strange" feature I can't explain in my Document/literal/wrapped style WebService. This Request(1): http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc

RE: Signed SOAP messages

2004-06-29 Thread pagarwal
Digital Signature is a tool for achieving authentication. And SSL does a (Client/Server) authentication before the encryption process (that improvises confidentiality). So why do we need to do authentication again ( by signing the soap messages) ? At the application layer , are we assuming that  t

realpath

2004-06-29 Thread Dorner Thomas
Hi, I looking for a solution to get realPath in my WS-Implementation like I can do it with a servlet: ServletContext context = getServletContext(); String realPath = context.getRealPath(""); Do someone have any Idea how I can solve this problem? Thanks Tomi

Re: msgContext

2004-06-29 Thread Dhanush Gopinath
Where is this   SOAPService service = msgContext.getService();   piece of code written ? If its at the client sidc your message conetxt will be null.   Dhanush - Original Message - From: Lars Engel To: [EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 1:39 AM Su

Sending French value to the .net client from Axis webservice

2004-06-29 Thread Venkata Gopal Tummala
  Hi   I have a method that returns XML as a string in the Axis Web Service. When I pass French values in the return value XML, when it reaches the client some characters are getting messed up.   For Example, the value représentée becoming  repr?sent?e   When I send the French values from the .ne

PLEASE HELP WSDL2Java ComplexType Generation

2004-06-29 Thread NYY96
Hello,   Please help me I am in a terrible bind! I have the latest version of Axis and I have deployed many services before in it. For some reason the latest program I am writing is running into problems with WSDL2Java. It seems the utility does not create any of the object data classes, exce

msgContext

2004-06-29 Thread Lars Engel
Hi, another question. I am working on a code of plug-in. In the invoke method I try to obtain the service object: SOAPService service = msgContext.getService(); Why do I get null? Has the way to obtain the service changed? Thanks & best regards, Lars.

Re: Axis logging

2004-06-29 Thread Lars Engel
Benson Margulies wrote: Not in 'lib', in 'classes'. lib contains jars, and singleton property files are igored. -Original Message- From: Lars Engel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 29, 2004 3:20 PM To: [EMAIL PROTECTED] Subject: Axis logging Hi, I am depl

RE: Axis logging

2004-06-29 Thread Benson Margulies
Not in 'lib', in 'classes'. lib contains jars, and singleton property files are igored. > -Original Message- > From: Lars Engel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 3:20 PM > To: [EMAIL PROTECTED] > Subject: Axis logging > > Hi, > > I am deploying axis in Tomcat. Ho

RE: No SOAPAction Header Error

2004-06-29 Thread Anne Thomas Manes
The SOAPAction header is an HTTP header. It must be included in you input message. -Original Message- From: Robert Sanford [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 29, 2004 8:13 AM To: [EMAIL PROTECTED] Subject: FW: No SOAPAction Header Error This message was originally sent to the

Axis logging

2004-06-29 Thread Lars Engel
Hi, I am deploying axis in Tomcat. How can I set log properties for org.apache.axis.transport.http.AxisServlet ? Isn't it 'log4j.properties' in $TOMCAT_HOME/webapps/axis/WEB-INF/lib ? Best regards, Lars.

RE: Signed SOAP messages

2004-06-29 Thread Daniel Amadei
An alternative to the SSL (and protocol dependency) is to use XML Encryption (supported by Apache XML Security 1.1 (Beta) and IBM XML Security Suite.   In case of doubts, contact me.   []s Daniel C. Amadei - Brazil "Pridemore, Russell (MAN-Corporate)" <[EMAIL PROTECTED]> wrote: With SSL, you can

WSDL2Java Errors Creating Object Classes

2004-06-29 Thread NYY96
Hello,   I have a doc/lit web service which I am attempting to use WSDL2Java with. My problem is that I have a number of complex types in my XML Schema and reference these within my WSDL's. In the past the WSDL2Java has created specific object classes for these complex types.   For example,

Re: WSDL and schema include question

2004-06-29 Thread Shantanu Sen
Yes, using both the suggested options i.e using ./ and including namespace does not work. What is really strange is that if I change the WSDL so that the part specification is an element rather than a type, then WSDL2Java works fine. E.g. when I change the following to it works. Any id

RE: Axis 1.1 Release - WSDL2Java: expected classes are not generated

2004-06-29 Thread Christophe Roudet
I have run wsdl2java against your wsdl and didn't notice classes prefixed with '_' (I haven't set any namespace to package mapping). The ant task fragment: Here is the output: [axis-wsdl2java] WSDL2Java C:\Yo\Work\workspace\Engine\build/ContractManagementService.wsdl [ax

Re: WSDL and schema include question

2004-06-29 Thread Jeff Greif
Sorry, this advice is incorrect. is a way of building up the components in a single namespace from separate fragment schemas. The schema specified by *must* have the same target namespace as the including schema (or neither must have a target namespace). The namespace attribute should not be p

Not using the admin app

2004-06-29 Thread Benson Margulies
I'd like to build a completely wired-down webapp with an Axis soap service included therein. The default wsdd includes some machine-specific pathnames, so I can't just capture it and send it around. I'm poking gently at the axix-specific api, but I'm not finding the right thing if there is one. I

SV: .NET client accessing multiple Axis WSDLs

2004-06-29 Thread Göran Andersson
> Anand Natrajan wrote: > > >Hello! > >As part of my .NET and Axis interoperability work, I am > facing a piquant > >situation. I have written multiple web services using Axis. > Each of these > >web services defines a particular complex data structure > called Principal. > When I do so, > >.N

Re: .NET client accessing multiple Axis WSDLs

2004-06-29 Thread Anand Natrajan
Re: specify the same namespace, do you mean within the WSDLs itself? I already do specify the same namespace for the common data structure, and it doesn't work. Re: specify the same namespace, do you mean within VB? Tried that, but VB won't let you do it. It's sort of like trying to specify two va

Axis 1.1 Release - WSDL2Java: expected classes are not generated

2004-06-29 Thread Keast Ann
Hi, This is my first ground-up web service using the Axis 1.1 Release. The service has 2 operations: 1. getContract - returns contract information 2. getNavigation - returns a NavigationElement which will contain an unlimited amount of NavigationElements (to be openned in a TreeView control).

Re: .NET client accessing multiple Axis WSDLs

2004-06-29 Thread Vy Ho
Is it possible to merge all your wsdls into a same wsdl file? Or specify a same namespace for all of them? Anand Natrajan wrote: Hello! As part of my .NET and Axis interoperability work, I am facing a piquant situation. I have written multiple web services using Axis. Each of these web services

SQLException

2004-06-29 Thread Besite - Bart
Hello People,   I have just deployed my first Webservice and compiled a client application succesfully. Now when I run my client application I get back the following error :   An Axis Fault occurred: java.sql.SQLException: Unable to connect to any hosts due to exception: java.security.

Re: axis and ibm's 1.3.1 jdk...

2004-06-29 Thread Davanum Srinivas
don't use nightly in productionwait a bit at least till a formal beta/release-candidate. -- dims On Tue, 29 Jun 2004 12:27:17 -0400, Cervi, Anthony (PCLN-NW) <[EMAIL PROTECTED]> wrote: > > That worked. Sorry, I'm new to this open source stuff. Along with using > CommonsHTTPSender, it now

RE: axis and ibm's 1.3.1 jdk...

2004-06-29 Thread Cervi, Anthony (PCLN-NW)
That worked. Sorry, I'm new to this open source stuff. Along with using CommonsHTTPSender, it now even works with ibm's 1.3.1 jdk. Problem solved. Thank you! Given that this is a beta version, how comfortable should I be running this in production? -Original Message- From: Davanum

.NET client accessing multiple Axis WSDLs

2004-06-29 Thread Anand Natrajan
Hello! As part of my .NET and Axis interoperability work, I am facing a piquant situation. I have written multiple web services using Axis. Each of these web services defines a particular complex data structure called Principal. The definition, XML namespace and package name for this structure are

Echo base 64

2004-06-29 Thread Mayur Shetye
hello friends i am writing a webservice which sends one or more files from a directory encoded in base 64 format . The web service echos them back. i wanted to know a couple of things . 1. how do I associate the name of the files with the binary encoded data? 2. I am sending you the WSDL .

Re: axis and ibm's 1.3.1 jdk...

2004-06-29 Thread Davanum Srinivas
Can you please try a nightly? (http://cvs.apache.org/dist/axis/nightly/) -- dims On Tue, 29 Jun 2004 10:59:38 -0400, Cervi, Anthony (PCLN-NW) <[EMAIL PROTECTED]> wrote: > > i've upgraded to axis 1.2 beta so that i could use the CommonsHTTPSender. i've > recompiled the soap client from the wsd

FW: No SOAPAction Header Error

2004-06-29 Thread Robert Sanford
This message was originally sent to the Axis C++ User mailing list but I haven't gotten a reply from there so I'm trying the Java list since the server-side portion of the equation that is returning the error message is the Java side. Many thanks! rjsjr > -Original Message- > From: Rober

RE: WSDL and schema include question

2004-06-29 Thread Anne Thomas Manes
You also must specify the namespace that you are importing:   xsd:schema> wsdl:types>   From: Hrishikesh Kumar [mailto:[EMAIL PROTECTED] Sent

RE: axis and ibm's 1.3.1 jdk...

2004-06-29 Thread Cervi, Anthony (PCLN-NW)
i've upgraded to axis 1.2 beta so that i could use the CommonsHTTPSender. i've recompiled the soap client from the wsdl but now i'm receiving this error when invoking the web service. any ideas? thanks. Jun 29, 2004 10:49:33 AM org.apache.axis.encoding.DeserializationContextImpl getDeseria

Re: Message Style

2004-06-29 Thread David Beahm
Looks like you are on the right track. See "Service Styles - RPC, Document, Wrapped, and Message" at http://ws.apache.org/axis/java/user-guide.html HTH, David Beahm Hrishikesh Kumar wrote: Hi All, We already have an XML Document with us. I am currently using Axis and this is one of the servi

Passing an array revisited

2004-06-29 Thread David Beahm
I've been researching my earlier question about passing arrays, and am trying a few things (ie, create a jws that expects a String[] and generate the wsdl, etc.), but a simple example would really help. For instance, I honestly don't know what argument to give the call.addParamter for type --

RE: Signed SOAP messages

2004-06-29 Thread Chad Brandon
Use WSS4J: http://ws.apache.org/ws-fx/wss4j/ --- "Guha, Suteertha [IE]" <[EMAIL PROTECTED]> wrote: > SSL is for privacy, signatures are for > non-repudiation. > > > > I have had only one suggestion as to what to use for > SOAP signatures from > the mailing list. > > > > I am hoping for so

RE: Signed SOAP messages

2004-06-29 Thread Guha, Suteertha [IE]
SSL is for privacy, signatures are for non-repudiation.   I have had only one suggestion as to what to use for SOAP signatures from the mailing list.   I am hoping for some more useful pointers.   Thank you, Suteertha   -Original Message- From: [EMAIL PROTECTED] [mailto:[E

What if I already have my server implementation class?

2004-06-29 Thread Benson Margulies
With skeletondeploy=false, the ant task for wsdl2java still spits out a soap binding implementation class. I've already got such a class with a different name from the convention in here. Could there be an option to specify this class to the tool/task so that the deployment information would be cor

RE: parameter names

2004-06-29 Thread Benson Margulies
Adding the implementing class did the job, and also sorted out some other issues. > -Original Message- > From: Christophe Roudet [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 9:31 AM > To: [EMAIL PROTECTED] > Subject: RE: parameter names > > Be sure to pass both your interfac

RE: parameter names

2004-06-29 Thread Christophe Roudet
Be sure to pass both your interface and the implementing class, and to refer to the debug compiled classes. My ant task looks like: Christophe > -Original Message- > From: Benson Margulies [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 8

RE: Signed SOAP messages

2004-06-29 Thread Pridemore, Russell (MAN-Corporate)
With SSL, you can be reasonably sure that no one can listen to the conversation, but if the messages are signed as well, you can be sure of the identity of whom you are speaking with.  SSL alone does not do this.   Russ -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL P

Deployment in more than one location?

2004-06-29 Thread Benson Margulies
The generated service locator hardcodes a URL. Is there a 'best practice' for parameterizing this out to account for deployment in other locations?

ws-security.jar in TSIK

2004-06-29 Thread Crishantha Nanayakkara
Title: ws-security.jar in TSIK Hi, Trying to use Verisign toolkit for SOAP signing. But however I cant find ws-security.jar from the verisign TSIK bundle. Anybody has any idea? Regards Crishantha -

RE: parameter names

2004-06-29 Thread Benson Margulies
I did compile with symbols, and watched the '-g' show up in ant -v, and the parameters are all still named things like 'in0' in the deploy.wsdd file. (skeletondeploy=false). > -Original Message- > From: Christophe Roudet [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 8:33 AM >

RE: parameter names

2004-06-29 Thread Christophe Roudet
Try to compile your java code in debug mode, it works with Axis 1.1. Christophe > -Original Message- > From: Benson Margulies [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 29, 2004 8:23 AM > To: [EMAIL PROTECTED] > Subject: parameter names > > My code is compiled with symbols, but the

parameter names

2004-06-29 Thread Benson Margulies
My code is compiled with symbols, but the names in the maps in the wsdd and the wsdl are all fabricated. Is there any way to get meaningful names into the picture? (using the 1.2 beta)

Re: WSDL and schema include question

2004-06-29 Thread Hrishikesh Kumar
You need to mention the relative path of the xsd in the WSDL (may be ./BigTicket.xsd) Shantanu Sen <[EMAIL PROTECTED]> 06/29/2004 02:05 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject WSDL and schema include question I am trying to run wsdl2java o

Exception problem

2004-06-29 Thread Henning Mersch
Hi * ! I have a problem throwing an exception, which extends AxisFault. When this exception is located in a external JAR, I get on client side: soapfault: "soapenv:Server.userException" soapdescription: :"java.lang.reflect.InvocationTargetException" including the SAME exception (just changing p

WSDL and schema include question

2004-06-29 Thread Shantanu Sen
I am trying to run wsdl2java on a wsdl that includes an XSD in the types section. Here is the WSDL snippet targetNamespace="HelloWorldDescription" xmlns:impl="HelloWorldDescription" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http