Re: problem with WSDL2Java

2002-06-07 Thread James Black
[EMAIL PROTECTED] wrote: > James, there USED to be a bug in Java2WSDL with overloaded operations > that has been fixed. If you could pull down a nightly build of AXIS > and give it a try, let us know whether your problem goes away. > > The problem is that overloaded operations should have their

Type mapping is giving me some problems from stub code.

2002-06-07 Thread Christopher Carver
Howdy, I'm trying to create some client code based on the stub code generated from WSDL2Java and I'm having a slight issue with this (de)serialization type mapping stuff and could use some help. I was under the impression that the client didn't have to worry about properly type mapping complex

cant evaluate the static intializer

2002-06-07 Thread Abhishek Agrawal
Am sorry for posting this message again, but no one replied to it. I am having a problem evaluating following static functions in the constructor of my web service. MessageContext.getCurrentContext() I tried the althernate static function AxisEngine.getCurrentMessageContext() This also does

re: problem with WSDL2Java

2002-06-07 Thread butek
James, there USED to be a bug in Java2WSDL with overloaded operations that has been fixed. If you could pull down a nightly build of AXIS and give it a try, let us know whether your problem goes away. The problem is that overloaded operations should have their input and output clauses named so th

How to set an initialization parameter for an Axis service?

2002-06-07 Thread KWard
Can I set parameters, say in my deploy.wsdd file, to be read by my service code? Thanks, Ken Ward

re: problem with WSDL2Java

2002-06-07 Thread James Black
Hello, I am having a problem that confuses me, using WSDL2Java. I have the second beta version of axis installed. I don't know if this is a bug. I included three files. makeit.sh is my script to create the stubs. The source for the stubs is the java file. The WSDL file is created from the j

Bean Serialization - NullPointerException

