Re: Deserialization with Castor / Wrapped

2005-06-17 Thread Mike Haller
g, then I can't use Castor? regards Mike Anne Thomas Manes schrieb: Anne On 6/17/05, Mike Haller <[EMAIL PROTECTED]> wrote: Hey all, i think i've got another problem with use/style/wrapped/literal/rpc stuff. Perhaps someone can explain to me. I get the following answer from a

Deserialization with Castor / Wrapped

2005-06-17 Thread Mike Haller
Hey all, i think i've got another problem with use/style/wrapped/literal/rpc stuff. Perhaps someone can explain to me. I get the following answer from a web service, and want to deserialize the "ServerStatus" object, but it fails. A typemapping for ServerStatus is in client-config.wsdd. Howe

Re: Retrieving original data

2005-06-14 Thread Mike Haller
You are defining "xmlns:ds=...", but use "dss" as prefix in the elements. Perhaps this is the problem? Laura Baño schrieb: I’m working with axis 1_2RC3 with xml documents. I wonder how to preserve the original data, so it isn’t omitted the namespaces that have appeared before. Is there any way

[Axis2] java.lang.UnsupportedOperationException: service element is not allowed in the server.xml

2005-06-10 Thread Mike Haller
Why is element not allowed in (generated) service.xml ? the code snippet from ..ServerTest.java: DeploymentEngine deploymentEngine = new DeploymentEngine(basePath,"service.xml"); AxisConfiguration axisConfig = deploymentEngine.load(); my service.xml: name="ServiceClass">de.innovations.li

Re: [Axis2] NPE trying to use eclipse code-gen plugin

2005-06-10 Thread Mike Haller
operations.) That was the idea. If this leads to user confusion then of course we can put a radio button and if the test case option is selected we ll generate both server side and client side. Comments?? Thanks. Chathura -Original Message- From: Mike Haller [mailto:[EMAIL PROTECTED]

Re: IncompatibleClassChangeError usign Axis 1.2?????

2005-06-09 Thread Mike Haller
I got this today, too. I had several different versions of the same jar file in the classpath. After removing all duplicates, it was okay. I don't know if it was wsdl4j or axis itself, but it was just a problem with duplicate classes in the classpath. hope this helps Peter Len schrieb: Hel

Re: Issues using generated wsdl2java stubs and classes.

2005-06-09 Thread Mike Haller
All the "MyService" parts are coming from the name of your portType. results in: MyServiceLocator myLocator = new MyServiceLocator(); MyService myService = locator.getMyService(); myService.doSomething(); You do not manually create/use the Request and Response messages. This

java.lang.IncompatibleClassChangeError

2005-06-09 Thread Mike Haller
What's the reason of this exception? java.lang.IncompatibleClassChangeError org.apache.axis.message.MessageElement.addTextNode(MessageElement.java:1387) org.apache.axis.message.SOAPHandler.addTextNode(SOAPHandler.java:148) org.apache.axis.message.SOAPHandler.endElement(S

Re: Axis as Standalone Webserver

2005-06-09 Thread Mike Haller
Search for "SimpleAxisServer" Sascha Teifke schrieb: Hello List, sorry, I'am completely new to axis and I didn't find my answers in the documentation and in the Mailinlist Archives. Here I go... I've got a standalone Java Server without a Webserver. I want to act this as an Webservice Serv

Re: [Axis2] Re: Axis Alternative

2005-06-08 Thread Mike Haller
Ignore my post please. "Don't use JDK1.5" is the answer. Mike Haller schrieb: got axis2 src, extracted to new folder, running maven. Maven fails on test:test goal. See attached error log.

[Axis2] Re: Axis Alternative

2005-06-08 Thread Mike Haller
ay. May be planning a M3 sooner than you think. If you can give us feedback. that would be awesome. -- dims On 6/8/05, Mike Haller <[EMAIL PROTECTED]> wrote: Dims, i'm glad you're asking :) Simple Client/Server Architecture with the ability to send XML data. It does not need to

Re: Axis Alternative

