DIME & WSDL

2003-11-10 Thread I-Sampige, Srinivas
I wrote a web service to handle attachment inputs from the client and send attachments back to the client using MIME. I switched over to using DIME and that also worked. But I want to understand the implications of using DIME when it comes to autogeneration of client code using wsdl2java. Can an

Re: Axis C++ and Apache 2.0

2003-11-10 Thread Sanjaya Singharage
Oops, When you are building the apache 2 module as per the existing windows developer guide you will need the two libs "libapr.lib" and "libhttpd.lib" instead of "ApacheCore.lib " in the relevant folder (this is specified in the windows developer guide). Also put the apache 2.0 include files

RE: Axis C++ and Apache 2.0

2003-11-10 Thread Sanjaya Singharage
Hi,   Now there is a working module of axis c++ for apache2.0. This is how you can try it.   The apache 2 module was tested on windows 2000 professional. It is yet to be tested on linux.How ever it may run on linux without any problem. There is no binary distribution yet but you   can get th

[newbie question]

2003-11-10 Thread Kevin J Citron
First. I'm using JBoss-net. Which is in reality Axis 1.1. If I'm posting in the wrong place. Someone please tell me. In any event. I'm attempting to get my first WS  WSDL generated by placing the Calculator.jws example code in the JBoss-net.war folder. When I enter in my endpoint (via the brows

Tomcat Management Application FAIL stopping axis

2003-11-10 Thread Kjell Einar Sjåstad
I've installed the following unde Windows 2000 Professional: Tomcat 4.1.29Java 1.4.2_01Axis 1.1 Final I've installed axis as a webapplication by just copying the webapp\axis directory from the axis-installation to Tomcat webapp-directory.   The axis application runs as expected.    When I t

RE: trouble deploying Handlers