2002-06-07 Thread Mark Kurley
I am getting a NullPointerException (see end of message) when calling a web service. I have noticed that this is only happening if the "Bean" for the web service extends another class. Example: public class BaseBean implements java.io.Serializable { private int count;

org.xml.sax.SAXException: No such operation

2002-06-07 Thread Edwards, Jeff
Hi, I am having a problem with the following wsdl: http://www.w3.org/2001/XMLSchema"; xmlns:hw="urn:HealthWelfareSchema" xmlns:fh="urn:FESCOHeadSchema" xmlns:org="urn:OrganizationSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";

RE: SOAPHeaderElement.addTextNode() ???

2002-06-07 Thread Wimmer, Matthias
Anna: I analyzed your code and figured this out: You sent: username password The SOAPEnvelope expected: string string In the first case "Authentication" belongs to the namespace "ns1" (="Data") and in the second case "Authentication" belongs

RE: AXIS to .NET interoperability error!

2002-06-07 Thread Stickley, Jim
For those that are interested in this issue:   It appears that this problem is a bug in .NET SOAP client.  Microsoft support staff has indicated to me that this will be fixed in .NET version 2 released late 2002.   Since we have MSDN support agreement, we will be getting a pre-release pat

RE: SOAPHeaderElement.addTextNode() ???

2002-06-07 Thread Anna Chen
But the service written in .NET can't recognize my username and password??? The SOAPEnvelope I sent: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> username password

Re: Axis to Javascript using MS Soap

2002-06-07 Thread Heitzso
Bob, Have you dug into PocketSOAP. I was impressed with it when I played with it. Cheers, Heitzso On Wed, 2002-06-05 at 16:39, robert woodley wrote: > > Requirements: Consume SOAP services (from an AXIS > server) in Javascript on Windows. The javascript > should have no browser dependencies,

RE: SOAPHeaderElement.addTextNode() ???

2002-06-07 Thread Wimmer, Matthias
Try this method: user.setObjectValue( "Enter any String" ); This creates a tag like the following: Enter any Sting best regards Matthias Wimmer -Original Message- From: Dunn, Scott [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 11:54 AM To: '[EMAIL PROTECTED]' Subject:

RE: SOAPHeaderElement type?

2002-06-07 Thread Wimmer, Matthias
Try this method: SOAPHeader.setObjectValue( "Enter any String" ); This creates a tag like the following: Enter any Sting Did you mean this? best regards Matthias Wimmer -Original Message- From: Anna Chen [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 11:38 AM To: [E

SOAPHeaderElement.addTextNode() ???

2002-06-07 Thread Dunn, Scott
I want to add a couple of elements to the SOAP header, I used to be able to do this with Apache SOAP 2.2. With Axis, SOAPHeaderElement.addTextNode() is documented as being not supported. How do I add a text node to an element? Why does Axis implement this interface in this fashion? Sample code t

sending XML data

2002-06-07 Thread Wimmer, Matthias
Hi, I am just creating a few examples to become familiar with Axis. The call to services using RPC works quite well. But now I would like to send structured data to a service. So the SOAP-Body should look something like that: 9 12 35 That's a difference

SOAPHeaderElement type?

2002-06-07 Thread Anna Chen
Does anyone know how to define SOAPHeaderElement type as String? Thanks! Anna

Problem using MessageContext.getCurrentContext() (java.lang.NoClassDefFoundError)

2002-06-07 Thread Abhishek Agrawal
I am trying publish a webservice that can be configured at deploy time. For this i add the following line to my deploy.wsdd The config.properties file has some information which i try to get in the constructor of my web service. Here is i uses the following code in the constructor of the web

Adding header to fault messages

2002-06-07 Thread Wörner Till
Title: Adding header to fault messages Hi, I need a little help with headers here. If my service generates an AxisFault, can I add a header to the fault message? I have a handler for a session id always send to the server, which attaches this session id to the outgoing messages also. But

RE: How TO get the IP address of the client that sent the request ?

2002-06-07 Thread dev
Thanks a lot cedric At 09:37 07/06/02 -0400, you wrote: >HTTPServletRequest req = >msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); >req.getRemoteAddr(); > > >-Original Message- >From: dev [mailto:[EMAIL PROTECTED]] >Sent: Friday, June 07, 2002 6

RE: How TO get the IP address of the client that sent the request?

2002-06-07 Thread thomas . cherel
Title: RE: How TO get the IP address of the client that sent the request? HTTPServletRequest req = msgContext.getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST); req.getRemoteAddr(); -Original Message- From: dev [mailto:[EMAIL PROTECTED]] Sent: Friday, June 07, 2002 6:14 AM To: [E

Java2WSDL with static parameters

2002-06-07 Thread Abhijit Dixit
Hi, I've been using Java2WSDL to create WSDL files for my Apache SOAP server for some time now. A few of my classes, which are mapped as complex types in the WSDL, have some static final variables used for some internal computation that don't need to be in the SOAP packet. Since these members

EJB Web Service example with Jonas open-source EJB server

2002-06-07 Thread Pierre-Yves Gibello
We just posted sample EJBs deployed as web services, using both Apache Axis and Apache SOAP, and the Jonas open-source EJB server (http://www.objectweb.org/jonas). The Apache Axis example is available at http://alpha.experlog.com/xml/jonasaxis The Apache SOAP example is available at http://alpha

Re: How to use TCPMon

2002-06-07 Thread Heitzso
minor FYI ... on Linux I use tcpflow to monitor an interface w/o rearranging my ports ... makes life a little easier. On Wed, 2002-06-05 at 16:42, Thombathu, Parameshwara wrote: > I am new to axis and trying to use TCPMon. The service I am using is located > on "service-hostname" with port numbe

How TO get the IP address of the client that sent the request?

2002-06-07 Thread dev
Hello, How can I get the IP address of the client that sent the request? Thanks

Using TCPmon with proxy

2002-06-07 Thread Frédéric MOLINIERES
Hi, I'm looking for using TCPmon to listen port 80 on my localhost and forward to a server who is behind a proxy serveur. I tried to set up the tcpmon config to : listenPort = 80 targetHost = free.fr targetPort = 80 proxy seting = 172.55.0.1 port = 8080 Thanks for your help. Frédéric

RE:Axis web services for MySQL Connection.

2002-06-07 Thread Jiri Kunstat
Hi, I'd be also interested in Java equivalent of .NET DataSet type in context of web services. Especially if anybody knows specification .NET DataSet or some free implementation. Although Systinet WASP contains JDBC connectivity provided by JNDI connector which works over SOAP, each database oper