SAX or StAX?

2005-08-11 Thread aii
Hi everybody, I’ve got an SOAP-Message stored in a byte-array data: // copy the data (SOAP) from udp packetbyte[] data = "">new byte[packet.getLength()];System.arraycopy(packet.getData(), packet.getOffset(), data, 0, packet.getLength()); Now I like to have the SOAP-Envelope of the SOAP

Differences b/w Axis 1.2.1 and Axis 2

2005-08-11 Thread sachin singhal
Hi Geniuses, I'm new to Axis and web services. Just trying my hands on to develop some simple services and POC's. I was just trying to download and install Axis. On the Apache website there are 2 versions of Axis available - Apache Axis2 Version 0.9 and Axis 1.2.1. I tried to go thru the differe

How to configure Axis stubs for Integrated Windows Authentication ?

2005-08-11 Thread Kr
Hi All, I am trying to consume a web service on https and it uses .NET with Integrated Windows Authentication Security Mechanism. When I type the web service endpoint address in browser I am prompted for a login dialog and I login using username (in the format \\) and password given by the web se

Re: Axis 1.0 Bug with Wrapped Documents??

2005-08-11 Thread Anne Thomas Manes
Axis 1.1 clients can invoke an Axis 1.2 service without modification as long as the WSDL doesn't change in the transition. If you want to replace the Axis 1.1 libraries on the client with Axis 1.2 libraries, you will need to regen the client stubs. Anne On 8/11/05, Hoying, Ken <[EMAIL PROTECTED]

Re: Namespace and prefix issues

2005-08-11 Thread Anne Thomas Manes
I completely concur with Simon -- if a server requires a specific string for a namespace prefix, it's broken. But I think we have a different problem here. There is actually a problem with the generated message. The element is unqualified: ... That's not valid SOAP (

Re: wsdl2java and wsdl:fault

2005-08-11 Thread Anne Thomas Manes
Interesting... The JAX-RPC spec is, in fact, not compliant with the WSDL 1.1 spec, which says[1]: "The fault message MUST have a single part. The use, encodingStyle and namespace attributes are all used in the same way as with soap:body (see section 3.5), only style="document" is assumed since fa

Re: Get IP address of axis webservice clients?

2005-08-11 Thread csj
See: http://wiki.apache.org/ws/FrontPage/Axis/ClientIP ..Chris On Thu, 11 Aug 2005, Javier Gonzalez wrote: > Thanks! Yes, it revolves around getting access to the > HttpServletRequest object. Finally did it like this: > > String ipaddy = > ((HttpServletRequest)MessageContext.getCurrentContext().

wsdl2java and wsdl:fault

2005-08-11 Thread Rhett . DeWall
Following is an excerpt from JAX-RPC 1.1, Section 4.3.6 WSDL Fault. Based upon this information, should I expect to see WSDL2Java generate the InvalidTickerException class? It currently does not, or at least I have not been able to get it to do so. The following shows an example of the map

Re: Get IP address of axis webservice clients?

2005-08-11 Thread Javier Gonzalez
Thanks! Yes, it revolves around getting access to the HttpServletRequest object. Finally did it like this: String ipaddy = ((HttpServletRequest)MessageContext.getCurrentContext().getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST)).getRemoteAddr(); On 8/11/05, Linus Kamb <[EMAIL PROTECTED]> wrote:

Public Certificate Access using Extension ID 2.5.29.14

2005-08-11 Thread Paul Grillo
I am using Axis and WSS4J for security. I am having problems communicating with my vendor when using his public certificate for encrypting. I am able to do the encryption but am not able to send the KeyIdentifier along, which is what he expects In org.apache.ws.security.components.crypto the fo

Re: Get IP address of axis webservice clients?

2005-08-11 Thread Linus Kamb
Don't know if this is standard or even works in all cases (like when using proxy, or whatnot,) but I do: MessageContext ctxt = MessageContext.getCurrentContext(); logger.debug("ctxt: " + ctxt ); logger.debug( "transport:" + ctxt.getTransportName()); javax.servlet.ServletRequest request = (javax.

