Difficulty changing JVM with WSDL2Java

2005-01-12 Thread Mike Squires
Hi, Presently I have a web service client *working* that was developed using the j2sdk1.5.0. I have been told that I must provide this functionality but using a JVM no older than 1.4.2 (in production it will be running on HP Tru64 and the sysadm folks told me that 1.5.0 wasn't available for this p

xml error when boot up Tomcat

2005-01-12 Thread chu
(BHi, (B (BI am new on Axis & Tocmcat. I just followed the Axis (BInstallation Instructions to install Axis1.2RC2 with Tomcat (B5.5. And I had the following errors when I boot up Tomcat (B (B (B2005/01/13 16:17:31 org.apache.catalina.core.StandardEngine start (BINFO: Starting Servle

Client side Axis - problem with soapenc:root

2005-01-12 Thread Damir Suban
Here I go again... Hi all! I have a question concerning client-side Axis. I have a web service that seems not to understand "soapenc:root" attributes. All I get when I send a request (using Axis client) to this web service is: "attribute soapenc:root not allowed" The request looks like this:

AXIS - EJB Provider

2005-01-12 Thread babloosony
Hi All, I have deployed an ejb on JBoss and I am using axis-1_2RC1. Below is working configuration for this ejb web service in server-config.wsdd --

Axis error at client side on Weblogic8.1

2005-01-12 Thread Hung Vu2000
Hi, I developed a webservice on JBoss and could access it successfully from a console client side of DII type . Now I move the source code from the console client to Weblogic 8.1. When I run the source code from Weblogic I had the below error. Thank to any suggestion. Hung Exception in

RE: Document/Literal : bad part name in axis server response

2005-01-12 Thread Ephemeris Lappis
If you want to add all your comments to the report i have open in JIRA about this issue, you can get it at : http://issues.apache.org/jira/browse/AXIS-1739 Thanks... -Message d'origine-De : Bill Keese [mailto:[EMAIL PROTECTED]Envoyé : jeudi 13 janvier 2005 02:55À : [EMAIL PROT

RE: XMLBeanDe/Serializer sample

2005-01-12 Thread Hung Vu2000
Hi Jonathan, I had bugs in my own project to resolved (not relating to XMLBeans) so I still don't use your sample code. Hope I may use it soon. Thank you very much, Hung From: "Jonathan Colwell" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> CC: <[EMAIL PROTECTED]>

Re: wrapped/literal: complex return value

2005-01-12 Thread Bill Keese
Cool, thanks!   Are you implying that document/literal and wrapped/literal are the same w.r.t. the return value?  The difference is only for the request? Also, does your answer implay that a scalar return value can be represented simply like this?   Hello World! And the WSDL would be this?

Re: Document/Literal : bad part name in axis server response

2005-01-12 Thread Bill Keese
Thanks for the correction!  It makes sense.  (It also partially addresses the other question I recently sent out.)  Until the Axis bug gets fixed I guess I should modify the WSDL file to match Axis' output? Also, could you tell me why, for example, the webservice http://ws2.serviceobjects.net/

Re: Document/Literal : bad part name in axis server response

2005-01-12 Thread Anne Thomas Manes
Clarification: > Bug: In document/literal mode, Axis generate a tag when > writing out the return value; it shouldn't. That tag only makes sense in > wrapped/literal mode. (This is what Ann was saying.) Axis should generate a tag only when using RPC style. It should not generate the tag whe

Re: wrapped/literal: complex return value

2005-01-12 Thread Anne Thomas Manes
If you want your return value to be a User object, then that should be your return structure, not getUserResponse. i.e., John Smith 10 Main St. The output message should be defined so: - Anne On Wed, 12 Jan 2005 18:41:24 +0900, Bill Keese <[EMAIL PROTECTED]> wrote: > I have a few ques

Re: How to get HttpServletRequest from my call

2005-01-12 Thread Tim K. (Gmane)
Be aware that getRemoteAddr() may not be the address of the client sending the request but rather a proxy/caching server in between, load balancer, etc. As long as you are OK with it you can get the request like this: MessageContext context = MessageContext.getCurrentContext(); HttpServletReque

Re: Disabling Certification validation in HTTPS

2005-01-12 Thread ANDREW MICONE
The trust manager is an anonymous inner class that can be overridden in the following manner: SSLContext sslcontext = SSLContext.getInstance("TLS"); sslcontext.init(null, new TrustManager[] { new DummyTrustManager() }, new SecureRandom()); facto

Is service endpoint in service locator class in server side code actually used?

2005-01-12 Thread Liu, Scott
Hi, All, There is this service address in both client and server side service locator classes. // Use to get a proxy class for MyService private final java.lang.String MyService_address = http://xxx/services/MyEndPoint";; On client side this is where a client sends the service request. B

Re: Slow network usage by Java/Axis; fast with .Net client

2005-01-12 Thread ANDREW MICONE
I'd suggest running a packet sniffer like ethereal to see what's going on. I haven't seen any specific problems with .NET, but I have seen some bizarre quirks in the way the MS stack that handles the HTTP protocol talks to the Tomcat implementation of HTTP (i.e. nothing generalizable, but enough

Re: How to get HttpServletRequest from my call

2005-01-12 Thread Alex Chen
I need to inspect the message in the program, e.g. I want to know there the message comes from by calling the getRemoteAddr() method of the request. Flores, Raul wrote: If you only want to inspect the messages then use a monitor tool. tcpTrace is excellent for this (thank you simon and matt) Raul

RE: How to get HttpServletRequest from my call

2005-01-12 Thread Flores, Raul
If you only want to inspect the messages then use a monitor tool. tcpTrace is excellent for this (thank you simon and matt) Raul -Original Message- From: Alex Chen [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 3:39 PM To: [EMAIL PROTECTED] Subject: How to get HttpServl

How to get HttpServletRequest from my call

2005-01-12 Thread Alex Chen
I am using AXIS as my SOAP server. I use WSDL2Java to generate the code stubs and only need to write the *Impl.java part.. Since everything else is handled by the AXIS servlet, I have no handle of the HTTP request and reply message. I would like to inspect that in my code. How do I get such i

RE: java.lang.OutOfMemoryError and Axis client stubs

2005-01-12 Thread Sanket Desai
Title: java.lang.OutOfMemoryError and Axis client stubs SAAJ should help you in this case I would think even though I've not tried it.   In fact we ran across a similar problem of sending a large dataset in the body of SOAP message. Since we're using Globus toolkit (GT3), we resorted to using

java.lang.OutOfMemoryError and Axis client stubs

2005-01-12 Thread Milazzo, Michael A HQISEC
Title: java.lang.OutOfMemoryError and Axis client stubs Hello, I deployed an Axis-based wrapped-style web service that accepts strings and a byte array as parameters.  I generated the client stubs using WSDL2Java and my client works for small files (6.3 MB).  I attempted to send a 63 MB file

SOAP Header: MustUnderstand problem

2005-01-12 Thread Sergio Bossa
Hello, I'm an Axis 1.2RC2 user. When I try to call a particular Axis service, I get an AxisFault exception saying: "Did not understand "MustUnderstand" header(s)". The SOAP header of the response message for the service contains a mandatory header with the mustUnderstand attribute set. What do I h

Re: restarting axis from command line

2005-01-12 Thread Lyndon Tiu
Suzy Fynes wrote: Does anyone know how to restart axis from the commend line or any way with having to restart tomcat and not using tomcat manager? Windows or Linux? -- Lyndon Tiu

RE : Disabling Certification validation in HTTPS

2005-01-12 Thread Faucher, Christian
Title: Message Hi,   Thanks to the people that helped me with this issue.  I got this baby flying now!   Cheers!   Christian -Message d'origine-De : Flores, Raul [mailto:[EMAIL PROTECTED] Envoyé : mardi, janvier 11, 2005 15:57À : [EMAIL PROTECTED]Objet : RE: Disabling Ce

Re: Big problem generating correct code with WSDL2Java

2005-01-12 Thread Antonio Ruiz Martínez
Hola! Thanks for your comments. Bill Keese wrote: No such operation 'SignRequest' This happens because your operation is called "getSign" not "SignRequest", right? That's right. At the beginning, it doesn't work because the deploy.wsdd generated by the wsdl2java is not correct. I don

RE: Need your help in making this decision...

2005-01-12 Thread Ayers, Sam
Peter Pascale, Thanks for your response - hose were great links you forwarded. (FYI, somehow your response didn't make it through our spam filter, but I was able to pick it up in the search tool at the Axis web site). Now, let me elaborate my question just a bit... my biggest concern is not r

Re: DataHandler referenced but not defined

2005-01-12 Thread Vy Ho
Try import the namespace: "http://xml.apache.org/xml-soap";

restarting axis from command line

2005-01-12 Thread Suzy Fynes
    Does anyone know how to restart axis from the commend line or any way with having to restart tomcat and not using tomcat manager?     Thanks Suzy

RE: Deploying a simple handler

2005-01-12 Thread Jairam, Roopnaraine
James:   I am doing the same thing I think u need requestFlow inside globalConfiguration                           -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Brady Sent: Wednesday, December 08, 2004

DataHandler referenced but not defined

2005-01-12 Thread James Richardson
(Sorry if you see this twice.) Hi, I've been given some wsdl for a soap server for which I would like to write a client. However I'm getting an error of Type {http://xx.com/yy}DataHandler is referenced but not defined. This is using wsdl2java. The difficulty seems to be coming from

RE: Is Axis generating bad WSDL, or is .NET's wsdl.exe broken?

2005-01-12 Thread aedemar . cooke
Title: RE: Is Axis generating bad WSDL, or is .NET's wsdl.exe broken? I had the same error today and the problem was caused by the fact that there were two methods with the same name in the XSoapBindingImpl class.  I didn't think this would cause a problem as I only defined one method signatu

DataHandler referenced but not defined

2005-01-12 Thread James Richardson
Hi, I've been given some wsdl for a soap server for which I would like to write a client. However I'm getting an error of Type {http://xx.com/yy}DataHandler is referenced but not defined. This is using wsdl2java. I would much appreciate it anybody could shed some light on this. Is it that the

RE: Extracting attachments from messaging service calls

2005-01-12 Thread Jason Judt
Hi, You'll find a sample problem in [AXIS_HOME]/samples/attachements and especially EchoAttachementsService.java Of particular interest to you would be the line that says: org.apache.axis.MessageContext msgContext = org.apache.axis.MessageContext.getCurrentContext(); >From the message context o

Re: Information about Axis 1.2 final ?

2005-01-12 Thread Davanum Srinivas
can you at least enter info into JIRA on what java code you would expect to be generated? thanks, dims On Wed, 12 Jan 2005 10:03:16 -0500, Cervi, Anthony (PCLN-NW) <[EMAIL PROTECTED]> wrote: > > lol, fat chance. i wish i had the time. so far i can live without it but my > company has plans t

Extracting attachments from messaging service calls

2005-01-12 Thread Greg Cawthorn
Hello, I am submitting a SOAP message with an attachment to a web service using Axis 1.1. To implement a messaging service I have to use one of the following method signatures: public Element [] method(Element [] bodies); public SOAPBodyElement [] method (SOAPBodyElement [] bodies); public Docu

RE: Information about Axis 1.2 final ?

2005-01-12 Thread Cervi, Anthony \(PCLN-NW\)
lol, fat chance. i wish i had the time. so far i can live without it but my company has plans to increase its use of mappoint.net and i may have to give it a shot. i hope not though. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005

Re: Information about Axis 1.2 final ?

2005-01-12 Thread Davanum Srinivas
Anthony, Given current load...you'd have to come up with a patch for AXIS-66 :( -- dims On Wed, 12 Jan 2005 09:52:55 -0500, Cervi, Anthony (PCLN-NW) <[EMAIL PROTECTED]> wrote: > hopefully not until axis-66 is fixed ;o) > > -Original Message- > From: Olivier Mocquais RD-BIZZ > [mailto:[

Re: Information about Axis 1.2 final ?

2005-01-12 Thread Davanum Srinivas
my best guess (with current TCK testing) is by end of the month. thanks, dims On Wed, 12 Jan 2005 15:50:31 +0100, Olivier Mocquais RD-BIZZ <[EMAIL PROTECTED]> wrote: > Hi, > > Do you have any information about the Axis 1.2 final ? When will it be > released ? > > Thanks. > Olivier > > -- D

RE: Information about Axis 1.2 final ?

2005-01-12 Thread Cervi, Anthony \(PCLN-NW\)
hopefully not until axis-66 is fixed ;o) -Original Message- From: Olivier Mocquais RD-BIZZ [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 12, 2005 9:51 AM To: [EMAIL PROTECTED] Subject: Information about Axis 1.2 final ? Hi, Do you have any information about the Axis 1.2 final ? Whe

Information about Axis 1.2 final ?

2005-01-12 Thread Olivier Mocquais RD-BIZZ
Hi, Do you have any information about the Axis 1.2 final ? When will it be released ? Thanks. Olivier

RE: good document style tutorial

2005-01-12 Thread Pascale, Peter H.
See the following, which I found somewhat useful in sorting this out: http://www-106.ibm.com/developerworks/webservices/library/ws-docstyle.html http://java.sun.com/developer/technicalArticles/xml/jaxrpcpatterns/ http://www.devchannel.org/webserviceschannel/03/07/11/210.shtml?tid=25&t id=38

RE: Need your help in making this decision...

2005-01-12 Thread Pascale, Peter H.
> Should we stick with Axis 1.1 and rpc/encoded style for a while longer, > or should we make the jump to Axis 1.2 and doc/literal? Or should we > make the jump to Axis 1.2 but stick with rpc/encoded style? I was confused for a time regarding what implementation differences would exist between

good document style tutorial

2005-01-12 Thread Harm de Laat
Hi all, I'm currently in the process of learning Axis. Currently I have succesfuly set up Axis on JBoss and WebLogic. I also followed some tutorials on the net speaking about RPC style SOAP. Unfortunatly I cannot find a good tutorial about document style Webservices. Can somebody recommend a t

Need your help in making this decision...

2005-01-12 Thread Ayers, Sam
Axis user community, Last year I implemented a service oriented architecture on one of Paymentech's core, internal, systems (an HP NonStop, i.e. Tandem, system). It worked extremely well. The system has not had any defects, and has not been cycled since its initial production rollout last Sep

RE: Axis running out of Memory?

2005-01-12 Thread Suzy Fynes
Great so at least its not an axis problem! Does anyone know how to restart axis from the command line.its not plausible for me to be restarting tomcat very often. Thanks! -Original Message- From: Paul Callahan [mailto:[EMAIL PROTECTED] Sent: 12 January 2005 13:54 To: [EMAIL PROTECTED

Re: Axis running out of Memory?

2005-01-12 Thread Paul Callahan
I'm sure there is probably better doco somewhere on this, but I generally experience this from redeploying a resource in Tomcat several times (thru the manager) without restarting. I believe that when you undeploy, the memory is not dealloc'd--so hence the memory leak. Day to day, I redeploy unti

Axis running out of Memory?

2005-01-12 Thread Suzy Fynes
    Hi,   When having to restart axis (using tomcat manager, not restarting tomcat) a few times I eventually get an internal error and the tomcat log files indicate   2005-01-12 12:34:38 StandardWrapperValve[AxisServlet]: Servlet.service() for servlet AxisServlet threw exception jav

Re: Problems with adding wss4j security token

2005-01-12 Thread Yves Langisch
Tim, Xalan is part of the JDK. I had similar problems when I tried to use my own (newer) version of xalan which I put in the endorsed directory of my tomcat server. Please check where you put xalan.jar and/or try to remove it completely from your classpath. Yves On Wed, 2005-01-12 at 09:34 +

wrapped/literal: complex return value

2005-01-12 Thread Bill Keese
I have a few questions about return values from a method in a (Bwrapped/literal server. (B (B(1) My getUser() method returns a structure: (B (BUser getUser(String id); (B (BI know that for wrapped/literal the input message should be (B (B (Bjsmith (B (B (B (BWhat should the response b

ws- addressing and wsdl specs

2005-01-12 Thread Rajdeep Dua
Hi all, Wanted to find out the need for keeping ws addressing as abstract and then defining the wsdl binding for ws addressing. Consider this web services addressing : abstract/core web service addresing : soap binding web services addressing: wsdl binding wsdl : abstract wsdl :soap binding wsd