Session Problem --HttpUrlConection

2004-07-01 Thread bethana kumar
Hi I'm having a client application(PDA ) and sending two different request to the server by creating two different URL connections to two different servelets. User(PDA) initially sent login request to Server,Once login successfully User(PDA) will send data request to Server for getting data from

[ws-fx/ws-addressing] multiRef problem

2004-07-01 Thread Dasarath Weeratunge
**Sorry about the previous posts if you received any of them.   Hi,The ws-addressing handler routes the response when areplyTo header is present in the request. However,the following are two responses that I got -- thefirst with NO replyTo header and the second with areplyTo header -- differ

Fwd: ws-fx/ws-addressing multiRef problem

2004-07-01 Thread Dasarath Weeratunge
Sorry again. --- Dasarath Weeratunge <[EMAIL PROTECTED]> wrote: > Date: Thu, 1 Jul 2004 20:10:52 -0700 (PDT) > From: Dasarath Weeratunge > <[EMAIL PROTECTED]> > Subject: Fwd: ws-fx/ws-addressing multiRef > problem??? > To: [EMAIL PROTECTED] > CC: [EMAIL PROTECTED] > > Sorry, if this is the second

Fwd: ws-fx/ws-addressing multiRef problem???

2004-07-01 Thread Dasarath Weeratunge
Sorry, if this is the second time you are seen this message but it didn't go to the list, the first time I sent it. Dasarath --- Dasarath Weeratunge <[EMAIL PROTECTED]> wrote: > Date: Thu, 1 Jul 2004 06:04:19 -0700 (PDT) > From: Dasarath Weeratunge > <[EMAIL PROTECTED]> > Subject: ws-fx/ws-addre

Re: Question about bug AXIS-1080 multi-cookie support

2004-07-01 Thread Davanum Srinivas
If i get a patch against latest CVS. am willing to apply the patch. thanks, dims On Thu, 1 Jul 2004 17:57:17 -0700 (PDT), Alex Burmester <[EMAIL PROTECTED]> wrote: > > Hello, I am wondering what the road map is for integrating a fix for this > multi-cookie support problem into the code base for

Question about bug AXIS-1080 multi-cookie support

2004-07-01 Thread Alex Burmester
Hello, I am wondering what the road map is for integrating a fix for this multi-cookie support problem into the code base for axis? I see that there is a patch but unfortunately I work at a company that tries to avoid one-off patched versions of tools and since we are already using axis 1.1 in a

Re: Axis LogFactory NoClassDefFoundError

2004-07-01 Thread David denBoer
I have seen this in the past. Make sure that you do not have more than one class in your classpath that has org.apache.axis.handlers.BasicHandler And, I have seen it using WO, so this could easily be what you are seeing. On Jul 1, 2004, at 3:30 PM, Baiss Eric Magnusson wrote: Hello James, How

Re: Axis LogFactory NoClassDefFoundError

2004-07-01 Thread Baiss Eric Magnusson
Hello James, How can that be, from the stack crawl I see as a found method. All the axis jars are in the same directory. My guess is that needs to generate a class name and it is either a bogus name or... The strange part is it runs on one machine and not the next, the install was done manual

Frustration! Unpredictable Axis Output?

2004-07-01 Thread NYY96
Hello fellow programmers,   I would be ecstatic if anybody could give me some insight into what exactly is going on here!   Client Code: public class adminHandlerClient{    static String router = "http://localhost:8081/axis/adminDirect/";    static String service = "adminDirectService.wsdl"; 

Re: Why AXIS instead of Sun's Web Services SDK?

2004-07-01 Thread matthew.hawthorne
David Thielen wrote: I'm at JavaOne and so have not had a chance to download it. But it looks like > Sun's wsjdk gives you everything you need to run web services on tomcat or any other application server. In this case, what is axis needed for? I tried Sun's Web Service Development Kit before, an

Re: Why AXIS instead of Sun's Web Services SDK?

2004-07-01 Thread Baiss Eric Magnusson
Well, for those running other application servers that only need the J2SE free environment. For me, that means WebObjects. On Jul 1, 2004, at 2:06 PM, David Thielen wrote: Hi; I'm at JavaOne and so have not had a chance to download it. But it looks like Sun's wsjdk gives you everything you need

Re: Why AXIS instead of Sun's Web Services SDK?

2004-07-01 Thread NYY96
Axis is a much more pure implemenation and it is a bit more flexible. It seems to me at the Web Service SDK is more for experimentation than heavy development.   James   In a message dated 7/1/2004 5:06:47 PM Eastern Standard Time, [EMAIL PROTECTED] writes: Hi;I'm at JavaOne and so have not

Re: Axis LogFactory NoClassDefFoundError

2004-07-01 Thread NYY96
Definitely your classpath.   James   In a message dated 7/1/2004 5:10:34 PM Eastern Standard Time, [EMAIL PROTECTED] writes: I was able to run the Apache Axis stuff from my development machine  running MacOSX 10.3.4.But when I try to deploy the app on my MacOSXS 10.2.8 server, I get t

Axis LogFactory NoClassDefFoundError

2004-07-01 Thread Baiss Eric Magnusson
I was able to run the Apache Axis stuff from my development machine running MacOSX 10.3.4. But when I try to deploy the app on my MacOSXS 10.2.8 server, I get the following: com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] null com.webobjects.foundation.NSForwa