2005-06-08 Thread Mike Haller
settings, so I tried to directly use the wsdl2java generator -> type mapping problems - I still have no idea where the client is loading client-config.wsdd from. regards Mike Davanum Srinivas schrieb: Mike, What i am asking is - what are ur requirements? -- dims On 6/7/05, Mike Haller <[EM

Re: Axis Alternative

2005-06-07 Thread Mike Haller
Nothing's really wrong with Axis itself, it's just me. Axis just doesn't fit my requirements (or vice versa). I'm searching for an alternative, which is _similar_ but not the same as Axis. But that's off-topic, sorry for bothering. Davanum Srinivas schrieb: Did you look at existing bug repor

Re: Axis Exception

2005-06-07 Thread Mike Haller
- Check your Axis Happiness page (http://localhost:8080/axis/happyaxis.jsp) - Restart your application server in debug mode and check the classpaths. - Don't put axis.jar in tomcat/shared/lib, leave it in axis/WEB-INF/lib - At one URL your server was named "glororan", are you trying to access two

Axis Alternative

2005-06-07 Thread Mike Haller
Hi there, i'm sorry to ask, but there are so much problems for me with Axis, perhaps it's not the right framework for my project. Are there any alternatives to Axis? kind regards Mike

Re: Attachments

2005-06-06 Thread Mike Haller
Afaik default heap size for Java applications is 64MB. If you need more memory, use "-Xmx256M" as arguments to the JVM to give the client application more memory. Althouhg this does not solve the problem that the whole request is held in memory. Why? Ferruh Zamangoer schrieb: I’am trying to

Re: [wsdl2java] Exception "Type ... is referenced but not defined"

2005-06-02 Thread Mike Haller
Sorry I forgot: i'm importing the schemas like this: namespace="http://www.innovations.de/2005/v1/XMLBusinessSchema"/> namespace="http://www.w3.org/2000/09/xmldsig#"/> Mike Haller schrieb: Hey people, I've got: - manually creates bu

Re: Using Castor for serialization and deserialization

2005-06-02 Thread Mike Haller
Hi Ferruh, there is a custom Castor de/serializers in Axis: http://mynamespace"; qname="ns:ServerStatus" type="java:my.pkg.SomeClass" serializer="org.apache.axis.encoding.ser.castor.CastorSerializerFactory" deserializer="org.apache.axis.encoding.ser.castor.CastorDeserializerFactory" encodi

[wsdl2java] Exception "Type ... is referenced but not defined"

2005-06-02 Thread Mike Haller
Hey people, I've got: - manually creates business.xsd with datatypes - manually created business.wsdl - using XML Security - using Castor generated Java Classes Because the Axis Ant tasks suck, i tried to use wsdl2java directly. However, i get the following error. It states that "Reference" (fr

Re: org.apache.axis.ConfigurationException: No service named is available

2005-05-20 Thread Mike Haller
a:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) Mike Haller schrieb: Hey all, i'm trying to connect to a self-developed web service from a jsp page. The web service is deployed in the same tomcat and is work

org.apache.axis.ConfigurationException: No service named is available

2005-05-18 Thread Mike Haller
Hey all, i'm trying to connect to a self-developed web service from a jsp page. The web service is deployed in the same tomcat and is working. I can successfully use Axis: http://../../ServiceName?method=getVersion I can use a java console application to call getVersion() on my service. However, tr

Re: Custom (De)Serializer - NoSuchMethodException (Debug information)

2005-05-13 Thread Mike Haller
on is something bad.. ;o) Thanks again :o) Cheers, Are T. Tysnes -Original Message- From: Mike Haller [mailto:[EMAIL PROTECTED] Sent: 13. mai 2005 14:26 To: axis-user@ws.apache.org Subject: Re: Custom (De)Serializer - NoSuchMethodException (Debug information) The BaseSerializerFactory

Re: DocumentBuilder from byte/packet

2005-05-13 Thread Mike Haller
Any drawbacks on using input streams? DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance(); DocumentBuilder db = dbf.newDocumentBuilder(); { String xml = ""; StringReader reader = new StringReader(xml); InputSource source = new InputSource(r

Re: Custom (De)Serializer - NoSuchMethodException (Debug information)

2005-05-13 Thread Mike Haller
The BaseSerializerFactory tries several ways to instantiate and initialize custom serializer factories. On each failure, it logs the exception as debug info. However, it doesn't log the successful instantiation, so you can be confused and think that these are real errors. -> nothing to worry a

Re: No such operation 'in0'

2005-05-13 Thread Mike Haller
the message not based on the schema definition, but based on the SOAP encoding model. Schema validation typically doesn't work. Anne On 5/12/05, Mike Haller <[EMAIL PROTECTED]> wrote: Thanks Anne! I changed operation style to "wrapped" in the server-config.wsdd It added an additional

Re: No such operation 'in0'

2005-05-12 Thread Mike Haller
hen you won't get an operation name unless you define one. I sugesst you use the document/literal wrapped convention, in which you wrap your input parameter with an element that has the same name as your operation. Anne On 5/12/05, Mike Haller <[EMAIL PROTECTED]> wrote: I changed a lot

Re: No such operation 'in0'

2005-05-12 Thread Mike Haller
: Mike Haller schrieb: Hi, i've got the following exception: AxisFault faultCode: {http://xml.apache.org/axis/}Client faultSubcode: faultString: No such operation 'in0' faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}sta

No such operation 'in0'

2005-05-12 Thread Mike Haller
Hi, i've got the following exception: AxisFault faultCode: {http://xml.apache.org/axis/}Client faultSubcode: faultString: No such operation 'in0' faultActor: faultNode: faultDetail: {http://xml.apache.org/axis/}stackTrace:No such operation 'in0' at org.apac

Re: HashMap vs. Map

2005-05-10 Thread Mike Haller
rchives/000343.html Of course, you might still have a good reason to use a Map and I wouldn't try to stop you, but I think all us developers often spend effort working on the wrong problems, so just wanted to point out these alternative ideas. Good luck anyway! Hope this helps Keith -Origi

Re: HashMap vs. Map

2005-05-10 Thread Mike Haller
ete class. Otherwise which implementation of Map should it choose? Hope this helps Keith -Original Message----- From: Mike Haller [mailto:[EMAIL PROTECTED] Sent: 10 May 2005 11:00 To: axis-user@ws.apache.org Subject: HashMap vs. Map Hi all, using Axis 1.2 I'm trying to implement my own

HashMap vs. Map

2005-05-10 Thread Mike Haller
Hi all, using Axis 1.2 I'm trying to implement my own service: public interface MyService { public org.w3c.dom.Document listObjects(java.util.Map parameters); } Sadly, the generated code (java2wsdl and then wsdl2java) is generating this interface: public interface MyService extends java.rmi.R

Re: Setting the user and pw in headers using wsdl2java generated classes

2005-04-19 Thread Mike Haller
I tried the following way, so i didn't have to change the generated classes nor to cast to stubs: 1) use a client-config.wsdd (some sort of configuration file for the wsdl2java generator) and include a requestFlow handler called "my.package.AuthenticateHandler" .. 2) my.package.Au

XML Security

2005-04-13 Thread Mike Haller
Hi, which XML Security implementations are you using? o Apache XML Security o IBM XML Security Suite o Baltimore KeyTools XML o Entrust/Toolkit for Java o IAIK-IXSIL XML Signature Library Are there any other implementations? Which one can be recommended? regards Mike