RE: Trouble with HTTPS/SSL and Axis

2004-03-11 Thread Leo de Blaauw
Title: RE: Trouble with HTTPS/SSL and Axis Hi, I would also switch on ssl debug in a case like this trough system property: javax.netl.debug=...  the value depends a litle on your ssl implementation, but for the sun ssl libraries it is: System.setProperty("javax.net.debug", "all"); For

Test

2004-03-11 Thread Jim Collins
 

Re: C# Cllient , Axis Server, Session Management

2004-03-11 Thread Srinivas Vemula
Hi,     Unfortunately we are having problems getting it to work. After we add the header, C# hasnt been able to recognize SessionID as an element. service.sessionID doesnt come up.         Could you please share ur experience in a lil more detail? Or could you post the changed wsdl ?? srini

Re: Changing name of return tag

2004-03-11 Thread Lars George
Found it, I had to use the "operation" element in the deployment file. Lucky the examples use them, since the documentation is virtually non-existent. All working good now. - Original Message - From: "Lars George" <[EMAIL PROTECTED]> To: "Axis-User" <[EMAIL PROTECTED]> Sent: Friday, March

Re: Trouble with HTTPS/SSL and Axis

2004-03-11 Thread peter anthony cowan
so since i'm using java 1.4 i can just remove those three files from the classpath? (actually, they're in the tomcat boot and system jar directoriess) do i need to have a keystore in the system properties in order to do outgoing ssl connections with axis? or should an axis client just run via http

Changing name of return tag

2004-03-11 Thread Lars George
Hi, Sorry, this must have been asked a million times but searching the list for something so generic did not yield any results, so here I ask again: We have a client that has hardcoded the name of the return tag in the SOAP response to "return" as it was custom for Apache SOAP. Now we use Axis an

re: HTTP Version in an Axis client

