Antwort: TCPMON Port

2003-07-10 Thread landgraf
Hi Greg, try the following code on the client-side: SomeService_ServiceLocator someServiceLocator = new SomeService_ServiceLocator(); SomeService_port someService = someServiceLocator.getSomeServiceMethod(new URL("http://yourtcpmonhost:port/...";)); hth, Thomas "Bobak, Gre

Re: FW: another doc/literal issue

2003-07-10 Thread Eric Rajkovic
Tony, see comment inline. The eric Tony Opatha wrote: By DEFAULT does not .NET/WSE based SOAP client send Doc/Lit request in bare format rather than wrapped format. .Net based client send requests that match the WSDL used when you generate the Web reference; there is no default for the client

Newbie question on soap

2003-07-10 Thread Denero Watz
I need some clarifications!! Can a soap response can conatin a valid response and a fault message at the same time. Possible use case is that, after a partcular execution some records are available to return but some others cannot be returned due to some error occured in them. So if I want to retur

Re: TCPMON Port

2003-07-10 Thread Srinath Perera
Hi I do not think that there is any way that u can listen to all ports. anyhow how tcpmon work is say your Axis (tomcat liten on 8080) then what you do is ask our Axis client to send the message via some other port say . Then u set tcpmon to liten to message at print it and send the mes

Re: Axis 1.1 generates incorrect code for maxOccurs="unbounded"?

2003-07-10 Thread Stu Halloway (DevelopMentor)
Hi dims (is that a nickname?), Thanks for the link. I have read the Axis docs but not the Wiki, I'll add it to my "search before posting" algorithm. Cheers, Stu Davanum Srinivas wrote: Yes, Stu. Known problem. We need as much help as we can. Yes, any help is becoming WS-I compliant is welcome a

Re: Trouble with doc/literal wsdl with .NET

2003-07-10 Thread Davanum Srinivas
Anne, The problem is that the WSDL is auto-generated by Axis and we need to fix it... -- dims --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > I see the same problem in the WSDL that we've seen quite a few times before: > no targetNamespace specified -- this time in the second element in > th

Re: FW: another doc/literal issue

2003-07-10 Thread Tony Opatha
By DEFAULT does not .NET/WSE based SOAP client send Doc/Lit request in bare format rather than wrapped format.   Wrapped format is being discouraged and probably nopt very well documented by Microsoft.   Shouldn't .NET developers and AXIS applications that interface with .NET NOT use wrapped for

RE: doc/literal & method names

2003-07-10 Thread Tony Opatha
From Anne's comments below it seems that SOAPAction should be equal to addNumbers if you want to interoperate with other web service engines.   Also should there be any corresponding HTTP header??   ThanksCory Wilkerson <[EMAIL PROTECTED]> wrote: So should Axis be generating the soapAction element

Re: Trouble with doc/literal wsdl with .NET

2003-07-10 Thread Anne Thomas Manes
I see the same problem in the WSDL that we've seen quite a few times before: no targetNamespace specified -- this time in the second element in the section. Also note that the element in0 is defined three times. And I don't think there's a need to import the soap encoding namespace. http://www.w

RE: Trouble with doc/literal wsdl with .NET

2003-07-10 Thread Davanum Srinivas
One more iteration...Change it back to "document" and try with .NET 1.1 Framework's wsdl.exe (http://msdn.microsoft.com/netframework/downloads/howtoget.aspx). If that doesn't work, then please open a bug report (http://ws.apache.org/axis/bugs.html) with your test case. Thanks, dims --- "Samprat

RE: Trouble with doc/literal wsdl with .NET

2003-07-10 Thread Samprathi, Subramani non Unisys
dims, I changed it in the WSDL, but I now get a error Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 1.0.3705.0] Copyright (C) Microsoft Corporation 1998-2001. All rights reserved. Error: Error when reading file 'junk3.wsdl'. - There is an error i

TCPMON Port

2003-07-10 Thread Bobak, Greg P.
Title: TCPMON Port When running tcpmon from the client-side, is there any way to tell it to listen to all ports?  Or how do I tell my Axis client to use a selected port? Thanks, Greg Greg Bobak  Senior Programmer Analyst Cole National http://www.thingsremembered.com Privileged/C