Why AXIS instead of Sun's Web Services SDK?

2004-07-01 Thread David Thielen
Hi; I'm at JavaOne and so have not had a chance to download it. But it looks like Sun's wsjdk gives you everything you need to run web services on tomcat or any other application server. In this case, what is axis needed for? thanks - dave

Re: porttype name override?

2004-07-01 Thread Kashif Noorani
Your suggestion wokred. Thanks! On Thu, 1 Jul 2004 12:27:15 -0400, Swaminathan, Bhaskar <[EMAIL PROTECTED]> wrote: > > Yes .. it is possible to customize in the deployment descriptor > > > > > > > > > -Original Message- > From: Kashif Noorani [mailto:[EMAIL PROTECTED] >

schema choice element

2004-07-01 Thread corey baswell
Hello,   I'm having trouble with my client code generated from the WSDL2Java compiler. The WSDL used to generated the java code references a schema that defines a choice element (see below):     In this particular scenario, I'm always filling the XmlJobBody element out and not the TextJobBod

Re: Invalid XML Character Unicode

2004-07-01 Thread Praveen Peddi
Hello guys, I have read ur email from last month and figured that u r dealing with some invalid xml characters and Gary said he changed some setting on weblogic. Could anyone tell me exactly what was changed on weblogic side. Thanks Praveen - Original Message - From: <[EMAIL PROTECTED]>

RE: Fault problem

2004-07-01 Thread Vikas Phonsa
Look in the message archive. There was a discussion on the exact same problem, few days ago. Look for message subject "exception handling". -Original Message- From: David denBoer [mailto:[EMAIL PROTECTED] Sent: Thursday, July 01, 2004 11:35 AM To: [EMAIL PROTECTED] Subject: Fault problem

Fault problem

2004-07-01 Thread David denBoer
Hi all, I am new to AXIS development, and am working on a large web-service project now. In my app, I need to send a soap fault when an error condition occurs. I would like the content of that fault msg to just be an error code, with a possible message. Right now when I throw a soap exception, I

no SOAPAction header!

2004-07-01 Thread Vikas Phonsa
Hi Everybody, I have implemented a small test web service using Axis on Websphere 5.0 and the client code I generated by wsdl2java is able to test is successfully. But someone else is try to use this web service by import the wsdl into their own utility to generate and test a client. When they se

Help Diagnosing Server-Side Problems

2004-07-01 Thread NYY96
Hello All,   Your help is invaluable to the progress of our nation! I have a Web Service I wrote with Axis running on local tomcat 8080. I wrote a client to use the service for which the SOAP Envelope created is perfecto. However, once I call the function in the implementation file, the servi

RE: SoapAction = (Target Namespace + Operation name) Always??

2004-07-01 Thread Mark D. Hansen
I was reviewing this old post from Anne Thomas Manes (which - as usual has tons of useful information), and I'm wondering where the conventions described for naming the SOAP body child element in a doc/lit request comes from?? SOAP 1.1 and WSDL 1.1 both seem to be less specific. I can't even s

Re: Urgent & Desperate Help with My Axis Client

2004-07-01 Thread NYY96
hth,   You are truly amazing. I cannot believe I spent so much time trying to debug something when using TCPMon would have not only solved most of the issue but moved me forward a tremendous amount. It seems the problem was so simple yet took me so long. Hence Computer Programming.   James  

cvs night-built

2004-07-01 Thread Henry Lu
Is thare any one who knows how to set a night-built cvs version of axis-1.2-bate version to work? I got the 404 error when i tried to copy lib to axis WEB-INF/lib. -Henry

Re: Urgent & Desperate Help with My Axis Client

2004-07-01 Thread David Beahm
Question: is tcpmon currently running? If not, there's nothing to redirect your request. hth [EMAIL PROTECTED] wrote: I cannot access that address. However, before you tell me that that is my error, consider my thinking: The reason I call port 8081 and not 8080 is because, on previous clie

RE: porttype name override?

2004-07-01 Thread Swaminathan, Bhaskar
Yes .. it is possible to customize in the deployment descriptor -Original Message- From: Kashif Noorani [mailto:[EMAIL PROTECTED] Sent: Thursday, July 01, 2004 12:17 PM To: [EMAIL PROTECTED] Subject: porttype name override? Is it possible to specify the name of the portT

porttype name override?

2004-07-01 Thread Kashif Noorani
Is it possible to specify the name of the portType to be used when axis deploys a webservice using WSDD? I am running into a slight problem with my web service since Axis generates wsdl and proxies that use the implementation class name of my web service rather than the interface. I have the follo

Re: Urgent & Desperate Help with My Axis Client

2004-07-01 Thread NYY96
I cannot access that address. However, before you tell me that that is my error, consider my thinking:   The reason I call port 8081 and not 8080 is because, on previous clients I have used for different web services that have worked perfectly, I have used 8081 there so that I can run TCPmon

RE: Urgent & Desperate Help with My Axis Client

2004-07-01 Thread Keith Hatton
Less obvious question. Can you connect to http://localhost:8081/axis/adminDirect - as that is the URL your code actually uses.   -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: 01 July 2004 16:49To: [EMAIL PROTECTED]Subject: Re: Urgent & Desperate Help

Re: Urgent & Desperate Help with My Axis Client

2004-07-01 Thread NYY96
Yes this address is the address of the page that lists all the deployed services in axis and works correctly...   Any ideas?     In a message dated 7/1/2004 11:47:12 AM Eastern Standard Time, [EMAIL PROTECTED] writes: Obvious question, but can you go tohttp://localhost:8080/axis/servlet/Ax

Re: Urgent & Desperate Help with My Axis Client

2004-07-01 Thread Jeff
Hi James,   "http://localhost:8080/axis/servlet/AxisServlet" doesn't look right for your endpoint. I would expect something like "http://localhost:8080/axis/services/";     Jeff     - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] ; [EMAIL PROTECTED] Sen

Re: Urgent & Desperate Help with My Axis Client

2004-07-01 Thread greyson . smith
Obvious question, but can you go to http://localhost:8080/axis/servlet/AxisServlet with your browser? [EMAIL PROTECTED]

Re: Understanding SimpleDeserializer encountered a child element, which is NOT expected messages

2004-07-01 Thread Maxwell Grender-Jones
Managed to find the problem: I had the style set to document (in my wsdd), when it should have been document. i.e. -> Max On Thu, 2004-07-01 at 13:39, Maxwell Grender-Jones wrote: > I have set up a service, with a custom written deploy.wsdd file (as I do > not have a wsdl, and JAVA2WSDL does no

Urgent & Desperate Help with My Axis Client

2004-07-01 Thread NYY96
Hello,   I am in desperate need of some assistance with my Axis client. I would be ecstatic if somebody would be generous enough to help me! Even just a glance at this code would work!   I have a properly deployed web service in Axis and I am trying to write a client that utilizes it. I reci

Re: Firewall?

2004-07-01 Thread David Beahm
Refused here as well, but the web server is still accessible. Looks like Axis is stopped. Jason Etherton wrote: Guys, I'm currently getting a "Connection Refused" when trying to run the echoString method @ **http://nagoya.apache.org:5049/axis/services/echo using the samples.userguide.example1.

Re: Passing Arrays

2004-07-01 Thread David Beahm
I'd love to know just a little bit more (assuming I'm not wildly off course). On the server side, I have set up a method to return a value of type String[] and accept one parameter of type String[], but on the client side I don't know what type (QName) to use - XMLType.? Or should I be

RE: Schema generation in Axis?

2004-07-01 Thread Deppen, Jeff
Anne,   Thanks!  Although it's not the answer I was hoping for, you answered my question!   -jeff -Original Message-From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]Sent: Thursday, July 01, 2004 8:35 AMTo: [EMAIL PROTECTED]Subject: RE: Schema generation in Axis? Current

re: connection refused error from Tomcat

2004-07-01 Thread James Black
Hello, I used the auto-deploy mechanism in tomcat to undeploy and redeploy my webapp. Now I am getting a connection refused when I try to connect with my client, but I can look at the wsdl file from axis just fine. I am using axis 1.2beta currently, and tomcat 5, running under Solaris 8. I am

Re: Help with Datahandlers

2004-07-01 Thread Anand Natrajan
Azmi, I had a similar problem, although on carefully reading it, it looks to be the reverse case. When my service and client were both in Axis 1.1, my service sent a DataHandler, but my client had to use AttachmentPart to get at it. AttachmentPart is part of the org.apache package structure. Whe

RE: Solution : Starting/Stoping Services on Demand

2004-07-01 Thread Brian Dillon (ext. 944)
Daniel,   I didn't post the files to the newsgroup so as not to clutter it. The Files can be downloaded from the Apache jira site (where Axis feature requests are submitted). The jira request number is Axis-1424 and the link is;   http://nagoya.apache.org/jira/browse/AXIS-1424   Thanks,   Br

Re: Passing Arrays

2004-07-01 Thread Hrishikesh Kumar
It is not a problem from a java client, but we have another requirement where the client just sends the http get request. Now actually we decided to go by the tilda (~) separated strings since the Axis Servlet seems to be using getParameterValue instead of getParameterValues to retrieve the val

Re: Passing Arrays

2004-07-01 Thread NYY96
Simply use an unbounded array of string in the xml schema and it should work fine. I have done it.     In a message dated 7/1/2004 9:17:15 AM Eastern Standard Time, [EMAIL PROTECTED] writes: I've been trying to get info on this as well.  Can you show me the beginning and end of the rele

Re: Passing Arrays

2004-07-01 Thread David Beahm
I've been trying to get info on this as well. Can you show me the beginning and end of the relevant Java class method, and some idea about how you are sending it (JavaScript, PHP, etc.)? Sending and receiving Strings is so easy that I have considered using tab-delimited Strings, as String.spl

ws-fx/ws-addressing multiRef problem???

2004-07-01 Thread Dasarath Weeratunge
Hi, The ws-addressing handler routes the response when a replyTo header is present in the request. However, the following are two responses that I got -- the first with NO replyTo header and the second with a replyTo header -- different from the from header. Still the two messages are very differ

Re: Schema generation in Axis?

2004-07-01 Thread HG
ï Thanx James...   I thought so.. Not a pro either...better flick a test sample and test it on both (J2EE and .NET) platforms..JUst to see how it actually behaves..     - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 01, 2004 2:55

Re: Schema generation in Axis?

2004-07-01 Thread NYY96
I believe you can use namespaces to do such a thing. Isn't that precisely what namespaces are for?   I'm not a pro, but I've been hacking away at Axis for some time now and I figured I'd give a tiny bit of input.   James   In a message dated 7/1/2004 8:52:30 AM Eastern Standard Time, [EMAIL

Firewall?

2004-07-01 Thread Jason Etherton
Guys, I'm currently getting a "Connection Refused" when trying to run the echoString method @ http://nagoya.apache.org:5049/axis/services/echo using the samples.userguide.example1.TestClient I don't think this is a firewall problem, but I would like someone else to check it IS working if poss

Re: Schema generation in Axis?

2004-07-01 Thread HG
Hi Anne   Sorry for interferring in the discussion... hope it is ok.   I am about to define a "schema model", a collection of schemas with types that can be shared across web services, eg. imported into WSDLs   Is it possible for WSDL2Java to generate the proxy for the schema to one package,

SOAPAction - does Axis do anything with it?

2004-07-01 Thread Mark D. Hansen
Does Axis do anything with the SOAPAction HTTP header? I know it is required, but seems like it always has value "". Doesn't WSDL 1.1 specify use of this to specify the operation when doing doc/lit? Thanks, Mark

Understanding SimpleDeserializer encountered a child element, which is NOT expected messages

2004-07-01 Thread Maxwell Grender-Jones
I have set up a service, with a custom written deploy.wsdd file (as I do not have a wsdl, and JAVA2WSDL does not correctly decode my java classes). When I call my service, I get faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: org.xml.sax.SA

RE: Schema generation in Axis?

2004-07-01 Thread Anne Thomas Manes
Currently Axis does not generate a reusable schema that’s separate from the WSDL. Instead it generates a types section within the WSDL file. If you would like the option of generating a separate schema definition, then you should file an enhancement request. For example, provide a switch on

Re: OperationDesc not synchronized to a method

2004-07-01 Thread Maxwell Grender-Jones
Hi there, I had exactly the same problem that Anil was referring to, and couldn't find an answer after some use of google. However, I have since worked out what the problem was, so thought I'd provide an answer for posterity. In my case, the problem was that my deploy.wsdd file did not match the

Re: Schema generation in Axis?

2004-07-01 Thread NYY96
In all likelihood I did not understand your question, however you can import a schema using the following statement:     James   In a message dated 7/1/2004 8:07:54 AM Eastern Standard Time, [EMAIL PROTECTED] writes: All,I'm designing/developing multiple web services which share a common"

Schema generation in Axis?

2004-07-01 Thread Deppen, Jeff
All, I'm designing/developing multiple web services which share a common "library" of data types (classes). When I deploy the services, the Axis-generated WSDL "files" include the complete definition (schema) of each type - i.e. each complex type is "re-defined" in the node. Now, here's my ques

Error Running Web Service Client Help Appreciated

2004-07-01 Thread NYY96
Hello Fellow Axisers,   I would love if somebody could give me heads up as to what I'm doing wrong here. I get the following errors when I run my client:   javax.xml.rpc.ServiceException: Error processing WSDL document:java.net.ConnectException: Connection refused: connect   This is how I init

RE: Solution : Starting/Stoping Services on Demand

2004-07-01 Thread Brian Dillon (ext. 944)
Hi, I have exposed the static ServiceAdmin methods using a 'Standard MBean'. This could then be registered by users with their own JMX server if required. I have attached the code (ServiceAdministratorMBean.java and ServiceAdministratorMBean.java) to the Feature Request Axis - 1424 . Thanks, Br

Passing Arrays

2004-07-01 Thread Hrishikesh Kumar
Hi All, We are supposed to pass an array of strings to the SOAP Service from the client. Currently we are using the Http Get request kind of client invoking the SOAP service. Do you know how we can pass arrays of strings from the browser, what has to be typed in the url to achieve this.

Help on WSS4j

2004-07-01 Thread Crishantha Nanayakkara
Title: Help on WSS4j Hi, I am using WSS4J to sign a SOAP message. But I am getting the following exception when it verifies the signature just before the service call in the server.(In WSDoAllReceiver.java) I2004-07-01 13:05:51,175 [ERROR] : STDERR -- java.lang.NullPointerException 2004

Re: "Content is not allowed in prolog" exception

2004-07-01 Thread NJ Rogers, Learning and Research Technology
Hi It's a prob I've had before & to do with the leading xml declaration see e.g. http://java2.5341.com/msg/44393.html - a case which might have something in common with yours? Nikki --On Thursday, July 01, 2004 10:38:08 +0530 Ramya Manian <[EMAIL PROTECTED]> wrote: Hi I get a SAX parser exception

Axis C++ 1.2 beta is released

2004-07-01 Thread axis cpp
Hi All,The Apache Axis C++ team would like to announce the release of Axis c++ 1.2beta. The binary and source distributions can be downloaded fromhttp://ws.apache.org/axis/cpp/download.htmlThis releaes includes bug fixes from Axis C++ 1.2 alpha and the following features. Transport abstraction a

RE: Signed SOAP messages

2004-07-01 Thread pagarwal
Thanks Anne for your explanation. I came across this article today, which explains the need for both (SSL and SOAP digital signature) http://www-106.ibm.com/developerworks/webservices/library/ws-soapsec/ regards, Parag. *

AW: Session timeout? (SimpleSessionHandler)

2004-07-01 Thread Dorner Thomas
Hi Günter, do it on the Server, for example in your Impl //Es wird die Session geholt und der SessionTimeout auf 10 minuten gesetzt. MessageContext mctx = MessageContext.getCurrentContext(); Session ses = mctx.getSession(); ses.setTimeout(600); Tomi -Ursprüngliche Nachricht- Von: G