2004-03-11 Thread Danno Ferrin
First, wait for bugs AXIS-1251 and AXIS-1252 to be committed. Chunking and continue are broken. Next, once you get your service frm your servixe locator add this call before you do any calls... myService._setProperty(org.apache.axis.MessageContext.HTTP_TRANSPORT_VERSION, org.apache.axis

RE: problems with jws

2004-03-11 Thread Asanka Priyanjitih
Hi   U First Try to Access WSDL using Web browser         (Example URL is http://127.0.0.1:8080/axis/Calculator.jws?wsdl )   Then Try to open XMLSPY     I did and it works on my computer      I am working with         Tomcat 4.1.24

Re: Trouble with HTTPS/SSL and Axis

2004-03-11 Thread Charles Simon
This sounds like a mismatch or incomplete JAR files. First off if you are using Java 1.4 you do not need the separate SSL stuff, its bundled in. If you are using 1.3 then you need to add the following JARs to your client app's classpath. jsse.jar jcert.jar jnet.jar peter anthony cowan wr

Re: Doc/Literal support in axis

2004-03-11 Thread Nelson Minar
>But I keep reading about how Axis 1.1 does not really support doc/literal I keep reading that, too. But then I've talked to people who are doing doc/literal with Axis 1.1 with no trouble, too. What's the scoop?

Re: SOAP with Attachment

2004-03-11 Thread Jim Collins
You can find a tutorial here: http://www.javaworld.com/javaworld/jw-09-2003/jw-0912-webservices.html Regards Jim - Original Message - From: "Ying Ying" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 11, 2004 11:17 PM Subject: Re: SOAP with Attachment > Hi all, > >

Trouble with HTTPS/SSL and Axis

2004-03-11 Thread peter anthony cowan
When I attempt to run a SOAP client that goes to a secure destination (https), upon invoking the call object the program hangs. No exceptions are cast, nothing happens at all, it just stalls indefinitely. We are running the latest Axis along with Tomcat 4.04, behind the apache web server, which h

Re: SOAP with Attachment

2004-03-11 Thread Ying Ying
Hi all, I am interested in this as well. Is there anyone can provide some information about it? Thanks. Cheers, ying - Original Message - From: "Asanka Priyanjitih" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 11, 2004 8:53 AM Subject: SOAP with Attachment Hi All

Returning a PDF from a web service

2004-03-11 Thread Jim Collins
Hi, Does anyone know how to return a PDF file from a call to a web service? I want to have a method like this: public File getFile(String filename) That a client can call and which will return a PDF with the filename specified if it exists. Thanks for you help. Jim.

Re: Very Basic Problem with operation invocation

2004-03-11 Thread Anne Thomas Manes
Kartik, The problem is in your WSDL message definition. When using document/literal, your message definition should contain only one body part. (You can define additional parts, but they should represent header blocks -- not separate parameters in your body.) Axis ignores the second part. You

Dealing with null strings in Return

2004-03-11 Thread Arkady Yerukhimovich
I am using Axis C++ for a WebService Client. I am using a JAVA WebService using the BeanSerializer to serailize the complex types. I am able to send a request and receive a response from the WebService but I have two issues desirializing the response. 1. The Response has format In C+

Re: Very Basic Problem with operation invocation

2004-03-11 Thread Shantanu Sen
For correct doc-literal, you cannot use 'type' in your part definiton. Try changing your message definition to contain a single part element with an element attribute (instead of a type attribute). E.g. This should cause axis'

Re: Very Basic Problem with operation invocation

2004-03-11 Thread Kartik
I can't do that as I am using doc-literal format and not the rpc-encoded format. Correct me if I am wrong, but in doc-literal, the only way I can correspond a message part to a type is by re-routing the types as elements. Thanks. Kartik --- [EMAIL PROTECTED] wrote: > Hi, > > > Don't define ele

Newbie question

2004-03-11 Thread Roger Tanuatmadja
Hi, I've tried to look at the previous mailing list and Google and haven't found anything. My problem : I've inherited a web service that has an RPC/Encoded call with a apachesoap:Element type input parameter and output parameter. We now have a .Net client that tries to make a call to this web s

Re: Doc/Literal support in axis

2004-03-11 Thread Dennis Sosnoski
1.2 alpha appears to have a variety of problems. I was not able to use it directly for either rpc/encoded or doc/literal in some testing I'm doing, though I think the problems with both have been solved in the current CVS code. Until the developers come out with a 1.2 beta version that includes

Doc/Literal support in axis

2004-03-11 Thread Wei Hsu
Hi all,   I am currently in the process of modifying a RPC/Encoded web service to use RPC/Literal instead.  But while reading about interoperability issues, I realized that .NET among others does not support RPC/Literal, so I am looking to use doc/literal instead.  But I keep reading abou

Sending and Receiving Http Cookies

2004-03-11 Thread Goldstein, Scott
Title: Sending and Receiving Http Cookies I want to use or extend the HttpTransport and/or HttpSender to be able to retrieve Http cookies from the server and send them back to the server on subsequent requests.  Has anyone done this before?  Can the cookies be sent back to the web browser or

Re: Bug in WSDL2Java ?

2004-03-11 Thread Christopher Blunck
Hi Steve- thanks for the prompt response! that clears it up. false alarm - no bug. :) -c On Thu, Mar 11, 2004 at 06:35:51PM +0100, [EMAIL PROTECTED] wrote: > Hi > > If you use the same name in both the Request and Response message then it is > translated as an IN/OUT parameter. As such a

call.invoke( env ) - how to pass parameters?

2004-03-11 Thread Lee, Insoo
Hi, Please help me with my newbie question. I'm doing call.invoke( env ) where env is Axis's SOAPEnvelope and I'm trying to find a way to pass a parameter to the server and still use call.invoke( env ) I need to use call.invoke and since I have to sign/encrypt the SOAPEnvelope eventually. Client

Re: Very Basic Problem with operation invocation

2004-03-11 Thread smcardle
Hi, Don't define elements named foo bar and wow. In your message just change the types of f b and w to xsd:string and instead of using element use type i.e. Regards Steve Quoting Kartik <[EMAIL PROTECTED]>: > Hi Folks. > > I have attached the very simple WSDL (paramtes

Re: Bug in WSDL2Java ?

2004-03-11 Thread smcardle
Hi If you use the same name in both the Request and Response message then it is translated as an IN/OUT parameter. As such a holder class will automatically be used and substituted. If this is not what you want i.e. you want the method to return a string then call the foo in the Response somthi

Very Basic Problem with operation invocation

2004-03-11 Thread Kartik
Hi Folks. I have attached the very simple WSDL (paramtest.wsdl) that I am testing with. I have a couple of issues and it would be great if someone can point some solutions/references. In my WSDL, I have a single operation as shown belo (java mapping): String testTwo(String f, String b); The op

Bug in WSDL2Java ?

2004-03-11 Thread Christopher Blunck
howdy all- i'm working with axis, and am trying to convert a wsdl into java client stubs and server side skeletons. i'm having much success in most of my wsdls, but one is giving me problems. i believe i've located a bug in axis. here is the interface portion of my wsdl:

Re: Accessing Request Data With Axis WebService

2004-03-11 Thread Jeff Greif
NachrichtThe static method org.apache.axis.MessageContext.getCurrentContext() returns the MessageContext of the current request. From that you can find out just about anything (see the Axis FAQ and user guide and javadocs for MessageContext). Jeff - Original Message - From: Zedler, Miche

RE: wsdd parameters

2004-03-11 Thread Heitzeg, Bill
Finally a question I can answer (I ask so many but can answer so few).   You can specify an alternative wsdl by adding the wsdlfile child element to your service element.         /BillWebServicewithEBXML.wsdl                      

Re: wsdd parameters

2004-03-11 Thread Nicholas Remy
I believe there's a tag (or something similar) that will force return of whatever WSDL you specify rather than the one generated by Axis. Nick Brian Shields <[EMAIL PROTECTED]> 03/11/2004 11:39 AM Please respond to [EMAIL PROTECTED] To [EMAIL PROTEC

Re: Deployment in AXIS

2004-03-11 Thread Jeff Greif
org/apache/axis/server/server-config.wsdd (in axis.jar) deploys it Read the docs about wsdd options to find out about lifetime, etc. Read the architecture and user guides to find out about handlers. Jeff - Original Message - From: Senthil_KM To: [EMAIL PROTECTED] Sent: Thursday, March

wsdd parameters

2004-03-11 Thread Brian Shields
Hi all, is there a parameter i can set in the wsdd file that will overwrite the Java2WSDL creation when someone requests the serviceurl?WSDL. I want to specify a wsdl file location that will be returned when the above url is requested. Thanks, Brian Do you Yahoo!? Yahoo! Search - Find what you’re

Handling AxisFault Exceptions in Java Client

2004-03-11 Thread smcardle
Hi all, I am relativel new to Axis but have trawled the net and the Axis FAQ for answers to the following question without success and have decided to come to you for help in my hour of need. I would like to know how to extract the original exception from an AxisFault. I have a Stateless Sessi

Accessing Request Data With Axis WebService

2004-03-11 Thread Zedler, Michel
Title: Nachricht Hi all,   Here is my question:Is there any possibility to access data from a soap-request-messagein my web service implementation? (Apart from the rpc parameters for the called method.)It seems the Axis Servlet (ServiceManager) is hiding that all from me (?).   Here is my

AxisClient performance issue

2004-03-11 Thread Felix Dierich
Hello Axis users! I have developed a rather large project with Apache Axis and liked Axis very much so far (with the occasional problem of missing documentation). I have a performance problem with my client applications though: The first call to the web service takes almost two seconds on rather f

Getting NULL from call.Invoke() .

2004-03-11 Thread Shailesh Khare
Hi there, I have written SOAP client using Axis for remote SOAP server. I have generated Stub classes using WSDL2Java tool. I am making connection over SSL and have Imported servers certificate properly. Now my problem is I am getting NULL object return from call.Invoke() method without any error

SOAP Attachment Error

2004-03-11 Thread J . Sugrue
Hi. When I get an attachment (from a GSOAP Server - it's a DIME attachment) I get the following error : Caused by: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0xc) was found in the prolog of the document. at org.apache.axis.AxisFault.makeFault(AxisFault.java:129)

Re: Interoperability with .NET compact framework

2004-03-11 Thread James Black
Stefano Sambi wrote: Hi, I'm writing a C# client based on .NET compact framework and I have noticed that my client can't decode a string that my axis web service return. I'm using Axis 1.2 alpha. Here is the error: I believe there is a problem with Axis 1.2alpha on this issue. You may want to us

Re: C# Cllient , Axis Server, Session Management

2004-03-11 Thread MBenveniste
"Abhinav Maheshwari" <[EMAIL PROTECTED]> writes: > > Hi Stefan, > > I am pasting a wsdl for your reference. Please see the embedded comments. > > On the client side, C# needs to see the SessionID element in WSDL so that > > it can create member variable SessionID for the service. But Axis does n

Re: C# Cllient , Axis Server, Session Management

2004-03-11 Thread Stefano Sambi
Thanks for your responses, it seems that it works. Thank you Stefano - Original Message - From: "Abhinav Maheshwari" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 11, 2004 2:27 PM Subject: RE: C# Cllient , Axis Server, Session Management > Hi Stefan, > I am pasting

RE: C# Cllient , Axis Server, Session Management

2004-03-11 Thread Abhinav Maheshwari
Hi Stefan, I am pasting a wsdl for your reference. Please see the embedded comments. On the client side, C# needs to see the SessionID element in WSDL so that it can create member variable SessionID for the service. But Axis does not generate such a WSDL. Hence you need to modify the WSDL produced

RE: problems with jws

2004-03-11 Thread Wermus Fernando
I have tried to run examples web services such as calculador.jws, but when I tried to connect to the web service, it didn’t appear any method. I ‘m working with xml-spy 4.x as a web service client (which doesn’t show any method when I give the wsdl’s uri), and I have a tomcat 4.x running as

Interoperability with .NET compact framework

2004-03-11 Thread Stefano Sambi
Hi, I'm writing a C# client based on .NET compact framework and I have noticed that my client can't decode a string that my axis web service return. I'm using Axis 1.2 alpha. Here is the error: "Cannot find type for http://schemas.xmlsoap.org/soap/encoding/:string."; This is because axis encode t

Deployment in AXIS

2004-03-11 Thread Senthil_KM
    Hi all,   We deploy in axis using the command:   java org.apache.axis.client.AdminClient   NOw basically in the soure code of the AdminClient Programm the web service at http://localhost:8080/axis/services/AdminService is called   IS there any link or any document on how the web serv

Axis and NTLM

2004-03-11 Thread Russell, Brian
Hi, Is there anyway that Axis 1.1 can use NTLM for Proxy Authentication? Sun's JVM 1.4.2 now supports seamless NTLM authentiacation. If I try using the standard Java class java.net.URLConnection to access a web site, the NTLM authentication with our proxy happens fine, without any code changes,

Re: C# Cllient , Axis Server, Session Management

2004-03-11 Thread Srinivas Vemula
Hi Stefan,     See if this works.. srini Stefano Sambi wrote: I'm trying to use your SessionHandler to manage session between C# client and Axis web service but I do not succeed to set the SOAP header in my wsdl. Can you s

RE: How to prevent Axis from modifying the source code?

2004-03-11 Thread luciano.fiandesio
Title: RE: How to prevent Axis from modifying the source code? I don't think it is possible to make Axis not touch the Beans. I use a ant build script to copy the original beans over the axis modified beans. Luciano -Original Message- From: Oleg Lebedev [mailto:[EMAIL PROTECTED]

Re: Problems with complex type serialization using JMS transport

2004-03-11 Thread mcatarino
I Tom If i use the example with HTTP transport i dont have any problem , so i think the server is seeing my deploy.wssd. Probably it is the version i am using of Axis wich is 1.1. I will try the version you advise me. Tanks Manuel Catarino Citando [EMAIL PROTECTED]: > Manuel, > > Are you sur

SOAP with Attachment

2004-03-11 Thread Asanka Priyanjitih
Hi All Please Explain to me how to write simple SOAP With Attachments programs using AXIS, And also any know some useful links or has Some tutorials please send it to me. Thanks & Regards G J A Priyanjith