2003-11-10 Thread Kroll, Stephanie
Mark, Try defining the "java" namespace prefix, like this: http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> Stephanie -Original Message- From: Mark D. Hansen [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 10:53 AM To: A

Time and Date documentation inconsistencies

2003-11-10 Thread Steve Pruitt
The axis documentation says it follows the xml-rpc specification for data typing guidelines. The specifications states xsd:time and xsd:date map to java.util.Calendar. When I try to send an soap argument like: 09:33:16 I receive: Exception in thread "main" java.io.IOException: org.xml.sax.S

trouble deploying Handlers

2003-11-10 Thread Mark D. Hansen
I'm getting the following when trying to deploy a handler: ... WSDDException: Must include type attribute for Handler deployment! However, I *have* included a type attribute. My .wsdd appears below. Any help is greatly appreciated! http://xml.apache.org/axis/wsdd/";>

Getting MessageContext in Web-Service Implementation

2003-11-10 Thread Stefan . A . Schuster
Hi there, I have a simple WebService written in Java and invoked through the RPC provider. In one of the methods of the service I need a Client-Certificate (X509). The only way to get this seems to write a new provider that passes the messageContext on to the client. Probably a handler would so

RE: SOAPFaultException in Axis

2003-11-10 Thread Jorge Lorenzo
When you create a SOAPFaultException, you specify four elements (in the constructor): SOAPFaultException(QName faultcode, String faultstring, String faultactor, Detail faultdetail) But Axis only uses the faultstring (and in part because it's appended to the exception classname). The rest of

Bug in SAAJ methods SOAPHeader.examineHeaderElements and extractHeaderElements?

2003-11-10 Thread Michael Woinoski
Are the examineHeaderElements and extractHeaderElements methods of the SOAPHeader class intended for use only by the ultimate receiver of a SOAP message? If so, please ignore this posting. If not, I believe there a bug in org.apache.axis.message.SOAPHeader.java. The following code appears in ge

RE: SOAPFaultException in Axis

2003-11-10 Thread Vladimir Umansky
This works with both Axis 1.0 and 1.1, but I don't think I control anything but fault code and fault string. When SOAPFaultException is thrown, Axis code catches it and you have no control at that point. Why is the SOAP message below insufficient for you? --- Jorge Lorenzo <[EMAIL PROTECTED]> w

RE: SOAPFaultException in Axis

2003-11-10 Thread Jorge Lorenzo
Hi, Which version of Axis are you using?. Your code is very similar to mine and with my environment the results are the same. I've called your method as: throwSOAPFaultException("fault code", "fault string"); and Axis has generated the following SOAP fault message: http://schemas.xmlsoap.org/soa

NullPointerException in ServiceDesc

2003-11-10 Thread Dan Gravell
Well, org.apache.axis.description.ServiceDesc$1.compare(ServiceDesc.java:491) to be precise... I've got an Axis installation that provides a Web Service interface to some software components behind the scenes. These software components are dynamic, in that they can be updated. At run time new Serv

Re: SOAPFaultException in Axis

2003-11-10 Thread Vladimir Umansky
This works for me private void throwSOAPFaultException(String faultCode, String faultString) { QName qn = new QName("some qualifier", faultString); SOAPFactory fact = null; Detail det = null; try { fact = SOAPFactory.newInstance(); det = fa

SOAPFaultException in Axis

2003-11-10 Thread jlorgal
Hi, I've tried to throw a SOAPFaultException in the handleRequest of a JAX-RPC Handler but it looks like Axis finally generates its own exception. My code is: Detail detail = null; try { detail = SOAPFactory.newInstance().createDetail(); detail.addChildElement("MyDetailss").addTextNode(" fff

Installation problems Step 7

2003-11-10 Thread dave sag
Hi people, I am an Axis newbie, but an old hand at java and servlets etc. I am walking through the installation instructions and everything works fine up to step 7. In step 7 it says, "This step is optional, but highly recommended. For illustrative purposes, it is presumed that you have instal

removing namespace prefixes

2003-11-10 Thread Ric Searle
Hi, I know this isn't best-practice, but the client I'm dealing with insists on this... Basically, I'm sending them a SOAP document that has a line like: http://somehost.somedomain.com And they say they can only parse it if it's in the format: http://somehost.somedomain.com Is there a

Run wsdl2java with a WSDL from Systinet deployment

2003-11-10 Thread Yiet, Liyong
Hi, Anyone see an error like this? I am running Axis 1.1 wsdl2java utility against Systinet Java server. Thanks! Richard java.io.IOException: ERROR: Missing element inFault "shutdown_fault 1" in operation "shutdown_fault1", in binding shutdown at org.apache.axis.wsdl.symbolTable.Symb

Serializer not found for array of objects

2003-11-10 Thread JC
Hi all, I'm trying to send arrays of user defined objects to a service, and get this exception: AXIS FAULT: java.io.IOException: No serializer found for class intmsg.IntMsg in registry [EMAIL PROTECTED] Here is my deployment descriptor: http://xml.apache.org/axis/wsdd/"; xmlns:java=

NullPointerException

2003-11-10 Thread Tracy McGrady
Hi, I've a NullPointerException at method "org.apache.axis.encoding.ser.BeanSerializer.serialize" line 262. Actually this NullPointerException is thrown because here is caught a InvocationTargetException and the target is null ! I don't understand how this InvocationTargetException could have be

Running initialization method in dynamic service

2003-11-10 Thread Jouni
Hi! Is there some initialization/constructor method that is invoked when a dynamic axis service is deployed? I have a service that is deployed using wsdd. The service is just a java class with public methods. It's invoked from url: http://server:port/axisservlet/services/Service . I want the a

Re: Deserialize XML

2003-11-10 Thread Noel Winstanley
Hi, I've been looking to do the same thing. If I can find out how to call the axis serialize / deserialize routines by hand, I can do away with using castor - which to be honest is a bit of a pain to integrate with axis. So, please, anyone got an answer for this? ta Noel On Thursday 06 Novembe