Get IP address of axis webservice clients?

2005-08-11 Thread Javier Gonzalez
Hi, I have a document webservice made with axis, and I have this problem: One of the clients of said service isn't very "reliable", they are supposed to provide a certain ID inside the soap message but they can't really counted on to provide it. I would like to have the IP address of the client as

Problem with DIME Headers

2005-08-11 Thread Jonathan Boston
Hello, Our project is using an Axis web service with a .NET (C#) client. We're using DIME attachments for transferring files. The client is able to upload files fine (tested up to 50MB files), but downloads from the server only work for files less than 4MB. My understanding is that files over 4MB

Authentication Problem

2005-08-11 Thread Aleksander Pascoal
Hey guys, does anybody already set axis to use CommonsHTTPSender for authentication porpouses? I developed a client and use it withou problems. But then I need to use it behindo a HTTP Proxy with NTLM authentication, and so a set axis (config-client.wsdd) to use CommonsHTTPSender. But now I'm

RE: Namespace and prefix issues

2005-08-11 Thread Simon Fell
You need to fix the bug in the service that requires specific namespace prefixes. Most soap toolkits won't give you the flexibility to specific specific namespace prefixes (because they don't matter). Cheers Simon -Original Message- From: Raphael Jacquemin [mailto:[EMAIL PROTECTED] Sent

Re: Problem: Reload Axis with the Tomcat Manager

2005-08-11 Thread James Wilson
I'm on Windows XP with the same Tomcat 5.5.9. I didn't have any trouble until we needed to sublass the pivot. Quoting Thad Humphries <[EMAIL PROTECTED]>: > I am running Tomcat 5.5.9 on Linux (Suse 9.2) with JDK 1.5.0_02. The Tomcat > Manager's reload works fine for me. > > On Thursday 11 Augus

Axis2 questions

2005-08-11 Thread Dave Hoffer
Hello Axis team,   I have some general questions about Axis and how it could be used to help solve some of our application development problems.  I have limited experience with Axis 1.x.  We used this to allow a Flash client UI to access our C++ logic/code on OSX/Windows.  This worked wel

"The AXIS engine could not find a target service to invoke! targetService is null" error

2005-08-11 Thread Chen, Donald
Hi, All. I was following the instruction presented by an article written at 01 Jan 2003(is this article a bit out-of-date? Given the progress of Axis) -- http://www-128.ibm.com/developerworks/webservices/library/ws-eight/#code 2 And I was trying the "EightBall" example presented in the article,

Re: Problem: Reload Axis with the Tomcat Manager

2005-08-11 Thread Thad Humphries
I am running Tomcat 5.5.9 on Linux (Suse 9.2) with JDK 1.5.0_02. The Tomcat Manager's reload works fine for me. On Thursday 11 August 2005 07:58, Grimm Bernd wrote: > I want to reload the axis application without restarting tomcat. > To do this, I use the tomcat manager.

RE: soap reponse/request

2005-08-11 Thread Plorks mail
OK thanks anyway From: "Kanwar, Gauri (GE Healthcare)" <[EMAIL PROTECTED]> Reply-To: axis-user@ws.apache.org To: Subject: RE: soap reponse/request Date: Thu, 11 Aug 2005 10:27:43 -0500 Sorry did not realise that you were trying to connect to an external web service. But, yes it is from www

RE: soap reponse/request

2005-08-11 Thread Kanwar, Gauri \(GE Healthcare\)
Sorry did not realise that you were trying to connect to an external web service. But, yes it is from www.pocketsoap.com and ver easy to download/install/use. But I have only used it for my own development - so I always knew the target IP and port# :( Gauri Kanwar GE Healthcare - Monitoring So

RE: soap reponse/request

2005-08-11 Thread Plorks mail
Hi, Where do I get tcpTrace from? Is it from www.pocketsoap.com? Is it easy to use/set up? E.g. if the webservice wsdl is something like this http://wsdl.uk.domain.com/balhI/blah/blah.wsdl Would this go in the detination server? Thanks From: "Kanwar, Gauri (GE Healthcare)" <[EMAIL

RE: soap reponse/request

2005-08-11 Thread Kanwar, Gauri \(GE Healthcare\)
I have been using tcpTrace for for viewing the request/response. Gauri Kanwar GE Healthcare - Monitoring Solutions 8200 W Tower Avenue, Milwaukee, WI 53223 Phone: (414) 362-2551 -Original Message- From: Plorks mail [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 10:05 AM To: a

soap reponse/request

2005-08-11 Thread Plorks mail
Dear all, I'm writing a client to an external webservice I'm connecting to the web service using its wsdl endpoint and the client will be on my local pc. Is there anyway to see the SOAP response/request from my client to the external webservice and vice versa? Thanks for any help __

Re: How to write a wsdd for a service that has a List

2005-08-11 Thread Leo Stevens
HI DEVAL ! you can ! but it´s not easy, you must create a serialized and deserialized " ArrayList" class. I recomend you to use an Array Object definition because Arrays are standar in all plataform. !!! then in the client you load a list with the object array. bye quino1 On 8/10/05, DEV

Namespace and prefix issues

2005-08-11 Thread Raphael Jacquemin
Hello, I use Axis for creating Web Services. I' ve some troubles with my namespace. I use a the tool wsdl2java for generating my java class. Here is the beginning of my wsdl file, where are defined the different namespace : http://schemas.xmlsoap.org/wsdl/soap/";> __

Re: Problem: Reload Axis with the Tomcat Manager

2005-08-11 Thread James Wilson
I don't have an answer for you. But maybe you've heard "misery loves company". I think we are experiencing the effects of the same defect. Here is a link to an archived message of my issue: http://marc.theaimsgroup.com/?l=axis-user&m=112359572112527&w=2 My research into this points the finger a

RE: .NET Client

2005-08-11 Thread Hoying, Ken
Anne, Once again thanks for the help. You are busy on this board and I for one appreciate it! I am not attempting to do the wrapped doc/literal. However, I am running into more problems. Must I generate the server side code or can I just use the same wrapper class and code that was generat

Problem: Reload Axis with the Tomcat Manager

2005-08-11 Thread Grimm Bernd
Title: Problem: Reload Axis with the Tomcat Manager Hello, I want to reload the axis application without restarting tomcat. To do this, I use the tomcat manager. But after reloading axis with the tomcat manager, axis doesn’t work anymore. I get the following message: - Unable to locate

RE: Axis 1.0 Bug with Wrapped Documents??

2005-08-11 Thread Hoying, Ken
Thank Anne, Unfortunately, I am not at a point where I can switch out versions of Axis. I do have a questions though. When I get to that point, do I have to have all of my clients update their axis libraries or will they be backward compatible? For now, I have been able to get around this bug

wsdl2java & complex types

2005-08-11 Thread Marco Laponder
Hi All,   I have a WSDL which contains the following part in the type section:                                 Now I run the java2WSDL tool which generates a separate class __GetFileStatusRequest   My question is what

RE: Problems undeploying a service and with SOAPMonitor

2005-08-11 Thread Juan Cervera
Hi Thad, My undeply.wsdd (which is the one generated automatically by WSDL2Java) is as follows: http://xml.apache.org/axis/wsdd/";> In case it is of any use, the deploy.wsdd is as follows: http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/w

AW: Axis2 how to add the generated schema in eclipse

2005-08-11 Thread Dorner, Thomas
Das waren wir! Wenn die Session abläuft!!! Thomas Dorner Systementwickler T-Systems International GmbH Service Line Systems Integration BC EPDM/D Design & Prototype Data Management Fasanenweg 5, D-70771 Leinfelden-Echterdingen Tel.:+49/711 972 - 44747 Fax.: +49/711 972 -

Re: Axis2 how to add the generated schema in eclipse

2005-08-11 Thread Ruchith Fernando
Hi, Well including the 'schema' dir as I explained before seems to solve the problem for me. > I followed wht you said but still eclipse show error as it still > cannot resolve the schema.system.foo.TypeSystemHolder in > RequestDocument.java and in > ResponseDocument.java Can you please explain