AW: Using style Document in WSDD For Deployment

2003-03-06 Thread Oliver Adler
hi the problem ist the empty namespace in in0 element. Axis generates in the client ..Stub a wrong namespace definition. When you open the stub you will find the following declaration: static org.apache.axis.description.OperationDesc [] _operations; static { _operations = new org.apache.axis.d

Need help with Doc/Lit web service

2003-03-06 Thread Brain, Jim
Wrote a message based service using /samples/message Has one API, processTXLife(Element[] e) Wrote code, deployed using style=message, have been using it fine from Java. Under beta1, ?WSDL would gen an error Just upgraded to RC2, no more WSDL error WSDL is listed below Now, the .NET guys say there

RE: Using style Document in WSDD For Deployment

2003-03-06 Thread Krishnakumar B
hi   the tcpmon request is as follows   POST /Training/services/HelloWebService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.0 Host: localhost Cache-Control: no-cache Pragma: no-cache SOAPAction: "

WSDL would give me an error when I write in the WSDD: style="mes sage"

2003-03-06 Thread Ghershony, Arie
Hi, If I use: provider="java:MSG" it is allright. However when I use:style="message" How do I fix that? http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"; xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance";>

WSDL question

2003-03-06 Thread Brain, Jim
I've created a class (message type) and asked AXIS to let me do the work of parsing the XML, so I use the Process(Element[] e) type of API call. When I deploy this service, and ask for WSDL for it, it errors out. Any way to fix that? Jim Jim Brain, [EMAIL PROTECTED]

FW: RE: attachments to/from "MS SOAP Toolkit 3.0" and "Web Services

2003-03-06 Thread Paul Knepper
BTW. I'm using Axis 1.1 RC1 and the samtest.vbs (from the original attachments to/from "MS SOAP Toolkit 3.0" and "Web Services" post) on the client side. -Paul -Original Message- From: Paul Knepper Sent: Thursday, March 06, 2003 3:00 PM To: '[EMAIL PROTECTED]' Subject: RE: attachments

RE: attachments to/from "MS SOAP Toolkit 3.0" and "Web Services

2003-03-06 Thread Paul Knepper
Got the echo attachments service working with MS SOAP Toolkit. Thanks for all the great documentation Sam. Now if I wanted to save the file on the server what changes would I need to make in EchoAttachmentsService.echo(DataHandler dh) ? TIA, Paul

Target Class & SubClasses

2003-03-06 Thread Cory Wilkerson
Is there currently a Target subclass that will take field name "x" and attempt to resolve method "setX()" via reflection for my custom deserializer? Thanks, Cory

RE: EchoAttachmentsService wsdl generation error

2003-03-06 Thread Anne Thomas Manes
Can you copy and paste the WSDL into an email for us? At the very least can you show us the WSDL statements where "urn:EchoAttachmentsService" is used? Can you also send us the wsdd? The error is occurring because the WSDL processor is trying to to figure out what "urn:EchoAttachmentsService" is.

RE: Configuration error when deploying multiple Axis instances on a single app server

2003-03-06 Thread Joel Grenon
Title: Message I did workaround my problem by putting all Axis related JARs in the app server classpath. Now, my two applications are running well. But is this the only way to solve this problem? Is this how Axis should be installed? If that's the case, how do we upgrade a single application

Java2WSDL command errors

2003-03-06 Thread Ghershony, Arie
I used the command line to create a .WSDL file, buut encountered the following errors:  how do I work naround it?? D:\axis-1_1beta>java org.apache.axis.wsdl.Java2WSDL clientaxis.Battle.message.MessageService4 -l http://localhost:8080/axis/services/MessageService4  - The class java.u

Problem calling wrapped service from .NET

2003-03-06 Thread David Dhuyvetter
I have a simple class that I am exposing as a Web Service and calling from .NET: package com.mypackage; public class Greeting {   public String sayHello(String caller) {     return "Axis says hello to " + caller;   } } I use a simple deployment:               If I call deploy this in Axi

RE: WSDL changes.

2003-03-06 Thread Kellogg, Richard
Title: Interoperability Issue?? Check out the "Securing an Axis-based Web Service" (security.html) in the most recent releases (1.1 RC1 or 1.1 RC2).  I am not sure if it existed before those.   -Original Message-From: Ghershony, Arie [mailto:[EMAIL PROTECTED]Sent: Thursday, Marc

RE: WSDL changes.

2003-03-06 Thread Ghershony, Arie
Title: Interoperability Issue?? which document? -Original Message-From: Kellogg, Richard [mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003 2:02 PMTo: [EMAIL PROTECTED]Subject: RE: WSDL changes. Review the "Securing Axis" section of the docs.  It tells you how to o

Bean Serializer/ Deserializer

2003-03-06 Thread Mike DuVall
I have a question about how the built in BeanSerializer and BeanDeserializer determines what getters and setters to call. Do these classes just call every getter and setter on an a bean, or do they first look for data fields in the object, and then look for getters and setters that correspond t

Client in C++ Visual Studio. NET generate an error while reading WSDLservice in AXIS

2003-03-06 Thread Ghershony, Arie
Hi, My service published a WSDL. My client is trying to create Visual studio C++ .Net while she is trying to "Add a Web Reference to the the XML Web Service Client Project". It does not generate the srvice header file. I believe it is an issue of versioning. While reading a sample wsdl file i

Configuration error when deploying multiple Axis instances on a single app server

2003-03-06 Thread Joel Grenon
Title: Message Hi,   I have to distinct applications exposing WEB services using Axis hosted on the same app server. Both applications are distributed in a WAR which includes all axis JARs in the WEB-INF/lib directory.   I am using Axis 1_1RC1, but the problem was the same in previous ver

RE: WSDL changes.

2003-03-06 Thread Kellogg, Richard
Title: Interoperability Issue?? Review the "Securing Axis" section of the docs.  It tells you how to override the WSDL returned.   Take care, Rick   -Original Message-From: Ghershony, Arie [mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003 1:54 PMTo: '[EMAIL PROTECTED]'S

WSDL changes.

2003-03-06 Thread Ghershony, Arie
Title: Interoperability Issue?? How do I manually change WSDL document that was deployed??   Thanks. [Ghershony, Arie]   -Original Message-From: Anecito, Anthony (HQP) [mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003 1:15 PMTo: '[EMAIL PROTECTED]'Subject: Interopera

RE: EchoAttachmentsService wsdl generation error

2003-03-06 Thread Paul Knepper
Right now its running on a server behind our corporate firewall. This is a non-modfied deployment of the axis 1.1 RC1. So its the same stuff for that downloadable version. All I did was use the attachdeploy.wsdd to deploy it. -Original Message- From: Anne Thomas Manes [mailto:[EMAIL PR

Interoperability Issue??

2003-03-06 Thread Anecito, Anthony (HQP)
Title: Interoperability Issue?? Hi All, I was getting an Axis Fault message (sent back to the client) about serializer not being registered. My research so far indicates that I may need to use SOAPSerializer somehow to create a serializable class. I am using JAX-RPC from Sun for a very speci

RE: EchoAttachmentsService wsdl generation error

2003-03-06 Thread Anne Thomas Manes
Paul, Can you give us a pointer to the WSDL? It appears that the system views urn: as a namespace prefix, and it can't find a namespace declaration for the urn namespace. I suspect that the urn: is actually the scheme for a URI (e.g. the target namespace for the WSDL file) rather than a namespace

Help with WSDL2Java

2003-03-06 Thread Willis, Keith
Title: Help with WSDL2Java Hi all, I am new to axis and I am trying to consume a HelloWorld Web service. I have made a Hello World Web service already and it works (I can consume it in .NET). I am trying to create the proxy class for this HelloWorld Service in Java. I used the WSDL2Jav

How to construct a Message

2003-03-06 Thread rf
Is it possible to obtain the raw soap message (both input and output) from the call object? (I know of tcpmon, but I need the same in my program). If not I would like to use Call.setRequestMessage(msg) call.invoke(); msg = call.getResponseMessage(); msg.getSOAPPartAsString() Any examples of how

EchoAttachmentsService wsdl generation error

2003-03-06 Thread Paul Knepper
I get the following error when I select the (wsdl) link from the service listing page. The EchoAttachmentsService actual is running and the client can connect and everything works fine. I tried deploying without the "urn:" namespace but it didn't make any difference when trying the wsdl link.

Re: deploing error for stock sample

2003-03-06 Thread Gianni Pucciani
Gianni Pucciani ha scritto: Hi, the problem with my axis continue... Axis is installed and works fine. I've reached the step 6 in the User's guide, but when I try to deploy the sample with stock% java org.apache.axis.client.AdminClient -lhttp:8080/axis/services/AdminClient deploy.wsdd I recevi

AW: Axis 1.0 with JRE 1.3.1_02

2003-03-06 Thread "Geiß, Matthias"
Title: Nachricht You were right, some jar's were missing. However the xerces.jar was already in the classpath.   The missing ones were: dom.jar, sax.jar, jaxp-api.jar, xercesImpl.jar   which I got in the Java Web Services Development Pack at java.sun.com   Best regards, Matthias   ---

Client in C++ Visual Studio. NET generate an error while reading WSDLservice in AXIS

2003-03-06 Thread Ghershony, Arie
Hi, My service published a WSDL. My client is trying to create Visual studio C++ .Net while she is trying to "Add a Web Reference to the the XML Web Service Client Project". It does not generate the srvice header file. I believe it is an issue of versioning. While reading a sample wsdl file in

Re: deploing error for stock sample

2003-03-06 Thread Vincenzo Di Stefano
Yes, you should add some .jar in your CLASSPATH, but you can avoid this step, simply adding these .jar in the command line using "-cp" flag... - Original Message - From: "Gianni Pucciani" <[EMAIL PROTECTED]> To: "ML Axis" <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 11:44 AM Subject:

RE: Sanity check for doc/lit service

2003-03-06 Thread Anne Thomas Manes
Jim, Doc/lit uses the former format. And there's no formal way to indicate the operation name. Axis determines the operation based on the namespace and the top level element in the body (the message). Many other systems rely on SOAPAction or perhaps a SOAP header element. Anne > -Original Me

RE: Axis 1.0 with JRE 1.3.1_02

2003-03-06 Thread Phee, Martin J (Jump Tech)
Title: Axis 1.0 with JRE 1.3.1_02 Looks like your missing a jar.  Add xerces.jar to your app. -Original Message-From: "Geiß, Matthias" [mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003 10:27 AMTo: ' ([EMAIL PROTECTED])'Subject: Axis 1.0 with JRE 1.3.1_02 Hi, What

Re: How do I work with exceptions?

2003-03-06 Thread Steve Loughran
- Original Message - From: "Sonja Pieper" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 05, 2003 23:49 Subject: Re: How do I work with exceptions? > And > how do I get myself a stacktrace? I am guessing I won't, oh well. Look at reference.html to see some configura

Axis 1.0 with JRE 1.3.1_02

2003-03-06 Thread "Geiß, Matthias"
Title: Axis 1.0 with JRE 1.3.1_02 Hi, What do I have to to to use Axis 1.0 with JRE 1.3.1_02 ? (usind Windows XP if that matters) I cannot even deploy the stock sample, getting the following exception: [java] java.lang.NoClassDefFoundError: org/w3c/dom/Node [java] at org.a

RE: Managing Sessions

2003-03-06 Thread Harry . Kobetitsch
In the FAQ it mentions that there is a session test (test.session.TestSimpleSession) for an example. Anyone know where this is? I haven't been able to find it. Harry J. Kobetitsch UBS Warburg One North Wacker Drive Chicago, Illinois 60606-2809 312-525-5866 [EMAIL

Sanity check for doc/lit service

2003-03-06 Thread Brain, Jim
I read the 1.1 spec, but didn't see an answer. If you build a doc/lit web service (AXIS or other), let's say with a document with root of , should it be: ... Or ... I noticed that the RPC style uses the latter, and the service name is placed in the location. So, should I *

soap version and wsdl

2003-03-06 Thread Ghershony, Arie
Hi, My service is published a WSDL. My client is trying to read the WSDL file on the service in C++ version 6.0. while he is trying to Create an XML Web Service Client Project, it does not generate the classes. I believe it is an issue of versioning. while reading a sample wsdl file in C++ it

RE: Importing a schema into a WSDL

2003-03-06 Thread Anne Thomas Manes
Yeah -- I know. But the WSDL spec has lots of problems/errors in it. That's why WS-I is defining some constraints (the Basic Profile), and why the WSDL 1.2 effort is so important. Anne > -Original Message- > From: Ben Butchart [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 06, 2003 10:

Re: Importing a schema into a WSDL

2003-03-06 Thread Ben Butchart
Thanks Anne - that makes more sense to me now - although in the WSDL spec ( http://www.w3.org/TR/wsdl) it does show an example where a schema "stockquote.xsd" is imported where the types element would normally be. I remember this as it confused me at the time - how does a wsdl reader know that the

RE: Importing a schema into a WSDL

2003-03-06 Thread Anne Thomas Manes
The problem might be because he's doing a schema import rather than a wsdl import. If you use the element as a child of within the types section with the default namespace for schema, then you are doing a schema import. This is a valid use of import -- and it's how you're supposed to import a sch

RE: help with proxy

2003-03-06 Thread thomas . cherel
Title: RE: help with proxy Forget about that one, miss-configuration on my side. My Axis client is now talking to the web service through the Microsoft ISA server proxy with basic authentication without any problems. I guess one possible improvement to Axis would be to have Digest authenticat

AW: Using style Document in WSDD For Deployment

2003-03-06 Thread Oliver Adler
please use the tcpmon to look what is on the wire and publish it - the wsdd look fine to me -Ursprüngliche Nachricht- Von: Krishnakumar B [mailto:[EMAIL PROTECTED] Gesendet: Do 06.03.2003 13.29 Uhr An: [EMAIL PROTECTED] Cc: Betreff: RE:

AW: SOAP over JMS Deploying Services

2003-03-06 Thread Oliver Adler
Hi Brian, we have writen our own Sender (see org.apache.axis.transport.HTTPSender.java as example) and the corresponding Transport class (see org.apache.axis.transport.HTTPTransport) for IBM MQ. (at our start point the jms implementation was only a sample ans we want to wait a little until it

RE: Using style Document in WSDD For Deployment

2003-03-06 Thread Krishnakumar B
hi   I have tried adding ot the server-config.wsdd. It does not work. I have added the file below. Is this right?   Regards Krishnakumar B   http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">                                        

RE: SOAP over JMS Deploying Services

2003-03-06 Thread Brian Dillon (ext. 944)
Oliver,   When invoking a http service the client creates and endPoint and using this sets the TargetEndpoint on the client.Call object. The endpoint I was using previously was; http://localhost:8080/axis/services/serviceName Obviously this won't work with JMS. What format should the endPoi

AW: Using style Document in WSDD For Deployment

2003-03-06 Thread Oliver Adler
Hi, try to add the following to your service description in your server-config.wsdd [namespace of the first body child] this enables axis to dispatch to the correct service. Regards Oliver Oliver Adler, Senior Consultan

Using style Document in WSDD For Deployment

2003-03-06 Thread Krishnakumar B
Hi   I am deploying a web service with in the WSDD file. When i invoke this webservice from a client it says No such operation in0. I got the SOAP message using TCPMonitor. The same web service works when i say .   How do i make the work?   Would be glad for any help.   The SOAP message

deploing error for stock sample

2003-03-06 Thread Gianni Pucciani
Hi, the problem with my axis continue... Axis is installed and works fine. I've reached the step 6 in the User's guide, but when I try to deploy the sample with stock% java org.apache.axis.client.AdminClient -lhttp:8080/axis/services/AdminClient deploy.wsdd I recevie the error Exception in thr

Re: [axus] Deploying axis over tomcat

2003-03-06 Thread Ben Butchart
Laura, Looks like you are missing some important .jar files from your classpath. The HTTPServlet class is in servlet.jar in CATALINA_HOME/common/lib. Do you have the CATALINA_HOME environment variable set properly in your login script ? Ben - Original Message - From: "Slaybaugh Laura

Re: Importing a schema into a WSDL

2003-03-06 Thread Ben Butchart
My understanding of the WSDL specification is that the import element is a child of the definitions elements and appears immediately after the opening definitions element. Therefore you don't put the import inside the types element. So if you import the xsd document you don't need the types element

RE: Importing a schema into a WSDL

2003-03-06 Thread Neil Blue
Thanks,   I have also included the reply from Mike who could not mail to the list.   I have got this working now using both relative links to the xsd and URL references to it. The problem seems only to occur when I use the ant task.   Are there any docs for the ant WSDL2Java task as I don

client side service specific handler chain

2003-03-06 Thread Oliver Adler
Hi all,   I use Axis handler to add multiple soap headers to my service call. Which header I have to add depends on the service I want to call.   Is there a way to specify handler chains which are specific to one service one the client side ?   Is there somebody out with some tipps and trick to ge

AW: SOAP over JMS Deploying Services

2003-03-06 Thread Oliver Adler
Hi Brian, it depends if you use document style services or rpc style. For document style services is no common way to specify the service to which axis should dispatch the message. The doc says that a handler (transport specific like the urlmapper for http) has to call the setTargetService metho

RE: Performance

2003-03-06 Thread Yates, Danny (ANTS)
Hi Tim, I think you may have missed the point here. The Axis Servlet is NOT marked with the Single Threaded interface. Therefore, whilst there is only a single instance of the Axis Servlet created, your application server will create multiple worker threads for the inbound request and allow them a

SOAP over JMS Deploying Services

2003-03-06 Thread Brian Dillon (ext. 944)
Hi, In order to get a SOAP service working with JMS I need to create a JMS listener which initialises an AxisServer and then calls invoke witht the JMS message wrapped in an Axis message. Is this correct ? How do I then deploy a SOAP service so that this AxisServer knows where to route the message

AW: How do I work with exceptions?

2003-03-06 Thread Oliver Adler
Hi Paul, declare a faultmessage in your wsdl for application errors. ExceptionXY e; throw AxisFault.makeFault(e); produces a SOAPFault message on the wire. On the client side you can specify a fault chain, to handle the soap fault. Regards Oliver ___

AW: SOAPMonitor + AdminServlet

2003-03-06 Thread Oliver Adler
Hi Sonja, I use the tcpmonitor - it works fine to see what is on the wire. Maybe this will help you with the soap monitor: http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html Regards Oliver Oliver Adler,

SOAPMonitor + AdminServlet

2003-03-06 Thread Sonja Pieper
Hi, I am trying to use the SOAPMonitor - hoping it will help me debugging the code my predecessor on this project wrote. It seems to start up fine then I get some kind of message: "Applet not inited" and then "Loading Applet Failed" What is wrong? And the AdminServlet? What's up with that one