Access denied

2002-05-17 Thread Houman Moshtagh
Hello, Somehow I could make a connection from the AXIS to the IIS-Listener. But I have still a connection problem: Access Denied at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:518) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.j a

Question: Is dynamic SOAP mapping possible?

2002-05-17 Thread Schie, Sjaak van
Hello All, Is AXIS able to map the SOAP message in a dynamic way to a dynamic implementation, for instance CORBA DII? Or are there other Java based products? I like to write my own DII connection in Java based on the SOAP DSI using the WSDL information. This all because the implementation I like

javax.xml.rpc.ServiceException: Missing WSDL document

2002-05-17 Thread kulin parikh
I am creating a call using following method Call call = (Call) service.createCall(new QName(_portName),new QName(_methodNameSpace, _methodName)); And i am getting "javax.xml.rpc.ServiceException: Missing WSDL document" error. _portName is parameter got using Map ports = service.getPorts();

Re: Clients using GET and POST

2002-05-17 Thread Sudhir
>document/rpc refers to how the endpoints treat the SOAP envelope (as >serialized objects or as an XML document), not the transport over which the >envelope is carried. If you have the Axis servlet running and are sending >requests with a typical client to a deployed service, you *are* using HTTP

Re: Clients using GET and POST

2002-05-17 Thread Sudhir
Thanks Andrew. Does it mean then, there wouldnt be any practical use for the GET/POST option? Is it purely for testing and showing off? I am trying to generate the client given a WSDL. This means, I cant generate the GET/POST clients, true? This is interesting. :) Sudhir - Original Message -

Re: Clients using GET and POST

2002-05-17 Thread Andrew Vardeman
Hi Sudhir. >My question though was, AXIS provides the api's to write clients for >document and the rpc based services. There are certain WSDL's with the >binding which reads like > > > > > >. >verb could be GET as well. Umm... I'll stick with my answer. Someone can correct me on

Re: Clients using GET and POST

2002-05-17 Thread Sudhir
Thanks for the reply. My question though was, AXIS provides the api's to write clients for document and the rpc based services. There are certain WSDL's with the binding which reads like . verb could be GET as well. Axis provides API's to write clients for document/rpc based

javax.xml.rpc.ServiceException: Missing WSDL document

2002-05-17 Thread kulin parikh
My first mail somehow did not get posted. So sending it again. While trying to use following method Call call = (Call) service.createCall(new QName(_portName),new QName(_methodNameSpace, _methodName)); I am getting error javax.xml.rpc.ServiceException: Missing WSDL document _portName is re

Re: Clients using GET and POST

2002-05-17 Thread Andrew Vardeman
What might be contributing to the confusion is the fact that Microsoft has built in HTTP GET-based access to its .NET webservices. Request the service via HTTP GET and you are presented with an HTML form with input fields for the parameters. You submit the form (also via HTTP GET) to the web

Re: Clients using GET and POST

2002-05-17 Thread Steve Loughran
- Original Message - From: "Sudhir" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 17, 2002 12:37 PM Subject: Clients using GET and POST > Hi All, > How do I write a client which is HTTP GET/POST based? > Do I have to create a SOAP request document and send it using the

Re: Axis performance

2002-05-17 Thread Steve Loughran
- Original Message - From: "Heitzso" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 4:38 PM Subject: Re: Axis performance > Very important to spec the OS. For instance WinNT workstation > and Win2K non-server versions all limit the number of concurrent > conne

XSLT for Axis WSDL hacking

2002-05-17 Thread Simon McClenahan
I would like to share with you the XSL file I ended up creating to hack a WSDL generated by gSOAP so that Axis' WSDL2Java could process it with modifications correctly. It replaces "unsignedInt" with "int", "duration" with "string" and changes derivation from anyType from restriction to extensi

Array as a return value, still not possible ?

2002-05-17 Thread Houman Moshtagh
Hello all, I have almost solved all problems to communicate from Java-client to IIS-Listener. I can get a String result back from IIS. :) It works fine. Thanks to Samuel, Russel and Michael. But I can't get back an Array as a result. I was looking in the archive and found out, that there wer

RE: Axis performance

2002-05-17 Thread Taras Shkvarchuk
It is also possible that you your windows box is simply overloaded processing your XML and simply can not get to service new requests in time. If you can, try to put your service on a Solaris box, or even Linux. They tend to have a little more responsive kernel and networking layer as Heitzso poin

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-17 Thread Mark_Palmer
Thank you. This was very helpful. -Mark -- There is no spoon. --

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-17 Thread thomas . cherel
Title: RE: Using Axis Beta2 in JBoss/Tomcat The name of your war is used as the base path forth web application. If you jar name is am-war, then the correct URL to use is http://localhost:8080/am-axis/services And you will need to use extra command line options in the AdminClient to specify th

Clients using GET and POST

