RE: Stub.getHeader(namespace, partname) in axis1.1

2003-10-14 Thread Toshiyuki Kimura
Nan, Umm..., you mean the headers.size() equals to zero. It seems the difference is from the modification on "org/apache/axis/wsdl/toJava/JavaStubWriter.java". Here is the log; [It may affect Axis 1.1 final] .*.*.*.*.*.* Revision 1.114 / Fri Ap

RE: Stub.getHeader(namespace, partname) in axis1.1

2003-10-14 Thread Nan Xiong
Toshi, I dont think the problem is the namespace, since stub.getHeaders() returns 0 size array in axis1.1... so basically somehow, the headers are not in stub anymore in axis1.1. do you have more pointers where problem may be? thanks Nan > -Original Message- > From: Toshiyuki Kimura [mai

RE: Stub.getHeader(namespace, partname) in axis1.1

2003-10-14 Thread Toshiyuki Kimura
Nan, Thank you for sending the response message. I think this is not an intentional behavior. The stub.getHeader() has never changed between 1.1 RC2 and 1.1 final, and the code is as follows; public SOAPHeaderElement getHeader(String namespace,String partName){ for(int i=0;i -Original

RE: Stub.getHeader(namespace, partname) in axis1.1

2003-10-14 Thread Nan Xiong
Toshi, Thanks for your reply. I'm usng .NET 1.1 (2003). the soap response from .NET is: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>http://www.viewstar.com/webservices/2002/11";>VE9WXV5HS0zigKZ

Re: Stub.getHeader(namespace, partname) in axis1.1

2003-10-14 Thread Toshiyuki Kimura
Nan, I guess that it might be related to a change of handling for namespace between RC2 and 1.1 final. A couple of days before, I've met an interop issue - using Axis 1.1 final as the server and .Net(InfoPath 2003) as the client. Did you snoop the messages ? What's the version of .Net ? Co

Re: How to check SerializationContext

2003-10-14 Thread Toshiyuki Kimura
George, Please see the following threads. I believe it helps you. -- Toshi <[EMAIL PROTECTED]> -Original Message- From: Y D Sun [mailto:[EMAIL PROTECTED]

Re: Type-mapped return value + dynamic proxy = ClassCastException

2003-10-14 Thread Dave Schweisguth
Dear Axis users, I said: > [..] dynamic proxies work fine for me (via code much like that below) as > long as none of my return values are type-mapped. So type mapping works > and dynamic proxies work, but they don't work together (for return values) > for me. It turned out to be just an error on

[wsif] Solicit-Response

2003-10-14 Thread Rhett . DeWall
WSIF works well for implementing oneway, request-reply (sync and async) operations, but has anyone had any successes (or failures) in implementing a WSIF-based solution for notification and solicit-response operations? Does a WSIF-like framework exist for notification and solicit-response operatio

Create a SOAP header

2003-10-14 Thread Wolfram Ditzer
Hello, I search for a (short) way to create a SOAP header from a class which represents a data type. The class itself was created by WSDL2Java. http://optel.test.de/schemas/interface/"; xmlns:ns2="http://optel.test.de/interface";> 21857 I need a object from SOAPHeaderElement to put it

code works on a PC but not on unix

2003-10-14 Thread derek_liu
Hi, Using the WSDL2java generated code, works fine on a NT box, but not a SUN UNIX box (SunOS 5.7 Generic_106541-12 sun4u sparc SUNW,Ultra-250). Debugged and found that the following call never comes back: java.lang.Object _resp = _call.invoke(new java.lang.Object[] {username, passwor

How to check SerializationContext

2003-10-14 Thread Y D Sun
Dear all, I am writing a custom serializer that implements org.apache.axis.encoding.Serializer. I want to check the content written to the SerializationContext context in method serialize(QName name, Attributes attributes, Object value, SerializationContext context). What method can be used to r

Stub.getHeader(namespace, partname) in axis1.1

2003-10-14 Thread Nan Xiong
Hello, I have a .NET web services that passes session id (a string) in the soap header, we were able to use Stub.getHeader(...) and Stub.setHeader() to make axis client talking to the .NET services using axis1.1 RC2, however, in axis1.1 final release, getHeader returns null. Anybody has the sa

Antwort: Call, read/write Cookies (need help)

2003-10-14 Thread Oliver Wulff
I tried to read my custom HTTP header that I get back from my soap service but I get back null. I thought I could extend the class HTTPTransport and registred it when creating the Call object. The methods setupMessageContextImpl and processReturnedMessageContext will be called but my HTTP heade

SimpleSession and J2EE HttpSession

2003-10-14 Thread Justin Ruthenbeck
Hello All, I'm a longtime Tomcat user/tweaker, new Axis user. I must say I've been so far impressed with the ease of use, especially for someone who's already familiar with J2EE development. Out of the box, it looks like Axis supports sessions through a combination of: org.apache.axis.handler

Re: Fwd: WSS4J - WS-Security Implementation (was Re: axis-wsse)

2003-10-14 Thread Davanum Srinivas
If you help implement this we can do this quickly :) No formal plans yet --- Tony Opatha <[EMAIL PROTECTED]> wrote: > 1) Any plans to develop a SAML token as an enhancement to current WS-Security > implementation? > > 2) Any idea when the currently available WS-Security PasswordToken sup

Re: Fwd: WSS4J - WS-Security Implementation (was Re: axis-wsse)

2003-10-14 Thread Tony Opatha
1) Any plans to develop a SAML token as an enhancement to current WS-Security     implementation?   2) Any idea when the currently available WS-Security PasswordToken support     will beome part of an official AXIS 1.x release?     Thanks Davanum Srinivas <[EMAIL PROTECTED]> wrote: FYI.--- Davanum

Call, read/write Cookies

2003-10-14 Thread Oliver Wulff
Hi all When I call my webservice the first time I get a cookie back. For further requests, I have to add this cookie to each request. I've read in earlier requests that I should use the Call object. But, I'm using the generated class <>PortBindingStub to send my requests. The Call object is ge

Re: Parameternames from WSDL

2003-10-14 Thread Sascha Huedepohl
* Sascha Huedepohl ([EMAIL PROTECTED]) wrote: > Hi, > > I have createt a simple Calculator Webservice and deployed it. Like in > the "Axis User's Guide". > > Now i'm looking for a way to get the Names of the 2 Parameters the > Calculator needs. As they are described in the wsdl. this wasn't very

Fwd: WSS4J - WS-Security Implementation (was Re: axis-wsse)

2003-10-14 Thread Davanum Srinivas
FYI. --- Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Date: Tue, 14 Oct 2003 05:14:15 -0700 (PDT) > From: Davanum Srinivas <[EMAIL PROTECTED]> > Subject: WSS4J - WS-Security Implementation (was Re: axis-wsse) > To: [EMAIL PROTECTED] > > Filippo, Pankaj, Team, > > To jumpstart work on WSS4J > (

Message Context

2003-10-14 Thread Subbiah
Hi, In servlets if I use request.getSession() I get the session back, if there is no current session, it returns a new session. Instead, if I use request.getSession(false) , if the request has no valid HttpSession, this method returns null How does it work in Axis. Is the same for the session

Re: WS-Security

2003-10-14 Thread Filippo Vitale
--- Michael, Michelle wrote: > Regarding these items listed in the AXIS requirements list: > > - 130b Support SOAP-level security [High] > - 132 Support for existing security SOAP-level standards > > Are there plans to support the OASIS WS-Security specification? > If so, in what AXIS version and

Re: HTTP Chunking

2003-10-14 Thread Toshiyuki Kimura
Paul, Yes - if you're using Axis 1.1 final and TOMCAT with the following snips on your client; call.setProperty(MessageContext.HTTP_TRANSPORT_VERSION, HTTPConstants.HEADER_PROTOCOL_V11); However, if you're using BEA WebLogic Application Server, you may meet a trouble. I'

RE: Bad envelope namespace

2003-10-14 Thread Schie, Sjaak van
You can run the HTTP connection through the axis tcp monitor. It's described in the User Guide. See "Using the Axis TCP Monitor (tcpmon)" for that. I think you sometimes get and invalid page from the server, which in not correctly formatted. Or maybe you can dump the output in Perl, before it's s

Hiding Inheritance in Java2WSDL

2003-10-14 Thread anthony.leon
I have a 2 deep class hierarchy. I wish to present it in WSDL as one 'flat' class, with accessors from both classes being members of the one class. I do not wish to expose the sub-class. The ultimate purpose is to simplify the class hierarchy on the .NET object viewer. Your ideas would be appre

HTTP Chunking

2003-10-14 Thread Paul Harman
Does AXIS accept (and is AXIS able to send) HTTP-chunked messages? I haven't been able to find out whether it can or not by looking through the www.apache.org/axis web site... If so, is it automatic, or something that needs to be configured (and if so how)? Thanks, Paul This E-Mail and

multiple return parameters

2003-10-14 Thread Kiss Attila
> Hi > > I am working on a project that need to return multipel parameters with axis > soap . in the backend i have delphi with some kind of soap api ! The problem > is that i don't know if is posible to return more then one parameter as > result! > > Thank you for help! > > Attila >

RE: Bad envelope namespace

2003-10-14 Thread Jørgen Austvik
On Tue, 2003-10-14 at 11:59, Schie, Sjaak van wrote: > Jørgen, > > The stack trace is not so relevant here. ;) I thought so. But does it show whether the error is in the request (AXIS side) or in the response (SOAP::Lite/Perl) side? > Can you grab the request and the response message. From that

Re: Bad envelope namespace

2003-10-14 Thread Jørgen Austvik
On Tue, 2003-10-14 at 11:54, Kiss Attila wrote: > Hi > > I am working on a project that need to return multipel parameters with axis > soap . in the backend i have delphi with some kind of soap api ! The problem > is that i don't know if is posible to return more then one parameter as > result! >

RE: Bad envelope namespace

2003-10-14 Thread Schie, Sjaak van
Jørgen, The stack trace is not so relevant here. Can you grab the request and the response message. From that you can check whether both client and server adhere to the same SOAP standard. Sjaak -Original Message- From: Jørgen Austvik [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14,

Re: Bad envelope namespace

2003-10-14 Thread Kiss Attila
Hi I am working on a project that need to return multipel parameters with axis soap . in the backend i have delphi with some kind of soap api ! The problem is that i don't know if is posible to return more then one parameter as result! Thank you for help! Attila

Bad envelope namespace

2003-10-14 Thread Jørgen Austvik
Hi! We have a strange SOAP problem that shows up from time to time. It is not deterministic. On the server side we use SOAP::Lite 0.55 on a IIS web server using the latest PerlEx for (ActiveState) Perl 5.6. On the client side we use Java and Apache AXIS 1.1. Sometimes we get the "org.xml.sax.SAX

Parameternames from WSDL

2003-10-14 Thread Sascha Huedepohl
Hi, I have createt a simple Calculator Webservice and deployed it. Like in the "Axis User's Guide". Now i'm looking for a way to get the Names of the 2 Parameters the Calculator needs. As they are described in the wsdl. TIA sascha