Multiple axis webapps?

2003-07-10 Thread Wendy Smoak
Title: Multiple axis webapps? Is there any reason I should avoid multiple axis webapps in the same Tomcat instance?  I think I need 'axis', 'axis-test' and 'axis-dev'.  The data access layer I use depends on a properties file (one per webapp) to tell it which account to connect to (developmen

Re: FW: another doc/literal issue

2003-07-10 Thread Eric Rajkovic
Cory, With .Net, there are two flavors of document/literal requests you can generate. Once you have genereted the web reference, you can look at the generated code (Web Reference\com.travelnow.test\Reference.cs) to figure out which style is in use. Look at the value for the ParameterStyle attribu

RE: redeployment of web-service class files problem.

2003-07-10 Thread Trieu, Jason T - CNF
Steve, Ant is Java build tool that's used by both Axis and Tomcat. The catatlina-ant.jar file that comes with the Tomcat package has a "reload" task. You can run an ant command to reload a web application (Axis) hosted by Tomcat. For more info go to http://ant.apache.org/ Jason -Origina

Re: Trouble with doc/literal wsdl with .NET

2003-07-10 Thread Davanum Srinivas
Try using style="wrapped" in your WSDL. -- dims --- "Samprathi, Subramani non Unisys" <[EMAIL PROTECTED]> wrote: > Hi eveybody, > I am using AXIS-RC2 and when I enable doc/lit, the WSDL generated from axis > is not getting parsed in .NET "WSDL.exe". > I get the following error: > > Schema vali

Trouble with doc/literal wsdl with .NET

2003-07-10 Thread Samprathi, Subramani non Unisys
Hi eveybody, I am using AXIS-RC2 and when I enable doc/lit, the WSDL generated from axis is not getting parsed in .NET "WSDL.exe". I get the following error:   Schema validation warning: Global element 'in0' has already been declared.Schema validation warning: Global element 'in0' has alr

RE: Web services security with Axis

2003-07-10 Thread Koller, Shmuel
The Wrox book on Axis includes checklist/example for using HTTP basic-auth, Shmuel -Original Message-From: Ajay Gondhiya [mailto:[EMAIL PROTECTED]Sent: Thu, July 10, 2003 7:38 PMTo: [EMAIL PROTECTED]Subject: Web services security with AxisCan someone point me to a place

Re: Does Doc/Literal allows users to directly work with language constructs (classes, structures etc..)?

2003-07-10 Thread Anne Thomas Manes
Just to be clear, when using Doc/Lit, the *SOAP engine* can process the XML payload using XML Schema -- meaning that it can validate it and transform it using standard utilities. An RPC/Encoded payload does not conform to a schema, therefore you can't validate it.   But there's no need for t

RE: Exception handling strategy question

2003-07-10 Thread Bhanu Pabreja
waiting for some one to reply on this topic ... dumdum420 -Original Message- From: Bhanu Pabreja [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 3:03 PM To: Axis-User Subject: FW: Exception handling strategy question The AxisFault actually extends RemoteException so it is fine t

RE: doc/literal & method names

2003-07-10 Thread Cory Wilkerson
So should Axis be generating the soapAction element with the method to invoke? As you can see below -- I've a soapAction of "". http://schemas.xmlsoap.org/soap/http"; /> http://test.travelnow.com"; use="literal" />

Re: doc/literal & method names

2003-07-10 Thread Anne Thomas Manes
Whether or not the SOAPAction is "critical" is dependent on the the SOAP implementation you use, but most systsms use SOAPAction to specify the method signature when using doc/literal. Anne - Original Message - From: "Jeff Greif" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday,

Unsubscribe me

2003-07-10 Thread Pierre Feillet
Please unsubscribe me.   Thank you.   Pierre

Re: doc/literal & method names

2003-07-10 Thread Jeff Greif
I think (but am not certain) the SoapAction which appears in the http headers is crucial for doc/lit. Jeff - Original Message - From: "Cory Wilkerson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 10, 2003 11:12 AM Subject: doc/literal & method names How could Axis pos

FW: Exception handling strategy question

2003-07-10 Thread Bhanu Pabreja
The AxisFault actually extends RemoteException so it is fine to say that .invoke() method throw RemoteException. (1)Thus all I have to do is add this piece of code map it to "client" faultCode as per SOAP 1.1 spec and I am done. (2)This would imply that since I am setting the faultCode m

RE: redeployment of web-service class files problem.

2003-07-10 Thread Steve Pannier
Jason, Could you explain: What is the Ant task "reload"? Thanks. Steve > Peter, > > After deploying you can do a reload of Axis to pick up the new service > without having to start Tomcat. You can reload Axis via Tomcat's manager > web app or via Ant task "reload". > > Jason > > -Original

RE: Simple MessageContext problem...

2003-07-10 Thread Chen, Li (Research, YOH)
sorry, i was in a hurry -- for the first question, it is the username/password for the HTTP Basic Authentication header.   Thanks,   Lee -Original Message-From: Tony Opatha [mailto:[EMAIL PROTECTED]Sent: Thursday, July 10, 2003 1:58 PMTo: [EMAIL PROTECTED]Subject: Re: Simple

doc/literal & method names

2003-07-10 Thread Cory Wilkerson
How could Axis possibly infer what method name to invoke giving the following data off the wire? Perhaps my problem lies herein? Axis 1.1 beta spits out a "no such operation (x) error" while 1.1 swallows it and spits out a nullpointer. http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi

/samples/faults : example how it works?

2003-07-10 Thread Bhanu Pabreja
I was trying to understand the way exception propogation takes place and should be handled when using Web services in genral and in context of AXIS as a SOAP engine. Can anyone explain me the motivation behind this example which comes with the axis download. And also if some one can guide me thru

RE: Simple MessageContext problem...

2003-07-10 Thread Chen, Li (Research, YOH)
answer embedded in message: -Original Message-From: Tony Opatha [mailto:[EMAIL PROTECTED]Sent: Thursday, July 10, 2003 1:58 PMTo: [EMAIL PROTECTED]Subject: Re: Simple MessageContext problem... 1) Is this the username/password for the HTTP Basic Authentication header o

Re: Simple MessageContext problem...

2003-07-10 Thread Tony Opatha
1) Is this the username/password for the HTTP Basic Authentication header or for a SOAP security header?   2) how can we extract the userid & password for SOAP security header in AXIS handler? "Chen, Li (Research, YOH)" <[EMAIL PROTECTED]> wrote: Hi All,There seems to be a problem with using Messa

Simple MessageContext problem...

2003-07-10 Thread Chen, Li (Research, YOH)
Hi All, There seems to be a problem with using MessageContext object in Axis 1.1. I've deployed a service (a .java file, not JWS) with deploy.wsdd and all, plus a handler that intercepts the incoming SOAP message before it arrives the service...there was no problem accessing MessageContext

RE: Does Doc/Literal allows users to directly work with language constructs (classes, structures etc..)?

2003-07-10 Thread Tony Opatha
Most importantly Doc/Lit allows end users to process payloads using the corresponding XML Schema for the payload that is packaged in the SOAP Body. This is quite important when the WSDL2Java compiler creates the stubs and skeletons it is basically creating serializable beans that produce XML paylo

DIME Attachment from Axis to GSOAP Server

2003-07-10 Thread Bill Buch
All,    I am having what seems to be a unique problem when an Axis client contants a GSOAP server sending  a DIME attachment.  The GSOAP client to GSOAP server works fine.  Here is the request from Axis to GSOAP.   POST / HTTP/1.0? Content-Type: application/dime?Accept: application/soap+xml, a

FW: another doc/literal issue

2003-07-10 Thread Cory Wilkerson
Sorry, premature send...that should read "com.travelnow.test" down there and not "com.corywilkerson...". Still an issue here -- just a typo when composing the email. Using 1.1 final, I've implemented a VERY rudimentary doc/literal service for the sake of testing doc/literal s

another doc/literal issue

2003-07-10 Thread Cory Wilkerson
Using 1.1 final, I've implemented a VERY rudimentary doc/literal service for the sake of testing doc/literal services. The following fails with a .NET client -- but, if I remove the style/use attributes -- the service executes without issue. This serivce does *not* throw a subclass of exceptio

Set timeout for SOAPMessage

2003-07-10 Thread Philip Puccio
Hi, I've seen other threads asking about timeout and in the few cases where there are responses, the solution lies in using Call.setTimeout(int). I'm using SAAJ, so I'm dealing with a SOAPMessage. I see that MessageContext implements setTimeout, but when I try to get the MessageContext from the

Web services security with Axis

2003-07-10 Thread Ajay Gondhiya
Can someone point me to a place where I can find more information (docs/examples etc) on how a non-axis client can securely (using userid and password) access Axis web service?I am relatively new to Axis and web services so feel free to share any info. on interoperability of security context betwee

RE: Exception handling strategy question

2003-07-10 Thread Bhanu Pabreja
the invoke() throws AxisFault ; this is what the api also shows. I am using AXIS 1.1 and I also do not have a clue which SOAP level I am using. Kindly clarify this. I have only one method exposed which is: Document fetchData(Document dom){} and I have clients which are going to be VB.Net based so

RE: redeployment of web-service class files problem.

2003-07-10 Thread Trieu, Jason T - CNF
Peter, After deploying you can do a reload of Axis to pick up the new service without having to start Tomcat. You can reload Axis via Tomcat's manager web app or via Ant task "reload". Jason -Original Message- From: Peter Ross [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 4:5

Re: redeployment of web-service class files problem.

2003-07-10 Thread Dan Kamins
You need to get Tomcat to reload the classes themselves, not just have Axis look at an updated deployment. To do this, you can restart Tomcat. Or, if you don't want to restart Tomcat, you can (usually) "touch" (just updates modified time of the file and makes Tomcat think something has changed

This is the SSTTUUPPIIDD error ever!!!!!

2003-07-10 Thread Gavriloaie_andrei
This is what i get when i try to invoke a method from my service.   Tried to invoke method public java.lang.String ro.csean.andrei.codallocserver.return_string() with arguments .  The arguments do not match the signature.;     WHAT arguments!!! I don't have any arguments. 0 arguments.

RE: Does Doc/Literal allows users to directly work with language constructs (classes, structures etc..)?

2003-07-10 Thread Hittesdorf,Michael
Axis is JAX-RPC compliant which means that you can develop Doc/Literal Web Services where you need not ever deal directly with XML. Rather you can work directly with Java stubs and server-side skeletons. Axis will marshal and unmarshall your Doc/Literal SOAP message for you using Java classes gene

JavaBean synchronisation Client/Server

2003-07-10 Thread BLIS Webmaster (Patrick Houbaux)
Hi all, I'm working with a service (that I'm the developper) that exposes some JavaBean. As far as I understand the instance of the JavaBean on the client side is not synchornised with the instance JavaBean on the server side. i.e: when I modify an attribute of a client instance of the JavaBean

Enumerations

2003-07-10 Thread Cory Wilkerson
I'm sure we've poured over this 1,000 times -- but, I'm going to bring it to the table again. We deployed our first round of services on Axis about 3 months ago -- at which point the only way to convey a sense of "valid values" for a given element (via WSDL) was to hack the WSDL document gene

Axis and RMI/IIOP : rmic problem

2003-07-10 Thread Guillaume Sauthier
Hi all It seem that I have a problem when I try to used the ant ejbjar task with RMI/IIOP on an EJB which is a web services client. First, I have a service endpoint using Axis, this endpoint use a bean(named Address) to transfert information between client and server. When I use the ejbjar task

Tried to invoke method .... The arguments do not match the signature

2003-07-10 Thread Gavriloaie_andrei
Hi,   I have installed Apache Tomcat, with axis 1.1.    In my "codallocserver" service I have a method   java.lang.Integer ro.csean.andrei.codallocserver.echo_int ( java.lang.Integer )   when I'm using it I get the following exception:   [WASP_StubFaultExceptionFault]  FaultString='Tried

Re: Exception handling strategy question

2003-07-10 Thread remko de knikker
Here's what I did: Since the ..invoke() call throws a RemoteException I used ... throws RemoteException { try { ... } catch (RemoteException e1) { sb1 = MessageContext.getCurrentContext().getResponseMessage().getSOAPPart().getEnvelope().getBody(); SOAPFault fault = sb1.a

Re: Reading material on AXIS

2003-07-10 Thread remko de knikker
I've seen that Wrox is about to publish a new book on Axis (was set to some date in July actually)  (i.e. NOT the Next Generation ...) Most books that cover Axis within a broader perspective of Web Services do not cover more than the manual does, probably even copied the examples. I haven't see

RE: Does Doc/Literal allows users to directly work with language constructs (classes, structures etc..)?

2003-07-10 Thread Agarwal, Naresh
Hi Srinivas, thanks for the reply. Doc/Literal support in Axis allows users to directly work with constructs (classes, structures etc..) available in languages. But in general can we do this in case of Doc/Literal? I believe that the fundamental difference between RPC/Encoded and Doc/Literal is

Re: axis installation problem

2003-07-10 Thread Davanum Srinivas
Flavius, Known problem in tomcat3.2.1, the context class loader does not work. Please switch to latest tomcat. Thanks, dims --- Flavius Frasincar <[EMAIL PROTECTED]> wrote: > Hi! > > I did install axis on my UNIX machine. I did run happyaxis succesfully > and also I tested oke a SOAP endpoint.

axis installation problem

2003-07-10 Thread Flavius Frasincar
Hi! I did install axis on my UNIX machine. I did run happyaxis succesfully and also I tested oke a SOAP endpoint. Unfortunately when I test a JWS Endpoint http://svis02.win.tue.nl:8080/axis/EchoHeaders.jws?method=list I get this error: 2003-07-10 11:34:22 - Ctx( /axis ): Exception in: R( /axis

Re: Reading material on AXIS

2003-07-10 Thread Paul Monday
My book "Web Service Design Patterns: Java Edition" uses the Axis 1.0 platform for the basis of the pattern implementations. While the book is not specifically about the Axis platform, there is considerable usage information and a few implementation details (very high level) about Axis and 3 pa

redeployment of web-service class files problem.

2003-07-10 Thread Peter Ross
Hi, I seem to be having a problem where if I redeploy a service, the web-service still uses the old versions of the class files and returns the old answer. The only way I can get the new class files is to restart Tomcat. I'm trying to interactively develop a web-service using Axis 1.1 deployed i

Does AXIS supports Notification operation?

2003-07-10 Thread Agarwal, Naresh
Hi   WSDL has a "Notification" transmission primitives, in which endpoint sends a message.   Is there a way implement "Notification" using HTTP in SOAP. Does AXIS supports this in any way?   regards, Naresh Agarwal

Re: Does Doc/Literal allows users to directly work with language constructs (classes, structures etc..)?

2003-07-10 Thread Davanum Srinivas
Yes, Doc/Literal support in Axis can do the same. --- "Agarwal, Naresh" <[EMAIL PROTECTED]> wrote: > Hi > > RPC/Encoded allows users to directly work with constructs (classes, structures > etc..) available > in languages. > Does Doc/Literal allows the same? > > AFAIK, it does not, as in case

RE: Problem with AXIS 1.1 (Possible Bug)

2003-07-10 Thread santosh . joshi
Experts, Any pointers to the problem, greatly appreciated. Regards, Santosh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:23 PM To: [EMAIL PROTECTED] Subject: RE: Problem with AXIS 1.1 (Possible Bug) Anne, As suggested I have

'Tried to invoke method .... The arguments do not match the signature

2003-07-10 Thread Gavriloaie_andrei
Hi,   I have installed Apache Tomcat, with axis 1.1.   I'm using WASP Server for C++ for accessing the web service.   In my "codallocserver" service I have a method   java.lang.Integer ro.csean.andrei.codallocserver.echo_int ( java.lang.Integer )   when I'm using it I get the following except

Re[2]: Deserializing an Array of Beans

2003-07-10 Thread Andreas Meier
Hello Andreas, Thursday, July 10, 2003, 11:45:52 AM, you wrote: AB> did you try the wdsl2java generated code? AB> use -t for gerating a testcase and look at the code.. AB> for me it works fine! Yes. It's working now. My client code was wrong. I'm now using some code from the generated testcases.

Re: Deserializing an Array of Beans

2003-07-10 Thread Andreas Bohnert
did you try the wdsl2java generated code? use -t for gerating a testcase and look at the code.. for me it works fine! lg Andreas2 - Original Message - From: "Andreas Meier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 4:23 PM Subject: Deserializing an Array