2002-05-17 Thread Sudhir
Hi All, How do I write a client which is HTTP GET/POST based? Do I have to create a SOAP request document and send it using the GET/POST? If I POST it, then it is same as the SOAP document based client. How can send the entire SOAP request XML as GET? Thanks Sudhir

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-17 Thread Carl Trusiak
Check the log files for your server. You are probably going to see a class not found exception. You need to include an XML Parser as the installation docs tell you. I use Xerces personnally. --- [EMAIL PROTECTED] wrote: > > The following is the contents of my WAR file (it's > called am-axis.

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-17 Thread Mark_Palmer
The following is the contents of my WAR file (it's called am-axis.war). I would add my own .jar files in the WEB-INF/lib directory. 0 Thu May 16 16:20:04 EDT 2002 META-INF/ 48 Thu May 16 16:20:04 EDT 2002 META-INF/MANIFEST.MF 0 Thu May 16 16:20:04 EDT 2002 WEB-INF/ 0 Thu May

RE: Using Axis Beta2 in JBoss/Tomcat

2002-05-17 Thread thomas . cherel
Title: RE: Using Axis Beta2 in JBoss/Tomcat Even before trying to get your service working, you need to make sure that the Axis servlet is correctly deployed. Something is wrong in the way you deploy it in JBoss/Tomcat since you can not even access it. Double check the structure of your war fi

RE: Problem Deploying Service via wsdd & AdminClient (NoSuchMethodError)

2002-05-17 Thread Alan Moore
Rogerio, axis-users: I figured out the problem mentioned in my previous post. Originally, when I changed the JAVA_ENDORSED_DIRS in Tomcat's setclasspath.sh to include the Axis lib directory, I added it at the end of the existing directories. I got frustrated trying to get this to work (see belo

WSDL2Java

2002-05-17 Thread Prasanta Behera
I am using Axis beta 2. The WSDL compiler generates the classes but the classes have no constructors or setters to set any value. The WSDL file was not generated using AXIS. I am attaching the WSDL file and one of the java files ... Don't want to change the generated code unless there is no alt

Fwd: deploy an object as Web Service (application scope)

2002-05-17 Thread Hui Deng
Hi there, I'm afraid I haven't clearly described my question last time. I repost my question. Hope somebody can help me. I have solved the first question: use AdminClient to successfully deploy the service. Second question: how to deploy an object(be instantiated before any call) as Web Service

How to get name of file???

2002-05-17 Thread Patricia Doyle
I have posted this question before but could't got the answer, so I am posting it again. How can I get the real name of file that is sent through DataHandler object as Axis save it with Axisx file name. Using tcp monitor tool I could not find the file name in the SOAP response. The DataSou

RE: WSDL2JAVA problem

2002-05-17 Thread Han Wang
I discovered another problem with the code generation: (AXIS Beta 2) In WSDL: Generated Java: public class TpOctet implements java.io.Serializable, org.apache.axis.encoding.SimpleType { private byte[] value;

RE: Axis performance

2002-05-17 Thread Alan Moore
Another place to look for performance bottlenecks is in the underlying transport (HTTP). For example, the socket "linger" setting (SO_LINGER) and whether or not persistent connections are being used. Since Tomcat is handling the server side of the connection(s), that should already be highly opti

Re: WSDL2Java against a WSDL file from MS Soap

2002-05-17 Thread Russell Butek
Comments inline below between ... Russell Butek [EMAIL PROTECTED] "Houman Moshtagh" <[EMAIL PROTECTED]> on 05/17/2002 02:25:54 AM Please respond to [EMAIL PROTECTED] To:<[EMAIL PROTECTED]> cc: Subject:Re: WSDL2Java against a WSDL file from MS Soap Hello Russel, Below I've pa

Convertion Problem

2002-05-17 Thread Junjun He
I'm using AXIS package in a webSphere application server. Yesterday I got a weried error message. The thing happened like this: First, I maped all classes which need to be transferred through the wire: .. After the setup, I tried send a request from the client and the AXIS worked p

Re: WSDL2Java against a WSDL file from MS Soap

2002-05-17 Thread Houman Moshtagh
Hello Russel,     Below I've paste the WSDL file.   I get from this WSDL file not the usual 4 files with the same context.   -  CreateCOM.java  -->  First line it extends javax.xml.rpc.Service instead of java.rmi.Remote -  CreateCOMLocator.java --> Looks like the sam

WSDL2JAVA problem

2002-05-17 Thread Han Wang
I'm having trouble generating a WSDL document with xsd:anyURI [java] java.io.IOException: Type http://www.w3.org/2001/XMLSchema:anyURI is referenced but not defined. A quick search on the mailing list resulted in a message Jan 23 on anyURI not being supported yet. I'm working off a standard sub

Ques: Is dynamic SOAP processing possible?

2002-05-17 Thread Sjaak van Schie
Hello All, Is AXIS able to process the SOAP message in a dynamic way to a dynamic implementation, for instance CORBA DII? Or are there other Java based products? Or else C++. I like to write my own DII connection in Java based on the SOAP DSI using the WSDL information. This all because the impl

Java2WSDL/?WSDL problem with java.util?

2002-05-17 Thread Gaël Pouzerate
Hi folk, I'm trying to generate a WSDL file from my service. Either with ?WSDL or with Java2WSDL, it fails (see traces below)! And it fails because im my service java code, I'm using a variable of type java.util.Calendar. I've been trying to play with some options of the Java2WSDL, but in vai

Re: Underscores

2002-05-17 Thread Carl Trusiak
I've run into a similar problem with interoperability with XML-Bus, The generated by the Axis service is: - - http://trusiaks.servletshop.net"; xmlns="http://www.w3.org/2001/XMLSchema";> - - - - The soap message returned by Axis has the elements with lo

SOAP messages - problems with text nodes

2002-05-17 Thread Jesper Söderlund
Title: Message I want to produce a SOAP-message body that looks something like this:           qwerty    123456             78980    ytrewq      I seem to have a hard time constructing this using Axis Beta2 and the org.apache.axis.message.* and related classes